Class InviteUserRequest

java.lang.Object
com.dtsx.astra.sdk.org.domain.InviteUserRequest
All Implemented Interfaces:
Serializable

public class InviteUserRequest extends Object implements Serializable
Author:
Cedrick LUNVEN (@clunven)
See Also:
  • Constructor Details

    • InviteUserRequest

      public InviteUserRequest(String orgId, String userEmail)
      Public constructor.
      Parameters:
      orgId - organization id
      userEmail - user email
  • Method Details

    • addRoles

      public void addRoles(String... proles)
      Add new roles.
      Parameters:
      proles - add a role
    • getOrgId

      public String getOrgId()
      Getter accessor for attribute 'orgId'.
      Returns:
      current value of 'orgId'
    • setOrgId

      public void setOrgId(String orgId)
      Setter accessor for attribute 'orgId'.
      Parameters:
      orgId - new value for 'orgId '
    • getEmail

      public String getEmail()
      Getter accessor for attribute 'email'.
      Returns:
      current value of 'email'
    • setEmail

      public void setEmail(String email)
      Setter accessor for attribute 'email'.
      Parameters:
      email - new value for 'email '
    • getRoles

      public List<String> getRoles()
      Getter accessor for attribute 'roles'.
      Returns:
      current value of 'roles'
    • setRoles

      public void setRoles(List<String> roles)
      Setter accessor for attribute 'roles'.
      Parameters:
      roles - new value for 'roles '