models_v2.couchbase_params module

class models_v2.couchbase_params.CouchbaseParams(couchbase_object_types=None, search_string=None, source_ids=None)[source]

Bases: object

Implementation of the ‘CouchbaseParams’ model.

Specifies the parameters which are specific for searching Couchbase objects.

Attributes:
couchbase_object_types (list of CouchbaseObjectTypeEnum): Specifies

Couchbase object types be searched. For Couchbase it can only be set to ‘CouchbaseBuckets’.

search_string (string): Specifies the search string to search the

Couchbase Objects

source_ids (list of long|int): Specifies a list of source ids. Only

objects found in these sources will be returned.

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.