models.volume_info_sub_volume_info module¶
-
class
models.volume_info_sub_volume_info.
VolumeInfo_SubVolumeInfo
(subvolume_name=None)[source]¶ Bases:
object
Implementation of the ‘VolumeInfo_SubVolumeInfo’ model.
The proto is used only for storing BTRFS subvolume fields. This is required for handling of mountable subvolume.
- Attributes:
- subvolume_name (string): Name of subvolume. Used to provide relevant mount
options.
-
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.