Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.37 KB

PermissionResponse.md

File metadata and controls

31 lines (22 loc) · 1.37 KB

PermissionResponse

Properties

Name Type Description Notes
api_name str API endpoint. In order to get a list availbale api enpoints please refer to the GET api-permissions endpoint.
actions List[str] Action allowed for the API endpoint. Basically `CREATE` corresponds to POST endpoints, `READ` to GET endpoints, `UPDATE` to PATCH / PUT endpoints and `DELETE` to DELETE endpoints.
resources List[ResourcePermissionsResponse] [optional]

Example

from pfruck_contabo.models.permission_response import PermissionResponse

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

# convert the object into a dict
permission_response_dict = permission_response_instance.to_dict()
# create an instance of PermissionResponse from a dict
permission_response_from_dict = PermissionResponse.from_dict(permission_response_dict)

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