Klasse GetContentOperationSpec
java.lang.Object
io.github.primelib.confluence4j.rest.v1.spec.GetContentOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class GetContentOperationSpec
extends Object
GetContentSpec
Specification for the GetContent operation.
Get content
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic class -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic Booleanallows to disable validation of the spec, use with care! -
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotectedGetContentOperationSpec(String type, String spaceKey, String title, List<String> status, String postingDay, List<String> expand, String trigger, String orderby, Integer start, Integer limit) Constructs a validated instance ofGetContentOperationSpec.Constructs a validated instance ofGetContentOperationSpec. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuilder()protected booleanbooleanexpand()A multi-value parameter indicating which properties of the content to expand.A multi-value parameter indicating which properties of the content to expand.inthashCode()@Nullable Integerlimit()The maximum number of content objects to return per page.The maximum number of content objects to return per page.@Nullable Stringorderby()Orders the content by a particular field.Orders the content by a particular field.@Nullable StringThe posting date of the blog post to be returned.postingDay(@Nullable String postingDay) The posting date of the blog post to be returned.@Nullable StringspaceKey()The key of the space to be queried for its content.The key of the space to be queried for its content.@Nullable Integerstart()The starting index of the returned content.The starting index of the returned content.status()Filter the results to a set of content based on their status.Filter the results to a set of content based on their status.@Nullable Stringtitle()The title of the page to be returned.The title of the page to be returned.toString()@Nullable Stringtrigger()If set toviewed, the request will trigger a 'viewed' event for the content.If set toviewed, the request will trigger a 'viewed' event for the content.@Nullable Stringtype()The type of content to return.The type of content to return.voidvalidate()Validates the Spec, will throw a exception if required parameters are missing
-
Felddetails
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Konstruktordetails
-
GetContentOperationSpec
Constructs a validated instance ofGetContentOperationSpec.- Parameter:
spec- the specification to process
-
GetContentOperationSpec
@Internal public GetContentOperationSpec(String type, String spaceKey, String title, List<String> status, String postingDay, List<String> expand, String trigger, String orderby, Integer start, Integer limit) Constructs a validated instance ofGetContentOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameter:
type- The type of content to return. For example: - page - blogpostspaceKey- The key of the space to be queried for its content.title- The title of the page to be returned. Required for <code>page</code> type.status- Filter the results to a set of content based on their status. If set toany, content with any status is returned. Note, thehistoricalstatus is currently not supported.postingDay- The posting date of the blog post to be returned. Required for <code>blogpost</code> type. Format: <code>yyyy-mm-dd</code>.expand- A multi-value parameter indicating which properties of the content to expand. Maximum sub-expansions allowed is8. -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.trigger- If set toviewed, the request will trigger a 'viewed' event for the content. When this event is triggered, the page/blogpost will appear on the 'Recently visited' tab of the user's Confluence dashboard.orderby- Orders the content by a particular field. Specify the field and sort direction for this parameter, as follows: 'fieldpath asc/desc'. For example, 'history.createdDate desc'.start- The starting index of the returned content.limit- The maximum number of content objects to return per page. Note, this may be restricted by fixed system limits.
-
GetContentOperationSpec
protected GetContentOperationSpec()
-
-
Methodendetails
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Löst aus:
NullPointerException
-
builder
-
type
The type of content to return. For example: - page - blogpost -
spaceKey
The key of the space to be queried for its content. -
title
The title of the page to be returned. Required for <code>page</code> type. -
status
Filter the results to a set of content based on their status. If set toany, content with any status is returned. Note, thehistoricalstatus is currently not supported. -
postingDay
The posting date of the blog post to be returned. Required for <code>blogpost</code> type. Format: <code>yyyy-mm-dd</code>. -
expand
A multi-value parameter indicating which properties of the content to expand. Maximum sub-expansions allowed is8. -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. -
trigger
If set toviewed, the request will trigger a 'viewed' event for the content. When this event is triggered, the page/blogpost will appear on the 'Recently visited' tab of the user's Confluence dashboard. -
orderby
Orders the content by a particular field. Specify the field and sort direction for this parameter, as follows: 'fieldpath asc/desc'. For example, 'history.createdDate desc'. -
start
The starting index of the returned content. -
limit
The maximum number of content objects to return per page. Note, this may be restricted by fixed system limits. -
type
The type of content to return. For example: - page - blogpost- Gibt zurück:
this.
-
spaceKey
The key of the space to be queried for its content.- Gibt zurück:
this.
-
title
The title of the page to be returned. Required for <code>page</code> type.- Gibt zurück:
this.
-
status
Filter the results to a set of content based on their status. If set toany, content with any status is returned. Note, thehistoricalstatus is currently not supported.- Gibt zurück:
this.
-
postingDay
The posting date of the blog post to be returned. Required for <code>blogpost</code> type. Format: <code>yyyy-mm-dd</code>.- Gibt zurück:
this.
-
expand
A multi-value parameter indicating which properties of the content to expand. Maximum sub-expansions allowed is8. -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.
-
trigger
If set toviewed, the request will trigger a 'viewed' event for the content. When this event is triggered, the page/blogpost will appear on the 'Recently visited' tab of the user's Confluence dashboard.- Gibt zurück:
this.
-
orderby
Orders the content by a particular field. Specify the field and sort direction for this parameter, as follows: 'fieldpath asc/desc'. For example, 'history.createdDate desc'.- Gibt zurück:
this.
-
start
The starting index of the returned content.- Gibt zurück:
this.
-
limit
The maximum number of content objects to return per page. Note, this may be restricted by fixed system limits.- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-