Class AdminConversationsGetCustomRetentionRequest
java.lang.Object
com.slack.api.methods.request.admin.conversations.AdminConversationsGetCustomRetentionRequest
- All Implemented Interfaces:
SlackApiRequest
public class AdminConversationsGetCustomRetentionRequest extends java.lang.Object implements SlackApiRequest
https://api.slack.com/methods/admin.conversations.getCustomRetention
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAdminConversationsGetCustomRetentionRequest.AdminConversationsGetCustomRetentionRequestBuilder -
Method Summary
Modifier and Type Method Description static AdminConversationsGetCustomRetentionRequest.AdminConversationsGetCustomRetentionRequestBuilderbuilder()protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetChannelId()The channel to get the retention policy for.java.lang.StringgetToken()Authentication token bearing required scopes.inthashCode()voidsetChannelId(java.lang.String channelId)The channel to get the retention policy for.voidsetToken(java.lang.String token)Authentication token bearing required scopes.java.lang.StringtoString()
-
Method Details
-
builder
public static AdminConversationsGetCustomRetentionRequest.AdminConversationsGetCustomRetentionRequestBuilder builder() -
getToken
public java.lang.String getToken()Authentication token bearing required scopes.- Specified by:
getTokenin interfaceSlackApiRequest
-
getChannelId
public java.lang.String getChannelId()The channel to get the retention policy for. -
setToken
public void setToken(java.lang.String token)Authentication token bearing required scopes. -
setChannelId
public void setChannelId(java.lang.String channelId)The channel to get the retention policy for. -
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
-