Klasse GetCustomContentByIdOperationSpec
java.lang.Object
io.github.primelib.confluence4j.rest.v2.spec.GetCustomContentByIdOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class GetCustomContentByIdOperationSpec
extends Object
GetCustomContentByIdSpec
Specification for the GetCustomContentById operation.
Get custom content 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
KonstruktorenModifiziererKonstruktorBeschreibungprotectedGetCustomContentByIdOperationSpec(Long id, CustomContentBodyRepresentationSingle bodyFormat, Integer version, Boolean serializeIdsAsStrings) Constructs a validated instance ofGetCustomContentByIdOperationSpec.Constructs a validated instance ofGetCustomContentByIdOperationSpec. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibung@Nullable CustomContentBodyRepresentationSingleThe content format types to be returned in thebodyfield of the response.bodyFormat(@Nullable CustomContentBodyRepresentationSingle bodyFormat) The content format types to be returned in thebodyfield of the response.builder()protected booleanbooleaninthashCode()@NotNull Longid()The ID of the custom content to be returned.The ID of the custom content to be returned.@Nullable BooleanDue to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period.serializeIdsAsStrings(@Nullable Boolean serializeIdsAsStrings) Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period.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
-
GetCustomContentByIdOperationSpec
@Internal public GetCustomContentByIdOperationSpec(Consumer<GetCustomContentByIdOperationSpec> spec) Constructs a validated instance ofGetCustomContentByIdOperationSpec.- Parameter:
spec- the specification to process
-
GetCustomContentByIdOperationSpec
@Internal public GetCustomContentByIdOperationSpec(Long id, CustomContentBodyRepresentationSingle bodyFormat, Integer version, Boolean serializeIdsAsStrings) Constructs a validated instance ofGetCustomContentByIdOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameter:
id- The ID of the custom content to be returned. If you don't know the custom content ID, use Get Custom Content by Type 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. Note: If the custom content body type isstorage, thestorageandatlas_doc_formatbody formats are able to be returned. If the custom content body type israw, only therawbody format is able to be returned.version- Allows you to retrieve a previously published version. Specify the previous version's number to retrieve its details.serializeIdsAsStrings- Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
-
GetCustomContentByIdOperationSpec
protected GetCustomContentByIdOperationSpec()
-
-
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 custom content to be returned. If you don't know the custom content ID, use Get Custom Content by Type 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. Note: If the custom content body type isstorage, thestorageandatlas_doc_formatbody formats are able to be returned. If the custom content body type israw, only therawbody format is able to be returned. -
version
Allows you to retrieve a previously published version. Specify the previous version's number to retrieve its details. -
serializeIdsAsStrings
Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail. -
id
The ID of the custom content to be returned. If you don't know the custom content ID, use Get Custom Content by Type and filter the results.- Gibt zurück:
this.
-
bodyFormat
public GetCustomContentByIdOperationSpec bodyFormat(@Nullable @Nullable CustomContentBodyRepresentationSingle 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. Note: If the custom content body type isstorage, thestorageandatlas_doc_formatbody formats are able to be returned. If the custom content body type israw, only therawbody format is able to be returned.- 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.
-
serializeIdsAsStrings
public GetCustomContentByIdOperationSpec serializeIdsAsStrings(@Nullable @Nullable Boolean serializeIdsAsStrings) Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-