Class AdminBarriersUpdateRequest
java.lang.Object
com.slack.api.methods.request.admin.barriers.AdminBarriersUpdateRequest
- All Implemented Interfaces:
SlackApiRequest
https://docs.slack.dev/reference/methods/admin.barriers.update
-
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 barrier you're trying to modifyThe 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.voidsetBarrierId(String barrierId) The ID of the barrier you're trying to modifyvoidsetPrimaryUsergroupId(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
-
getBarrierId
The ID of the barrier you're trying to modify -
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
-
setBarrierId
The ID of the barrier you're trying to modify -
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
-