Class AdminAuthPolicyAssignEntitiesRequest
- java.lang.Object
-
- com.slack.api.methods.request.admin.auth.policy.AdminAuthPolicyAssignEntitiesRequest
-
- All Implemented Interfaces:
SlackApiRequest
public class AdminAuthPolicyAssignEntitiesRequest extends Object implements SlackApiRequest
https://api.slack.com/methods/admin.auth.policy.assignEntities
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AdminAuthPolicyAssignEntitiesRequest.AdminAuthPolicyAssignEntitiesRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AdminAuthPolicyAssignEntitiesRequest.AdminAuthPolicyAssignEntitiesRequestBuilder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
List<String>
getEntityIds()
Array of IDs to assign to the policy.String
getEntityType()
The name of the authentication policy to assign the entities to.String
getPolicyName()
String
getToken()
Authentication token bearing required scopes.int
hashCode()
void
setEntityIds(List<String> entityIds)
Array of IDs to assign to the policy.void
setEntityType(String entityType)
The name of the authentication policy to assign the entities to.void
setPolicyName(String policyName)
void
setToken(String token)
Authentication token bearing required scopes.String
toString()
-
-
-
Method Detail
-
builder
public static AdminAuthPolicyAssignEntitiesRequest.AdminAuthPolicyAssignEntitiesRequestBuilder builder()
-
getToken
public String getToken()
Authentication token bearing required scopes.- Specified by:
getToken
in interfaceSlackApiRequest
- Returns:
- token string value or null
-
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 interfaceSlackApiRequest
-
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)
-
-