Class GetContentByIDNotificationCreatedV1OperationSpec
java.lang.Object
io.github.primelib.confluence4j.rest.v1.operations.GetContentByIDNotificationCreatedV1OperationSpec
@Generated("io.github.primelib.primecodegen")
public class GetContentByIDNotificationCreatedV1OperationSpec
extends Object
GetContentByIDNotificationCreatedV1
Returns all space watches for the space that the content is in. A user that watches a space will receive receive notifications when any content in the space is updated. If you want to manage watches for a space, use the following `user` methods: - [Get space watch status for user](#api-user-watch-space-spaceKey-get) - [Add space watch](#api-user-watch-space-spaceKey-post) - [Remove space watch](#api-user-watch-space-spaceKey-delete) **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to access the Confluence site ('Can use' global permission).
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Booleanallows to disable validation of the spec, use with care! -
Constructor Summary
ConstructorsConstructorDescriptionGetContentByIDNotificationCreatedV1OperationSpec(Consumer<GetContentByIDNotificationCreatedV1OperationSpec> spec) Constructs a validated instance ofGetContentByIDNotificationCreatedV1OperationSpec. -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleaninthashCode()@NonNull Stringid()The ID of the content to be queried for its watches.The ID of the content to be queried for its watches.@Nullable Integerlimit()The maximum number of watches to return per page.The maximum number of watches to return per page.@Nullable Integerstart()The starting index of the returned watches.The starting index of the returned watches.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
-
GetContentByIDNotificationCreatedV1OperationSpec
@Internal public GetContentByIDNotificationCreatedV1OperationSpec(Consumer<GetContentByIDNotificationCreatedV1OperationSpec> spec) Constructs a validated instance ofGetContentByIDNotificationCreatedV1OperationSpec.- 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
-
id
The ID of the content to be queried for its watches. -
start
The starting index of the returned watches. -
limit
The maximum number of watches to return per page. Note, this may be restricted by fixed system limits. -
id
The ID of the content to be queried for its watches.- Returns:
this.
-
start
The starting index of the returned watches.- Returns:
this.
-
limit
The maximum number of watches to return per page. Note, this may be restricted by fixed system limits.- Returns:
this.
-
equals
-
canEqual
-
hashCode
-
toString
-