Class UpdateProjectCategoryOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.UpdateProjectCategoryOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class UpdateProjectCategoryOperationSpec
extends Object
UpdateProjectCategorySpec
Specification for the UpdateProjectCategory operation.
Update project category
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Boolean
allows to disable validation of the spec, use with care! -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
UpdateProjectCategoryOperationSpec
(Long id, ProjectCategory projectCategory) Constructs a validated instance ofUpdateProjectCategoryOperationSpec
.Constructs a validated instance ofUpdateProjectCategoryOperationSpec
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
int
hashCode()
@NotNull Long
id()
@NotNull ProjectCategory
projectCategory
(@NotNull ProjectCategory projectCategory) toString()
void
validate()
Validates the Spec, will throw a exception if required parameters are missing
-
Field Details
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Constructor Details
-
UpdateProjectCategoryOperationSpec
@Internal public UpdateProjectCategoryOperationSpec(Consumer<UpdateProjectCategoryOperationSpec> spec) Constructs a validated instance ofUpdateProjectCategoryOperationSpec
.- Parameters:
spec
- the specification to process
-
UpdateProjectCategoryOperationSpec
Constructs a validated instance ofUpdateProjectCategoryOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
id
-projectCategory
-
-
UpdateProjectCategoryOperationSpec
protected UpdateProjectCategoryOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
public static UpdateProjectCategoryOperationSpec.UpdateProjectCategoryOperationSpecBuilder builder() -
id
-
projectCategory
-
id
- Returns:
this
.
-
projectCategory
public UpdateProjectCategoryOperationSpec projectCategory(@NotNull @NotNull ProjectCategory projectCategory) - Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-