models.cassandra_cluster module¶
-
class
models.cassandra_cluster.
CassandraCluster
(primary_host=None, seeds=None)[source]¶ Bases:
object
Implementation of the ‘CassandraCluster’ model.
Specifies an Object containing information about a Cassandra cluster.
Attributes: primary_host (string): Primary host from this Cassandra cluster. seeds (list of string): Seeds of this Cassandra Cluster.
-
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.
-
classmethod