Package com.affinda.api.client.models
Class Invitation
- java.lang.Object
-
- com.affinda.api.client.models.Invitation
-
public final class Invitation extends Object
The Invitation model.
-
-
Constructor Summary
Constructors Constructor Description Invitation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.time.OffsetDateTimegetCreatedDt()Get the createdDt property: The createdDt property.StringgetEmail()Get the email property: The email which the invitation is sent to.java.time.LocalDategetExpiryDate()Get the expiryDate property: The date after which the invitation expires.StringgetIdentifier()Get the identifier property: Uniquely identify an invitation.UsergetInvitedBy()Get the invitedBy property: The invitedBy property.OrganizationgetOrganization()Get the organization property: The organization property.InvitationRespondedBygetRespondedBy()Get the respondedBy property: The respondedBy property.OrganizationRolegetRole()Get the role property: The role property.InvitationStatusgetStatus()Get the status property: The status property.InvitationsetCreatedDt(java.time.OffsetDateTime createdDt)Set the createdDt property: The createdDt property.InvitationsetEmail(String email)Set the email property: The email which the invitation is sent to.InvitationsetExpiryDate(java.time.LocalDate expiryDate)Set the expiryDate property: The date after which the invitation expires.InvitationsetIdentifier(String identifier)Set the identifier property: Uniquely identify an invitation.InvitationsetInvitedBy(User invitedBy)Set the invitedBy property: The invitedBy property.InvitationsetOrganization(Organization organization)Set the organization property: The organization property.InvitationsetRespondedBy(InvitationRespondedBy respondedBy)Set the respondedBy property: The respondedBy property.InvitationsetRole(OrganizationRole role)Set the role property: The role property.InvitationsetStatus(InvitationStatus status)Set the status property: The status property.
-
-
-
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.
-
-