Record Class CreateRegistrationGrantRequest
java.lang.Object
java.lang.Record
com.chaosguide.iam.vertex.portal.CreateRegistrationGrantRequest
-
Constructor Summary
ConstructorsConstructorDescriptionCreateRegistrationGrantRequest(CreateRegistrationGrantType type, String displayName, String allowedEmail, String allowedDomain, String expiresAt, Integer maxUses) Creates an instance of aCreateRegistrationGrantRequestrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theallowedDomainrecord component.Returns the value of theallowedEmailrecord component.Returns the value of thedisplayNamerecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexpiresAtrecord component.final inthashCode()Returns a hash code value for this object.maxUses()Returns the value of themaxUsesrecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.
-
Constructor Details
-
CreateRegistrationGrantRequest
public CreateRegistrationGrantRequest(CreateRegistrationGrantType type, String displayName, String allowedEmail, String allowedDomain, String expiresAt, Integer maxUses) Creates an instance of aCreateRegistrationGrantRequestrecord class.- Parameters:
type- the value for thetyperecord componentdisplayName- the value for thedisplayNamerecord componentallowedEmail- the value for theallowedEmailrecord componentallowedDomain- the value for theallowedDomainrecord componentexpiresAt- the value for theexpiresAtrecord componentmaxUses- the value for themaxUsesrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
displayName
Returns the value of thedisplayNamerecord component.- Returns:
- the value of the
displayNamerecord component
-
allowedEmail
Returns the value of theallowedEmailrecord component.- Returns:
- the value of the
allowedEmailrecord component
-
allowedDomain
Returns the value of theallowedDomainrecord component.- Returns:
- the value of the
allowedDomainrecord component
-
expiresAt
Returns the value of theexpiresAtrecord component.- Returns:
- the value of the
expiresAtrecord component
-
maxUses
Returns the value of themaxUsesrecord component.- Returns:
- the value of the
maxUsesrecord component
-