Class ReactionsRemoveParams
java.lang.Object
com.hubspot.slack.client.methods.params.reactions.ReactionsRemoveParams
- All Implemented Interfaces:
ReactionsRemoveParamsIF
@Generated(from="ReactionsRemoveParamsIF",
generator="Immutables")
@ParametersAreNonnullByDefault
@Generated("org.immutables.processor.ProxyProcessor")
@Immutable
public final class ReactionsRemoveParams
extends Object
implements ReactionsRemoveParamsIF
Immutable implementation of
ReactionsRemoveParamsIF.
Use the builder to create immutable instances:
ReactionsRemoveParams.builder().
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeReactionsRemoveParams. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forReactionsRemoveParams.static ReactionsRemoveParamscopyOf(ReactionsRemoveParamsIF instance) Creates an immutable copy of aReactionsRemoveParamsIFvalue.booleanThis instance is equal to all instances ofReactionsRemoveParamsthat have equal attribute values.getName()inthashCode()Computes a hash code from attributes:name,channel,timestamp.toString()Prints the immutable valueReactionsRemoveParamswith attribute values.final ReactionsRemoveParamswithChannel(String value) Copy the current immutable object by setting a value for thechannelattribute.final ReactionsRemoveParamsCopy the current immutable object by setting a value for thenameattribute.final ReactionsRemoveParamswithTimestamp(String value) Copy the current immutable object by setting a value for thetimestampattribute.
-
Method Details
-
getName
- Specified by:
getNamein interfaceReactionsRemoveParamsIF- Returns:
- The value of the
nameattribute
-
getChannel
- Specified by:
getChannelin interfaceReactionsRemoveParamsIF- Returns:
- The value of the
channelattribute
-
getTimestamp
- Specified by:
getTimestampin interfaceReactionsRemoveParamsIF- Returns:
- The value of the
timestampattribute
-
withName
Copy the current immutable object by setting a value for thenameattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for name- Returns:
- A modified copy or the
thisobject
-
withChannel
Copy the current immutable object by setting a value for thechannelattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for channel- Returns:
- A modified copy or the
thisobject
-
withTimestamp
Copy the current immutable object by setting a value for thetimestampattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for timestamp- Returns:
- A modified copy or the
thisobject
-
equals
This instance is equal to all instances ofReactionsRemoveParamsthat have equal attribute values. -
hashCode
public int hashCode()Computes a hash code from attributes:name,channel,timestamp. -
toString
Prints the immutable valueReactionsRemoveParamswith attribute values. -
copyOf
Creates an immutable copy of aReactionsRemoveParamsIFvalue. 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 ReactionsRemoveParams instance
-
builder
Creates a builder forReactionsRemoveParams.ReactionsRemoveParams.builder() .setName(String) // requiredname.setChannel(String) // requiredchannel.setTimestamp(String) // requiredtimestamp.build();- Returns:
- A new ReactionsRemoveParams builder
-