incident_io_client.api.incident_types_v1.incident_types_v1_list
asyncio
async
asyncio(
*, client: Union[AuthenticatedClient, Client]
) -> Optional[IncidentTypesV1ListResponseBody]
List Incident Types V1
List all incident types 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[IncidentTypesV1ListResponseBody]
|
IncidentTypesV1ListResponseBody |
Source code in incident_io_client/api/incident_types_v1/incident_types_v1_list.py
asyncio_detailed
async
asyncio_detailed(
*, client: Union[AuthenticatedClient, Client]
) -> Response[IncidentTypesV1ListResponseBody]
List Incident Types V1
List all incident types 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[IncidentTypesV1ListResponseBody]
|
Response[IncidentTypesV1ListResponseBody] |
Source code in incident_io_client/api/incident_types_v1/incident_types_v1_list.py
sync
List Incident Types V1
List all incident types 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[IncidentTypesV1ListResponseBody]
|
IncidentTypesV1ListResponseBody |
Source code in incident_io_client/api/incident_types_v1/incident_types_v1_list.py
sync_detailed
sync_detailed(
*, client: Union[AuthenticatedClient, Client]
) -> Response[IncidentTypesV1ListResponseBody]
List Incident Types V1
List all incident types 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[IncidentTypesV1ListResponseBody]
|
Response[IncidentTypesV1ListResponseBody] |