Class GetLabelV1OperationSpec
java.lang.Object
io.github.primelib.confluence4j.rest.v1.operations.GetLabelV1OperationSpec
GetLabelV1
Returns label information and a list of contents associated with the label. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to access the Confluence site ('Can use' global permission). Only contents that the user is permitted to view is returned.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Booleanallows to disable validation of the spec, use with care! -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleaninthashCode()@Nullable Integerlimit()The number of results to be returned.The number of results to be returned.@NonNull Stringname()Name of the label to query.Name of the label to query.@Nullable Integerstart()The starting offset for the results.The starting offset for the results.toString()@Nullable Stringtype()The type of contents that are to be returned.The type of contents that are to be returned.voidvalidate()Validates the Spec, will throw a exception if required parameters are missing
-
Field Details
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Constructor Details
-
GetLabelV1OperationSpec
Constructs a validated instance ofGetLabelV1OperationSpec.- Parameters:
spec- the specification to process
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
name
Name of the label to query. -
type
The type of contents that are to be returned. -
start
The starting offset for the results. -
limit
The number of results to be returned. -
name
Name of the label to query.- Returns:
this.
-
type
The type of contents that are to be returned.- Returns:
this.
-
start
The starting offset for the results.- Returns:
this.
-
limit
The number of results to be returned.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-