thousandeyes-sdk-python/admin/docs/RoleRequestBody.md
2024-05-17 16:18:40 +01:00

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.admin.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)

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