Package io.dialob.client.api
Class ImmutableUpdateFormRevisionEntry
- java.lang.Object
-
- io.dialob.client.api.ImmutableUpdateFormRevisionEntry
-
- All Implemented Interfaces:
DialobComposer.UpdateFormRevisionEntry,Serializable
@ParametersAreNonnullByDefault @Generated("org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableUpdateFormRevisionEntry extends Object implements DialobComposer.UpdateFormRevisionEntry
Immutable implementation ofDialobComposer.UpdateFormRevisionEntry.Use the builder to create immutable instances:
ImmutableUpdateFormRevisionEntry.builder().- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classImmutableUpdateFormRevisionEntry.BuilderBuilds instances of typeImmutableUpdateFormRevisionEntry.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImmutableUpdateFormRevisionEntry.Builderbuilder()Creates a builder forImmutableUpdateFormRevisionEntry.static ImmutableUpdateFormRevisionEntrycopyOf(DialobComposer.UpdateFormRevisionEntry instance)Creates an immutable copy of aDialobComposer.UpdateFormRevisionEntryvalue.booleanequals(Object another)This instance is equal to all instances ofImmutableUpdateFormRevisionEntrythat have equal attribute values.StringgetId()StringgetRevisionName()StringgetVersion()inthashCode()Computes a hash code from attributes:id,version,revisionName.StringtoString()Prints the immutable valueUpdateFormRevisionEntrywith attribute values.ImmutableUpdateFormRevisionEntrywithId(String value)Copy the current immutable object by setting a value for theidattribute.ImmutableUpdateFormRevisionEntrywithRevisionName(String value)Copy the current immutable object by setting a value for therevisionNameattribute.ImmutableUpdateFormRevisionEntrywithVersion(String value)Copy the current immutable object by setting a value for theversionattribute.
-
-
-
Method Detail
-
getId
public String getId()
- Specified by:
getIdin interfaceDialobComposer.UpdateFormRevisionEntry- Returns:
- The value of the
idattribute
-
getVersion
public String getVersion()
- Specified by:
getVersionin interfaceDialobComposer.UpdateFormRevisionEntry- Returns:
- The value of the
versionattribute
-
getRevisionName
public String getRevisionName()
- Specified by:
getRevisionNamein interfaceDialobComposer.UpdateFormRevisionEntry- Returns:
- The value of the
revisionNameattribute
-
withId
public final ImmutableUpdateFormRevisionEntry withId(String value)
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 of the
thisobject
-
withVersion
public final ImmutableUpdateFormRevisionEntry withVersion(String value)
Copy the current immutable object by setting a value for theversionattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for version- Returns:
- A modified copy of the
thisobject
-
withRevisionName
public final ImmutableUpdateFormRevisionEntry withRevisionName(String value)
Copy the current immutable object by setting a value for therevisionNameattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for revisionName- Returns:
- A modified copy of the
thisobject
-
equals
public boolean equals(@Nullable Object another)This instance is equal to all instances ofImmutableUpdateFormRevisionEntrythat have equal attribute values.
-
hashCode
public int hashCode()
Computes a hash code from attributes:id,version,revisionName.
-
toString
public String toString()
Prints the immutable valueUpdateFormRevisionEntrywith attribute values.
-
copyOf
public static ImmutableUpdateFormRevisionEntry copyOf(DialobComposer.UpdateFormRevisionEntry instance)
Creates an immutable copy of aDialobComposer.UpdateFormRevisionEntryvalue. 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 UpdateFormRevisionEntry instance
-
builder
public static ImmutableUpdateFormRevisionEntry.Builder builder()
Creates a builder forImmutableUpdateFormRevisionEntry.ImmutableUpdateFormRevisionEntry.builder() .id(String) // requiredid.version(String) // requiredversion.revisionName(String) // requiredrevisionName.build();- Returns:
- A new ImmutableUpdateFormRevisionEntry builder
-
-