Class AdminAuthPolicyAssignEntitiesRequest

java.lang.Object
com.slack.api.methods.request.admin.auth.policy.AdminAuthPolicyAssignEntitiesRequest
All Implemented Interfaces:
SlackApiRequest

public class AdminAuthPolicyAssignEntitiesRequest
extends java.lang.Object
implements SlackApiRequest
https://api.slack.com/methods/admin.auth.policy.assignEntities
  • Method Details

    • builder

    • getToken

      public java.lang.String getToken()
      Authentication token bearing required scopes.
      Specified by:
      getToken in interface SlackApiRequest
    • getEntityIds

      public java.util.List<java.lang.String> getEntityIds()
      Array of IDs to assign to the policy.
    • getPolicyName

      public java.lang.String getPolicyName()
    • getEntityType

      public java.lang.String getEntityType()
      The name of the authentication policy to assign the entities to. Currently, email_password is the only policy that may be used with this method.
    • setToken

      public void setToken​(java.lang.String token)
      Authentication token bearing required scopes.
    • setEntityIds

      public void setEntityIds​(java.util.List<java.lang.String> entityIds)
      Array of IDs to assign to the policy.
    • setPolicyName

      public void setPolicyName​(java.lang.String policyName)
    • setEntityType

      public void setEntityType​(java.lang.String entityType)
      The name of the authentication policy to assign the entities to. Currently, email_password is the only policy that may be used with this method.
    • equals

      public boolean equals​(java.lang.Object o)
      Overrides:
      equals in class java.lang.Object
    • canEqual

      protected boolean canEqual​(java.lang.Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object