Klasse GetLabelsForContentOperationSpec
java.lang.Object
io.github.primelib.confluence4j.rest.v1.spec.GetLabelsForContentOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class GetLabelsForContentOperationSpec
extends Object
GetLabelsForContentSpec
Specification for the GetLabelsForContent operation.
Get labels for content
-
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
KonstruktorenModifiziererKonstruktorBeschreibungprotectedGetLabelsForContentOperationSpec(String id, String prefix, Integer start, Integer limit) Constructs a validated instance ofGetLabelsForContentOperationSpec.Constructs a validated instance ofGetLabelsForContentOperationSpec. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuilder()protected booleanbooleaninthashCode()@NotNull Stringid()The ID of the content to be queried for its labels.The ID of the content to be queried for its labels.@Nullable Integerlimit()The maximum number of labels to return per page.The maximum number of labels to return per page.@Nullable Stringprefix()Filters the results to labels with the specified prefix.Filters the results to labels with the specified prefix.@Nullable Integerstart()The starting index of the returned labels.The starting index of the returned labels.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
-
GetLabelsForContentOperationSpec
Constructs a validated instance ofGetLabelsForContentOperationSpec.- Parameter:
spec- the specification to process
-
GetLabelsForContentOperationSpec
@Internal public GetLabelsForContentOperationSpec(String id, String prefix, Integer start, Integer limit) Constructs a validated instance ofGetLabelsForContentOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameter:
id- The ID of the content to be queried for its labels.prefix- Filters the results to labels with the specified prefix. If this parameter is not specified, then labels with any prefix will be returned. -globalprefix is used by default when a user adds a label via the UI. -myprefix can be explicitly added by a user when adding a label via the UI, e.g. 'my:example-label'. Also, when a page is selected as a favourite, the 'my:favourite' label is automatically added. -teamcan used when adding labels via [Add labels to content](#api-content-id-label-post) but is not used in the UI.start- The starting index of the returned labels.limit- The maximum number of labels to return per page. Note, this may be restricted by fixed system limits.
-
GetLabelsForContentOperationSpec
protected GetLabelsForContentOperationSpec()
-
-
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 content to be queried for its labels. -
prefix
Filters the results to labels with the specified prefix. If this parameter is not specified, then labels with any prefix will be returned. -globalprefix is used by default when a user adds a label via the UI. -myprefix can be explicitly added by a user when adding a label via the UI, e.g. 'my:example-label'. Also, when a page is selected as a favourite, the 'my:favourite' label is automatically added. -teamcan used when adding labels via [Add labels to content](#api-content-id-label-post) but is not used in the UI. -
start
The starting index of the returned labels. -
limit
The maximum number of labels to return per page. Note, this may be restricted by fixed system limits. -
id
The ID of the content to be queried for its labels.- Gibt zurück:
this.
-
prefix
Filters the results to labels with the specified prefix. If this parameter is not specified, then labels with any prefix will be returned. -globalprefix is used by default when a user adds a label via the UI. -myprefix can be explicitly added by a user when adding a label via the UI, e.g. 'my:example-label'. Also, when a page is selected as a favourite, the 'my:favourite' label is automatically added. -teamcan used when adding labels via [Add labels to content](#api-content-id-label-post) but is not used in the UI.- Gibt zurück:
this.
-
start
The starting index of the returned labels.- Gibt zurück:
this.
-
limit
The maximum number of labels to return per page. Note, this may be restricted by fixed system limits.- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-