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 class
AdminBarriersCreateRequest.AdminBarriersCreateRequestBuilder
-
Method Summary
Modifier and Type Method Description static AdminBarriersCreateRequest.AdminBarriersCreateRequestBuilder
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
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
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
-
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
-