Class CallsParticipantsRemoveParams
java.lang.Object
com.hubspot.slack.client.methods.params.calls.CallsParticipantsRemoveParams
- All Implemented Interfaces:
CallsParticipantsRemoveParamsIF
@Generated(from="CallsParticipantsRemoveParamsIF",
generator="Immutables")
@ParametersAreNonnullByDefault
@Generated("org.immutables.processor.ProxyProcessor")
@Immutable
public final class CallsParticipantsRemoveParams
extends Object
implements CallsParticipantsRemoveParamsIF
Immutable implementation of
CallsParticipantsRemoveParamsIF.
Use the builder to create immutable instances:
CallsParticipantsRemoveParams.builder().
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeCallsParticipantsRemoveParams. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forCallsParticipantsRemoveParams.copyOf(CallsParticipantsRemoveParamsIF instance) Creates an immutable copy of aCallsParticipantsRemoveParamsIFvalue.booleanThis instance is equal to all instances ofCallsParticipantsRemoveParamsthat have equal attribute values.getId()getUsers()inthashCode()Computes a hash code from attributes:id,users.toString()Prints the immutable valueCallsParticipantsRemoveParamswith attribute values.Copy the current immutable object by setting a value for theidattribute.withUsers(SlackInternalOrExternalUser... elements) Copy the current immutable object with elements that replace the content ofusers.withUsers(Iterable<? extends SlackInternalOrExternalUser> elements) Copy the current immutable object with elements that replace the content ofusers.
-
Method Details
-
getId
- Specified by:
getIdin interfaceCallsParticipantsRemoveParamsIF- Returns:
- The value of the
idattribute
-
getUsers
- Specified by:
getUsersin interfaceCallsParticipantsRemoveParamsIF- Returns:
- The value of the
usersattribute
-
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
-
withUsers
Copy the current immutable object with elements that replace the content ofusers.- Parameters:
elements- The elements to set- Returns:
- A modified copy of
thisobject
-
withUsers
public final CallsParticipantsRemoveParams withUsers(Iterable<? extends SlackInternalOrExternalUser> elements) Copy the current immutable object with elements that replace the content ofusers. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
elements- An iterable of users elements to set- Returns:
- A modified copy or
thisif not changed
-
equals
This instance is equal to all instances ofCallsParticipantsRemoveParamsthat have equal attribute values. -
hashCode
public int hashCode()Computes a hash code from attributes:id,users. -
toString
Prints the immutable valueCallsParticipantsRemoveParamswith attribute values. -
copyOf
Creates an immutable copy of aCallsParticipantsRemoveParamsIFvalue. 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 CallsParticipantsRemoveParams instance
-
builder
Creates a builder forCallsParticipantsRemoveParams.CallsParticipantsRemoveParams.builder() .setId(String) // requiredid.addUsers|addAllUsers(com.hubspot.slack.client.models.calls.SlackInternalOrExternalUser) //userselements .build();- Returns:
- A new CallsParticipantsRemoveParams builder
-