mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-06 16:05:30 +00:00
1.1 KiB
1.1 KiB
RoleRequestBody
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| name | str | Name of the role. | [optional] |
| permissions | List[str] | Contains list of test permission IDs (get `permissionId` from `/permissions` endpoint) | [optional] |
Example
from thousandeyes_sdk.administrative.models.role_request_body import RoleRequestBody
# TODO update the JSON string below
json = "{}"
# create an instance of RoleRequestBody from a JSON string
role_request_body_instance = RoleRequestBody.from_json(json)
# print the JSON string representation of the object
print(RoleRequestBody.to_json())
# convert the object into a dict
role_request_body_dict = role_request_body_instance.to_dict()
# create an instance of RoleRequestBody from a dict
role_request_body_from_dict = RoleRequestBody.from_dict(role_request_body_dict)