Class ConversationsSetTopicRequest
java.lang.Object
com.slack.api.methods.request.conversations.ConversationsSetTopicRequest
- All Implemented Interfaces:
SlackApiRequest
public class ConversationsSetTopicRequest extends java.lang.Object implements SlackApiRequest
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classConversationsSetTopicRequest.ConversationsSetTopicRequestBuilder -
Method Summary
Modifier and Type Method Description static ConversationsSetTopicRequest.ConversationsSetTopicRequestBuilderbuilder()protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetChannel()Conversation to set the topic ofjava.lang.StringgetToken()Authentication token.java.lang.StringgetTopic()The new topic string.inthashCode()voidsetChannel(java.lang.String channel)Conversation to set the topic ofvoidsetToken(java.lang.String token)Authentication token.voidsetTopic(java.lang.String topic)The new topic string.java.lang.StringtoString()
-
Method Details
-
builder
-
getToken
public java.lang.String getToken()Authentication token. Requires scope: `conversations:write`- Specified by:
getTokenin interfaceSlackApiRequest
-
getChannel
public java.lang.String getChannel()Conversation to set the topic of -
getTopic
public java.lang.String getTopic()The new topic string. Does not support formatting or linkification. -
setToken
public void setToken(java.lang.String token)Authentication token. Requires scope: `conversations:write` -
setChannel
public void setChannel(java.lang.String channel)Conversation to set the topic of -
setTopic
public void setTopic(java.lang.String topic)The new topic string. Does not support formatting or linkification. -
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
-