SearchSearchCollectionsBody

class pydelfini.delfini_core.models.search_search_collections_body.SearchSearchCollectionsBody(query, bmeta=Unset, data_elements=Unset, types=Unset)[source]

Bases: object

SearchSearchCollectionsBody model

Parameters:
query
Type:

str

bmeta

Filter by collection metadata.

Provide a base64-encoded JSON mapping conformant to the following JSON schema:

schema:

type: object additionalProperties:

anyOf:
  • type: string

  • type: array items:

    type: string

This includes any combination of {“x-meta”: “foo”} and {“x-meta-2”: [“foo”, “bar”]}:

  • In the single string case, the provided string must match exactly to the value in the metadata field.

  • In the case of an array of strings, the metadata field is assumed to contain a JSON-encoded array of strings, and only one of the strings in the provided array needs to match one of the strings in the metadata field.

Type:

Union[Unset, str]

data_elements
Type:

Union[Unset, List[str]]

types
Type:

Union[Unset, List[SearchSearchCollectionsBodyTypesItem]]

Attributes

query

bmeta

data_elements

types

classmethod from_dict(src_dict)[source]

Create an instance of SearchSearchCollectionsBody from a dict

Parameters:

src_dict (Dict[str, Any])

Return type:

T

to_dict()[source]

Convert to a dict

Return type:

Dict[str, Any]