Klasse GetLabelsOperationSpec
java.lang.Object
io.github.primelib.confluence4j.rest.v2.spec.GetLabelsOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class GetLabelsOperationSpec
extends Object
GetLabelsSpec
Specification for the GetLabels operation.
Get labels
-
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
KonstruktorenModifiziererKonstruktorBeschreibungprotectedConstructs a validated instance ofGetLabelsOperationSpec.GetLabelsOperationSpec(List<Long> labelId, List<String> prefix, String cursor, List<LabelSortOrder> sort, Integer limit) Constructs a validated instance ofGetLabelsOperationSpec. -
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()labelId()Filters on label ID.Filters on label ID.@Nullable Integerlimit()Maximum number of labels per result to return.Maximum number of labels per result to return.prefix()Filters on label prefix.Filters on label prefix.@Nullable List<LabelSortOrder>sort()Used to sort the result by a particular field.sort(@Nullable List<LabelSortOrder> 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
-
GetLabelsOperationSpec
Constructs a validated instance ofGetLabelsOperationSpec.- Parameter:
spec- the specification to process
-
GetLabelsOperationSpec
@Internal public GetLabelsOperationSpec(List<Long> labelId, List<String> prefix, String cursor, List<LabelSortOrder> sort, Integer limit) Constructs a validated instance ofGetLabelsOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameter:
labelId- Filters on label ID. Multiple IDs can be specified as a comma-separated list.prefix- Filters on label prefix. Multiple IDs can be specified as a comma-separated list.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.sort- Used to sort the result by a particular field.limit- Maximum number of labels per result to return. If more results exist, use theLinkheader to retrieve a relative URL that will return the next set of results.
-
GetLabelsOperationSpec
protected GetLabelsOperationSpec()
-
-
Methodendetails
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Löst aus:
NullPointerException
-
builder
-
labelId
Filters on label ID. Multiple IDs can be specified as a comma-separated list. -
prefix
Filters on label prefix. Multiple IDs can be specified as a comma-separated list. -
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. -
sort
Used to sort the result by a particular field. -
limit
Maximum number of labels per result to return. If more results exist, use theLinkheader to retrieve a relative URL that will return the next set of results. -
labelId
Filters on label ID. Multiple IDs can be specified as a comma-separated list.- Gibt zurück:
this.
-
prefix
Filters on label prefix. Multiple IDs can be specified as a comma-separated list.- 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.
-
sort
Used to sort the result by a particular field.- Gibt zurück:
this.
-
limit
Maximum number of labels 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.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-