@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-10-09T12:38:06.739118192Z[Etc/UTC]",
comments="Generator version: 7.7.0")
public class InvitationModel
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
InvitationModel.CustomTypeAdapterFactory |
| Modifier and Type | Field and Description |
|---|---|
static java.util.HashSet<java.lang.String> |
openapiFields |
static java.util.HashSet<java.lang.String> |
openapiRequiredFields |
static java.lang.String |
SERIALIZED_NAME_CREATED_AT |
static java.lang.String |
SERIALIZED_NAME_EMAIL |
static java.lang.String |
SERIALIZED_NAME_EXPIRED |
static java.lang.String |
SERIALIZED_NAME_INVITATION_ID |
static java.lang.String |
SERIALIZED_NAME_PERMISSION_GROUP_ID |
| Constructor and Description |
|---|
InvitationModel() |
| Modifier and Type | Method and Description |
|---|---|
InvitationModel |
createdAt(java.time.OffsetDateTime createdAt) |
InvitationModel |
email(java.lang.String email) |
boolean |
equals(java.lang.Object o) |
InvitationModel |
expired(java.lang.Boolean expired) |
static InvitationModel |
fromJson(java.lang.String jsonString)
Create an instance of InvitationModel given an JSON string
|
java.time.OffsetDateTime |
getCreatedAt()
Creation time of the Invitation.
|
java.lang.String |
getEmail()
The invited user's email address.
|
java.lang.Boolean |
getExpired()
Determines whether the Invitation is expired.
|
java.util.UUID |
getInvitationId()
The identifier of the Invitation.
|
java.lang.Long |
getPermissionGroupId()
The identifier of the Permission Group the user was invited to.
|
int |
hashCode() |
InvitationModel |
invitationId(java.util.UUID invitationId) |
InvitationModel |
permissionGroupId(java.lang.Long permissionGroupId) |
void |
setCreatedAt(java.time.OffsetDateTime createdAt) |
void |
setEmail(java.lang.String email) |
void |
setExpired(java.lang.Boolean expired) |
void |
setInvitationId(java.util.UUID invitationId) |
void |
setPermissionGroupId(java.lang.Long permissionGroupId) |
java.lang.String |
toJson()
Convert an instance of InvitationModel to an JSON string
|
java.lang.String |
toString() |
static void |
validateJsonElement(com.google.gson.JsonElement jsonElement)
Validates the JSON Element and throws an exception if issues found
|
public static final java.lang.String SERIALIZED_NAME_INVITATION_ID
public static final java.lang.String SERIALIZED_NAME_EMAIL
public static final java.lang.String SERIALIZED_NAME_PERMISSION_GROUP_ID
public static final java.lang.String SERIALIZED_NAME_CREATED_AT
public static final java.lang.String SERIALIZED_NAME_EXPIRED
public static java.util.HashSet<java.lang.String> openapiFields
public static java.util.HashSet<java.lang.String> openapiRequiredFields
public InvitationModel invitationId(java.util.UUID invitationId)
@Nullable public java.util.UUID getInvitationId()
public void setInvitationId(java.util.UUID invitationId)
public InvitationModel email(java.lang.String email)
@Nullable public java.lang.String getEmail()
public void setEmail(java.lang.String email)
public InvitationModel permissionGroupId(java.lang.Long permissionGroupId)
@Nullable public java.lang.Long getPermissionGroupId()
public void setPermissionGroupId(java.lang.Long permissionGroupId)
public InvitationModel createdAt(java.time.OffsetDateTime createdAt)
@Nullable public java.time.OffsetDateTime getCreatedAt()
public void setCreatedAt(java.time.OffsetDateTime createdAt)
public InvitationModel expired(java.lang.Boolean expired)
@Nullable public java.lang.Boolean getExpired()
public void setExpired(java.lang.Boolean expired)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic static void validateJsonElement(com.google.gson.JsonElement jsonElement)
throws java.io.IOException
jsonElement - JSON Elementjava.io.IOException - if the JSON Element is invalid with respect to InvitationModelpublic static InvitationModel fromJson(java.lang.String jsonString) throws java.io.IOException
jsonString - JSON stringjava.io.IOException - if the JSON string is invalid with respect to InvitationModelpublic java.lang.String toJson()