models.clone_directory_params module

class models.clone_directory_params.CloneDirectoryParams(destination_directory_name=None, destination_parent_directory_path=None, source_directory_path=None)[source]

Bases: object

Implementation of the ‘CloneDirectoryParams’ model.

Specifies the params that have to be provided to clone a directory.

Attributes:
destination_directory_name (string): Name of the new directory which

will contain the clone contents.

destination_parent_directory_path (string): Specifies the path of the

destination parent directory. The source dir would be cloned as a child of destination parent dir.

source_directory_path (string): Specifies the path of the source

directory

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.