Record Class WeixinOutboundClient.JsonNodeResponse
java.lang.Object
java.lang.Record
io.agentscope.extensions.channel.weixin.WeixinOutboundClient.JsonNodeResponse
- Enclosing class:
- WeixinOutboundClient
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.errcode()Returns the value of theerrcoderecord component.errmsg()Returns the value of theerrmsgrecord component.Returns the value of theget_updates_bufrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thelongpolling_timeout_msrecord component.List<com.fasterxml.jackson.databind.JsonNode>msgs()Returns the value of themsgsrecord component.intret()Returns the value of theretrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
JsonNodeResponse
public JsonNodeResponse(int ret, Integer errcode, String errmsg, List<com.fasterxml.jackson.databind.JsonNode> msgs, String get_updates_buf, Integer longpolling_timeout_ms) Creates an instance of aJsonNodeResponserecord class.- Parameters:
ret- the value for theretrecord componenterrcode- the value for theerrcoderecord componenterrmsg- the value for theerrmsgrecord componentmsgs- the value for themsgsrecord componentget_updates_buf- the value for theget_updates_bufrecord componentlongpolling_timeout_ms- the value for thelongpolling_timeout_msrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
ret
public int ret()Returns the value of theretrecord component.- Returns:
- the value of the
retrecord component
-
errcode
Returns the value of theerrcoderecord component.- Returns:
- the value of the
errcoderecord component
-
errmsg
Returns the value of theerrmsgrecord component.- Returns:
- the value of the
errmsgrecord component
-
msgs
Returns the value of themsgsrecord component.- Returns:
- the value of the
msgsrecord component
-
get_updates_buf
Returns the value of theget_updates_bufrecord component.- Returns:
- the value of the
get_updates_bufrecord component
-
longpolling_timeout_ms
Returns the value of thelongpolling_timeout_msrecord component.- Returns:
- the value of the
longpolling_timeout_msrecord component
-