Class ChatScheduledMessagesListParams
java.lang.Object
com.hubspot.slack.client.methods.params.chat.ChatScheduledMessagesListParams
- All Implemented Interfaces:
ChatScheduledMessagesListParamsIF
@Generated(from="ChatScheduledMessagesListParamsIF",
generator="Immutables")
@ParametersAreNonnullByDefault
@Generated("org.immutables.processor.ProxyProcessor")
@Immutable
public final class ChatScheduledMessagesListParams
extends Object
implements ChatScheduledMessagesListParamsIF
Immutable implementation of
ChatScheduledMessagesListParamsIF.
Use the builder to create immutable instances:
ChatScheduledMessagesListParams.builder().
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeChatScheduledMessagesListParams. -
Field Summary
Fields inherited from interface com.hubspot.slack.client.methods.params.chat.ChatScheduledMessagesListParamsIF
EMPTY_STRING, LIMIT -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forChatScheduledMessagesListParams.copyOf(ChatScheduledMessagesListParamsIF instance) Creates an immutable copy of aChatScheduledMessagesListParamsIFvalue.booleanThis instance is equal to all instances ofChatScheduledMessagesListParamsthat have equal attribute values.getLimit()inthashCode()Computes a hash code from attributes:channelId,cursor,newestTimestamp,oldestTimestamp,teamId,limit.toString()Prints the immutable valueChatScheduledMessagesListParamswith attribute values.withChannelId(String value) Copy the current immutable object by setting a value for thechannelIdattribute.withCursor(String value) Copy the current immutable object by setting a value for thecursorattribute.Copy the current immutable object by setting a value for thelimitattribute.withNewestTimestamp(String value) Copy the current immutable object by setting a value for thenewestTimestampattribute.withOldestTimestamp(String value) Copy the current immutable object by setting a value for theoldestTimestampattribute.withTeamId(String value) Copy the current immutable object by setting a value for theteamIdattribute.
-
Method Details
-
getChannelId
- Specified by:
getChannelIdin interfaceChatScheduledMessagesListParamsIF- Returns:
- The value of the
channelIdattribute
-
getCursor
- Specified by:
getCursorin interfaceChatScheduledMessagesListParamsIF- Returns:
- The value of the
cursorattribute
-
getNewestTimestamp
- Specified by:
getNewestTimestampin interfaceChatScheduledMessagesListParamsIF- Returns:
- The value of the
newestTimestampattribute
-
getOldestTimestamp
- Specified by:
getOldestTimestampin interfaceChatScheduledMessagesListParamsIF- Returns:
- The value of the
oldestTimestampattribute
-
getTeamId
- Specified by:
getTeamIdin interfaceChatScheduledMessagesListParamsIF- Returns:
- The value of the
teamIdattribute
-
getLimit
- Specified by:
getLimitin interfaceChatScheduledMessagesListParamsIF- Returns:
- The value of the
limitattribute
-
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
-
withCursor
Copy the current immutable object by setting a value for thecursorattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for cursor- Returns:
- A modified copy or the
thisobject
-
withNewestTimestamp
Copy the current immutable object by setting a value for thenewestTimestampattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for newestTimestamp- Returns:
- A modified copy or the
thisobject
-
withOldestTimestamp
Copy the current immutable object by setting a value for theoldestTimestampattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for oldestTimestamp- Returns:
- A modified copy or the
thisobject
-
withTeamId
Copy the current immutable object by setting a value for theteamIdattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for teamId- Returns:
- A modified copy or the
thisobject
-
withLimit
Copy the current immutable object by setting a value for thelimitattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for limit- Returns:
- A modified copy or the
thisobject
-
equals
This instance is equal to all instances ofChatScheduledMessagesListParamsthat have equal attribute values. -
hashCode
public int hashCode()Computes a hash code from attributes:channelId,cursor,newestTimestamp,oldestTimestamp,teamId,limit. -
toString
Prints the immutable valueChatScheduledMessagesListParamswith attribute values. -
copyOf
Creates an immutable copy of aChatScheduledMessagesListParamsIFvalue. 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 ChatScheduledMessagesListParams instance
-
builder
Creates a builder forChatScheduledMessagesListParams.ChatScheduledMessagesListParams.builder() .setChannelId(String) // optionalchannelId.setCursor(String) // optionalcursor.setNewestTimestamp(String) // optionalnewestTimestamp.setOldestTimestamp(String) // optionaloldestTimestamp.setTeamId(String) // optionalteamId.setLimit(Integer) // optionallimit.build();- Returns:
- A new ChatScheduledMessagesListParams builder
-