Class ReadWorkflowsOperationSpec

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

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

Specification for the ReadWorkflows operation.

Bulk get workflows

  • Field Details

    • VALIDATION_ENABLED

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

    • ReadWorkflowsOperationSpec

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

      @Internal public ReadWorkflowsOperationSpec(WorkflowReadRequest workflowReadRequest, String expand)
      Constructs a validated instance of ReadWorkflowsOperationSpec.

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

      Parameters:
      workflowReadRequest -
      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.
    • ReadWorkflowsOperationSpec

      protected ReadWorkflowsOperationSpec()
  • Method Details

    • validate

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

    • workflowReadRequest

      @NotNull public @NotNull WorkflowReadRequest workflowReadRequest()
    • 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.
    • workflowReadRequest

      public ReadWorkflowsOperationSpec workflowReadRequest(@NotNull @NotNull WorkflowReadRequest workflowReadRequest)
      Returns:
      this.
    • expand

      public ReadWorkflowsOperationSpec 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