Record Class RegistrationGrantDelivery

java.lang.Object
java.lang.Record
com.chaosguide.iam.vertex.portal.RegistrationGrantDelivery

public record RegistrationGrantDelivery(String id, String grantId, String recipient, RegistrationGrantDeliveryRequest.Variant variant, RegistrationGrantDelivery.Status status, String failureCode, int attemptCount, Integer maxAttempts, String nextAttemptAt, boolean retryable, String expiresAt, String createdAt) extends Record
Safe durable-delivery status. It never contains invitation credentials.
  • Constructor Details

    • RegistrationGrantDelivery

      public RegistrationGrantDelivery(String id, String grantId, String recipient, RegistrationGrantDeliveryRequest.Variant variant, RegistrationGrantDelivery.Status status, String failureCode, int attemptCount, Integer maxAttempts, String nextAttemptAt, boolean retryable, String expiresAt, String createdAt)
      Creates an instance of a RegistrationGrantDelivery record class.
      Parameters:
      id - the value for the id record component
      grantId - the value for the grantId record component
      recipient - the value for the recipient record component
      variant - the value for the variant record component
      status - the value for the status record component
      failureCode - the value for the failureCode record component
      attemptCount - the value for the attemptCount record component
      maxAttempts - the value for the maxAttempts record component
      nextAttemptAt - the value for the nextAttemptAt record component
      retryable - the value for the retryable record component
      expiresAt - the value for the expiresAt record component
      createdAt - the value for the createdAt 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 the compare method from their corresponding wrapper classes.
      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.
    • id

      public String id()
      Returns the value of the id record component.
      Returns:
      the value of the id record component
    • grantId

      public String grantId()
      Returns the value of the grantId record component.
      Returns:
      the value of the grantId record component
    • recipient

      public String recipient()
      Returns the value of the recipient record component.
      Returns:
      the value of the recipient record component
    • variant

      Returns the value of the variant record component.
      Returns:
      the value of the variant record component
    • status

      Returns the value of the status record component.
      Returns:
      the value of the status record component
    • failureCode

      public String failureCode()
      Returns the value of the failureCode record component.
      Returns:
      the value of the failureCode record component
    • attemptCount

      public int attemptCount()
      Returns the value of the attemptCount record component.
      Returns:
      the value of the attemptCount record component
    • maxAttempts

      public Integer maxAttempts()
      Returns the value of the maxAttempts record component.
      Returns:
      the value of the maxAttempts record component
    • nextAttemptAt

      public String nextAttemptAt()
      Returns the value of the nextAttemptAt record component.
      Returns:
      the value of the nextAttemptAt record component
    • retryable

      public boolean retryable()
      Returns the value of the retryable record component.
      Returns:
      the value of the retryable record component
    • expiresAt

      public String expiresAt()
      Returns the value of the expiresAt record component.
      Returns:
      the value of the expiresAt record component
    • createdAt

      public String createdAt()
      Returns the value of the createdAt record component.
      Returns:
      the value of the createdAt record component