Class AdminBarriersCreateRequest
- java.lang.Object
-
- com.slack.api.methods.request.admin.barriers.AdminBarriersCreateRequest
-
- All Implemented Interfaces:
SlackApiRequest
public class AdminBarriersCreateRequest extends Object implements SlackApiRequest
https://api.slack.com/methods/admin.barriers.create
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AdminBarriersCreateRequest.AdminBarriersCreateRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AdminBarriersCreateRequest.AdminBarriersCreateRequestBuilder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
List<String>
getBarrieredFromUsergroupIds()
A list of IDP Groups ids that the primary usergroup is to be barriered from.String
getPrimaryUsergroupId()
The id of the primary IDP GroupList<String>
getRestrictedSubjects()
What kind of interactions are blocked by this barrier? For v1, we only support a list of all 3, eg im, mpim, callString
getToken()
Authentication token bearing required scopes.int
hashCode()
void
setBarrieredFromUsergroupIds(List<String> barrieredFromUsergroupIds)
A list of IDP Groups ids that the primary usergroup is to be barriered from.void
setPrimaryUsergroupId(String primaryUsergroupId)
The id of the primary IDP Groupvoid
setRestrictedSubjects(List<String> restrictedSubjects)
What kind of interactions are blocked by this barrier? For v1, we only support a list of all 3, eg im, mpim, callvoid
setToken(String token)
Authentication token bearing required scopes.String
toString()
-
-
-
Method Detail
-
builder
public static AdminBarriersCreateRequest.AdminBarriersCreateRequestBuilder builder()
-
getToken
public String getToken()
Authentication token bearing required scopes.- Specified by:
getToken
in interfaceSlackApiRequest
-
getBarrieredFromUsergroupIds
public List<String> getBarrieredFromUsergroupIds()
A list of IDP Groups ids that the primary usergroup is to be barriered from.
-
getPrimaryUsergroupId
public String getPrimaryUsergroupId()
The id of the primary IDP Group
-
getRestrictedSubjects
public List<String> getRestrictedSubjects()
What kind of interactions are blocked by this barrier? For v1, we only support a list of all 3, eg im, mpim, call
-
setToken
public void setToken(String token)
Authentication token bearing required scopes.
-
setBarrieredFromUsergroupIds
public void setBarrieredFromUsergroupIds(List<String> barrieredFromUsergroupIds)
A list of IDP Groups ids that the primary usergroup is to be barriered from.
-
setPrimaryUsergroupId
public void setPrimaryUsergroupId(String primaryUsergroupId)
The id of the primary IDP Group
-
setRestrictedSubjects
public void setRestrictedSubjects(List<String> restrictedSubjects)
What kind of interactions are blocked by this barrier? For v1, we only support a list of all 3, eg im, mpim, call
-
canEqual
protected boolean canEqual(Object other)
-
-