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 classAdminBarriersUpdateRequest.AdminBarriersUpdateRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AdminBarriersUpdateRequest.AdminBarriersUpdateRequestBuilderbuilder()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.StringgetBarrierId()The ID of the barrier you're trying to modifyStringgetPrimaryUsergroupId()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.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, eg im, mpim, callvoidsetToken(String token)Authentication token bearing required scopes.StringtoString()
-
-
-
Method Detail
-
builder
public static AdminBarriersUpdateRequest.AdminBarriersUpdateRequestBuilder builder()
-
getToken
public String getToken()
Authentication token bearing required scopes.- Specified by:
getTokenin interfaceSlackApiRequest
-
getBarrierId
public String getBarrierId()
The ID of the barrier you're trying to modify
-
getBarrieredFromUsergroupIds
public List<String> getBarrieredFromUsergroupIds()
A list of IDP Groups ids that the primary usergroup is to be barriered from.
-
getPrimaryUsergroupId
public String getPrimaryUsergroupId()
The id of the primary IDP Group
-
getRestrictedSubjects
public List<String> 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
public void setToken(String token)
Authentication token bearing required scopes.
-
setBarrierId
public void setBarrierId(String barrierId)
The ID of the barrier you're trying to modify
-
setBarrieredFromUsergroupIds
public void setBarrieredFromUsergroupIds(List<String> barrieredFromUsergroupIds)
A list of IDP Groups ids that the primary usergroup is to be barriered from.
-
setPrimaryUsergroupId
public void setPrimaryUsergroupId(String primaryUsergroupId)
The id of the primary IDP Group
-
setRestrictedSubjects
public void 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, call
-
canEqual
protected boolean canEqual(Object other)
-
-