NewCollection

class pydelfini.delfini_core.models.new_collection.NewCollection(description, name, account_id=Unset, default_datastore=Unset, metadata=Unset, project_id=Unset)[source]

Bases: object

New collection request

Parameters:
description

The collection’s full description

Type:

str

name

The collection’s short human-readable name

Type:

str

account_id

The account into which the collection should be created

Type:

Union[Unset, str]

default_datastore
Type:

Union[Unset, str]

metadata

Arbitrary user-defined metadata, key-value pairs

Type:

Union[Unset, NewCollectionMetadata]

project_id

The project containing this collection, if desired

Type:

Union[Unset, str]

Attributes

description

name

account_id

default_datastore

metadata

project_id

classmethod from_dict(src_dict)[source]

Create an instance of NewCollection from a dict

Parameters:

src_dict (Dict[str, Any])

Return type:

T

to_dict()[source]

Convert to a dict

Return type:

Dict[str, Any]