Class PublishDraftWorkflowSchemeOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.PublishDraftWorkflowSchemeOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class PublishDraftWorkflowSchemeOperationSpec
extends Object
PublishDraftWorkflowSchemeSpec
Specification for the PublishDraftWorkflowScheme operation.
Publish draft 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
ConstructorsModifierConstructorDescriptionprotectedPublishDraftWorkflowSchemeOperationSpec(Long id, PublishDraftWorkflowScheme publishDraftWorkflowScheme, Boolean validateOnly) Constructs a validated instance ofPublishDraftWorkflowSchemeOperationSpec.Constructs a validated instance ofPublishDraftWorkflowSchemeOperationSpec. -
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 PublishDraftWorkflowSchemeDetails of the status mappings.publishDraftWorkflowScheme(@NotNull PublishDraftWorkflowScheme publishDraftWorkflowScheme) Details of the status mappings.toString()voidvalidate()Validates the Spec, will throw a exception if required parameters are missing@Nullable BooleanWhether the request only performs a validation.validateOnly(@Nullable Boolean validateOnly) Whether the request only performs a validation.
-
Field Details
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Constructor Details
-
PublishDraftWorkflowSchemeOperationSpec
@Internal public PublishDraftWorkflowSchemeOperationSpec(Consumer<PublishDraftWorkflowSchemeOperationSpec> spec) Constructs a validated instance ofPublishDraftWorkflowSchemeOperationSpec.- Parameters:
spec- the specification to process
-
PublishDraftWorkflowSchemeOperationSpec
@Internal public PublishDraftWorkflowSchemeOperationSpec(Long id, PublishDraftWorkflowScheme publishDraftWorkflowScheme, Boolean validateOnly) Constructs a validated instance ofPublishDraftWorkflowSchemeOperationSpec.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.publishDraftWorkflowScheme- Details of the status mappings.validateOnly- Whether the request only performs a validation.
-
PublishDraftWorkflowSchemeOperationSpec
protected PublishDraftWorkflowSchemeOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
public static PublishDraftWorkflowSchemeOperationSpec.PublishDraftWorkflowSchemeOperationSpecBuilder builder() -
id
The ID of the workflow scheme that the draft belongs to. -
publishDraftWorkflowScheme
Details of the status mappings. -
validateOnly
Whether the request only performs a validation. -
id
The ID of the workflow scheme that the draft belongs to.- Returns:
this.
-
publishDraftWorkflowScheme
public PublishDraftWorkflowSchemeOperationSpec publishDraftWorkflowScheme(@NotNull @NotNull PublishDraftWorkflowScheme publishDraftWorkflowScheme) Details of the status mappings.- Returns:
this.
-
validateOnly
public PublishDraftWorkflowSchemeOperationSpec validateOnly(@Nullable @Nullable Boolean validateOnly) Whether the request only performs a validation.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-