Class ConversationsInfoRequest
java.lang.Object
com.slack.api.methods.request.conversations.ConversationsInfoRequest
- All Implemented Interfaces:
SlackApiRequest
public class ConversationsInfoRequest extends java.lang.Object implements SlackApiRequest
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classConversationsInfoRequest.ConversationsInfoRequestBuilder -
Method Summary
Modifier and Type Method Description static ConversationsInfoRequest.ConversationsInfoRequestBuilderbuilder()protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetChannel()Conversation ID to learn more aboutjava.lang.StringgetToken()Authentication token.inthashCode()booleanisIncludeLocale()Set this to `true` to receive the locale for this conversation.booleanisIncludeNumMembers()Set to true to include the member count for the specified conversation.voidsetChannel(java.lang.String channel)Conversation ID to learn more aboutvoidsetIncludeLocale(boolean includeLocale)Set this to `true` to receive the locale for this conversation.voidsetIncludeNumMembers(boolean includeNumMembers)Set to true to include the member count for the specified conversation.voidsetToken(java.lang.String token)Authentication token.java.lang.StringtoString()
-
Method Details
-
builder
-
getToken
public java.lang.String getToken()Authentication token. Requires scope: `conversations:read`- Specified by:
getTokenin interfaceSlackApiRequest
-
getChannel
public java.lang.String getChannel()Conversation ID to learn more about -
isIncludeLocale
public boolean isIncludeLocale()Set this to `true` to receive the locale for this conversation. Defaults to `false` -
isIncludeNumMembers
public boolean isIncludeNumMembers()Set to true to include the member count for the specified conversation. Defaults to false -
setToken
public void setToken(java.lang.String token)Authentication token. Requires scope: `conversations:read` -
setChannel
public void setChannel(java.lang.String channel)Conversation ID to learn more about -
setIncludeLocale
public void setIncludeLocale(boolean includeLocale)Set this to `true` to receive the locale for this conversation. Defaults to `false` -
setIncludeNumMembers
public void setIncludeNumMembers(boolean includeNumMembers)Set to true to include the member count for the specified conversation. Defaults to false -
equals
public boolean equals(java.lang.Object o)- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other) -
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-