Class UpdateDraftWorkflowMappingOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.UpdateDraftWorkflowMappingOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class UpdateDraftWorkflowMappingOperationSpec
extends Object
UpdateDraftWorkflowMappingSpec
Specification for the UpdateDraftWorkflowMapping operation.
Set issue types for workflow in workflow scheme
-
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
ConstructorsModifierConstructorDescriptionprotectedUpdateDraftWorkflowMappingOperationSpec(Long id, String workflowName, IssueTypesWorkflowMapping issueTypesWorkflowMapping) Constructs a validated instance ofUpdateDraftWorkflowMappingOperationSpec.Constructs a validated instance ofUpdateDraftWorkflowMappingOperationSpec. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleaninthashCode()@NotNull Longid()The ID of the workflow scheme that the draft belongs to.The ID of the workflow scheme that the draft belongs to.@NotNull IssueTypesWorkflowMappingissueTypesWorkflowMapping(@NotNull IssueTypesWorkflowMapping issueTypesWorkflowMapping) toString()voidvalidate()Validates the Spec, will throw a exception if required parameters are missing@NotNull StringThe name of the workflow.workflowName(@NotNull String workflowName) The name of the workflow.
-
Field Details
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Constructor Details
-
UpdateDraftWorkflowMappingOperationSpec
@Internal public UpdateDraftWorkflowMappingOperationSpec(Consumer<UpdateDraftWorkflowMappingOperationSpec> spec) Constructs a validated instance ofUpdateDraftWorkflowMappingOperationSpec.- Parameters:
spec- the specification to process
-
UpdateDraftWorkflowMappingOperationSpec
@Internal public UpdateDraftWorkflowMappingOperationSpec(Long id, String workflowName, IssueTypesWorkflowMapping issueTypesWorkflowMapping) Constructs a validated instance ofUpdateDraftWorkflowMappingOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
id- The ID of the workflow scheme that the draft belongs to.workflowName- The name of the workflow.issueTypesWorkflowMapping-
-
UpdateDraftWorkflowMappingOperationSpec
protected UpdateDraftWorkflowMappingOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
public static UpdateDraftWorkflowMappingOperationSpec.UpdateDraftWorkflowMappingOperationSpecBuilder builder() -
id
The ID of the workflow scheme that the draft belongs to. -
workflowName
The name of the workflow. -
issueTypesWorkflowMapping
-
id
The ID of the workflow scheme that the draft belongs to.- Returns:
this.
-
workflowName
The name of the workflow.- Returns:
this.
-
issueTypesWorkflowMapping
public UpdateDraftWorkflowMappingOperationSpec issueTypesWorkflowMapping(@NotNull @NotNull IssueTypesWorkflowMapping issueTypesWorkflowMapping) - Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-