Class SlackCallsUser
java.lang.Object
com.hubspot.slack.client.models.calls.SlackCallsUser
- All Implemented Interfaces:
SlackCallsUserIF,SlackInternalOrExternalUser
@Generated(from="SlackCallsUserIF",
generator="Immutables")
@ParametersAreNonnullByDefault
@Generated("org.immutables.processor.ProxyProcessor")
@Immutable
public final class SlackCallsUser
extends Object
implements SlackCallsUserIF
Immutable implementation of
SlackCallsUserIF.
Use the builder to create immutable instances:
SlackCallsUser.builder().
Use the static factory method to create immutable instances:
SlackCallsUser.of().
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic SlackCallsUser.Builderbuilder()Creates a builder forSlackCallsUser.static SlackCallsUsercopyOf(SlackCallsUserIF instance) Creates an immutable copy of aSlackCallsUserIFvalue.booleanThis instance is equal to all instances ofSlackCallsUserthat have equal attribute values.inthashCode()Computes a hash code from attributes:slackId.static SlackCallsUserConstruct a new immutableSlackCallsUserinstance.toString()Prints the immutable valueSlackCallsUserwith attribute values.final SlackCallsUserwithSlackId(String value) Copy the current immutable object by setting a value for theslackIdattribute.
-
Method Details
-
getSlackId
- Specified by:
getSlackIdin interfaceSlackCallsUserIF- Returns:
- The value of the
slackIdattribute
-
withSlackId
Copy the current immutable object by setting a value for theslackIdattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for slackId- Returns:
- A modified copy or the
thisobject
-
equals
This instance is equal to all instances ofSlackCallsUserthat have equal attribute values. -
hashCode
public int hashCode()Computes a hash code from attributes:slackId. -
toString
Prints the immutable valueSlackCallsUserwith attribute values. -
of
Construct a new immutableSlackCallsUserinstance.- Parameters:
slackId- The value for theslackIdattribute- Returns:
- An immutable SlackCallsUser instance
-
copyOf
Creates an immutable copy of aSlackCallsUserIFvalue. 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 SlackCallsUser instance
-
builder
Creates a builder forSlackCallsUser.SlackCallsUser.builder() .setSlackId(String) // requiredslackId.build();- Returns:
- A new SlackCallsUser builder
-