CopyPageRequest class

Constructors

CopyPageRequest({bool? copyAttachments, bool? copyPermissions, bool? copyProperties, bool? copyLabels, bool? copyCustomContents, required CopyPageRequestDestination destination, String? pageTitle, CopyPageRequestBody? body})
CopyPageRequest.fromJson(Map<String, Object?> json)
factory

Properties

body CopyPageRequestBody?
If defined, this will replace the body of the destination page.
final
copyAttachments bool
If set to true, attachments are copied to the destination page.
final
copyCustomContents bool
If set to true, custom contents are copied to the destination page.
final
copyLabels bool
If set to true, labels are copied to the destination page.
final
copyPermissions bool
If set to true, page permissions are copied to the destination page.
final
copyProperties bool
If set to true, content properties are copied to the destination page.
final
destination CopyPageRequestDestination
final
hashCode int
The hash code for this object.
no setterinherited
pageTitle String?
If defined, this will replace the title of the destination page.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({bool? copyAttachments, bool? copyPermissions, bool? copyProperties, bool? copyLabels, bool? copyCustomContents, CopyPageRequestDestination? destination, String? pageTitle, CopyPageRequestBody? body}) CopyPageRequest
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