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 Details

    • Result

      public Result(boolean query, String supAuthId)
    • Result

      public Result(boolean query, String supAuthId, String authLink, Duration firstQueryDelay)
    • Result

      public Result(boolean query, String supAuthId, String authLink, LocalDateTime expireAt, Duration firstQueryDelay)
      Creates an instance of a Result record class.
      Parameters:
      query - the value for the query record component
      supAuthId - the value for the supAuthId record component
      authLink - the value for the authLink record component
      expireAt - the value for the expireAt record component
      firstQueryDelay - the value for the firstQueryDelay record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • query

      public boolean query()
      Returns the value of the query record component.
      Returns:
      the value of the query record component
    • supAuthId

      public String supAuthId()
      Returns the value of the supAuthId record component.
      Returns:
      the value of the supAuthId record component
    • authLink

      public String authLink()
      Returns the value of the authLink record component.
      Returns:
      the value of the authLink record component
    • expireAt

      public LocalDateTime expireAt()
      Returns the value of the expireAt record component.
      Returns:
      the value of the expireAt record component
    • firstQueryDelay

      public Duration firstQueryDelay()
      Returns the value of the firstQueryDelay record component.
      Returns:
      the value of the firstQueryDelay record component