Klasse GetAttachmentVersionsOperationSpec
java.lang.Object
io.github.primelib.confluence4j.rest.v2.spec.GetAttachmentVersionsOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class GetAttachmentVersionsOperationSpec
extends Object
GetAttachmentVersionsSpec
Specification for the GetAttachmentVersions operation.
Get attachment versions
-
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
KonstruktorenModifiziererKonstruktorBeschreibungprotectedGetAttachmentVersionsOperationSpec(String id, String cursor, Integer limit, VersionSortOrder sort) Constructs a validated instance ofGetAttachmentVersionsOperationSpec.Constructs a validated instance ofGetAttachmentVersionsOperationSpec. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuilder()protected boolean@Nullable Stringcursor()Used for pagination, this opaque cursor will be returned in thenextURL in theLinkresponse header.Used for pagination, this opaque cursor will be returned in thenextURL in theLinkresponse header.booleaninthashCode()@NotNull Stringid()The ID of the attachment to be queried for its versions.The ID of the attachment to be queried for its versions.@Nullable Integerlimit()Maximum number of versions per result to return.Maximum number of versions per result to return.@Nullable VersionSortOrdersort()Used to sort the result by a particular field.sort(@Nullable VersionSortOrder sort) Used to sort the result by a particular field.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
-
GetAttachmentVersionsOperationSpec
@Internal public GetAttachmentVersionsOperationSpec(Consumer<GetAttachmentVersionsOperationSpec> spec) Constructs a validated instance ofGetAttachmentVersionsOperationSpec.- Parameter:
spec- the specification to process
-
GetAttachmentVersionsOperationSpec
@Internal public GetAttachmentVersionsOperationSpec(String id, String cursor, Integer limit, VersionSortOrder sort) Constructs a validated instance ofGetAttachmentVersionsOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameter:
id- The ID of the attachment to be queried for its versions. If you don't know the attachment ID, use Get attachments and filter the results.cursor- Used for pagination, this opaque cursor will be returned in thenextURL in theLinkresponse header. Use the relative URL in theLinkheader to retrieve thenextset of results.limit- Maximum number of versions per result to return. If more results exist, use theLinkheader to retrieve a relative URL that will return the next set of results.sort- Used to sort the result by a particular field.
-
GetAttachmentVersionsOperationSpec
protected GetAttachmentVersionsOperationSpec()
-
-
Methodendetails
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Löst aus:
NullPointerException
-
builder
public static GetAttachmentVersionsOperationSpec.GetAttachmentVersionsOperationSpecBuilder builder() -
id
The ID of the attachment to be queried for its versions. If you don't know the attachment ID, use Get attachments and filter the results. -
cursor
Used for pagination, this opaque cursor will be returned in thenextURL in theLinkresponse header. Use the relative URL in theLinkheader to retrieve thenextset of results. -
limit
Maximum number of versions per result to return. If more results exist, use theLinkheader to retrieve a relative URL that will return the next set of results. -
sort
Used to sort the result by a particular field. -
id
The ID of the attachment to be queried for its versions. If you don't know the attachment ID, use Get attachments and filter the results.- Gibt zurück:
this.
-
cursor
Used for pagination, this opaque cursor will be returned in thenextURL in theLinkresponse header. Use the relative URL in theLinkheader to retrieve thenextset of results.- Gibt zurück:
this.
-
limit
Maximum number of versions per result to return. If more results exist, use theLinkheader to retrieve a relative URL that will return the next set of results.- Gibt zurück:
this.
-
sort
Used to sort the result by a particular field.- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-