Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.45 KB

DeviceAutoShutdownSchema.md

File metadata and controls

30 lines (21 loc) · 1.45 KB

DeviceAutoShutdownSchema

Properties

Name Type Description Notes
enabled bool Whether devices in this domain are turned off automatically after running for `threshold` hours. Turning a device back on restarts its timer. [optional]
threshold float Hours a device may run, counted from when it was last started, before it is turned off automatically. This is running time, not idle time: a device in active use is still stopped when the time is up. Whole number greater than 0. Defaults to 10 when not set. [optional]

Example

from corellium.models.device_auto_shutdown_schema import DeviceAutoShutdownSchema

# TODO update the JSON string below
json = "{}"
# create an instance of DeviceAutoShutdownSchema from a JSON string
device_auto_shutdown_schema_instance = DeviceAutoShutdownSchema.from_json(json)
# print the JSON string representation of the object
print(DeviceAutoShutdownSchema.to_json())

# convert the object into a dict
device_auto_shutdown_schema_dict = device_auto_shutdown_schema_instance.to_dict()
# create an instance of DeviceAutoShutdownSchema from a dict
device_auto_shutdown_schema_from_dict = DeviceAutoShutdownSchema.from_dict(device_auto_shutdown_schema_dict)

[Back to Model list] [Back to API list] [Back to README]