models.mongo_db_cluster module

class models.mongo_db_cluster.MongoDBCluster(seeds=None)[source]

Bases: object

Implementation of the ‘MongoDBCluster’ model.

Specifies an Object containing information about a mongodb cluster.

Attributes: seeds (list of string): Seeds of this MongoDB 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.