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 classAdminBarriersCreateRequest.AdminBarriersCreateRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AdminBarriersCreateRequest.AdminBarriersCreateRequestBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)List<String>getBarrieredFromUsergroupIds()A list of IDP Groups ids that the primary usergroup is to be barriered from.StringgetPrimaryUsergroupId()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, callStringgetToken()Authentication token bearing required scopes.inthashCode()voidsetBarrieredFromUsergroupIds(List<String> barrieredFromUsergroupIds)A list of IDP Groups ids that the primary usergroup is to be barriered from.voidsetPrimaryUsergroupId(String primaryUsergroupId)The id of the primary IDP GroupvoidsetRestrictedSubjects(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, callvoidsetToken(String token)Authentication token bearing required scopes.StringtoString()
-
-
-
Method Detail
-
builder
public static AdminBarriersCreateRequest.AdminBarriersCreateRequestBuilder builder()
-
getToken
public String getToken()
Authentication token bearing required scopes.- Specified by:
getTokenin interfaceSlackApiRequest- Returns:
- token string value or null
-
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.- Specified by:
setTokenin interfaceSlackApiRequest
-
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)
-
-