ContentBlueprintDraft class
Constructors
-
ContentBlueprintDraft({required ContentBlueprintDraftVersion version, required String title, required ContentBlueprintDraftType type, ContentBlueprintDraftStatus? status, ContentBlueprintDraftSpace? space, List<
ContentBlueprintDraftAncestorsItem> ? ancestors}) -
ContentBlueprintDraft.fromJson(Map<
String, Object?> json) -
factory
Properties
-
ancestors
→ List<
ContentBlueprintDraftAncestorsItem> -
The new ancestor (i.e. parent page) for the content. If you have
specified an ancestor, you must also specify a
space
property in the request body for the space that the ancestor is in.final - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- space → ContentBlueprintDraftSpace?
-
The space for the content.
final
- status → ContentBlueprintDraftStatus?
-
The status of the content. Set this to
current
or omit it altogether.final - title → String
-
The title of the content. If you don't want to change the title,
set this to the current title of the draft.
final
- type → ContentBlueprintDraftType
-
The type of content. Set this to
page
.final - version → ContentBlueprintDraftVersion
-
The version for the new content.
final
Methods
-
copyWith(
{ContentBlueprintDraftVersion? version, String? title, ContentBlueprintDraftType? type, ContentBlueprintDraftStatus? status, ContentBlueprintDraftSpace? space, List< ContentBlueprintDraftAncestorsItem> ? ancestors}) → ContentBlueprintDraft -
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