incident_io_client.api.incident_roles_v2.incident_roles_v2_list
asyncio
async
asyncio(
*, client: Union[AuthenticatedClient, Client]
) -> Optional[IncidentRolesV2ListResponseBody]
List Incident Roles V2
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[IncidentRolesV2ListResponseBody]
|
IncidentRolesV2ListResponseBody |
Source code in incident_io_client/api/incident_roles_v2/incident_roles_v2_list.py
asyncio_detailed
async
asyncio_detailed(
*, client: Union[AuthenticatedClient, Client]
) -> Response[IncidentRolesV2ListResponseBody]
List Incident Roles V2
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[IncidentRolesV2ListResponseBody]
|
Response[IncidentRolesV2ListResponseBody] |
Source code in incident_io_client/api/incident_roles_v2/incident_roles_v2_list.py
sync
List Incident Roles V2
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[IncidentRolesV2ListResponseBody]
|
IncidentRolesV2ListResponseBody |
Source code in incident_io_client/api/incident_roles_v2/incident_roles_v2_list.py
sync_detailed
sync_detailed(
*, client: Union[AuthenticatedClient, Client]
) -> Response[IncidentRolesV2ListResponseBody]
List Incident Roles V2
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[IncidentRolesV2ListResponseBody]
|
Response[IncidentRolesV2ListResponseBody] |