incident_io_client.api.incident_statuses_v1.incident_statuses_v1_list
asyncio
async
asyncio(
*, client: Union[AuthenticatedClient, Client]
) -> Optional[IncidentStatusesV1ListResponseBody]
List Incident Statuses V1
List all incident statuses 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[IncidentStatusesV1ListResponseBody]
|
IncidentStatusesV1ListResponseBody |
Source code in incident_io_client/api/incident_statuses_v1/incident_statuses_v1_list.py
asyncio_detailed
async
asyncio_detailed(
*, client: Union[AuthenticatedClient, Client]
) -> Response[IncidentStatusesV1ListResponseBody]
List Incident Statuses V1
List all incident statuses 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[IncidentStatusesV1ListResponseBody]
|
Response[IncidentStatusesV1ListResponseBody] |
Source code in incident_io_client/api/incident_statuses_v1/incident_statuses_v1_list.py
sync
sync(
*, client: Union[AuthenticatedClient, Client]
) -> Optional[IncidentStatusesV1ListResponseBody]
List Incident Statuses V1
List all incident statuses 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[IncidentStatusesV1ListResponseBody]
|
IncidentStatusesV1ListResponseBody |
Source code in incident_io_client/api/incident_statuses_v1/incident_statuses_v1_list.py
sync_detailed
sync_detailed(
*, client: Union[AuthenticatedClient, Client]
) -> Response[IncidentStatusesV1ListResponseBody]
List Incident Statuses V1
List all incident statuses 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[IncidentStatusesV1ListResponseBody]
|
Response[IncidentStatusesV1ListResponseBody] |