Class AdminConversationsSetTeamsRequest

java.lang.Object
com.slack.api.methods.request.admin.conversations.AdminConversationsSetTeamsRequest
All Implemented Interfaces:
SlackApiRequest

public class AdminConversationsSetTeamsRequest
extends java.lang.Object
implements SlackApiRequest
https://api.slack.com/methods/admin.conversations.setTeams
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    static class  AdminConversationsSetTeamsRequest.AdminConversationsSetTeamsRequestBuilder  
  • Method Summary

    Modifier and Type Method Description
    static AdminConversationsSetTeamsRequest.AdminConversationsSetTeamsRequestBuilder builder()  
    protected boolean canEqual​(java.lang.Object other)  
    boolean equals​(java.lang.Object o)  
    java.lang.String getChannelId()
    The encoded channel_id to add or remove to workspaces.
    java.lang.Boolean getOrgChannel()
    True if channel has to be converted to an org channel
    java.util.List<java.lang.String> getTargetTeamIds()
    The list of workspaces to which the channel should be shared.
    java.lang.String getTeamId()
    The workspace to which the channel belongs.
    java.lang.String getToken()
    Authentication token bearing required scopes.
    int hashCode()  
    void setChannelId​(java.lang.String channelId)
    The encoded channel_id to add or remove to workspaces.
    void setOrgChannel​(java.lang.Boolean orgChannel)
    True if channel has to be converted to an org channel
    void setTargetTeamIds​(java.util.List<java.lang.String> targetTeamIds)
    The list of workspaces to which the channel should be shared.
    void setTeamId​(java.lang.String teamId)
    The workspace to which the channel belongs.
    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
    • getChannelId

      public java.lang.String getChannelId()
      The encoded channel_id to add or remove to workspaces.
    • getOrgChannel

      public java.lang.Boolean getOrgChannel()
      True if channel has to be converted to an org channel
    • getTargetTeamIds

      public java.util.List<java.lang.String> getTargetTeamIds()
      The list of workspaces to which the channel should be shared. Not required if the channel is being shared orgwide.
    • getTeamId

      public java.lang.String getTeamId()
      The workspace to which the channel belongs. Omit this argument if the channel is a cross-workspace shared channel.
    • setToken

      public void setToken​(java.lang.String token)
      Authentication token bearing required scopes.
    • setChannelId

      public void setChannelId​(java.lang.String channelId)
      The encoded channel_id to add or remove to workspaces.
    • setOrgChannel

      public void setOrgChannel​(java.lang.Boolean orgChannel)
      True if channel has to be converted to an org channel
    • setTargetTeamIds

      public void setTargetTeamIds​(java.util.List<java.lang.String> targetTeamIds)
      The list of workspaces to which the channel should be shared. Not required if the channel is being shared orgwide.
    • setTeamId

      public void setTeamId​(java.lang.String teamId)
      The workspace to which the channel belongs. Omit this argument if the channel is a cross-workspace shared channel.
    • 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