Klasse GetWorkflowSchemeOperationSpec

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

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

Specification for the GetWorkflowScheme operation.

Get workflow scheme

  • Felddetails

    • VALIDATION_ENABLED

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

    • GetWorkflowSchemeOperationSpec

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

      @Internal public GetWorkflowSchemeOperationSpec(Long id, Boolean returnDraftIfExists)
      Constructs a validated instance of GetWorkflowSchemeOperationSpec.

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

      Parameter:
      id - The ID of the workflow scheme. Find this ID by editing the desired workflow scheme in Jira. The ID is shown in the URL as schemeId. For example, *schemeId=10301*.
      returnDraftIfExists - Returns the workflow scheme's draft rather than scheme itself, if set to true. If the workflow scheme does not have a draft, then the workflow scheme is returned.
    • GetWorkflowSchemeOperationSpec

      protected GetWorkflowSchemeOperationSpec()
  • Methodendetails

    • validate

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

    • id

      @NotNull public @NotNull Long id()
      The ID of the workflow scheme. Find this ID by editing the desired workflow scheme in Jira. The ID is shown in the URL as schemeId. For example, *schemeId=10301*.
    • returnDraftIfExists

      @Nullable public @Nullable Boolean returnDraftIfExists()
      Returns the workflow scheme's draft rather than scheme itself, if set to true. If the workflow scheme does not have a draft, then the workflow scheme is returned.
    • id

      public GetWorkflowSchemeOperationSpec id(@NotNull @NotNull Long id)
      The ID of the workflow scheme. Find this ID by editing the desired workflow scheme in Jira. The ID is shown in the URL as schemeId. For example, *schemeId=10301*.
      Gibt zurück:
      this.
    • returnDraftIfExists

      public GetWorkflowSchemeOperationSpec returnDraftIfExists(@Nullable @Nullable Boolean returnDraftIfExists)
      Returns the workflow scheme's draft rather than scheme itself, if set to true. If the workflow scheme does not have a draft, then the workflow scheme is returned.
      Gibt zurück:
      this.
    • equals

      public boolean equals(Object o)
      Setzt außer Kraft:
      equals in Klasse Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object