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
ConstructorsModifierConstructorDescriptionprotectedContentTemplateBody(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 TypeMethodDescriptionanonymousExportView(ContentBody anonymousExportView) atlasDocFormat(ContentBody atlasDocFormat) protected booleaneditor()editor(ContentBody editor) editor2()editor2(ContentBody editor2) booleanexportView(ContentBody exportView) inthashCode()storage()storage(ContentBody storage) styledView(ContentBody styledView) toString()view()view(ContentBody view) wiki()wiki(ContentBody 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 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
-
ContentTemplateBody
protected ContentTemplateBody()
-
-
Method Details
-
view
-
exportView
-
styledView
-
storage
-
editor
-
editor2
-
wiki
-
atlasDocFormat
-
anonymousExportView
-
view
- Returns:
this.
-
exportView
- Returns:
this.
-
styledView
- Returns:
this.
-
storage
- Returns:
this.
-
editor
- Returns:
this.
-
editor2
- Returns:
this.
-
wiki
- Returns:
this.
-
atlasDocFormat
- Returns:
this.
-
anonymousExportView
- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-