models_v2.disk_removal_response module

class models_v2.disk_removal_response.DiskRemovalResponse(marked_for_removal=None, id=None)[source]

Bases: object

Implementation of the ‘Disk Removal Response.’ model.

Specifies details of disk removal response.

Attributes:

marked_for_removal (bool): If true, Disk is marked for removal. id (long|int): Specifies id of the disk.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary

Args:

dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.

Returns:

object: An instance of this structure class.