Class ChatDeleteScheduledMessageParams
java.lang.Object
com.hubspot.slack.client.methods.params.chat.ChatDeleteScheduledMessageParams
- All Implemented Interfaces:
HasChannel,ChatDeleteScheduledMessageParamsIF
@Generated(from="ChatDeleteScheduledMessageParamsIF",
generator="Immutables")
@ParametersAreNonnullByDefault
@Generated("org.immutables.processor.ProxyProcessor")
@Immutable
public final class ChatDeleteScheduledMessageParams
extends Object
implements ChatDeleteScheduledMessageParamsIF
Immutable implementation of
ChatDeleteScheduledMessageParamsIF.
Use the builder to create immutable instances:
ChatDeleteScheduledMessageParams.builder().
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeChatDeleteScheduledMessageParams. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forChatDeleteScheduledMessageParams.copyOf(ChatDeleteScheduledMessageParamsIF instance) Creates an immutable copy of aChatDeleteScheduledMessageParamsIFvalue.booleanThis instance is equal to all instances ofChatDeleteScheduledMessageParamsthat have equal attribute values.inthashCode()Computes a hash code from attributes:channelId,scheduledMessageId.toString()Prints the immutable valueChatDeleteScheduledMessageParamswith attribute values.withChannelId(String value) Copy the current immutable object by setting a value for thechannelIdattribute.withScheduledMessageId(String value) Copy the current immutable object by setting a value for thescheduledMessageIdattribute.Methods inherited from interface com.hubspot.slack.client.methods.params.chat.ChatDeleteScheduledMessageParamsIF
getAsUser
-
Method Details
-
getChannelId
- Specified by:
getChannelIdin interfaceChatDeleteScheduledMessageParamsIF- Specified by:
getChannelIdin interfaceHasChannel- Returns:
- The value of the
channelIdattribute
-
getScheduledMessageId
- Specified by:
getScheduledMessageIdin interfaceChatDeleteScheduledMessageParamsIF- Returns:
- The value of the
scheduledMessageIdattribute
-
withChannelId
Copy the current immutable object by setting a value for thechannelIdattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for channelId- Returns:
- A modified copy or the
thisobject
-
withScheduledMessageId
Copy the current immutable object by setting a value for thescheduledMessageIdattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for scheduledMessageId- Returns:
- A modified copy or the
thisobject
-
equals
This instance is equal to all instances ofChatDeleteScheduledMessageParamsthat have equal attribute values. -
hashCode
public int hashCode()Computes a hash code from attributes:channelId,scheduledMessageId. -
toString
Prints the immutable valueChatDeleteScheduledMessageParamswith attribute values. -
copyOf
Creates an immutable copy of aChatDeleteScheduledMessageParamsIFvalue. Uses accessors to get values to initialize the new immutable instance. If an instance is already immutable, it is returned as is.- Parameters:
instance- The instance to copy- Returns:
- A copied immutable ChatDeleteScheduledMessageParams instance
-
builder
Creates a builder forChatDeleteScheduledMessageParams.ChatDeleteScheduledMessageParams.builder() .setChannelId(String) // requiredchannelId.setScheduledMessageId(String) // requiredscheduledMessageId.build();- Returns:
- A new ChatDeleteScheduledMessageParams builder
-