Klasse GetContentCommentsOperationSpec.GetContentCommentsOperationSpecBuilder
java.lang.Object
io.github.primelib.confluence4j.rest.v1.spec.GetContentCommentsOperationSpec.GetContentCommentsOperationSpecBuilder
- Umschließende Klasse:
GetContentCommentsOperationSpec
public static class GetContentCommentsOperationSpec.GetContentCommentsOperationSpecBuilder
extends Object
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuild()Currently, this parameter is not used.A multi-value parameter indicating which properties of the content to expand.The ID of the content to be queried for its comments.The maximum number of comments to return per page.The location of the comments in the page.parentVersion(@Nullable Integer parentVersion) The version of the parent content to retrieve children for.The starting index of the returned comments.toString()
-
Methodendetails
-
id
public GetContentCommentsOperationSpec.GetContentCommentsOperationSpecBuilder id(@NotNull @NotNull String id) The ID of the content to be queried for its comments.- Gibt zurück:
this.
-
expand
public GetContentCommentsOperationSpec.GetContentCommentsOperationSpecBuilder expand(@Nullable @Nullable List<String> expand) A multi-value parameter indicating which properties of the content to expand. -childTypes.allreturns whether the content has attachments, comments, or child pages/whiteboards. Use this if you only need to check whether the content has children of a particular type. -childTypes.attachmentreturns whether the content has attachments. -childTypes.commentreturns whether the content has comments. -childTypes.pagereturns whether the content has child pages. -containerreturns the space that the content is in. This is the same as the information returned by [Get space](#api-space-spaceKey-get). -metadata.currentuserreturns information about the current user in relation to the content, including when they last viewed it, modified it, contributed to it, or added it as a favorite. -metadata.propertiesreturns content properties that have been set via the Confluence REST API. -metadata.labelsreturns the labels that have been added to the content. -metadata.frontendthis property is only used by Atlassian. -operationsreturns the operations for the content, which are used when setting permissions. -children.pagereturns pages that are descendants at the level immediately below the content. -children.attachmentreturns all attachments for the content. -children.commentreturns all comments on the content. -restrictions.read.restrictions.userreturns the users that have permission to read the content. -restrictions.read.restrictions.groupreturns the groups that have permission to read the content. Note that this may return deleted groups, because deleting a group doesn't remove associated restrictions. -restrictions.update.restrictions.userreturns the users that have permission to update the content. -restrictions.update.restrictions.groupreturns the groups that have permission to update the content. Note that this may return deleted groups because deleting a group doesn't remove associated restrictions. -historyreturns the history of the content, including the date it was created. -history.lastUpdatedreturns information about the most recent update of the content, including who updated it and when it was updated. -history.previousVersionreturns information about the update prior to the current content update. -history.contributorsreturns all of the users who have contributed to the content. -history.nextVersionreturns information about the update after to the current content update. -ancestorsreturns the parent content, if the content is a page or whiteboard. -bodyreturns the body of the content in different formats, including the editor format, view format, and export format. -body.storagereturns the body of content in storage format. -body.viewreturns the body of content in view format. -versionreturns information about the most recent update of the content, including who updated it and when it was updated. -descendants.pagereturns pages that are descendants at any level below the content. -descendants.attachmentreturns all attachments for the content, same aschildren.attachment. -descendants.commentreturns all comments on the content, same aschildren.comment. -spacereturns the space that the content is in. This is the same as the information returned by [Get space](#api-space-spaceKey-get). In addition, the following comment-specific expansions can be used: -extensions.inlinePropertiesreturns inline comment-specific properties. -extensions.resolutionreturns the resolution status of each comment.- Gibt zurück:
this.
-
parentVersion
public GetContentCommentsOperationSpec.GetContentCommentsOperationSpecBuilder parentVersion(@Nullable @Nullable Integer parentVersion) The version of the parent content to retrieve children for. Currently, this only works for the latest version.- Gibt zurück:
this.
-
start
public GetContentCommentsOperationSpec.GetContentCommentsOperationSpecBuilder start(@Nullable @Nullable Integer start) The starting index of the returned comments.- Gibt zurück:
this.
-
limit
public GetContentCommentsOperationSpec.GetContentCommentsOperationSpecBuilder limit(@Nullable @Nullable Integer limit) The maximum number of comments to return per page. Note, this may be restricted by fixed system limits.- Gibt zurück:
this.
-
location
public GetContentCommentsOperationSpec.GetContentCommentsOperationSpecBuilder location(@Nullable @Nullable List<String> location) The location of the comments in the page. Multiple locations can be specified. If no location is specified, comments from all locations are returned.- Gibt zurück:
this.
-
depth
public GetContentCommentsOperationSpec.GetContentCommentsOperationSpecBuilder depth(@Nullable @Nullable String depth) Currently, this parameter is not used. Comments are returned at the root level only.- Gibt zurück:
this.
-
build
-
toString
-