Klasse GetBlogPostByIdOperationSpec
java.lang.Object
io.github.primelib.confluence4j.rest.v2.spec.GetBlogPostByIdOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class GetBlogPostByIdOperationSpec
extends Object
GetBlogPostByIdSpec
Specification for the GetBlogPostById operation.
Get blog post 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
KonstruktorenModifiziererKonstruktorBeschreibungprotectedGetBlogPostByIdOperationSpec(Long id, PrimaryBodyRepresentationSingle bodyFormat, Boolean getDraft, Integer version) Constructs a validated instance ofGetBlogPostByIdOperationSpec.Constructs a validated instance ofGetBlogPostByIdOperationSpec. -
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 blog post.Retrieve the draft version of this blog post.inthashCode()@NotNull Longid()The ID of the blog post to be returned.The ID of the blog post 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
-
GetBlogPostByIdOperationSpec
Constructs a validated instance ofGetBlogPostByIdOperationSpec.- Parameter:
spec- the specification to process
-
GetBlogPostByIdOperationSpec
@Internal public GetBlogPostByIdOperationSpec(Long id, PrimaryBodyRepresentationSingle bodyFormat, Boolean getDraft, Integer version) Constructs a validated instance ofGetBlogPostByIdOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameter:
id- The ID of the blog post to be returned. If you don't know the blog post ID, use Get blog posts 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 blog post.version- Allows you to retrieve a previously published version. Specify the previous version's number to retrieve its details.
-
GetBlogPostByIdOperationSpec
protected GetBlogPostByIdOperationSpec()
-
-
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 blog post to be returned. If you don't know the blog post ID, use Get blog posts 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 blog post. -
version
Allows you to retrieve a previously published version. Specify the previous version's number to retrieve its details. -
id
The ID of the blog post to be returned. If you don't know the blog post ID, use Get blog posts and filter the results.- Gibt zurück:
this.
-
bodyFormat
public GetBlogPostByIdOperationSpec 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 blog post.- 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
-