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
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 Details
-
builder
-
getToken
Authentication token bearing required scopes.- Specified by:
getTokenin interfaceSlackApiRequest
-
getBarrieredFromUsergroupIds
A list of IDP Groups ids that the primary usergroup is to be barriered from. -
getPrimaryUsergroupId
The id of the primary IDP Group -
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
Authentication token bearing required scopes. -
setBarrieredFromUsergroupIds
A list of IDP Groups ids that the primary usergroup is to be barriered from. -
setPrimaryUsergroupId
The id of the primary IDP Group -
setRestrictedSubjects
What kind of interactions are blocked by this barrier? For v1, we only support a list of all 3, eg im, mpim, call -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-