models_v2.replicated_view_name_config module

class models_v2.replicated_view_name_config.ReplicatedViewNameConfig(source_view_id=None, use_same_view_name=None, view_name=None)[source]

Bases: object

Implementation of the ‘ReplicatedViewNameConfig’ model.

Specifies an object protected by a View Protection Group.

Attributes:

source_view_id (long|int): Specifies the ID of the protected view. use_same_view_name (bool): Specifies if the remote view name to be

kept is same as the source view name. If this field is true, viewName field will be ignored.

view_name (string): Specifies the name of the remote view. This field

is only used when useSameViewName is false. If useSameViewName is true, this field is not used.

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.