ContentTemplateUpdate class

This object is used to update content templates.

Constructors

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

Properties

body ContentTemplateBodyCreate
final
description String?
A description of the template.
final
hashCode int
The hash code for this object.
no setterinherited
labels List<Label>
Labels for the template.
final
name String
The name of the template. Set to the current name if this field is not being updated.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
space ContentTemplateUpdateSpace?
The key for the space of the template. Required if the template is a space template. Set this to the current space.key.
final
templateId String
The ID of the template being updated.
final
templateType ContentTemplateUpdateTemplateType
The type of the template. Set to page.
final

Methods

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