incident_io_client.api.custom_fields_v2.custom_fields_v2_list
asyncio
async
asyncio(
*, client: Union[AuthenticatedClient, Client]
) -> Optional[CustomFieldsV2ListResponseBody]
List Custom Fields V2
List all custom fields 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[CustomFieldsV2ListResponseBody]
|
CustomFieldsV2ListResponseBody |
Source code in incident_io_client/api/custom_fields_v2/custom_fields_v2_list.py
asyncio_detailed
async
asyncio_detailed(
*, client: Union[AuthenticatedClient, Client]
) -> Response[CustomFieldsV2ListResponseBody]
List Custom Fields V2
List all custom fields 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[CustomFieldsV2ListResponseBody]
|
Response[CustomFieldsV2ListResponseBody] |
Source code in incident_io_client/api/custom_fields_v2/custom_fields_v2_list.py
sync
List Custom Fields V2
List all custom fields 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[CustomFieldsV2ListResponseBody]
|
CustomFieldsV2ListResponseBody |
Source code in incident_io_client/api/custom_fields_v2/custom_fields_v2_list.py
sync_detailed
sync_detailed(
*, client: Union[AuthenticatedClient, Client]
) -> Response[CustomFieldsV2ListResponseBody]
List Custom Fields V2
List all custom fields 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[CustomFieldsV2ListResponseBody]
|
Response[CustomFieldsV2ListResponseBody] |