models_v2.recover_couchbase_object_params_1 module

class models_v2.recover_couchbase_object_params_1.RecoverCouchbaseObjectParams1(document_filter_type=None, id_regex=None, filter_expression=None)[source]

Bases: object

Implementation of the ‘Recover Couchbase Object Params.1’ model.

Specifies the parameters to filter documents to be restored.

Attributes:
document_filter_type (DocumentFilterTypeEnum): Specifies the filter

type for Documents to be restored.

id_regex (string): A regular expression to match Documents ID’s to be

restored.

filter_expression (string): A filter expression to match Documents

content to be restored.

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.