roboto.domain.collections.record
Module Contents
CollectionChangeRecord
Bases: pydantic.BaseModel
A wire-transmissible representation of a collection change record
Parameters
data AnyAttributes
CollectionChangeRecord.applied
CollectionChangeRecord.applied_by
CollectionChangeRecord.change_set
CollectionChangeRecord.collection_id
CollectionChangeRecord.from_version
CollectionChangeRecord.to_version
CollectionChangeSet
Bases: pydantic.BaseModel
Changeset for updating a collection
Parameters
data AnyAttributes
CollectionChangeSet.added_resources
CollectionChangeSet.added_tags
CollectionChangeSet.field_changes
CollectionChangeSet.removed_resources
CollectionChangeSet.removed_tags
CollectionContentMode
CollectionRecord
Bases: pydantic.BaseModel
A wire-transmissible representation of a collection
Parameters
data AnyAttributes
CollectionRecord.collection_id
CollectionRecord.created
CollectionRecord.created_by
CollectionRecord.custom_fields
Values for the custom fields defined on Collections in this org.
Every Ready custom field defined for (org_id, Collection) appears as a key; values that have not been set surface as None rather than being absent. Empty when no custom fields are defined for the org.
CollectionRecord.description
CollectionRecord.missing
CollectionRecord.name
CollectionRecord.org_id
CollectionRecord.resource_count
Number of resources the collection holds.
Maintained by the service as members are added and removed, so it is present in every content mode, including summary_only where resources is empty. Counts every membership reference, including references to resources that have since been deleted; hydrating the collection (content_mode=full) sorts those into missing, so the hydrated resources map can hold fewer entries than this count.
CollectionRecord.resource_type
CollectionRecord.resources
CollectionRecord.tags
CollectionRecord.updated
CollectionRecord.updated_by
CollectionRecord.version
CollectionResourceRef
Bases: pydantic.BaseModel
Reference to a collection resource
Parameters
data AnyAttributes