models.vm_name_info module

class models.vm_name_info.VmNameInfo(ui_name=None, vm_name=None)[source]

Bases: object

Implementation of the ‘VmNameInfo’ model.

Struct containing vm-name and ui-name (to be displayed on the UI to get number of replicas as input) as members.

Attributes:

ui_name (string): UI-name. To be displayed on the UI. vm_name (string): Vm-name.

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.