Class ContentTemplate
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Expandableprotected ContentTemplateBodyThe body of the new content.protected Stringprotected Stringprotected Stringprotected OriginalTemplate25A4F5protected Stringprotected Stringprotected String -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedProtected no-args constructor for use by serialization frameworks.ContentTemplate(String templateId, OriginalTemplate25A4F5 originalTemplate, String referencingBlueprint, String name, String description, Map<String, Object> space, List<Label> labels, String templateType, String editorVersion, ContentTemplateBody body, Expandable additionalExpandable, Map<String, Object> additionalLinks) Constructs a validated instance ofContentTemplate.Constructs a validated instance ofContentTemplate. -
Method Summary
Modifier and TypeMethodDescriptionFluent getter for additionalExpandable.additionalExpandable(Expandable additionalExpandable) Fluent setter for additionalExpandable.Fluent getter for additionalLinks.additionalLinks(Map<String, Object> additionalLinks) Fluent setter for additionalLinks.body()Fluent getter for body.body(ContentTemplateBody body) Fluent setter for body.Fluent getter for description.description(String description) Fluent setter for description.Fluent getter for editorVersion.editorVersion(String editorVersion) Fluent setter for editorVersion.booleanGets the value of additionalExpandable.Gets the value of additionalLinks.getBody()Gets the value of body.Gets the value of description.Gets the value of editorVersion.Gets the value of labels.getName()Gets the value of name.Gets the value of originalTemplate.Gets the value of referencingBlueprint.getSpace()Gets the value of space.Gets the value of templateId.Gets the value of templateType.inthashCode()labels()Fluent getter for labels.Fluent setter for labels.name()Fluent getter for name.Fluent setter for name.Fluent getter for originalTemplate.originalTemplate(OriginalTemplate25A4F5 originalTemplate) Fluent setter for originalTemplate.Fluent getter for referencingBlueprint.referencingBlueprint(String referencingBlueprint) Fluent setter for referencingBlueprint.voidsetAdditionalExpandable(Expandable additionalExpandable) Sets the value of additionalExpandable.voidsetAdditionalLinks(Map<String, Object> additionalLinks) Sets the value of additionalLinks.voidsetBody(ContentTemplateBody body) Sets the value of body.voidsetDescription(String description) Sets the value of description.voidsetEditorVersion(String editorVersion) Sets the value of editorVersion.voidSets the value of labels.voidSets the value of name.voidsetOriginalTemplate(OriginalTemplate25A4F5 originalTemplate) Sets the value of originalTemplate.voidsetReferencingBlueprint(String referencingBlueprint) Sets the value of referencingBlueprint.voidSets the value of space.voidsetTemplateId(String templateId) Sets the value of templateId.voidsetTemplateType(String templateType) Sets the value of templateType.space()Fluent getter for space.Fluent setter for space.Fluent getter for templateId.templateId(String templateId) Fluent setter for templateId.Fluent getter for templateType.templateType(String templateType) Fluent setter for templateType.toString()
-
Field Details
-
templateId
-
originalTemplate
-
referencingBlueprint
-
name
-
description
-
space
-
labels
-
templateType
-
editorVersion
-
body
The body of the new content. Does not apply to attachments. Only one body format should be specified as the property for this object, e.g. `storage`. Note, `editor2` format is used by Atlassian only. `anonymous_export_view` is the same as `export_view` format but only content viewable by an anonymous user is included. -
additionalExpandable
-
additionalLinks
-
-
Constructor Details
-
ContentTemplate
Constructs a validated instance ofContentTemplate.- Parameters:
spec- the specification to process
-
ContentTemplate
@Internal protected ContentTemplate()Protected no-args constructor for use by serialization frameworks. -
ContentTemplate
@Internal public ContentTemplate(String templateId, OriginalTemplate25A4F5 originalTemplate, String referencingBlueprint, String name, String description, Map<String, Object> space, List<Label> labels, String templateType, String editorVersion, ContentTemplateBody body, Expandable additionalExpandable, Map<String, Object> additionalLinks) Constructs a validated instance ofContentTemplate.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
ContentTemplate(Consumer)instead.- Parameters:
templateId- templateIdoriginalTemplate- originalTemplatereferencingBlueprint- referencingBlueprintname- namedescription- descriptionspace- spacelabels- labelstemplateType- templateTypeeditorVersion- editorVersionbody- The body of the new content. Does not apply to attachments. Only one body format should be specified as the property for this object, e.g. `storage`. Note, `editor2` format is used by Atlassian only. `anonymous_export_view` is the same as `export_view` format but only content viewable by an anonymous user is included.additionalExpandable- additionalExpandableadditionalLinks- additionalLinks
-
-
Method Details
-
templateId
-
templateId
Fluent setter for templateId.- Parameters:
templateId- templateId- Returns:
- this
-
getTemplateId
-
setTemplateId
Sets the value of templateId.- Parameters:
templateId- templateId
-
originalTemplate
Fluent getter for originalTemplate.- Returns:
- originalTemplate
-
originalTemplate
Fluent setter for originalTemplate.- Parameters:
originalTemplate- originalTemplate- Returns:
- this
-
getOriginalTemplate
Gets the value of originalTemplate.- Returns:
- originalTemplate
-
setOriginalTemplate
Sets the value of originalTemplate.- Parameters:
originalTemplate- originalTemplate
-
referencingBlueprint
Fluent getter for referencingBlueprint.- Returns:
- referencingBlueprint
-
referencingBlueprint
Fluent setter for referencingBlueprint.- Parameters:
referencingBlueprint- referencingBlueprint- Returns:
- this
-
getReferencingBlueprint
Gets the value of referencingBlueprint.- Returns:
- referencingBlueprint
-
setReferencingBlueprint
Sets the value of referencingBlueprint.- Parameters:
referencingBlueprint- referencingBlueprint
-
name
-
name
Fluent setter for name.- Parameters:
name- name- Returns:
- this
-
getName
-
setName
-
description
-
description
Fluent setter for description.- Parameters:
description- description- Returns:
- this
-
getDescription
-
setDescription
Sets the value of description.- Parameters:
description- description
-
space
-
space
Fluent setter for space.- Parameters:
space- space- Returns:
- this
-
getSpace
-
setSpace
-
labels
-
labels
Fluent setter for labels.- Parameters:
labels- labels- Returns:
- this
-
getLabels
-
setLabels
-
templateType
-
templateType
Fluent setter for templateType.- Parameters:
templateType- templateType- Returns:
- this
-
getTemplateType
-
setTemplateType
Sets the value of templateType.- Parameters:
templateType- templateType
-
editorVersion
-
editorVersion
Fluent setter for editorVersion.- Parameters:
editorVersion- editorVersion- Returns:
- this
-
getEditorVersion
-
setEditorVersion
Sets the value of editorVersion.- Parameters:
editorVersion- editorVersion
-
body
Fluent getter for body.The body of the new content. Does not apply to attachments. Only one body format should be specified as the property for this object, e.g. `storage`. Note, `editor2` format is used by Atlassian only. `anonymous_export_view` is the same as `export_view` format but only content viewable by an anonymous user is included.
- Returns:
- body
-
body
Fluent setter for body.The body of the new content. Does not apply to attachments. Only one body format should be specified as the property for this object, e.g. `storage`. Note, `editor2` format is used by Atlassian only. `anonymous_export_view` is the same as `export_view` format but only content viewable by an anonymous user is included.
- Parameters:
body- body- Returns:
- this
-
getBody
Gets the value of body.The body of the new content. Does not apply to attachments. Only one body format should be specified as the property for this object, e.g. `storage`. Note, `editor2` format is used by Atlassian only. `anonymous_export_view` is the same as `export_view` format but only content viewable by an anonymous user is included.
- Returns:
- body
-
setBody
Sets the value of body.The body of the new content. Does not apply to attachments. Only one body format should be specified as the property for this object, e.g. `storage`. Note, `editor2` format is used by Atlassian only. `anonymous_export_view` is the same as `export_view` format but only content viewable by an anonymous user is included.
- Parameters:
body- body
-
additionalExpandable
Fluent getter for additionalExpandable.- Returns:
- additionalExpandable
-
additionalExpandable
Fluent setter for additionalExpandable.- Parameters:
additionalExpandable- additionalExpandable- Returns:
- this
-
getAdditionalExpandable
Gets the value of additionalExpandable.- Returns:
- additionalExpandable
-
setAdditionalExpandable
Sets the value of additionalExpandable.- Parameters:
additionalExpandable- additionalExpandable
-
additionalLinks
-
additionalLinks
Fluent setter for additionalLinks.- Parameters:
additionalLinks- additionalLinks- Returns:
- this
-
getAdditionalLinks
-
setAdditionalLinks
-
equals
-
hashCode
-
toString
-