ContentTemplateCreate class

This object is used to create content templates.

Constructors

ContentTemplateCreate({required String name, required String templateType, required ContentTemplateBodyCreate body, String? description, List<Label>? labels, ContentTemplateCreateSpace? space})
ContentTemplateCreate.fromJson(Map<String, Object?> json)
factory

Properties

body ContentTemplateBodyCreate
final
description String?
A description of the new template.
final
hashCode int
The hash code for this object.
no setterinherited
labels List<Label>
Labels for the new template.
final
name String
The name of the new template.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
space ContentTemplateCreateSpace?
The key for the space of the new template. Only applies to space templates. If the spaceKey is not specified, the template will be created as a global template.
final
templateType String
The type of the new template. Set to page.
final

Methods

copyWith({String? name, String? templateType, ContentTemplateBodyCreate? body, String? description, List<Label>? labels, ContentTemplateCreateSpace? space}) ContentTemplateCreate
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