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