mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-06 06:26:51 +00:00
Some checks failed
Python CI / build (push) Has been cancelled
* [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>
1.6 KiB
1.6 KiB
EmulatedDeviceResponse
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. | |
| name | str | The device name | [optional] |
| code_name | str | A code corresponding to the device name. | [optional] |
| id | str | ID of the emulated device. | [optional] |
| available_user_agents | List[str] | A list of user-agent strings for this emulated device. | [optional] |
| default_user_agent_template | str | The default user-agent template to use for this device. | [optional] |
Example
from thousandeyes_sdk.emulation.models.emulated_device_response import EmulatedDeviceResponse
# TODO update the JSON string below
json = "{}"
# create an instance of EmulatedDeviceResponse from a JSON string
emulated_device_response_instance = EmulatedDeviceResponse.from_json(json)
# print the JSON string representation of the object
print(EmulatedDeviceResponse.to_json())
# convert the object into a dict
emulated_device_response_dict = emulated_device_response_instance.to_dict()
# create an instance of EmulatedDeviceResponse from a dict
emulated_device_response_from_dict = EmulatedDeviceResponse.from_dict(emulated_device_response_dict)