roboto.domain.collections.operations
Module Contents
CreateCollectionRequest
Bases: pydantic.BaseModel
Request payload to create a collection
Parameters
data AnyAttributes
CreateCollectionRequest.custom_fields
Initial values for Ready custom fields on this collection.
Each key must be the name of a CustomField that is Ready for the caller’s org and the Collection entity type; each value must satisfy the field’s declared type. Names that are undefined or not Ready, and values that don’t match the field’s type, are rejected with a structured error.
CreateCollectionRequest.description
CreateCollectionRequest.name
CreateCollectionRequest.resource_type
CreateCollectionRequest.resources
CreateCollectionRequest.tags
UpdateCollectionRequest
Bases: pydantic.BaseModel
Request payload to update a collection
Parameters
data AnyAttributes
UpdateCollectionRequest.add_resources
add_resources list[roboto.UpdateCollectionRequest.add_tags
UpdateCollectionRequest.custom_fields_changeset
Changes to apply to Ready custom-field values on this collection.
Each referenced field name must be a Ready custom field for this collection’s org and the Collection entity type; each set_fields value must satisfy the field’s declared type. Names that are undefined or not Ready are rejected with a structured error. Field names not mentioned by the changeset are left unchanged.
UpdateCollectionRequest.description
UpdateCollectionRequest.model_config
model_config #Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
UpdateCollectionRequest.name
UpdateCollectionRequest.remove_resources
remove_resources list[roboto.