Package io.thestencil.client.api
Class ImmutableWorkflowArticlePage
- java.lang.Object
-
- io.thestencil.client.api.ImmutableWorkflowArticlePage
-
- All Implemented Interfaces:
DeleteBuilder.WorkflowArticlePage
@ParametersAreNonnullByDefault @Generated("org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableWorkflowArticlePage extends Object implements DeleteBuilder.WorkflowArticlePage
Immutable implementation ofDeleteBuilder.WorkflowArticlePage.Use the builder to create immutable instances:
ImmutableWorkflowArticlePage.builder().
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classImmutableWorkflowArticlePage.BuilderBuilds instances of typeImmutableWorkflowArticlePage.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImmutableWorkflowArticlePage.Builderbuilder()Creates a builder forImmutableWorkflowArticlePage.static ImmutableWorkflowArticlePagecopyOf(DeleteBuilder.WorkflowArticlePage instance)Creates an immutable copy of aDeleteBuilder.WorkflowArticlePagevalue.booleanequals(Object another)This instance is equal to all instances ofImmutableWorkflowArticlePagethat have equal attribute values.StringgetArticleId()StringgetWorkflowId()inthashCode()Computes a hash code from attributes:workflowId,articleId.StringtoString()Prints the immutable valueWorkflowArticlePagewith attribute values.ImmutableWorkflowArticlePagewithArticleId(String value)Copy the current immutable object by setting a value for thearticleIdattribute.ImmutableWorkflowArticlePagewithWorkflowId(String value)Copy the current immutable object by setting a value for theworkflowIdattribute.
-
-
-
Method Detail
-
getWorkflowId
public String getWorkflowId()
- Specified by:
getWorkflowIdin interfaceDeleteBuilder.WorkflowArticlePage- Returns:
- The value of the
workflowIdattribute
-
getArticleId
public String getArticleId()
- Specified by:
getArticleIdin interfaceDeleteBuilder.WorkflowArticlePage- Returns:
- The value of the
articleIdattribute
-
withWorkflowId
public final ImmutableWorkflowArticlePage withWorkflowId(String value)
Copy the current immutable object by setting a value for theworkflowIdattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for workflowId- Returns:
- A modified copy of the
thisobject
-
withArticleId
public final ImmutableWorkflowArticlePage withArticleId(String value)
Copy the current immutable object by setting a value for thearticleIdattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for articleId- Returns:
- A modified copy of the
thisobject
-
equals
public boolean equals(@Nullable Object another)This instance is equal to all instances ofImmutableWorkflowArticlePagethat have equal attribute values.
-
hashCode
public int hashCode()
Computes a hash code from attributes:workflowId,articleId.
-
toString
public String toString()
Prints the immutable valueWorkflowArticlePagewith attribute values.
-
copyOf
public static ImmutableWorkflowArticlePage copyOf(DeleteBuilder.WorkflowArticlePage instance)
Creates an immutable copy of aDeleteBuilder.WorkflowArticlePagevalue. 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 WorkflowArticlePage instance
-
builder
public static ImmutableWorkflowArticlePage.Builder builder()
Creates a builder forImmutableWorkflowArticlePage.ImmutableWorkflowArticlePage.builder() .workflowId(String) // requiredworkflowId.articleId(String) // requiredarticleId.build();- Returns:
- A new ImmutableWorkflowArticlePage builder
-
-