ContentCreateBody 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

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

Properties

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

Methods

copyWith({ContentBodyCreate? view, ContentBodyCreate? exportView, ContentBodyCreate? styledView, ContentBodyCreate? storage, ContentBodyCreate? editor, ContentBodyCreate? editor2, ContentBodyCreate? wiki, ContentBodyCreate? anonymousExportView, ContentBodyCreate? plain, ContentBodyCreate? atlasDocFormat, ContentBodyCreate? raw}) ContentCreateBody
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