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 Booleanallows to disable validation of the spec, use with care! -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedUpdateWorkflowMappingOperationSpec(Long id, String workflowName, IssueTypesWorkflowMapping issueTypesWorkflowMapping) Constructs a validated instance ofUpdateWorkflowMappingOperationSpec.Constructs a validated instance ofUpdateWorkflowMappingOperationSpec. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleaninthashCode()@NotNull Longid()The ID of the workflow scheme.The ID of the workflow scheme.@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
-
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
-