Record Class WeixinLoginStep
java.lang.Object
java.lang.Record
io.agentscope.extensions.channel.weixin.WeixinLoginStep
public record WeixinLoginStep(WeixinLoginSession session, String status, WeixinCredentials credentials, String accountId, String userId, String baseUrl)
extends Record
One provider observation in an iLink QR-login sequence.
-
Constructor Summary
ConstructorsConstructorDescriptionWeixinLoginStep(WeixinLoginSession session, String status, WeixinCredentials credentials, String accountId, String userId, String baseUrl) Creates an instance of aWeixinLoginSteprecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaccountIdrecord component.booleanbaseUrl()Returns the value of thebaseUrlrecord component.booleanReturns the value of thecredentialsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleansession()Returns the value of thesessionrecord component.status()Returns the value of thestatusrecord component.final StringtoString()Returns a string representation of this record class.userId()Returns the value of theuserIdrecord component.
-
Constructor Details
-
WeixinLoginStep
public WeixinLoginStep(WeixinLoginSession session, String status, WeixinCredentials credentials, String accountId, String userId, String baseUrl) Creates an instance of aWeixinLoginSteprecord class.- Parameters:
session- the value for thesessionrecord componentstatus- the value for thestatusrecord componentcredentials- the value for thecredentialsrecord componentaccountId- the value for theaccountIdrecord componentuserId- the value for theuserIdrecord componentbaseUrl- the value for thebaseUrlrecord component
-
-
Method Details
-
connected
public boolean connected() -
alreadyConnected
public boolean alreadyConnected() -
requiresVerification
public boolean requiresVerification() -
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. All components in this record class are compared withObjects::equals(Object,Object). -
session
Returns the value of thesessionrecord component.- Returns:
- the value of the
sessionrecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
credentials
Returns the value of thecredentialsrecord component.- Returns:
- the value of the
credentialsrecord component
-
accountId
Returns the value of theaccountIdrecord component.- Returns:
- the value of the
accountIdrecord component
-
userId
Returns the value of theuserIdrecord component.- Returns:
- the value of the
userIdrecord component
-
baseUrl
Returns the value of thebaseUrlrecord component.- Returns:
- the value of the
baseUrlrecord component
-