models.couchbase_connect_params module¶
-
class
models.couchbase_connect_params.
CouchbaseConnectParams
(carrier_direct_port=None, http_direct_port=None, requires_ssl=None, seeds=None)[source]¶ Bases:
object
Implementation of the ‘CouchbaseConnectParams’ model.
Specifies an Object containing information about a registered couchbase source.
Attributes: carrier_direct_port (int): Specifies the Carrier direct/sll port. http_direct_port (int): Specifies the HTTP direct/sll port. requires_ssl (bool): Specifies whether this cluster allows connection
through SSL only.
seeds (list of string): Specifies the Seeds of this Couchbase 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