roboto.domain.layouts
Submodules
Package Contents
CreateLayoutRequest
Bases: pydantic.BaseModel
Request payload to create a layout
Parameters
data AnyAttributes
CreateLayoutRequest.accessibility
CreateLayoutRequest.folder
CreateLayoutRequest.layout_definition
CreateLayoutRequest.name
CreateLayoutRequest.schema_version
CreateLayoutRequest.tags
LayoutAccessibility
LayoutRecord
Bases: pydantic.BaseModel
A wire-transmissible representation of a layout
Parameters
data AnyAttributes
LayoutRecord.accessibility
LayoutRecord.created
LayoutRecord.created_by
LayoutRecord.folder
LayoutRecord.layout_definition
LayoutRecord.layout_id
LayoutRecord.modified
LayoutRecord.modified_by
LayoutRecord.name
LayoutRecord.org_id
LayoutRecord.revision
How many times the layout has been updated, starting at 0 when it is created.
Every successful update advances it by one, a rename included. Send the revision you loaded as base_revision to have an update refused if someone changed the layout since.
LayoutRecord.schema_version
LayoutRecord.tags
UpdateLayoutRequest
Bases: pydantic.BaseModel
Request payload to update a layout
Parameters
data AnyAttributes
UpdateLayoutRequest.accessibility
accessibility roboto.UpdateLayoutRequest.base_revision
The layout’s revision when you loaded it.
When set, the update is refused with RobotoConflictException (HTTP 409), and changes nothing, if the layout’s revision has changed since: someone else updated it after you loaded it. When omitted, the update is applied whatever the layout’s revision.
UpdateLayoutRequest.folder
UpdateLayoutRequest.layout_definition
UpdateLayoutRequest.model_config
model_config #Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
UpdateLayoutRequest.name
UpdateLayoutRequest.schema_version
UpdateLayoutRequest.tags
UpdateLayoutRequest.validate_schema_version_with_definition()
Return type