Class Invitation


  • public final class Invitation
    extends Object
    The Invitation model.
    • Constructor Detail

      • Invitation

        public Invitation()
    • Method Detail

      • getIdentifier

        public String getIdentifier()
        Get the identifier property: Uniquely identify an invitation.
        Returns:
        the identifier value.
      • setIdentifier

        public Invitation setIdentifier​(String identifier)
        Set the identifier property: Uniquely identify an invitation.
        Parameters:
        identifier - the identifier value to set.
        Returns:
        the Invitation object itself.
      • getOrganization

        public Organization getOrganization()
        Get the organization property: The organization property.
        Returns:
        the organization value.
      • setOrganization

        public Invitation setOrganization​(Organization organization)
        Set the organization property: The organization property.
        Parameters:
        organization - the organization value to set.
        Returns:
        the Invitation object itself.
      • getEmail

        public String getEmail()
        Get the email property: The email which the invitation is sent to.
        Returns:
        the email value.
      • setEmail

        public Invitation setEmail​(String email)
        Set the email property: The email which the invitation is sent to.
        Parameters:
        email - the email value to set.
        Returns:
        the Invitation object itself.
      • getRole

        public OrganizationRole getRole()
        Get the role property: The role property.
        Returns:
        the role value.
      • setRole

        public Invitation setRole​(OrganizationRole role)
        Set the role property: The role property.
        Parameters:
        role - the role value to set.
        Returns:
        the Invitation object itself.
      • getStatus

        public InvitationStatus getStatus()
        Get the status property: The status property.
        Returns:
        the status value.
      • setStatus

        public Invitation setStatus​(InvitationStatus status)
        Set the status property: The status property.
        Parameters:
        status - the status value to set.
        Returns:
        the Invitation object itself.
      • getExpiryDate

        public java.time.LocalDate getExpiryDate()
        Get the expiryDate property: The date after which the invitation expires. Default is 10 days from now.
        Returns:
        the expiryDate value.
      • setExpiryDate

        public Invitation setExpiryDate​(java.time.LocalDate expiryDate)
        Set the expiryDate property: The date after which the invitation expires. Default is 10 days from now.
        Parameters:
        expiryDate - the expiryDate value to set.
        Returns:
        the Invitation object itself.
      • getInvitedBy

        public User getInvitedBy()
        Get the invitedBy property: The invitedBy property.
        Returns:
        the invitedBy value.
      • setInvitedBy

        public Invitation setInvitedBy​(User invitedBy)
        Set the invitedBy property: The invitedBy property.
        Parameters:
        invitedBy - the invitedBy value to set.
        Returns:
        the Invitation object itself.
      • getRespondedBy

        public InvitationRespondedBy getRespondedBy()
        Get the respondedBy property: The respondedBy property.
        Returns:
        the respondedBy value.
      • setRespondedBy

        public Invitation setRespondedBy​(InvitationRespondedBy respondedBy)
        Set the respondedBy property: The respondedBy property.
        Parameters:
        respondedBy - the respondedBy value to set.
        Returns:
        the Invitation object itself.
      • getCreatedDt

        public java.time.OffsetDateTime getCreatedDt()
        Get the createdDt property: The createdDt property.
        Returns:
        the createdDt value.
      • setCreatedDt

        public Invitation setCreatedDt​(java.time.OffsetDateTime createdDt)
        Set the createdDt property: The createdDt property.
        Parameters:
        createdDt - the createdDt value to set.
        Returns:
        the Invitation object itself.