@ParametersAreNonnullByDefault @Generated(value={"Immutables.generator","OpenViewParamsIF"}) @Immutable public final class OpenViewParams extends Object implements OpenViewParamsIF
OpenViewParamsIF.
Use the builder to create immutable instances:
OpenViewParams.builder().
Use the static factory method to create immutable instances:
OpenViewParams.of().
| Modifier and Type | Class and Description |
|---|---|
static class |
OpenViewParams.Builder
Builds instances of type
OpenViewParams. |
| Modifier and Type | Method and Description |
|---|---|
static OpenViewParams.Builder |
builder()
Creates a builder for
OpenViewParams. |
static OpenViewParams |
copyOf(OpenViewParamsIF instance)
Creates an immutable copy of a
OpenViewParamsIF value. |
boolean |
equals(Object another)
This instance is equal to all instances of
OpenViewParams that have equal attribute values. |
String |
getTriggerId() |
ModalViewPayload |
getView() |
int |
hashCode()
Computes a hash code from attributes:
triggerId, view. |
static OpenViewParams |
of(String triggerId,
ModalViewPayload view)
Construct a new immutable
OpenViewParams instance. |
String |
toString()
Prints the immutable value
OpenViewParams with attribute values. |
OpenViewParams |
withTriggerId(String triggerId)
Copy the current immutable object by setting a value for the
triggerId attribute. |
OpenViewParams |
withView(ModalViewPayload view)
Copy the current immutable object by setting a value for the
view attribute. |
public String getTriggerId()
getTriggerId in interface OpenViewParamsIFtriggerId attributepublic ModalViewPayload getView()
getView in interface OpenViewParamsIFview attributepublic final OpenViewParams withTriggerId(String triggerId)
triggerId attribute.
An equals check used to prevent copying of the same value by returning this.triggerId - A new value for triggerIdthis objectpublic final OpenViewParams withView(ModalViewPayload view)
view attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.view - A new value for viewthis objectpublic boolean equals(@Nullable Object another)
OpenViewParams that have equal attribute values.public int hashCode()
triggerId, view.public String toString()
OpenViewParams with attribute values.public static OpenViewParams of(String triggerId, ModalViewPayload view)
OpenViewParams instance.triggerId - The value for the triggerId attributeview - The value for the view attributepublic static OpenViewParams copyOf(OpenViewParamsIF instance)
OpenViewParamsIF value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.instance - The instance to copypublic static OpenViewParams.Builder builder()
OpenViewParams.Copyright © 2020. All rights reserved.