Record Class AbstractAuthEventHandler.Result
java.lang.Object
java.lang.Record
com.sankcrm.erp.contract.event.signatory.AbstractAuthEventHandler.Result
- Record Components:
query- 是否查询supAuthId- 渠道合同参与方编号authLink- 认证链接expireAt- 认证链接过期时间firstQueryDelay- 首次查询间隔
- Enclosing class:
AbstractAuthEventHandler
public static record AbstractAuthEventHandler.Result(boolean query, String supAuthId, String authLink, LocalDateTime expireAt, Duration firstQueryDelay)
extends Record
认证结果
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthLink()Returns the value of theauthLinkrecord component.final booleanIndicates whether some other object is "equal to" this one.expireAt()Returns the value of theexpireAtrecord component.Returns the value of thefirstQueryDelayrecord component.final inthashCode()Returns a hash code value for this object.booleanquery()Returns the value of thequeryrecord component.Returns the value of thesupAuthIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Result
-
Result
-
Result
public Result(boolean query, String supAuthId, String authLink, LocalDateTime expireAt, Duration firstQueryDelay) Creates an instance of aResultrecord class.- Parameters:
query- the value for thequeryrecord componentsupAuthId- the value for thesupAuthIdrecord componentauthLink- the value for theauthLinkrecord componentexpireAt- the value for theexpireAtrecord componentfirstQueryDelay- the value for thefirstQueryDelayrecord 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 '=='. -
query
public boolean query()Returns the value of thequeryrecord component.- Returns:
- the value of the
queryrecord component
-
supAuthId
Returns the value of thesupAuthIdrecord component.- Returns:
- the value of the
supAuthIdrecord component
-
authLink
Returns the value of theauthLinkrecord component.- Returns:
- the value of the
authLinkrecord component
-
expireAt
Returns the value of theexpireAtrecord component.- Returns:
- the value of the
expireAtrecord component
-
firstQueryDelay
Returns the value of thefirstQueryDelayrecord component.- Returns:
- the value of the
firstQueryDelayrecord component
-