Package com.affinda.api.client.models
Class OrganizationMembership
- java.lang.Object
-
- com.affinda.api.client.models.OrganizationMembership
-
public final class OrganizationMembership extends Object
The OrganizationMembership model.
-
-
Constructor Summary
Constructors Constructor Description OrganizationMembership()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetIdentifier()Get the identifier property: A random string that uniquely identify the resource.StringgetOrganization()Get the organization property: Uniquely identify an organization.OrganizationRolegetRole()Get the role property: The role property.UsergetUser()Get the user property: The user property.OrganizationMembershipsetIdentifier(String identifier)Set the identifier property: A random string that uniquely identify the resource.OrganizationMembershipsetOrganization(String organization)Set the organization property: Uniquely identify an organization.OrganizationMembershipsetRole(OrganizationRole role)Set the role property: The role property.OrganizationMembershipsetUser(User user)Set the user property: The user property.
-
-
-
Method Detail
-
getIdentifier
public String getIdentifier()
Get the identifier property: A random string that uniquely identify the resource.- Returns:
- the identifier value.
-
setIdentifier
public OrganizationMembership setIdentifier(String identifier)
Set the identifier property: A random string that uniquely identify the resource.- Parameters:
identifier- the identifier value to set.- Returns:
- the OrganizationMembership object itself.
-
getOrganization
public String getOrganization()
Get the organization property: Uniquely identify an organization.- Returns:
- the organization value.
-
setOrganization
public OrganizationMembership setOrganization(String organization)
Set the organization property: Uniquely identify an organization.- Parameters:
organization- the organization value to set.- Returns:
- the OrganizationMembership object itself.
-
getUser
public User getUser()
Get the user property: The user property.- Returns:
- the user value.
-
setUser
public OrganizationMembership setUser(User user)
Set the user property: The user property.- Parameters:
user- the user value to set.- Returns:
- the OrganizationMembership object itself.
-
getRole
public OrganizationRole getRole()
Get the role property: The role property.- Returns:
- the role value.
-
setRole
public OrganizationMembership setRole(OrganizationRole role)
Set the role property: The role property.- Parameters:
role- the role value to set.- Returns:
- the OrganizationMembership object itself.
-
-