Klasse CreateWorkflowTransitionPropertyOperationSpec

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

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

Specification for the CreateWorkflowTransitionProperty operation.

Create workflow transition property

  • Felddetails

    • VALIDATION_ENABLED

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

    • CreateWorkflowTransitionPropertyOperationSpec

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

      @Internal public CreateWorkflowTransitionPropertyOperationSpec(Long transitionId, String key, String workflowName, WorkflowTransitionProperty workflowTransitionProperty, String workflowMode)
      Constructs a validated instance of CreateWorkflowTransitionPropertyOperationSpec.

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

      Parameter:
      transitionId - The ID of the transition. To get the ID, view the workflow in text mode in the Jira admin settings. The ID is shown next to the transition.
      key - The key of the property being added, also known as the name of the property. Set this to the same value as the key defined in the request body.
      workflowName - The name of the workflow that the transition belongs to.
      workflowTransitionProperty -
      workflowMode - The workflow status. Set to *live* for inactive workflows or *draft* for draft workflows. Active workflows cannot be edited.
    • CreateWorkflowTransitionPropertyOperationSpec

      protected CreateWorkflowTransitionPropertyOperationSpec()
  • Methodendetails

    • validate

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

    • transitionId

      @NotNull public @NotNull Long transitionId()
      The ID of the transition. To get the ID, view the workflow in text mode in the Jira admin settings. The ID is shown next to the transition.
    • key

      @NotNull public @NotNull String key()
      The key of the property being added, also known as the name of the property. Set this to the same value as the key defined in the request body.
    • workflowName

      @NotNull public @NotNull String workflowName()
      The name of the workflow that the transition belongs to.
    • workflowTransitionProperty

      @NotNull public @NotNull WorkflowTransitionProperty workflowTransitionProperty()
    • workflowMode

      @Nullable public @Nullable String workflowMode()
      The workflow status. Set to *live* for inactive workflows or *draft* for draft workflows. Active workflows cannot be edited.
    • transitionId

      public CreateWorkflowTransitionPropertyOperationSpec transitionId(@NotNull @NotNull Long transitionId)
      The ID of the transition. To get the ID, view the workflow in text mode in the Jira admin settings. The ID is shown next to the transition.
      Gibt zurück:
      this.
    • key

      public CreateWorkflowTransitionPropertyOperationSpec key(@NotNull @NotNull String key)
      The key of the property being added, also known as the name of the property. Set this to the same value as the key defined in the request body.
      Gibt zurück:
      this.
    • workflowName

      public CreateWorkflowTransitionPropertyOperationSpec workflowName(@NotNull @NotNull String workflowName)
      The name of the workflow that the transition belongs to.
      Gibt zurück:
      this.
    • workflowTransitionProperty

      public CreateWorkflowTransitionPropertyOperationSpec workflowTransitionProperty(@NotNull @NotNull WorkflowTransitionProperty workflowTransitionProperty)
      Gibt zurück:
      this.
    • workflowMode

      public CreateWorkflowTransitionPropertyOperationSpec workflowMode(@Nullable @Nullable String workflowMode)
      The workflow status. Set to *live* for inactive workflows or *draft* for draft workflows. Active workflows cannot be edited.
      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