Class GetSpaceBySpaceKeyLabelV1OperationSpec
java.lang.Object
io.github.primelib.confluence4j.rest.v1.operations.GetSpaceBySpaceKeyLabelV1OperationSpec
@Generated("io.github.primelib.primecodegen")
public class GetSpaceBySpaceKeyLabelV1OperationSpec
extends Object
GetSpaceBySpaceKeyLabelV1
Returns a list of labels associated with a space. Can provide a prefix as well as other filters to select different types of labels.
-
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 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.@NonNull StringspaceKey()The key of the space to get labels for.The key of the space to get labels for.@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
-
Field Details
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Constructor Details
-
GetSpaceBySpaceKeyLabelV1OperationSpec
@Internal public GetSpaceBySpaceKeyLabelV1OperationSpec(Consumer<GetSpaceBySpaceKeyLabelV1OperationSpec> spec) Constructs a validated instance ofGetSpaceBySpaceKeyLabelV1OperationSpec.- 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
-
spaceKey
The key of the space to get labels for. -
prefix
Filters the results to labels with the specified prefix. If this parameter is not specified, then labels with any prefix will be returned. - `global` prefix is used by labels that are on content within the provided space. - `my` prefix can be explicitly added by a user when adding a label via the UI, e.g. 'my:example-label'. - `team` prefix is used for labels applied to the space. -
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. -
spaceKey
The key of the space to get labels for.- Returns:
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. - `global` prefix is used by labels that are on content within the provided space. - `my` prefix can be explicitly added by a user when adding a label via the UI, e.g. 'my:example-label'. - `team` prefix is used for labels applied to the space.- Returns:
this.
-
start
The starting index of the returned labels.- Returns:
this.
-
limit
The maximum number of labels to return per page. Note, this may be restricted by fixed system limits.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-