Klasse GetTaskByIdOperationSpec

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

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

Specification for the GetTaskById operation.

Get task by id

  • Felddetails

    • VALIDATION_ENABLED

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

    • GetTaskByIdOperationSpec

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

      @Internal public GetTaskByIdOperationSpec(Long id, PrimaryBodyRepresentation bodyFormat)
      Constructs a validated instance of GetTaskByIdOperationSpec.

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

      Parameter:
      id - The ID of the task to be returned. If you don't know the task ID, use Get tasks and filter the results.
      bodyFormat - The content format types to be returned in the body field of the response. If available, the representation will be available under a response field of the same name under the body field.
    • GetTaskByIdOperationSpec

      protected GetTaskByIdOperationSpec()
  • 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 returned. If you don't know the task ID, use Get tasks and filter the results.
    • bodyFormat

      @Nullable public @Nullable PrimaryBodyRepresentation bodyFormat()
      The content format types to be returned in the body field of the response. If available, the representation will be available under a response field of the same name under the body field.
    • id

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

      public GetTaskByIdOperationSpec bodyFormat(@Nullable @Nullable PrimaryBodyRepresentation bodyFormat)
      The content format types to be returned in the body field of the response. If available, the representation will be available under a response field of the same name under the body field.
      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