Class CallsUpdateParams
java.lang.Object
com.hubspot.slack.client.methods.params.calls.CallsUpdateParams
- All Implemented Interfaces:
CallsUpdateParamsIF
@Generated(from="CallsUpdateParamsIF",
generator="Immutables")
@ParametersAreNonnullByDefault
@Generated("org.immutables.processor.ProxyProcessor")
@Immutable
public final class CallsUpdateParams
extends Object
implements CallsUpdateParamsIF
Immutable implementation of
CallsUpdateParamsIF.
Use the builder to create immutable instances:
CallsUpdateParams.builder().
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic CallsUpdateParams.Builderbuilder()Creates a builder forCallsUpdateParams.static CallsUpdateParamscopyOf(CallsUpdateParamsIF instance) Creates an immutable copy of aCallsUpdateParamsIFvalue.booleanThis instance is equal to all instances ofCallsUpdateParamsthat have equal attribute values.getId()getTitle()inthashCode()Computes a hash code from attributes:id,desktopAppJoinUrl,joinUrl,title.toString()Prints the immutable valueCallsUpdateParamswith attribute values.final CallsUpdateParamswithDesktopAppJoinUrl(String value) Copy the current immutable object by setting a present value for the optionaldesktopAppJoinUrlattribute.final CallsUpdateParamswithDesktopAppJoinUrl(Optional<String> optional) Copy the current immutable object by setting an optional value for thedesktopAppJoinUrlattribute.final CallsUpdateParamsCopy the current immutable object by setting a value for theidattribute.final CallsUpdateParamswithJoinUrl(String value) Copy the current immutable object by setting a present value for the optionaljoinUrlattribute.final CallsUpdateParamswithJoinUrl(Optional<String> optional) Copy the current immutable object by setting an optional value for thejoinUrlattribute.final CallsUpdateParamsCopy the current immutable object by setting a present value for the optionaltitleattribute.final CallsUpdateParamsCopy the current immutable object by setting an optional value for thetitleattribute.
-
Method Details
-
getId
- Specified by:
getIdin interfaceCallsUpdateParamsIF- Returns:
- The value of the
idattribute
-
getDesktopAppJoinUrl
- Specified by:
getDesktopAppJoinUrlin interfaceCallsUpdateParamsIF- Returns:
- The value of the
desktopAppJoinUrlattribute
-
getJoinUrl
- Specified by:
getJoinUrlin interfaceCallsUpdateParamsIF- Returns:
- The value of the
joinUrlattribute
-
getTitle
- Specified by:
getTitlein interfaceCallsUpdateParamsIF- Returns:
- The value of the
titleattribute
-
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
-
withDesktopAppJoinUrl
Copy the current immutable object by setting a present value for the optionaldesktopAppJoinUrlattribute.- Parameters:
value- The value for desktopAppJoinUrl,nullis accepted asjava.util.Optional.empty()- Returns:
- A modified copy or
thisif not changed
-
withDesktopAppJoinUrl
Copy the current immutable object by setting an optional value for thedesktopAppJoinUrlattribute. An equality check is used on inner value to prevent copying of the same value by returningthis.- Parameters:
optional- An optional value for desktopAppJoinUrl- Returns:
- A modified copy or
thisif not changed
-
withJoinUrl
Copy the current immutable object by setting a present value for the optionaljoinUrlattribute.- Parameters:
value- The value for joinUrl,nullis accepted asjava.util.Optional.empty()- Returns:
- A modified copy or
thisif not changed
-
withJoinUrl
Copy the current immutable object by setting an optional value for thejoinUrlattribute. An equality check is used on inner value to prevent copying of the same value by returningthis.- Parameters:
optional- An optional value for joinUrl- Returns:
- A modified copy or
thisif not changed
-
withTitle
Copy the current immutable object by setting a present value for the optionaltitleattribute.- Parameters:
value- The value for title,nullis accepted asjava.util.Optional.empty()- Returns:
- A modified copy or
thisif not changed
-
withTitle
Copy the current immutable object by setting an optional value for thetitleattribute. An equality check is used on inner value to prevent copying of the same value by returningthis.- Parameters:
optional- An optional value for title- Returns:
- A modified copy or
thisif not changed
-
equals
This instance is equal to all instances ofCallsUpdateParamsthat have equal attribute values. -
hashCode
public int hashCode()Computes a hash code from attributes:id,desktopAppJoinUrl,joinUrl,title. -
toString
Prints the immutable valueCallsUpdateParamswith attribute values. -
copyOf
Creates an immutable copy of aCallsUpdateParamsIFvalue. 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 CallsUpdateParams instance
-
builder
Creates a builder forCallsUpdateParams.CallsUpdateParams.builder() .setId(String) // requiredid.setDesktopAppJoinUrl(Optional<String>) // optionaldesktopAppJoinUrl.setJoinUrl(Optional<String>) // optionaljoinUrl.setTitle(Optional<String>) // optionaltitle.build();- Returns:
- A new CallsUpdateParams builder
-