Attachment class

Constructors

Attachment({String? id, String? status, String? title, DateTime? createdAt, String? pageId, String? blogPostId, String? customContentId, String? mediaType, String? mediaTypeDescription, String? comment, String? fileId, int? fileSize, String? webuiLink, String? downloadLink, Version? version, AttachmentLinks? links})
Attachment.fromJson(Map<String, Object?> json)
factory

Properties

blogPostId → String?
ID of the containing blog post.
final
comment → String?
Comment for the attachment.
final
createdAt → DateTime?
Date and time when the attachment was created. In format "YYYY-MM-DDTHH:mm:ss.sssZ".
final
customContentId → String?
ID of the containing custom content.
final
Download link of the attachment.
final
fileId → String?
File ID of the attachment. This is the ID referenced in atlas_doc_format bodies and is distinct from the attachment ID.
final
fileSize → int?
File size of the attachment.
final
hashCode → int
The hash code for this object.
no setterinherited
id → String?
ID of the attachment.
final
final
mediaType → String?
Media Type for the attachment.
final
mediaTypeDescription → String?
Media Type description for the attachment.
final
pageId → String?
ID of the containing page.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → String?
final
title → String?
Title of the comment.
final
version → Version?
final
WebUI link of the attachment.
final

Methods

copyWith({String? id, String? status, String? title, DateTime? createdAt, String? pageId, String? blogPostId, String? customContentId, String? mediaType, String? mediaTypeDescription, String? comment, String? fileId, int? fileSize, String? webuiLink, String? downloadLink, Version? version, AttachmentLinks? links}) → Attachment
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