Class TeamRemoveMemberRequest


  • @Generated("org.openapitools.codegen.languages.JavaClientCodegen")
    public class TeamRemoveMemberRequest
    extends java.lang.Object
    TeamRemoveMemberRequest
    • Field Detail

      • JSON_PROPERTY_ACCOUNT_ID

        public static final java.lang.String JSON_PROPERTY_ACCOUNT_ID
        See Also:
        Constant Field Values
      • JSON_PROPERTY_EMAIL_ADDRESS

        public static final java.lang.String JSON_PROPERTY_EMAIL_ADDRESS
        See Also:
        Constant Field Values
      • JSON_PROPERTY_NEW_OWNER_EMAIL_ADDRESS

        public static final java.lang.String JSON_PROPERTY_NEW_OWNER_EMAIL_ADDRESS
        See Also:
        Constant Field Values
      • JSON_PROPERTY_NEW_TEAM_ID

        public static final java.lang.String JSON_PROPERTY_NEW_TEAM_ID
        See Also:
        Constant Field Values
      • JSON_PROPERTY_NEW_ROLE

        public static final java.lang.String JSON_PROPERTY_NEW_ROLE
        See Also:
        Constant Field Values
    • Constructor Detail

      • TeamRemoveMemberRequest

        public TeamRemoveMemberRequest()
    • Method Detail

      • getAccountId

        @Nullable
        public java.lang.String getAccountId()
        **account_id** or **email_address** is required. If both are provided, the account id prevails. Account id to remove from your Team.
        Returns:
        accountId
      • setAccountId

        public void setAccountId​(java.lang.String accountId)
      • getEmailAddress

        @Nullable
        public java.lang.String getEmailAddress()
        **account_id** or **email_address** is required. If both are provided, the account id prevails. Email address of the Account to remove from your Team.
        Returns:
        emailAddress
      • setEmailAddress

        public void setEmailAddress​(java.lang.String emailAddress)
      • newOwnerEmailAddress

        public TeamRemoveMemberRequest newOwnerEmailAddress​(java.lang.String newOwnerEmailAddress)
      • getNewOwnerEmailAddress

        @Nullable
        public java.lang.String getNewOwnerEmailAddress()
        The email address of an Account on this Team to receive all documents, templates, and API apps (if applicable) from the removed Account. If not provided, and on an Enterprise plan, this data will remain with the removed Account. **Note**: Only available for Enterprise plans.
        Returns:
        newOwnerEmailAddress
      • setNewOwnerEmailAddress

        public void setNewOwnerEmailAddress​(java.lang.String newOwnerEmailAddress)
      • getNewTeamId

        @Nullable
        public java.lang.String getNewTeamId()
        Id of the new Team.
        Returns:
        newTeamId
      • setNewTeamId

        public void setNewTeamId​(java.lang.String newTeamId)
      • getNewRole

        @Nullable
        public TeamRemoveMemberRequest.NewRoleEnum getNewRole()
        A new role member will take in a new Team. **Note**: This parameter is used only if `new_team_id` is provided.
        Returns:
        newRole
      • equals

        public boolean equals​(java.lang.Object o)
        Return true if this TeamRemoveMemberRequest object is equal to 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
      • createFormData

        public java.util.Map<java.lang.String,​java.lang.Object> createFormData()
                                                                              throws ApiException
        Throws:
        ApiException