models.vm_directory_list_result module

class models.vm_directory_list_result.VmDirectoryListResult(cookie=None, entries=None)[source]

Bases: object

Implementation of the ‘VmDirectoryListResult’ model.

VmDirectoryListResult is a struct containing information about each directory entry.

Attributes:
cookie (string): Cookie is used for paginating results. If

ReadVMDirResult is returning partial results, this field will be set. Supplying this cookie will resume listing from where this result left off.

entries (list of VmDirEntry): Entries is the array of files and

folders that are immediate children of the parent directory specified in the request.

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.