Class AdminBarriersUpdateRequest

java.lang.Object
com.slack.api.methods.request.admin.barriers.AdminBarriersUpdateRequest
All Implemented Interfaces:
SlackApiRequest

public class AdminBarriersUpdateRequest
extends java.lang.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​(java.lang.Object other)  
    boolean equals​(java.lang.Object o)  
    java.util.List<java.lang.String> getBarrieredFromUsergroupIds()
    A list of IDP Groups ids that the primary usergroup is to be barriered from.
    java.lang.String getBarrierId()
    The ID of the barrier you're trying to modify
    java.lang.String getPrimaryUsergroupId()
    The id of the primary IDP Group
    java.util.List<java.lang.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
    java.lang.String getToken()
    Authentication token bearing required scopes.
    int hashCode()  
    void setBarrieredFromUsergroupIds​(java.util.List<java.lang.String> barrieredFromUsergroupIds)
    A list of IDP Groups ids that the primary usergroup is to be barriered from.
    void setBarrierId​(java.lang.String barrierId)
    The ID of the barrier you're trying to modify
    void setPrimaryUsergroupId​(java.lang.String primaryUsergroupId)
    The id of the primary IDP Group
    void setRestrictedSubjects​(java.util.List<java.lang.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
    void setToken​(java.lang.String token)
    Authentication token bearing required scopes.
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Method Details

    • builder

    • getToken

      public java.lang.String getToken()
      Authentication token bearing required scopes.
      Specified by:
      getToken in interface SlackApiRequest
    • getBarrierId

      public java.lang.String getBarrierId()
      The ID of the barrier you're trying to modify
    • getBarrieredFromUsergroupIds

      public java.util.List<java.lang.String> getBarrieredFromUsergroupIds()
      A list of IDP Groups ids that the primary usergroup is to be barriered from.
    • getPrimaryUsergroupId

      public java.lang.String getPrimaryUsergroupId()
      The id of the primary IDP Group
    • getRestrictedSubjects

      public java.util.List<java.lang.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​(java.lang.String token)
      Authentication token bearing required scopes.
    • setBarrierId

      public void setBarrierId​(java.lang.String barrierId)
      The ID of the barrier you're trying to modify
    • setBarrieredFromUsergroupIds

      public void setBarrieredFromUsergroupIds​(java.util.List<java.lang.String> barrieredFromUsergroupIds)
      A list of IDP Groups ids that the primary usergroup is to be barriered from.
    • setPrimaryUsergroupId

      public void setPrimaryUsergroupId​(java.lang.String primaryUsergroupId)
      The id of the primary IDP Group
    • setRestrictedSubjects

      public void setRestrictedSubjects​(java.util.List<java.lang.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
    • equals

      public boolean equals​(java.lang.Object o)
      Overrides:
      equals in class java.lang.Object
    • canEqual

      protected boolean canEqual​(java.lang.Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object