Class ContentTemplateBodyCreate
java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.ContentTemplateBodyCreate
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
ConstructorsModifierConstructorDescriptionprotectedConstructs 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 TypeMethodDescriptionThis object is used when creating or updating content.anonymousExportView(Map<String, Object> anonymousExportView) This object is used when creating or updating content.This object is used when creating or updating content.atlasDocFormat(Map<String, Object> atlasDocFormat) This object is used when creating or updating content.protected booleaneditor()This object is used when creating or updating content.This object is used when creating or updating content.editor2()This object is used when creating or updating content.This object is used when creating or updating content.booleanThis object is used when creating or updating content.exportView(Map<String, Object> exportView) This object is used when creating or updating content.inthashCode()storage()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.styledView(Map<String, Object> styledView) This object is used when creating or updating content.toString()view()This object is used when creating or updating content.This object is used when creating or updating content.wiki()This object is used when creating or updating content.This object is used when creating or updating content.
-
Field Details
-
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.
-
-
Constructor Details
-
ContentTemplateBodyCreate
Constructs a validated instance ofContentTemplateBodyCreate.- Parameters:
spec- the specification to process
-
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.
-
ContentTemplateBodyCreate
protected ContentTemplateBodyCreate()
-
-
Method Details
-
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. -
view
This object is used when creating or updating content.- Returns:
this.
-
exportView
This object is used when creating or updating content.- Returns:
this.
-
styledView
This object is used when creating or updating content.- Returns:
this.
-
storage
This object is used when creating or updating content.- Returns:
this.
-
editor
This object is used when creating or updating content.- Returns:
this.
-
editor2
This object is used when creating or updating content.- Returns:
this.
-
wiki
This object is used when creating or updating content.- Returns:
this.
-
atlasDocFormat
This object is used when creating or updating content.- Returns:
this.
-
anonymousExportView
This object is used when creating or updating content.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-