models.input_spec module

class models.input_spec.InputSpec(files_selector=None, on_nfs_files=None, vm_Selector=None)[source]

Bases: object

Implementation of the ‘InputSpec’ model.

Input selector. Selects the files to map over.

files_selector (InputSpec_InputFilesSelector): TODO: type description


on_nfs_files (bool): Selects whether input is files inside vmdks or

files on NFS. One of vm_selector or files_selector will be chosen based on this flag.

vm_Selector (InputSpec_InputVMsSelector): TODO: type description here.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary


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.


object: An instance of this structure class.