Class CallsInfoParams
java.lang.Object
com.hubspot.slack.client.methods.params.calls.CallsInfoParams
- All Implemented Interfaces:
CallsInfoParamsIF
@Generated(from="CallsInfoParamsIF",
generator="Immutables")
@ParametersAreNonnullByDefault
@Generated("org.immutables.processor.ProxyProcessor")
@Immutable
public final class CallsInfoParams
extends Object
implements CallsInfoParamsIF
Immutable implementation of
CallsInfoParamsIF.
Use the builder to create immutable instances:
CallsInfoParams.builder().
Use the static factory method to create immutable instances:
CallsInfoParams.of().
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic CallsInfoParams.Builderbuilder()Creates a builder forCallsInfoParams.static CallsInfoParamscopyOf(CallsInfoParamsIF instance) Creates an immutable copy of aCallsInfoParamsIFvalue.booleanThis instance is equal to all instances ofCallsInfoParamsthat have equal attribute values.getId()inthashCode()Computes a hash code from attributes:id.static CallsInfoParamsConstruct a new immutableCallsInfoParamsinstance.toString()Prints the immutable valueCallsInfoParamswith attribute values.final CallsInfoParamsCopy the current immutable object by setting a value for theidattribute.
-
Method Details
-
getId
- Specified by:
getIdin interfaceCallsInfoParamsIF- Returns:
- The value of the
idattribute
-
withId
Copy the current immutable object by setting a value for theidattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for id- Returns:
- A modified copy or the
thisobject
-
equals
This instance is equal to all instances ofCallsInfoParamsthat have equal attribute values. -
hashCode
public int hashCode()Computes a hash code from attributes:id. -
toString
Prints the immutable valueCallsInfoParamswith attribute values. -
of
Construct a new immutableCallsInfoParamsinstance.- Parameters:
id- The value for theidattribute- Returns:
- An immutable CallsInfoParams instance
-
copyOf
Creates an immutable copy of aCallsInfoParamsIFvalue. 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 CallsInfoParams instance
-
builder
Creates a builder forCallsInfoParams.CallsInfoParams.builder() .setId(String) // requiredid.build();- Returns:
- A new CallsInfoParams builder
-