Class AdminAuthPolicyRemoveEntitiesRequest
java.lang.Object
com.slack.api.methods.request.admin.auth.policy.AdminAuthPolicyRemoveEntitiesRequest
- All Implemented Interfaces:
SlackApiRequest
public class AdminAuthPolicyRemoveEntitiesRequest extends java.lang.Object implements SlackApiRequest
https://api.slack.com/methods/admin.auth.policy.removeEntities
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAdminAuthPolicyRemoveEntitiesRequest.AdminAuthPolicyRemoveEntitiesRequestBuilder -
Method Summary
Modifier and Type Method Description static AdminAuthPolicyRemoveEntitiesRequest.AdminAuthPolicyRemoveEntitiesRequestBuilderbuilder()protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.util.List<java.lang.String>getEntityIds()Encoded IDs of the entities you'd like to remove from the policy.java.lang.StringgetEntityType()java.lang.StringgetPolicyName()The name of the policy to remove entities from.java.lang.StringgetToken()Authentication token bearing required scopes.inthashCode()voidsetEntityIds(java.util.List<java.lang.String> entityIds)Encoded IDs of the entities you'd like to remove from the policy.voidsetEntityType(java.lang.String entityType)voidsetPolicyName(java.lang.String policyName)The name of the policy to remove entities from.voidsetToken(java.lang.String token)Authentication token bearing required scopes.java.lang.StringtoString()
-
Method Details
-
builder
public static AdminAuthPolicyRemoveEntitiesRequest.AdminAuthPolicyRemoveEntitiesRequestBuilder builder() -
getToken
public java.lang.String getToken()Authentication token bearing required scopes.- Specified by:
getTokenin interfaceSlackApiRequest
-
getEntityIds
public java.util.List<java.lang.String> getEntityIds()Encoded IDs of the entities you'd like to remove from the policy. -
getPolicyName
public java.lang.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 java.lang.String getEntityType() -
setToken
public void setToken(java.lang.String token)Authentication token bearing required scopes. -
setEntityIds
public void setEntityIds(java.util.List<java.lang.String> entityIds)Encoded IDs of the entities you'd like to remove from the policy. -
setPolicyName
public void setPolicyName(java.lang.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(java.lang.String entityType) -
equals
public boolean equals(java.lang.Object o)- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other) -
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-