Class ContentTemplateBody
java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.ContentTemplateBody
ContentTemplateBody
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 TypeFieldDescriptionprotected ContentBodyprotected ContentBodyprotected ContentBodyprotected ContentBodyprotected ContentBodyprotected ContentBodyprotected ContentBodyprotected ContentBodyprotected ContentBody -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedProtected no-args constructor for use by serialization frameworks.ContentTemplateBody(ContentBody view, ContentBody exportView, ContentBody styledView, ContentBody storage, ContentBody editor, ContentBody editor2, ContentBody wiki, ContentBody atlasDocFormat, ContentBody anonymousExportView) Constructs a validated instance ofContentTemplateBody.Constructs a validated instance ofContentTemplateBody. -
Method Summary
Modifier and TypeMethodDescriptionFluent getter for anonymousExportView.anonymousExportView(ContentBody anonymousExportView) Fluent setter for anonymousExportView.Fluent getter for atlasDocFormat.atlasDocFormat(ContentBody atlasDocFormat) Fluent setter for atlasDocFormat.editor()Fluent getter for editor.editor(ContentBody editor) Fluent setter for editor.editor2()Fluent getter for editor2.editor2(ContentBody editor2) Fluent setter for editor2.booleanFluent getter for exportView.exportView(ContentBody 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(ContentBody anonymousExportView) Sets the value of anonymousExportView.voidsetAtlasDocFormat(ContentBody atlasDocFormat) Sets the value of atlasDocFormat.voidsetEditor(ContentBody editor) Sets the value of editor.voidsetEditor2(ContentBody editor2) Sets the value of editor2.voidsetExportView(ContentBody exportView) Sets the value of exportView.voidsetStorage(ContentBody storage) Sets the value of storage.voidsetStyledView(ContentBody styledView) Sets the value of styledView.voidsetView(ContentBody view) Sets the value of view.voidsetWiki(ContentBody wiki) Sets the value of wiki.storage()Fluent getter for storage.storage(ContentBody storage) Fluent setter for storage.Fluent getter for styledView.styledView(ContentBody styledView) Fluent setter for styledView.toString()view()Fluent getter for view.view(ContentBody view) Fluent setter for view.wiki()Fluent getter for wiki.wiki(ContentBody wiki) Fluent setter for wiki.
-
Field Details
-
view
-
exportView
-
styledView
-
storage
-
editor
-
editor2
-
wiki
-
atlasDocFormat
-
anonymousExportView
-
-
Constructor Details
-
ContentTemplateBody
Constructs a validated instance ofContentTemplateBody.- Parameters:
spec- the specification to process
-
ContentTemplateBody
@Internal protected ContentTemplateBody()Protected no-args constructor for use by serialization frameworks. -
ContentTemplateBody
@Internal public ContentTemplateBody(ContentBody view, ContentBody exportView, ContentBody styledView, ContentBody storage, ContentBody editor, ContentBody editor2, ContentBody wiki, ContentBody atlasDocFormat, ContentBody anonymousExportView) Constructs a validated instance ofContentTemplateBody.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
ContentTemplateBody(Consumer)instead.- Parameters:
view- viewexportView- exportViewstyledView- styledViewstorage- storageeditor- editoreditor2- editor2wiki- wikiatlasDocFormat- atlasDocFormatanonymousExportView- anonymousExportView
-
-
Method Details
-
view
-
view
Fluent setter for view.- Parameters:
view- view- Returns:
- this
-
getView
-
setView
-
exportView
-
exportView
Fluent setter for exportView.- Parameters:
exportView- exportView- Returns:
- this
-
getExportView
-
setExportView
Sets the value of exportView.- Parameters:
exportView- exportView
-
styledView
-
styledView
Fluent setter for styledView.- Parameters:
styledView- styledView- Returns:
- this
-
getStyledView
-
setStyledView
Sets the value of styledView.- Parameters:
styledView- styledView
-
storage
-
storage
Fluent setter for storage.- Parameters:
storage- storage- Returns:
- this
-
getStorage
-
setStorage
Sets the value of storage.- Parameters:
storage- storage
-
editor
-
editor
Fluent setter for editor.- Parameters:
editor- editor- Returns:
- this
-
getEditor
-
setEditor
-
editor2
-
editor2
Fluent setter for editor2.- Parameters:
editor2- editor2- Returns:
- this
-
getEditor2
-
setEditor2
Sets the value of editor2.- Parameters:
editor2- editor2
-
wiki
-
wiki
Fluent setter for wiki.- Parameters:
wiki- wiki- Returns:
- this
-
getWiki
-
setWiki
-
atlasDocFormat
-
atlasDocFormat
Fluent setter for atlasDocFormat.- Parameters:
atlasDocFormat- atlasDocFormat- Returns:
- this
-
getAtlasDocFormat
-
setAtlasDocFormat
Sets the value of atlasDocFormat.- Parameters:
atlasDocFormat- atlasDocFormat
-
anonymousExportView
Fluent getter for anonymousExportView.- Returns:
- anonymousExportView
-
anonymousExportView
Fluent setter for anonymousExportView.- Parameters:
anonymousExportView- anonymousExportView- Returns:
- this
-
getAnonymousExportView
Gets the value of anonymousExportView.- Returns:
- anonymousExportView
-
setAnonymousExportView
Sets the value of anonymousExportView.- Parameters:
anonymousExportView- anonymousExportView
-
equals
-
hashCode
-
toString
-