Class AdminAuthPolicyAssignEntitiesRequest

  • All Implemented Interfaces:
    SlackApiRequest

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

      • getToken

        public String getToken()
        Authentication token bearing required scopes.
        Specified by:
        getToken in interface SlackApiRequest
        Returns:
        token string value or null
      • getEntityIds

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

        public String getPolicyName()
      • getEntityType

        public 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​(String token)
        Authentication token bearing required scopes.
        Specified by:
        setToken in interface SlackApiRequest
      • setEntityIds

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

        public void setPolicyName​(String policyName)
      • setEntityType

        public void setEntityType​(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.
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object