incident_io_client.api.incident_roles_v1.incident_roles_v1_list
asyncio
async
asyncio(
*, client: Union[AuthenticatedClient, Client]
) -> Optional[IncidentRolesV1ListResponseBody]
List Incident Roles V1
List all incident roles for an organisation.
Raises:
Type | Description |
---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
Type | Description |
---|---|
Optional[IncidentRolesV1ListResponseBody]
|
IncidentRolesV1ListResponseBody |
Source code in incident_io_client/api/incident_roles_v1/incident_roles_v1_list.py
asyncio_detailed
async
asyncio_detailed(
*, client: Union[AuthenticatedClient, Client]
) -> Response[IncidentRolesV1ListResponseBody]
List Incident Roles V1
List all incident roles for an organisation.
Raises:
Type | Description |
---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
Type | Description |
---|---|
Response[IncidentRolesV1ListResponseBody]
|
Response[IncidentRolesV1ListResponseBody] |
Source code in incident_io_client/api/incident_roles_v1/incident_roles_v1_list.py
sync
List Incident Roles V1
List all incident roles for an organisation.
Raises:
Type | Description |
---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
Type | Description |
---|---|
Optional[IncidentRolesV1ListResponseBody]
|
IncidentRolesV1ListResponseBody |
Source code in incident_io_client/api/incident_roles_v1/incident_roles_v1_list.py
sync_detailed
sync_detailed(
*, client: Union[AuthenticatedClient, Client]
) -> Response[IncidentRolesV1ListResponseBody]
List Incident Roles V1
List all incident roles for an organisation.
Raises:
Type | Description |
---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
Type | Description |
---|---|
Response[IncidentRolesV1ListResponseBody]
|
Response[IncidentRolesV1ListResponseBody] |