Class CreateProjectOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.CreateProjectOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class CreateProjectOperationSpec
extends Object
CreateProjectSpec
Specification for the CreateProject operation.
Create project
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Booleanallows to disable validation of the spec, use with care! -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreateProjectOperationSpec(CreateProjectDetails createProjectDetails) Constructs a validated instance ofCreateProjectOperationSpec.Constructs a validated instance ofCreateProjectOperationSpec. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected boolean@NotNull CreateProjectDetailsThe JSON representation of the project being created.createProjectDetails(@NotNull CreateProjectDetails createProjectDetails) The JSON representation of the project being created.booleaninthashCode()toString()voidvalidate()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
-
CreateProjectOperationSpec
Constructs a validated instance ofCreateProjectOperationSpec.- Parameters:
spec- the specification to process
-
CreateProjectOperationSpec
Constructs a validated instance ofCreateProjectOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
createProjectDetails- The JSON representation of the project being created.
-
CreateProjectOperationSpec
protected CreateProjectOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
-
createProjectDetails
The JSON representation of the project being created. -
createProjectDetails
public CreateProjectOperationSpec createProjectDetails(@NotNull @NotNull CreateProjectDetails createProjectDetails) The JSON representation of the project being created.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-