Class BookmarksRemoveParams
java.lang.Object
com.hubspot.slack.client.methods.params.bookmarks.BookmarksRemoveParams
- All Implemented Interfaces:
HasChannel,BookmarksRemoveParamsIF
@Generated(from="BookmarksRemoveParamsIF",
generator="Immutables")
@ParametersAreNonnullByDefault
@Generated("org.immutables.processor.ProxyProcessor")
@Immutable
public final class BookmarksRemoveParams
extends Object
implements BookmarksRemoveParamsIF
Immutable implementation of
BookmarksRemoveParamsIF.
Use the builder to create immutable instances:
BookmarksRemoveParams.builder().
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeBookmarksRemoveParams. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forBookmarksRemoveParams.static BookmarksRemoveParamscopyOf(BookmarksRemoveParamsIF instance) Creates an immutable copy of aBookmarksRemoveParamsIFvalue.booleanThis instance is equal to all instances ofBookmarksRemoveParamsthat have equal attribute values.inthashCode()Computes a hash code from attributes:channelId,channel,bookmarkId.toString()Prints the immutable valueBookmarksRemoveParamswith attribute values.final BookmarksRemoveParamswithBookmarkId(String value) Copy the current immutable object by setting a value for thebookmarkIdattribute.final BookmarksRemoveParamswithChannelId(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 interfaceBookmarksRemoveParamsIF- Returns:
- The computed-at-construction value of the
channelattribute
-
getBookmarkId
- Specified by:
getBookmarkIdin interfaceBookmarksRemoveParamsIF- Returns:
- The value of the
bookmarkIdattribute
-
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
-
withBookmarkId
Copy the current immutable object by setting a value for thebookmarkIdattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for bookmarkId- Returns:
- A modified copy or the
thisobject
-
equals
This instance is equal to all instances ofBookmarksRemoveParamsthat have equal attribute values. -
hashCode
public int hashCode()Computes a hash code from attributes:channelId,channel,bookmarkId. -
toString
Prints the immutable valueBookmarksRemoveParamswith attribute values. -
copyOf
Creates an immutable copy of aBookmarksRemoveParamsIFvalue. 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 BookmarksRemoveParams instance
-
builder
Creates a builder forBookmarksRemoveParams.BookmarksRemoveParams.builder() .setChannelId(String) // requiredchannelId.setBookmarkId(String) // requiredbookmarkId.build();- Returns:
- A new BookmarksRemoveParams builder
-