Class UpdateWorkflowsOperationSpec

java.lang.Object
io.github.primelib.jira4j.restv2.spec.UpdateWorkflowsOperationSpec

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

Specification for the UpdateWorkflows operation.

Bulk update workflows

  • Field Details

    • VALIDATION_ENABLED

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

    • UpdateWorkflowsOperationSpec

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

      @Internal public UpdateWorkflowsOperationSpec(WorkflowUpdateRequest workflowUpdateRequest, String expand)
      Constructs a validated instance of UpdateWorkflowsOperationSpec.

      NOTE: This constructor is not considered stable and may change if the operation is updated.

      Parameters:
      workflowUpdateRequest -
      expand - Use [expand](#expansion) to include additional information in the response. This parameter accepts a comma-separated list. Expand options include: * workflows.usages Returns the project and issue types that each workflow is associated with. * statuses.usages Returns the project and issue types that each status is associated with.
    • UpdateWorkflowsOperationSpec

      protected UpdateWorkflowsOperationSpec()
  • Method Details

    • validate

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

    • workflowUpdateRequest

      @NotNull public @NotNull WorkflowUpdateRequest workflowUpdateRequest()
    • expand

      @Nullable public @Nullable String expand()
      Use [expand](#expansion) to include additional information in the response. This parameter accepts a comma-separated list. Expand options include: * workflows.usages Returns the project and issue types that each workflow is associated with. * statuses.usages Returns the project and issue types that each status is associated with.
    • workflowUpdateRequest

      public UpdateWorkflowsOperationSpec workflowUpdateRequest(@NotNull @NotNull WorkflowUpdateRequest workflowUpdateRequest)
      Returns:
      this.
    • expand

      public UpdateWorkflowsOperationSpec expand(@Nullable @Nullable String expand)
      Use [expand](#expansion) to include additional information in the response. This parameter accepts a comma-separated list. Expand options include: * workflows.usages Returns the project and issue types that each workflow is associated with. * statuses.usages Returns the project and issue types that each status is associated with.
      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