Record Class OrganizationSwitchResponse
java.lang.Object
java.lang.Record
com.chaosguide.iam.vertex.client.dto.OrganizationSwitchResponse
-
Constructor Summary
ConstructorsConstructorDescriptionOrganizationSwitchResponse(String organizationId, String continuation, boolean tokenRefreshRequired, String message) Creates an instance of aOrganizationSwitchResponserecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecontinuationrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.message()Returns the value of themessagerecord component.Returns the value of theorganizationIdrecord component.booleanReturns the value of thetokenRefreshRequiredrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
OrganizationSwitchResponse
public OrganizationSwitchResponse(String organizationId, String continuation, boolean tokenRefreshRequired, String message) Creates an instance of aOrganizationSwitchResponserecord class.- Parameters:
organizationId- the value for theorganizationIdrecord componentcontinuation- the value for thecontinuationrecord componenttokenRefreshRequired- the value for thetokenRefreshRequiredrecord componentmessage- the value for themessagerecord 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. -
organizationId
Returns the value of theorganizationIdrecord component.- Returns:
- the value of the
organizationIdrecord component
-
continuation
Returns the value of thecontinuationrecord component.- Returns:
- the value of the
continuationrecord component
-
tokenRefreshRequired
public boolean tokenRefreshRequired()Returns the value of thetokenRefreshRequiredrecord component.- Returns:
- the value of the
tokenRefreshRequiredrecord component
-
message
Returns the value of themessagerecord component.- Returns:
- the value of the
messagerecord component
-