Class GetContentByIDNotificationChildCreatedV1OperationSpec
java.lang.Object
io.github.primelib.confluence4j.rest.v1.operations.GetContentByIDNotificationChildCreatedV1OperationSpec
@Generated("io.github.primelib.primecodegen")
public class GetContentByIDNotificationChildCreatedV1OperationSpec
extends Object
GetContentByIDNotificationChildCreatedV1
Returns the watches for a page. A user that watches a page will receive receive notifications when the page is updated. If you want to manage watches for a page, use the following `user` methods: - [Get content watch status for user](#api-user-watch-content-contentId-get) - [Add content watch](#api-user-watch-content-contentId-post) - [Remove content watch](#api-user-watch-content-contentId-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
ConstructorsConstructorDescriptionGetContentByIDNotificationChildCreatedV1OperationSpec(Consumer<GetContentByIDNotificationChildCreatedV1OperationSpec> spec) Constructs a validated instance ofGetContentByIDNotificationChildCreatedV1OperationSpec. -
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
-
GetContentByIDNotificationChildCreatedV1OperationSpec
@Internal public GetContentByIDNotificationChildCreatedV1OperationSpec(Consumer<GetContentByIDNotificationChildCreatedV1OperationSpec> spec) Constructs a validated instance ofGetContentByIDNotificationChildCreatedV1OperationSpec.- 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
public int hashCode() -
toString
-