roboto.domain.device_types.operations
Module Contents
CreateDeviceTypeRequest
Bases: pydantic.BaseModel
Request body for POST /v1/device-types/create, which creates a device type in the caller’s org.
Parameters
data AnyAttributes
CreateDeviceTypeRequest.description
Free-text description of the device type.
CreateDeviceTypeRequest.metadata
Initial key-value metadata pairs to associate with the device type.
UpdateDeviceTypeRequest
Bases: pydantic.BaseModel
Request body for PUT /v1/device-types/id/<device_type_id>.
Fields left at their defaults change nothing.
Parameters
data AnyAttributes
UpdateDeviceTypeRequest.description
New description. None clears it.
UpdateDeviceTypeRequest.metadata_changeset
Metadata fields and tags to add, change, or remove.
UpdateDeviceTypeRequest.model_config
model_config #Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
UpdateDeviceTypeRequest.name
New name for the device type, unique within its org. Cannot be cleared.