Class SlackAppUninstalledEvent
java.lang.Object
com.hubspot.slack.client.models.events.app.SlackAppUninstalledEvent
- All Implemented Interfaces:
SlackAppUninstalledEventIF,SlackEvent
@Generated(from="SlackAppUninstalledEventIF",
generator="Immutables")
@ParametersAreNonnullByDefault
@Generated("org.immutables.processor.ProxyProcessor")
@Immutable
public final class SlackAppUninstalledEvent
extends Object
implements SlackAppUninstalledEventIF
Immutable implementation of
SlackAppUninstalledEventIF.
Use the builder to create immutable instances:
SlackAppUninstalledEvent.builder().
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeSlackAppUninstalledEvent. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forSlackAppUninstalledEvent.static SlackAppUninstalledEventcopyOf(SlackAppUninstalledEventIF instance) Creates an immutable copy of aSlackAppUninstalledEventIFvalue.booleanThis instance is equal to all instances ofSlackAppUninstalledEventthat have equal attribute values.getType()inthashCode()Computes a hash code from attributes:type.toString()Prints the immutable valueSlackAppUninstalledEventwith attribute values.final SlackAppUninstalledEventwithType(SlackEventType value) Copy the current immutable object by setting a value for thetypeattribute.Methods inherited from interface com.hubspot.slack.client.models.events.app.SlackAppUninstalledEventIF
getTs
-
Method Details
-
getType
- Specified by:
getTypein interfaceSlackEvent- Returns:
- The value of the
typeattribute
-
withType
Copy the current immutable object by setting a value for thetypeattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for type- Returns:
- A modified copy or the
thisobject
-
equals
This instance is equal to all instances ofSlackAppUninstalledEventthat have equal attribute values. -
hashCode
public int hashCode()Computes a hash code from attributes:type. -
toString
Prints the immutable valueSlackAppUninstalledEventwith attribute values. -
copyOf
Creates an immutable copy of aSlackAppUninstalledEventIFvalue. 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 SlackAppUninstalledEvent instance
-
builder
Creates a builder forSlackAppUninstalledEvent.SlackAppUninstalledEvent.builder() .setType(com.hubspot.slack.client.models.events.SlackEventType) // requiredtype.build();- Returns:
- A new SlackAppUninstalledEvent builder
-