Class EntityPayloadAttributeTitle
java.lang.Object
com.hubspot.slack.client.methods.params.chat.workobject.entity.EntityPayloadAttributeTitle
- All Implemented Interfaces:
EntityPayloadAttributeTitleIF
@Generated(from="EntityPayloadAttributeTitleIF",
generator="Immutables")
@ParametersAreNonnullByDefault
@Generated("org.immutables.processor.ProxyProcessor")
@Immutable
public final class EntityPayloadAttributeTitle
extends Object
implements EntityPayloadAttributeTitleIF
Immutable implementation of
EntityPayloadAttributeTitleIF.
Use the builder to create immutable instances:
EntityPayloadAttributeTitle.builder().
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeEntityPayloadAttributeTitle. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forEntityPayloadAttributeTitle.static EntityPayloadAttributeTitlecopyOf(EntityPayloadAttributeTitleIF instance) Creates an immutable copy of aEntityPayloadAttributeTitleIFvalue.booleanThis instance is equal to all instances ofEntityPayloadAttributeTitlethat have equal attribute values.getText()inthashCode()Computes a hash code from attributes:text.toString()Prints the immutable valueEntityPayloadAttributeTitlewith attribute values.Copy the current immutable object by setting a value for thetextattribute.
-
Method Details
-
getText
- Specified by:
getTextin interfaceEntityPayloadAttributeTitleIF- Returns:
- The value of the
textattribute
-
withText
Copy the current immutable object by setting a value for thetextattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for text- Returns:
- A modified copy or the
thisobject
-
equals
This instance is equal to all instances ofEntityPayloadAttributeTitlethat have equal attribute values. -
hashCode
public int hashCode()Computes a hash code from attributes:text. -
toString
Prints the immutable valueEntityPayloadAttributeTitlewith attribute values. -
copyOf
Creates an immutable copy of aEntityPayloadAttributeTitleIFvalue. 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 EntityPayloadAttributeTitle instance
-
builder
Creates a builder forEntityPayloadAttributeTitle.EntityPayloadAttributeTitle.builder() .setText(String) // requiredtext.build();- Returns:
- A new EntityPayloadAttributeTitle builder
-