Class StatusUpdate
java.lang.Object
io.github.primelib.jira4j.restv2.model.StatusUpdate
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class StatusUpdate
extends Object
StatusUpdate
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe category of the status.static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringThe description of the status.protected StringThe ID of the status.protected StringThe name of the status.protected StatusUpdate.StatusCategoryEnumThe category of the status. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedStatusUpdate(String description, String id, String name, StatusUpdate.StatusCategoryEnum statusCategory) Constructs a validated instance ofStatusUpdate.StatusUpdate(Consumer<StatusUpdate> spec) Constructs a validated instance ofStatusUpdate. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanThe description of the status.description(String description) The description of the status.booleaninthashCode()id()The ID of the status.The ID of the status.name()The name of the status.The name of the status.The category of the status.statusCategory(StatusUpdate.StatusCategoryEnum statusCategory) The category of the status.toString()
-
Field Details
-
description
The description of the status. -
id
The ID of the status. -
name
The name of the status. -
statusCategory
The category of the status.
-
-
Constructor Details
-
StatusUpdate
Constructs a validated instance ofStatusUpdate.- Parameters:
spec- the specification to process
-
StatusUpdate
@Internal public StatusUpdate(String description, String id, String name, StatusUpdate.StatusCategoryEnum statusCategory) Constructs a validated instance ofStatusUpdate.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
StatusUpdate(Consumer)instead.- Parameters:
description- The description of the status.id- The ID of the status.name- The name of the status.statusCategory- The category of the status.
-
StatusUpdate
protected StatusUpdate()
-
-
Method Details
-
builder
-
description
The description of the status. -
id
The ID of the status. -
name
The name of the status. -
statusCategory
The category of the status. -
description
The description of the status.- Returns:
this.
-
id
The ID of the status.- Returns:
this.
-
name
The name of the status.- Returns:
this.
-
statusCategory
The category of the status.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-