Class UpdateProjectOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.UpdateProjectOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class UpdateProjectOperationSpec
extends Object
UpdateProjectSpec
Specification for the UpdateProject operation.
Update 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
ConstructorsModifierConstructorDescriptionprotectedUpdateProjectOperationSpec(String projectIdOrKey, UpdateProjectDetails updateProjectDetails, String expand) Constructs a validated instance ofUpdateProjectOperationSpec.Constructs a validated instance ofUpdateProjectOperationSpec. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanboolean@Nullable Stringexpand()Use [expand](#expansion) to include additional information in the response.Use [expand](#expansion) to include additional information in the response.inthashCode()@NotNull StringThe project ID or project key (case sensitive).projectIdOrKey(@NotNull String projectIdOrKey) The project ID or project key (case sensitive).toString()@NotNull UpdateProjectDetailsThe project details to be updated.updateProjectDetails(@NotNull UpdateProjectDetails updateProjectDetails) The project details to be updated.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
-
UpdateProjectOperationSpec
Constructs a validated instance ofUpdateProjectOperationSpec.- Parameters:
spec- the specification to process
-
UpdateProjectOperationSpec
@Internal public UpdateProjectOperationSpec(String projectIdOrKey, UpdateProjectDetails updateProjectDetails, String expand) Constructs a validated instance ofUpdateProjectOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
projectIdOrKey- The project ID or project key (case sensitive).updateProjectDetails- The project details to be updated.expand- Use [expand](#expansion) to include additional information in the response. This parameter accepts a comma-separated list. Note that the project description, issue types, and project lead are included in all responses by default. Expand options include: *descriptionThe project description. *issueTypesThe issue types associated with the project. *leadThe project lead. *projectKeysAll project keys associated with the project.
-
UpdateProjectOperationSpec
protected UpdateProjectOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
-
projectIdOrKey
The project ID or project key (case sensitive). -
updateProjectDetails
The project details to be updated. -
expand
Use [expand](#expansion) to include additional information in the response. This parameter accepts a comma-separated list. Note that the project description, issue types, and project lead are included in all responses by default. Expand options include: *descriptionThe project description. *issueTypesThe issue types associated with the project. *leadThe project lead. *projectKeysAll project keys associated with the project. -
projectIdOrKey
The project ID or project key (case sensitive).- Returns:
this.
-
updateProjectDetails
public UpdateProjectOperationSpec updateProjectDetails(@NotNull @NotNull UpdateProjectDetails updateProjectDetails) The project details to be updated.- Returns:
this.
-
expand
Use [expand](#expansion) to include additional information in the response. This parameter accepts a comma-separated list. Note that the project description, issue types, and project lead are included in all responses by default. Expand options include: *descriptionThe project description. *issueTypesThe issue types associated with the project. *leadThe project lead. *projectKeysAll project keys associated with the project.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-