Class UpdateWorkflowMappingOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.UpdateWorkflowMappingOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class UpdateWorkflowMappingOperationSpec
extends Object
UpdateWorkflowMappingSpec
Specification for the UpdateWorkflowMapping operation.
Set issue types for workflow in workflow scheme
-
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
UpdateWorkflowMappingOperationSpec
(Long id, String workflowName, IssueTypesWorkflowMapping issueTypesWorkflowMapping) Constructs a validated instance ofUpdateWorkflowMappingOperationSpec
.Constructs a validated instance ofUpdateWorkflowMappingOperationSpec
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
int
hashCode()
@NotNull Long
id()
The ID of the workflow scheme.The ID of the workflow scheme.@NotNull IssueTypesWorkflowMapping
issueTypesWorkflowMapping
(@NotNull IssueTypesWorkflowMapping issueTypesWorkflowMapping) toString()
void
validate()
Validates the Spec, will throw a exception if required parameters are missing@NotNull String
The 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
-
UpdateWorkflowMappingOperationSpec
@Internal public UpdateWorkflowMappingOperationSpec(Consumer<UpdateWorkflowMappingOperationSpec> spec) Constructs a validated instance ofUpdateWorkflowMappingOperationSpec
.- Parameters:
spec
- the specification to process
-
UpdateWorkflowMappingOperationSpec
@Internal public UpdateWorkflowMappingOperationSpec(Long id, String workflowName, IssueTypesWorkflowMapping issueTypesWorkflowMapping) Constructs a validated instance ofUpdateWorkflowMappingOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
id
- The ID of the workflow scheme.workflowName
- The name of the workflow.issueTypesWorkflowMapping
-
-
UpdateWorkflowMappingOperationSpec
protected UpdateWorkflowMappingOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
public static UpdateWorkflowMappingOperationSpec.UpdateWorkflowMappingOperationSpecBuilder builder() -
id
The ID of the workflow scheme. -
workflowName
The name of the workflow. -
issueTypesWorkflowMapping
-
id
The ID of the workflow scheme.- Returns:
this
.
-
workflowName
The name of the workflow.- Returns:
this
.
-
issueTypesWorkflowMapping
public UpdateWorkflowMappingOperationSpec issueTypesWorkflowMapping(@NotNull @NotNull IssueTypesWorkflowMapping issueTypesWorkflowMapping) - Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-