Attachment class

An Attachment refers to additional metadata that can be attached to artifacts in Artifact Registry.

An attachment consists of one or more files.

Constructors

Attachment.new({Map<String, String>? annotations, String? attachmentNamespace, String? createTime, List<String>? files, String? name, String? ociVersionName, String? target, String? type, String? updateTime})
Attachment.fromJson(Map json_)

Properties

annotations Map<String, String>?
User annotations.
getter/setter pair
attachmentNamespace String?
The namespace this attachment belongs to.
getter/setter pair
createTime String?
The time when the attachment was created.
getter/setter pair
files List<String>?
The files that belong to this attachment.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
name String?
The name of the attachment.
getter/setter pair
ociVersionName String?
The name of the OCI version that this attachment created.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
target String?
The target the attachment is for, can be a Version, Package or Repository.
getter/setter pair
type String?
Type of attachment.
getter/setter pair
updateTime String?
The time when the attachment was last updated.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited