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.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionRegistrationGrantDelivery(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 aRegistrationGrantDeliveryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of theattemptCountrecord component.Returns the value of thecreatedAtrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexpiresAtrecord component.Returns the value of thefailureCoderecord component.grantId()Returns the value of thegrantIdrecord component.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.Returns the value of themaxAttemptsrecord component.Returns the value of thenextAttemptAtrecord component.Returns the value of therecipientrecord component.booleanReturns the value of theretryablerecord component.status()Returns the value of thestatusrecord component.final StringtoString()Returns a string representation of this record class.variant()Returns the value of thevariantrecord component.
-
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 aRegistrationGrantDeliveryrecord class.- Parameters:
id- the value for theidrecord componentgrantId- the value for thegrantIdrecord componentrecipient- the value for therecipientrecord componentvariant- the value for thevariantrecord componentstatus- the value for thestatusrecord componentfailureCode- the value for thefailureCoderecord componentattemptCount- the value for theattemptCountrecord componentmaxAttempts- the value for themaxAttemptsrecord componentnextAttemptAt- the value for thenextAttemptAtrecord componentretryable- the value for theretryablerecord componentexpiresAt- the value for theexpiresAtrecord componentcreatedAt- the value for thecreatedAtrecord component
-
-
Method Details
-
toString
-
hashCode
-
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 thecomparemethod from their corresponding wrapper classes. -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
grantId
Returns the value of thegrantIdrecord component.- Returns:
- the value of the
grantIdrecord component
-
recipient
Returns the value of therecipientrecord component.- Returns:
- the value of the
recipientrecord component
-
variant
Returns the value of thevariantrecord component.- Returns:
- the value of the
variantrecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
failureCode
Returns the value of thefailureCoderecord component.- Returns:
- the value of the
failureCoderecord component
-
attemptCount
public int attemptCount()Returns the value of theattemptCountrecord component.- Returns:
- the value of the
attemptCountrecord component
-
maxAttempts
Returns the value of themaxAttemptsrecord component.- Returns:
- the value of the
maxAttemptsrecord component
-
nextAttemptAt
Returns the value of thenextAttemptAtrecord component.- Returns:
- the value of the
nextAttemptAtrecord component
-
retryable
public boolean retryable()Returns the value of theretryablerecord component.- Returns:
- the value of the
retryablerecord component
-
expiresAt
Returns the value of theexpiresAtrecord component.- Returns:
- the value of the
expiresAtrecord component
-
createdAt
Returns the value of thecreatedAtrecord component.- Returns:
- the value of the
createdAtrecord component
-