Class GetDraftWorkflowOperationSpec

java.lang.Object
io.github.primelib.jira4j.restv3.spec.GetDraftWorkflowOperationSpec

@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator") public class GetDraftWorkflowOperationSpec extends Object
GetDraftWorkflowSpec

Specification for the GetDraftWorkflow operation.

Get issue types for workflows in draft workflow scheme

  • Field Details

    • VALIDATION_ENABLED

      @Experimental public static Boolean VALIDATION_ENABLED
      allows to disable validation of the spec, use with care!
  • Constructor Details

    • GetDraftWorkflowOperationSpec

      @Internal public GetDraftWorkflowOperationSpec(Consumer<GetDraftWorkflowOperationSpec> spec)
      Constructs a validated instance of GetDraftWorkflowOperationSpec.
      Parameters:
      spec - the specification to process
    • GetDraftWorkflowOperationSpec

      @Internal public GetDraftWorkflowOperationSpec(Long id, String workflowName)
      Constructs a validated instance of GetDraftWorkflowOperationSpec.

      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 a workflow in the scheme. Limits the results to the workflow-issue type mapping for the specified workflow.
    • GetDraftWorkflowOperationSpec

      protected GetDraftWorkflowOperationSpec()
  • Method Details

    • validate

      public void validate()
      Validates the Spec, will throw a exception if required parameters are missing
      Throws:
      NullPointerException
    • builder

    • id

      @NotNull public @NotNull Long id()
      The ID of the workflow scheme that the draft belongs to.
    • workflowName

      @Nullable public @Nullable String workflowName()
      The name of a workflow in the scheme. Limits the results to the workflow-issue type mapping for the specified workflow.
    • id

      public GetDraftWorkflowOperationSpec id(@NotNull @NotNull Long id)
      The ID of the workflow scheme that the draft belongs to.
      Returns:
      this.
    • workflowName

      public GetDraftWorkflowOperationSpec workflowName(@Nullable @Nullable String workflowName)
      The name of a workflow in the scheme. Limits the results to the workflow-issue type mapping for the specified workflow.
      Returns:
      this.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object