models_v2.data_migration_source module

class models_v2.data_migration_source.DataMigrationSource(environment=None, generic_nas_params=None, view_params=None)[source]

Bases: object

Implementation of the ‘DataMigrationSource’ model.

Specifies the objects to be migrated.

Attributes:
environment (Environment3Enum): Specifies the environment type of the

Data Migration.

generic_nas_params (GenericNasDataMigrationParams): Specifies the

parameters which are specific to NAS related Protection Groups.

view_params (ViewDataMigrationParameters): Specifies the parameters

which are specific to view related Data Migration endpoints.

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.