VolumeAttachmentStatus class

VolumeAttachmentStatus is the status of a VolumeAttachment request.

Constructors

VolumeAttachmentStatus({VolumeError? attachError, required bool attached, Map<String, String>? attachmentMetadata, VolumeError? detachError})
Default constructor.
const
VolumeAttachmentStatus.fromJson(Map<String, dynamic> json)
Creates a VolumeAttachmentStatus from JSON data.
factory

Properties

attached bool
attached indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
final
attachError VolumeError?
attachError represents the last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
final
attachmentMetadata Map<String, String>?
attachmentMetadata is populated with any information returned by the attach operation, upon successful attach, that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
final
detachError VolumeError?
detachError represents the last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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