Class GetTemplateBlueprintV1OperationSpec
java.lang.Object
io.github.primelib.confluence4j.rest.v1.operations.GetTemplateBlueprintV1OperationSpec
@Generated("io.github.primelib.primecodegen")
public class GetTemplateBlueprintV1OperationSpec
extends Object
GetTemplateBlueprintV1
Returns all templates provided by blueprints. Use this method to retrieve all global blueprint templates or all blueprint templates in a space. Note, all global blueprints are inherited by each space. Space blueprints can be customised without affecting the global blueprints. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'View' permission for the space to view blueprints for the space and permission to access the Confluence site ('Can use' global permission) to view global blueprints.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Booleanallows to disable validation of the spec, use with care! -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanexpand()A multi-value parameter indicating which properties of the template to expand.A multi-value parameter indicating which properties of the template to expand.inthashCode()@Nullable Integerlimit()The maximum number of templates to return per page.The maximum number of templates to return per page.@Nullable StringspaceKey()The key of the space to be queried for templates.The key of the space to be queried for templates.@Nullable Integerstart()The starting index of the returned templates.The starting index of the returned templates.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
-
GetTemplateBlueprintV1OperationSpec
@Internal public GetTemplateBlueprintV1OperationSpec(Consumer<GetTemplateBlueprintV1OperationSpec> spec) Constructs a validated instance ofGetTemplateBlueprintV1OperationSpec.- 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 be queried for templates. If the `spaceKey` is not specified, global blueprint templates will be returned. -
start
The starting index of the returned templates. -
limit
The maximum number of templates to return per page. Note, this may be restricted by fixed system limits. -
expand
-
spaceKey
The key of the space to be queried for templates. If the `spaceKey` is not specified, global blueprint templates will be returned.- Returns:
this.
-
start
The starting index of the returned templates.- Returns:
this.
-
limit
The maximum number of templates to return per page. Note, this may be restricted by fixed system limits.- Returns:
this.
-
expand
A multi-value parameter indicating which properties of the template to expand. - `body` or `body.storage` returns the content of the template in storage format.- Returns:
this.
-
equals
-
canEqual
-
hashCode
-
toString
-