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
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic class -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic Booleanallows to disable validation of the spec, use with care! -
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotectedGetTaskByIdOperationSpec(Long id, PrimaryBodyRepresentation bodyFormat) Constructs a validated instance ofGetTaskByIdOperationSpec.Constructs a validated instance ofGetTaskByIdOperationSpec. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibung@Nullable PrimaryBodyRepresentationThe content format types to be returned in thebodyfield of the response.bodyFormat(@Nullable PrimaryBodyRepresentation bodyFormat) The content format types to be returned in thebodyfield of the response.builder()protected booleanbooleaninthashCode()@NotNull Longid()The ID of the task to be returned.The ID of the task to be returned.toString()voidvalidate()Validates the Spec, will throw a exception if required parameters are missing
-
Felddetails
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Konstruktordetails
-
GetTaskByIdOperationSpec
Constructs a validated instance ofGetTaskByIdOperationSpec.- Parameter:
spec- the specification to process
-
GetTaskByIdOperationSpec
Constructs a validated instance ofGetTaskByIdOperationSpec.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 thebodyfield of the response. If available, the representation will be available under a response field of the same name under thebodyfield.
-
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
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 thebodyfield of the response. If available, the representation will be available under a response field of the same name under thebodyfield. -
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 thebodyfield of the response. If available, the representation will be available under a response field of the same name under thebodyfield.- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-