Klasse GetPageByIdOperationSpec
java.lang.Object
io.github.primelib.confluence4j.rest.v2.spec.GetPageByIdOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class GetPageByIdOperationSpec
extends Object
GetPageByIdSpec
Specification for the GetPageById operation.
Get page 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
KonstruktorenModifiziererKonstruktorBeschreibungprotectedGetPageByIdOperationSpec(Long id, PrimaryBodyRepresentationSingle bodyFormat, Boolean getDraft, Integer version) Constructs a validated instance ofGetPageByIdOperationSpec.Constructs a validated instance ofGetPageByIdOperationSpec. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibung@Nullable PrimaryBodyRepresentationSingleThe content format types to be returned in thebodyfield of the response.bodyFormat(@Nullable PrimaryBodyRepresentationSingle bodyFormat) The content format types to be returned in thebodyfield of the response.builder()protected booleanboolean@Nullable BooleangetDraft()Retrieve the draft version of this page.Retrieve the draft version of this page.inthashCode()@NotNull Longid()The ID of the page to be returned.The ID of the page to be returned.toString()voidvalidate()Validates the Spec, will throw a exception if required parameters are missing@Nullable Integerversion()Allows you to retrieve a previously published version.Allows you to retrieve a previously published version.
-
Felddetails
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Konstruktordetails
-
GetPageByIdOperationSpec
Constructs a validated instance ofGetPageByIdOperationSpec.- Parameter:
spec- the specification to process
-
GetPageByIdOperationSpec
@Internal public GetPageByIdOperationSpec(Long id, PrimaryBodyRepresentationSingle bodyFormat, Boolean getDraft, Integer version) Constructs a validated instance ofGetPageByIdOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameter:
id- The ID of the page to be returned. If you don't know the page ID, use Get pages 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.getDraft- Retrieve the draft version of this page.version- Allows you to retrieve a previously published version. Specify the previous version's number to retrieve its details.
-
GetPageByIdOperationSpec
protected GetPageByIdOperationSpec()
-
-
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 page to be returned. If you don't know the page ID, use Get pages 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. -
getDraft
Retrieve the draft version of this page. -
version
Allows you to retrieve a previously published version. Specify the previous version's number to retrieve its details. -
id
The ID of the page to be returned. If you don't know the page ID, use Get pages and filter the results.- Gibt zurück:
this.
-
bodyFormat
public GetPageByIdOperationSpec bodyFormat(@Nullable @Nullable PrimaryBodyRepresentationSingle 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.
-
getDraft
Retrieve the draft version of this page.- Gibt zurück:
this.
-
version
Allows you to retrieve a previously published version. Specify the previous version's number to retrieve its details.- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-