Class AdminBarriersUpdateRequest
java.lang.Object
com.slack.api.methods.request.admin.barriers.AdminBarriersUpdateRequest
- All Implemented Interfaces:
SlackApiRequest
public class AdminBarriersUpdateRequest extends Object implements SlackApiRequest
https://api.slack.com/methods/admin.barriers.update
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AdminBarriersUpdateRequest.AdminBarriersUpdateRequestBuilder
-
Method Summary
Modifier and Type Method Description static AdminBarriersUpdateRequest.AdminBarriersUpdateRequestBuilder
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
getBarrierId()
The ID of the barrier you're trying to modifyString
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
setBarrierId(String barrierId)
The ID of the barrier you're trying to modifyvoid
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 Details
-
builder
-
getToken
Authentication token bearing required scopes.- Specified by:
getToken
in interfaceSlackApiRequest
-
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, eg im, mpim, call -
setToken
Authentication token bearing required scopes. -
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, eg im, mpim, call -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-