ContentTemplateBody class

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.

Constructors

ContentTemplateBody({ContentBody? view, ContentBody? exportView, ContentBody? styledView, ContentBody? storage, ContentBody? editor, ContentBody? editor2, ContentBody? wiki, ContentBody? atlasDocFormat, ContentBody? anonymousExportView})
ContentTemplateBody.fromJson(Map<String, Object?> json)
factory

Properties

anonymousExportView ContentBody?
final
atlasDocFormat ContentBody?
final
editor ContentBody?
final
editor2 ContentBody?
final
exportView ContentBody?
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
storage ContentBody?
final
styledView ContentBody?
final
view ContentBody?
final
wiki ContentBody?
final

Methods

copyWith({ContentBody? view, ContentBody? exportView, ContentBody? styledView, ContentBody? storage, ContentBody? editor, ContentBody? editor2, ContentBody? wiki, ContentBody? atlasDocFormat, ContentBody? anonymousExportView}) ContentTemplateBody
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited