thousandeyes-sdk-python/thousandeyes-sdk-admin/docs/RoleRequestBody.md
Jack Browne 92b9a0126c
CP-2126 Refactor HTTP client into shared package (#5)
* CP-2126 Refactor HTTP client into shared package

* CP-2126 Regenerate Python SDK
2024-05-23 11:57:23 +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]