models.couchbase_bucket module¶
-
class
models.couchbase_bucket.
CouchbaseBucket
(bucket_type=None, document_count=None)[source]¶ Bases:
object
Implementation of the ‘CouchbaseBucket’ model.
Specifies an Object containing information about a couchbase Bucket.
Attributes: bucket_type (string): Type of this bucket. document_count (int|long): Number of documents in this bucket.
-
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