Class BookmarksListParams
java.lang.Object
com.hubspot.slack.client.methods.params.bookmarks.BookmarksListParams
- All Implemented Interfaces:
HasChannel,BookmarksListParamsIF
@Generated(from="BookmarksListParamsIF",
generator="Immutables")
@ParametersAreNonnullByDefault
@Generated("org.immutables.processor.ProxyProcessor")
@Immutable
public final class BookmarksListParams
extends Object
implements BookmarksListParamsIF
Immutable implementation of
BookmarksListParamsIF.
Use the builder to create immutable instances:
BookmarksListParams.builder().
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeBookmarksListParams. -
Method Summary
Modifier and TypeMethodDescriptionstatic BookmarksListParams.Builderbuilder()Creates a builder forBookmarksListParams.static BookmarksListParamscopyOf(BookmarksListParamsIF instance) Creates an immutable copy of aBookmarksListParamsIFvalue.booleanThis instance is equal to all instances ofBookmarksListParamsthat have equal attribute values.inthashCode()Computes a hash code from attributes:channelId,channel.toString()Prints the immutable valueBookmarksListParamswith attribute values.final BookmarksListParamswithChannelId(String value) Copy the current immutable object by setting a value for thechannelIdattribute.
-
Method Details
-
getChannelId
- Specified by:
getChannelIdin interfaceHasChannel- Returns:
- The value of the
channelIdattribute
-
getChannel
- Specified by:
getChannelin interfaceBookmarksListParamsIF- Returns:
- The computed-at-construction value of the
channelattribute
-
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
-
equals
This instance is equal to all instances ofBookmarksListParamsthat have equal attribute values. -
hashCode
public int hashCode()Computes a hash code from attributes:channelId,channel. -
toString
Prints the immutable valueBookmarksListParamswith attribute values. -
copyOf
Creates an immutable copy of aBookmarksListParamsIFvalue. 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 BookmarksListParams instance
-
builder
Creates a builder forBookmarksListParams.BookmarksListParams.builder() .setChannelId(String) // requiredchannelId.build();- Returns:
- A new BookmarksListParams builder
-