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
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAdminAuthPolicyAssignEntitiesRequest.AdminAuthPolicyAssignEntitiesRequestBuilder -
Method Summary
Modifier and Type Method Description static AdminAuthPolicyAssignEntitiesRequest.AdminAuthPolicyAssignEntitiesRequestBuilderbuilder()protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.util.List<java.lang.String>getEntityIds()Array of IDs to assign to the policy.java.lang.StringgetEntityType()The name of the authentication policy to assign the entities to.java.lang.StringgetPolicyName()java.lang.StringgetToken()Authentication token bearing required scopes.inthashCode()voidsetEntityIds(java.util.List<java.lang.String> entityIds)Array of IDs to assign to the policy.voidsetEntityType(java.lang.String entityType)The name of the authentication policy to assign the entities to.voidsetPolicyName(java.lang.String policyName)voidsetToken(java.lang.String token)Authentication token bearing required scopes.java.lang.StringtoString()
-
Method Details
-
builder
public static AdminAuthPolicyAssignEntitiesRequest.AdminAuthPolicyAssignEntitiesRequestBuilder 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()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:
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
-