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().

  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in interface ReactionsRemoveParamsIF
      Returns:
      The value of the name attribute
    • getChannel

      public String getChannel()
      Specified by:
      getChannel in interface ReactionsRemoveParamsIF
      Returns:
      The value of the channel attribute
    • getTimestamp

      public String getTimestamp()
      Specified by:
      getTimestamp in interface ReactionsRemoveParamsIF
      Returns:
      The value of the timestamp attribute
    • withName

      public final ReactionsRemoveParams withName(String value)
      Copy the current immutable object by setting a value for the name attribute. An equals check used to prevent copying of the same value by returning this.
      Parameters:
      value - A new value for name
      Returns:
      A modified copy or the this object
    • withChannel

      public final ReactionsRemoveParams withChannel(String value)
      Copy the current immutable object by setting a value for the channel attribute. An equals check used to prevent copying of the same value by returning this.
      Parameters:
      value - A new value for channel
      Returns:
      A modified copy or the this object
    • withTimestamp

      public final ReactionsRemoveParams withTimestamp(String value)
      Copy the current immutable object by setting a value for the timestamp attribute. An equals check used to prevent copying of the same value by returning this.
      Parameters:
      value - A new value for timestamp
      Returns:
      A modified copy or the this object
    • equals

      public boolean equals(@Nullable Object another)
      This instance is equal to all instances of ReactionsRemoveParams that have equal attribute values.
      Overrides:
      equals in class Object
      Returns:
      true if this is equal to another instance
    • hashCode

      public int hashCode()
      Computes a hash code from attributes: name, channel, timestamp.
      Overrides:
      hashCode in class Object
      Returns:
      hashCode value
    • toString

      public String toString()
      Prints the immutable value ReactionsRemoveParams with attribute values.
      Overrides:
      toString in class Object
      Returns:
      A string representation of the value
    • copyOf

      public static ReactionsRemoveParams copyOf(ReactionsRemoveParamsIF instance)
      Creates an immutable copy of a ReactionsRemoveParamsIF value. 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

      public static ReactionsRemoveParams.Builder builder()
      Creates a builder for ReactionsRemoveParams.
       ReactionsRemoveParams.builder()
          .setName(String) // required name
          .setChannel(String) // required channel
          .setTimestamp(String) // required timestamp
          .build();
       
      Returns:
      A new ReactionsRemoveParams builder