| Name | Type | Description | Notes |
|---|---|---|---|
| id | int | [optional] | |
| name | str | [optional] | |
| command_name | str | [optional] | |
| message | str | [optional] | |
| body | Command | [optional] | |
| priority | CommandPriority | [optional] | |
| status | CommandStatus | [optional] | |
| result | CommandResult | [optional] | |
| queued | datetime | [optional] | |
| started | datetime | [optional] | |
| ended | datetime | [optional] | |
| duration | str | [optional] | |
| exception | str | [optional] | |
| trigger | CommandTrigger | [optional] | |
| client_user_agent | str | [optional] | |
| state_change_time | datetime | [optional] | |
| send_updates_to_client | bool | [optional] | |
| update_scheduled_task | bool | [optional] | |
| last_execution_time | datetime | [optional] |
from sonarr.models.command_resource import CommandResource
# TODO update the JSON string below
json = "{}"
# create an instance of CommandResource from a JSON string
command_resource_instance = CommandResource.from_json(json)
# print the JSON string representation of the object
print(CommandResource.to_json())
# convert the object into a dict
command_resource_dict = command_resource_instance.to_dict()
# create an instance of CommandResource from a dict
command_resource_from_dict = CommandResource.from_dict(command_resource_dict)