Class AdminBarriersCreateRequest
java.lang.Object
com.slack.api.methods.request.admin.barriers.AdminBarriersCreateRequest
- All Implemented Interfaces:
SlackApiRequest
https://docs.slack.dev/reference/methods/admin.barriers.create
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanA list of IDP Groups ids that the primary usergroup is to be barriered from.The id of the primary IDP GroupWhat kind of interactions are blocked by this barrier? For v1, we only support a list of all 3, e.g.getToken()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, e.g.voidAuthentication token bearing required scopes.toString()
-
Method Details
-
builder
-
getToken
Authentication token bearing required scopes.- Specified by:
getTokenin interfaceSlackApiRequest- Returns:
- token string value or null
-
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, e.g. im, mpim, call -
setToken
Authentication token bearing required scopes.- Specified by:
setTokenin interfaceSlackApiRequest
-
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, e.g. im, mpim, call -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-