Class ContentBlueprintDraft
java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.ContentBlueprintDraft
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
ConstructorsModifierConstructorDescriptionprotectedConstructs 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 TypeMethodDescriptionThe new ancestor (i.e.ancestors(List<AncestorsItem> ancestors) The new ancestor (i.e.protected booleanbooleaninthashCode()space()The space for the content.The space for the content.status()The status of the content.The status of the content.title()The title of the content.The title of the content.toString()type()The type of content.The type of content.version()The version for the new content.The version for the new content.
-
Field Details
-
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.
-
-
Constructor Details
-
ContentBlueprintDraft
Constructs a validated instance ofContentBlueprintDraft.- Parameters:
spec- the specification to process
-
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.
-
ContentBlueprintDraft
protected ContentBlueprintDraft()
-
-
Method Details
-
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. -
version
The version for the new content.- Returns:
this.
-
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:
this.
-
type
The type of content. Set this to `page`.- Returns:
this.
-
status
The status of the content. Set this to `current` or omit it altogether.- Returns:
this.
-
space
The space for the content.- Returns:
this.
-
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:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-