Klasse UpdateTaskOperationSpec

java.lang.Object
io.github.primelib.confluence4j.rest.v2.spec.UpdateTaskOperationSpec

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

Specification for the UpdateTask operation.

Update task

  • Felddetails

    • VALIDATION_ENABLED

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

    • UpdateTaskOperationSpec

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

      @Internal public UpdateTaskOperationSpec(Long id, UpdateTaskRequest updateTaskRequest)
      Constructs a validated instance of UpdateTaskOperationSpec.

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

      Parameter:
      id - The ID of the task to be updated. If you don't know the task ID, use Get tasks and filter the results.
      updateTaskRequest -
    • UpdateTaskOperationSpec

      protected UpdateTaskOperationSpec()
  • 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 task to be updated. If you don't know the task ID, use Get tasks and filter the results.
    • updateTaskRequest

      @NotNull public @NotNull UpdateTaskRequest updateTaskRequest()
    • id

      public UpdateTaskOperationSpec id(@NotNull @NotNull Long id)
      The ID of the task to be updated. If you don't know the task ID, use Get tasks and filter the results.
      Gibt zurück:
      this.
    • updateTaskRequest

      public UpdateTaskOperationSpec updateTaskRequest(@NotNull @NotNull UpdateTaskRequest updateTaskRequest)
      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