models_v2.replication_parameters module

class models_v2.replication_parameters.ReplicationParameters(create_view=None, view_name=None)[source]

Bases: object

Implementation of the ‘Replication Parameters’ model.

Specifies the parameters for view replication.

Attributes:
create_view (bool): Specifies whether or not to create a remote view

on replication cluster.

view_name (string): Specifies the name of the remote view. By default

the name will be same as the protected view.

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.