Class ContentTemplateBodyCreate
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.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThis object is used when creating or updating content.This object is used when creating or updating content.This object is used when creating or updating content.This object is used when creating or updating content.This object is used when creating or updating content.This object is used when creating or updating content.This object is used when creating or updating content.This object is used when creating or updating content.This object is used when creating or updating content. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedProtected no-args constructor for use by serialization frameworks.Constructs a validated instance ofContentTemplateBodyCreate.ContentTemplateBodyCreate(Map<String, Object> view, Map<String, Object> exportView, Map<String, Object> styledView, Map<String, Object> storage, Map<String, Object> editor, Map<String, Object> editor2, Map<String, Object> wiki, Map<String, Object> atlasDocFormat, Map<String, Object> anonymousExportView) Constructs a validated instance ofContentTemplateBodyCreate. -
Method Summary
Modifier and TypeMethodDescriptionFluent getter for anonymousExportView.anonymousExportView(Map<String, Object> anonymousExportView) Fluent setter for anonymousExportView.Fluent getter for atlasDocFormat.atlasDocFormat(Map<String, Object> atlasDocFormat) Fluent setter for atlasDocFormat.editor()Fluent getter for editor.Fluent setter for editor.editor2()Fluent getter for editor2.Fluent setter for editor2.booleanFluent getter for exportView.exportView(Map<String, Object> exportView) Fluent setter for exportView.Gets the value of anonymousExportView.Gets the value of atlasDocFormat.Gets the value of editor.Gets the value of editor2.Gets the value of exportView.Gets the value of storage.Gets the value of styledView.getView()Gets the value of view.getWiki()Gets the value of wiki.inthashCode()voidsetAnonymousExportView(Map<String, Object> anonymousExportView) Sets the value of anonymousExportView.voidsetAtlasDocFormat(Map<String, Object> atlasDocFormat) Sets the value of atlasDocFormat.voidSets the value of editor.voidsetEditor2(Map<String, Object> editor2) Sets the value of editor2.voidsetExportView(Map<String, Object> exportView) Sets the value of exportView.voidsetStorage(Map<String, Object> storage) Sets the value of storage.voidsetStyledView(Map<String, Object> styledView) Sets the value of styledView.voidSets the value of view.voidSets the value of wiki.storage()Fluent getter for storage.Fluent setter for storage.Fluent getter for styledView.styledView(Map<String, Object> styledView) Fluent setter for styledView.toString()view()Fluent getter for view.Fluent setter for view.wiki()Fluent getter for wiki.Fluent setter for wiki.
-
Field Details
-
view
-
exportView
-
styledView
-
storage
-
editor
-
editor2
-
wiki
-
atlasDocFormat
-
anonymousExportView
-
-
Constructor Details
-
ContentTemplateBodyCreate
Constructs a validated instance ofContentTemplateBodyCreate.- Parameters:
spec- the specification to process
-
ContentTemplateBodyCreate
@Internal protected ContentTemplateBodyCreate()Protected no-args constructor for use by serialization frameworks. -
ContentTemplateBodyCreate
@Internal public ContentTemplateBodyCreate(Map<String, Object> view, Map<String, Object> exportView, Map<String, Object> styledView, Map<String, Object> storage, Map<String, Object> editor, Map<String, Object> editor2, Map<String, Object> wiki, Map<String, Object> atlasDocFormat, Map<String, Object> anonymousExportView) Constructs a validated instance ofContentTemplateBodyCreate.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
ContentTemplateBodyCreate(Consumer)instead.- Parameters:
view- This object is used when creating or updating content.exportView- This object is used when creating or updating content.styledView- This object is used when creating or updating content.storage- This object is used when creating or updating content.editor- This object is used when creating or updating content.editor2- This object is used when creating or updating content.wiki- This object is used when creating or updating content.atlasDocFormat- This object is used when creating or updating content.anonymousExportView- This object is used when creating or updating content.
-
-
Method Details
-
view
-
view
Fluent setter for view.This object is used when creating or updating content.
- Parameters:
view- view- Returns:
- this
-
getView
-
setView
-
exportView
-
exportView
Fluent setter for exportView.This object is used when creating or updating content.
- Parameters:
exportView- exportView- Returns:
- this
-
getExportView
-
setExportView
-
styledView
-
styledView
Fluent setter for styledView.This object is used when creating or updating content.
- Parameters:
styledView- styledView- Returns:
- this
-
getStyledView
-
setStyledView
-
storage
-
storage
Fluent setter for storage.This object is used when creating or updating content.
- Parameters:
storage- storage- Returns:
- this
-
getStorage
-
setStorage
-
editor
-
editor
Fluent setter for editor.This object is used when creating or updating content.
- Parameters:
editor- editor- Returns:
- this
-
getEditor
-
setEditor
-
editor2
-
editor2
Fluent setter for editor2.This object is used when creating or updating content.
- Parameters:
editor2- editor2- Returns:
- this
-
getEditor2
-
setEditor2
-
wiki
-
wiki
Fluent setter for wiki.This object is used when creating or updating content.
- Parameters:
wiki- wiki- Returns:
- this
-
getWiki
-
setWiki
-
atlasDocFormat
-
atlasDocFormat
Fluent setter for atlasDocFormat.This object is used when creating or updating content.
- Parameters:
atlasDocFormat- atlasDocFormat- Returns:
- this
-
getAtlasDocFormat
-
setAtlasDocFormat
-
anonymousExportView
-
anonymousExportView
Fluent setter for anonymousExportView.This object is used when creating or updating content.
- Parameters:
anonymousExportView- anonymousExportView- Returns:
- this
-
getAnonymousExportView
-
setAnonymousExportView
-
equals
-
hashCode
-
toString
-