Class CreateProjectCategoryOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.CreateProjectCategoryOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class CreateProjectCategoryOperationSpec
extends Object
CreateProjectCategorySpec
Specification for the CreateProjectCategory operation.
Create 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
CreateProjectCategoryOperationSpec
(ProjectCategory projectCategory) Constructs a validated instance ofCreateProjectCategoryOperationSpec
.Constructs a validated instance ofCreateProjectCategoryOperationSpec
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
int
hashCode()
@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
-
CreateProjectCategoryOperationSpec
@Internal public CreateProjectCategoryOperationSpec(Consumer<CreateProjectCategoryOperationSpec> spec) Constructs a validated instance ofCreateProjectCategoryOperationSpec
.- Parameters:
spec
- the specification to process
-
CreateProjectCategoryOperationSpec
Constructs a validated instance ofCreateProjectCategoryOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
projectCategory
-
-
CreateProjectCategoryOperationSpec
protected CreateProjectCategoryOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
public static CreateProjectCategoryOperationSpec.CreateProjectCategoryOperationSpecBuilder builder() -
projectCategory
-
projectCategory
public CreateProjectCategoryOperationSpec projectCategory(@NotNull @NotNull ProjectCategory projectCategory) - Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-