Class ContentBlueprintDraft
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<AncestorsItem> The new ancestor (i.e.The space for the content.protected StringThe status of the content.protected StringThe title of the content.protected StringThe type of content.The version for the new content. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedProtected no-args constructor for use by serialization frameworks.Constructs a validated instance ofContentBlueprintDraft.ContentBlueprintDraft(Map<String, Object> version, String title, String type, String status, Map<String, Object> space, List<AncestorsItem> ancestors) Constructs a validated instance ofContentBlueprintDraft. -
Method Summary
Modifier and TypeMethodDescriptionFluent getter for ancestors.ancestors(List<AncestorsItem> ancestors) Fluent setter for ancestors.booleanGets the value of ancestors.getSpace()Gets the value of space.Gets the value of status.getTitle()Gets the value of title.getType()Gets the value of type.Gets the value of version.inthashCode()voidsetAncestors(List<AncestorsItem> ancestors) Sets the value of ancestors.voidSets the value of space.voidSets the value of status.voidSets the value of title.voidSets the value of type.voidsetVersion(Map<String, Object> version) Sets the value of version.space()Fluent getter for space.Fluent setter for space.status()Fluent getter for status.Fluent setter for status.title()Fluent getter for title.Fluent setter for title.toString()type()Fluent getter for type.Fluent setter for type.version()Fluent getter for version.Fluent setter for version.
-
Field Details
-
version
-
title
The title of the content. If you don't want to change the title, set this to the current title of the draft. -
type
The type of content. Set this to `page`. -
status
The status of the content. Set this to `current` or omit it altogether. -
space
-
ancestors
The new ancestor (i.e. parent page) for the content. If you have specified an ancestor, you must also specify a `space` property in the request body for the space that the ancestor is in. Note, if you specify more than one ancestor, the last ID in the array will be selected as the parent page for the content.
-
-
Constructor Details
-
ContentBlueprintDraft
Constructs a validated instance ofContentBlueprintDraft.- Parameters:
spec- the specification to process
-
ContentBlueprintDraft
@Internal protected ContentBlueprintDraft()Protected no-args constructor for use by serialization frameworks. -
ContentBlueprintDraft
@Internal public ContentBlueprintDraft(Map<String, Object> version, String title, String type, String status, Map<String, Object> space, List<AncestorsItem> ancestors) Constructs a validated instance ofContentBlueprintDraft.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
ContentBlueprintDraft(Consumer)instead.- Parameters:
version- The version for the new content.title- The title of the content. If you don't want to change the title, set this to the current title of the draft.type- The type of content. Set this to `page`.status- The status of the content. Set this to `current` or omit it altogether.space- The space for the content.ancestors- The new ancestor (i.e. parent page) for the content. If you have specified an ancestor, you must also specify a `space` property in the request body for the space that the ancestor is in. Note, if you specify more than one ancestor, the last ID in the array will be selected as the parent page for the content.
-
-
Method Details
-
version
-
version
Fluent setter for version.The version for the new content.
- Parameters:
version- version- Returns:
- this
-
getVersion
-
setVersion
-
title
Fluent getter for title.The title of the content. If you don't want to change the title, set this to the current title of the draft.
- Returns:
- title
-
title
Fluent setter for title.The title of the content. If you don't want to change the title, set this to the current title of the draft.
- Parameters:
title- title- Returns:
- this
-
getTitle
Gets the value of title.The title of the content. If you don't want to change the title, set this to the current title of the draft.
- Returns:
- title
-
setTitle
Sets the value of title.The title of the content. If you don't want to change the title, set this to the current title of the draft.
- Parameters:
title- title
-
type
-
type
Fluent setter for type.The type of content. Set this to `page`.
- Parameters:
type- type- Returns:
- this
-
getType
Gets the value of type.The type of content. Set this to `page`.
- Returns:
- type
-
setType
Sets the value of type.The type of content. Set this to `page`.
- Parameters:
type- type
-
status
Fluent getter for status.The status of the content. Set this to `current` or omit it altogether.
- Returns:
- status
-
status
Fluent setter for status.The status of the content. Set this to `current` or omit it altogether.
- Parameters:
status- status- Returns:
- this
-
getStatus
Gets the value of status.The status of the content. Set this to `current` or omit it altogether.
- Returns:
- status
-
setStatus
Sets the value of status.The status of the content. Set this to `current` or omit it altogether.
- Parameters:
status- status
-
space
-
space
Fluent setter for space.The space for the content.
- Parameters:
space- space- Returns:
- this
-
getSpace
-
setSpace
-
ancestors
Fluent getter for ancestors.The new ancestor (i.e. parent page) for the content. If you have specified an ancestor, you must also specify a `space` property in the request body for the space that the ancestor is in. Note, if you specify more than one ancestor, the last ID in the array will be selected as the parent page for the content.
- Returns:
- ancestors
-
ancestors
Fluent setter for ancestors.The new ancestor (i.e. parent page) for the content. If you have specified an ancestor, you must also specify a `space` property in the request body for the space that the ancestor is in. Note, if you specify more than one ancestor, the last ID in the array will be selected as the parent page for the content.
- Parameters:
ancestors- ancestors- Returns:
- this
-
getAncestors
Gets the value of ancestors.The new ancestor (i.e. parent page) for the content. If you have specified an ancestor, you must also specify a `space` property in the request body for the space that the ancestor is in. Note, if you specify more than one ancestor, the last ID in the array will be selected as the parent page for the content.
- Returns:
- ancestors
-
setAncestors
Sets the value of ancestors.The new ancestor (i.e. parent page) for the content. If you have specified an ancestor, you must also specify a `space` property in the request body for the space that the ancestor is in. Note, if you specify more than one ancestor, the last ID in the array will be selected as the parent page for the content.
- Parameters:
ancestors- ancestors
-
equals
-
hashCode
-
toString
-