Class AdminAuthPolicyRemoveEntitiesRequest

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

public class AdminAuthPolicyRemoveEntitiesRequest extends Object implements SlackApiRequest
https://docs.slack.dev/reference/methods/admin.auth.policy.removeEntities
  • Method Details

    • builder

    • 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()
      Encoded IDs of the entities you'd like to remove from the policy.
    • getPolicyName

      public String getPolicyName()
      The name of the policy to remove entities from. Currently, email_password is the only policy that may be used with this method.
    • getEntityType

      public String getEntityType()
    • setToken

      public void setToken(String token)
      Authentication token bearing required scopes.
      Specified by:
      setToken in interface SlackApiRequest
    • setEntityIds

      public void setEntityIds(List<String> entityIds)
      Encoded IDs of the entities you'd like to remove from the policy.
    • setPolicyName

      public void setPolicyName(String policyName)
      The name of the policy to remove entities from. Currently, email_password is the only policy that may be used with this method.
    • setEntityType

      public void setEntityType(String entityType)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object