Class InvitationModel


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               date="2025-02-20T16:55:24.304297906Z[Etc/UTC]",
               comments="Generator version: 7.7.0")
    public class InvitationModel
    extends java.lang.Object
    InvitationModel
    • Field Detail

      • SERIALIZED_NAME_INVITATION_ID

        public static final java.lang.String SERIALIZED_NAME_INVITATION_ID
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_EMAIL

        public static final java.lang.String SERIALIZED_NAME_EMAIL
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_PERMISSION_GROUP_ID

        public static final java.lang.String SERIALIZED_NAME_PERMISSION_GROUP_ID
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_CREATED_AT

        public static final java.lang.String SERIALIZED_NAME_CREATED_AT
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_EXPIRED

        public static final java.lang.String SERIALIZED_NAME_EXPIRED
        See Also:
        Constant Field Values
      • openapiFields

        public static java.util.HashSet<java.lang.String> openapiFields
      • openapiRequiredFields

        public static java.util.HashSet<java.lang.String> openapiRequiredFields
    • Constructor Detail

      • InvitationModel

        public InvitationModel()
    • Method Detail

      • invitationId

        public InvitationModel invitationId​(java.util.UUID invitationId)
      • getInvitationId

        @Nullable
        public java.util.UUID getInvitationId()
        The identifier of the Invitation.
        Returns:
        invitationId
      • setInvitationId

        public void setInvitationId​(java.util.UUID invitationId)
      • getEmail

        @Nullable
        public java.lang.String getEmail()
        The invited user's email address.
        Returns:
        email
      • setEmail

        public void setEmail​(java.lang.String email)
      • permissionGroupId

        public InvitationModel permissionGroupId​(java.lang.Long permissionGroupId)
      • getPermissionGroupId

        @Nullable
        public java.lang.Long getPermissionGroupId()
        The identifier of the Permission Group the user was invited to.
        Returns:
        permissionGroupId
      • setPermissionGroupId

        public void setPermissionGroupId​(java.lang.Long permissionGroupId)
      • createdAt

        public InvitationModel createdAt​(java.time.OffsetDateTime createdAt)
      • getCreatedAt

        @Nullable
        public java.time.OffsetDateTime getCreatedAt()
        Creation time of the Invitation.
        Returns:
        createdAt
      • setCreatedAt

        public void setCreatedAt​(java.time.OffsetDateTime createdAt)
      • getExpired

        @Nullable
        public java.lang.Boolean getExpired()
        Determines whether the Invitation is expired.
        Returns:
        expired
      • setExpired

        public void setExpired​(java.lang.Boolean expired)
      • putAdditionalProperty

        public InvitationModel putAdditionalProperty​(java.lang.String key,
                                                     java.lang.Object value)
        Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
        Parameters:
        key - name of the property
        value - value of the property
        Returns:
        the InvitationModel instance itself
      • getAdditionalProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getAdditionalProperties()
        Return the additional (undeclared) property.
        Returns:
        a map of objects
      • getAdditionalProperty

        public java.lang.Object getAdditionalProperty​(java.lang.String key)
        Return the additional (undeclared) property with the specified name.
        Parameters:
        key - name of the property
        Returns:
        an object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • validateJsonElement

        public static void validateJsonElement​(com.google.gson.JsonElement jsonElement)
                                        throws java.io.IOException
        Validates the JSON Element and throws an exception if issues found
        Parameters:
        jsonElement - JSON Element
        Throws:
        java.io.IOException - if the JSON Element is invalid with respect to InvitationModel
      • fromJson

        public static InvitationModel fromJson​(java.lang.String jsonString)
                                        throws java.io.IOException
        Create an instance of InvitationModel given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of InvitationModel
        Throws:
        java.io.IOException - if the JSON string is invalid with respect to InvitationModel
      • toJson

        public java.lang.String toJson()
        Convert an instance of InvitationModel to an JSON string
        Returns:
        JSON string