esperclient.models.v0_command_request
Name | Type | Description | Notes |
---|---|---|---|
id | str | Unique command request identifier | [optional] |
enterprise | str | Esper account identifier | [optional] |
command_type | str | Identifies the type of command ``` * DEVICE: command request is meant for devices * GROUP: command request is meant for groups * DYNAMIC: command request is meant for dynamic set of devices i.e subset of devices from different groups or otherwise. ``` | [optional] |
devices | list[str] | list of devices to run commands | [optional] |
groups | list[str] | list of groups to run commands | [optional] |
device_type | str | Type of devices to run commands on ``` * active: Run commands on currently online devices * inactive: Run commands on currently offline devices * all: Run commands on all the devices. Commands will be queued for offline devices until they come back online. ``` | [optional] [default to 'active'] |
command | V0DeviceCommandEnum | [optional] | |
command_args | V0CommandArgs | [optional] | |
schedule | V0CommandScheduleEnum | [optional] | |
schedule_args | V0CommandScheduleArgs | [optional] | |
issued_by | str | command is issued by this user | [optional] |
created_on | datetime | Timestamp of command request | [optional] |
status | list[V0CommandRequestStatus] | Show creent status of commands issued during in this request | [optional] |