thousandeyes-sdk-python/thousandeyes-sdk-emulation/docs/EmulatedDevice.md
Shahid Hussain Khan 9c9b350344
Some checks failed
Python CI / build (push) Has been cancelled
[GitHub Bot] Generated python SDK (#40)
* [GitHub Bot] Generated python SDK

* Deleted labels (that's deprecated in v7, being replaced by tags) & Updated some additional files

---------

Co-authored-by: API Team <api-team@thousandeyes.com>
Co-authored-by: Miguel Pragosa <mpragosa@thousandeyes.com>
2024-08-08 09:31:01 +01:00

1.1 KiB

EmulatedDevice

Properties

Name Type Description Notes
category EmulatedDeviceCategory
width int The width of the display of the emulated device.
height int The height of the display of the emulated device.

Example

from thousandeyes_sdk.emulation.models.emulated_device import EmulatedDevice

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

# convert the object into a dict
emulated_device_dict = emulated_device_instance.to_dict()
# create an instance of EmulatedDevice from a dict
emulated_device_from_dict = EmulatedDevice.from_dict(emulated_device_dict)

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