models.cassandra_recover_job_params module¶
-
class
models.cassandra_recover_job_params.
CassandraRecoverJobParams
(cassandra_additional_info=None, cassandra_source_version=None, graph_handling_enabled=None, log_recover_params=None, log_restore_directory=None, selected_data_center_vec=None, staging_directory_vec=None, suffix=None)[source]¶ Bases:
object
Implementation of the ‘CassandraRecoverJobParams’ model.
Contains any additional cassandra environment specific params for the recover job.
- Attributes:
- cassandra_additional_info (CassandraAdditionalParams): Additional
parameters required for Cassandra recovery. TODO (faizan.khan) : Remove this.
cassandra_source_version (string): Cassandra source version graph_handling_enabled (bool): whether special graph handling is
enabled.
- log_recover_params (CassandraLogRecoverJobParams): Additional params
for log recovery.
log_restore_directory (string): Logs will be restored to this location. selected_data_center_vec (list of string): The data centers selected
for recovery.
staging_directory_vec (list of string): Cassandra staging directory suffix (string): A suffix that is to be applied to all recovered
entities TODO (faizan.khan) : Remove this.
-
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.