models.vm_group module¶
-
class
models.vm_group.
VmGroup
(name=None, vms=None)[source]¶ Bases:
object
Implementation of the ‘VmGroup’ model.
VmGroup specifies information of a VM Group.
- Attributes:
name (string): Specifies name of the VM group. vms (list of VmInfo): Specifies VMs in the group.
-
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.