incident_io_client.api.schedules_v2.schedules_v2_list
asyncio
async
asyncio(
*,
client: Union[AuthenticatedClient, Client],
page_size: Union[Unset, int] = 25,
after: Union[Unset, str] = UNSET
) -> Optional[SchedulesV2ListResponseBody]
List Schedules V2
List configured schedules.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
page_size |
Union[Unset, int]
|
Default: 25. |
25
|
after |
Union[Unset, str]
|
|
UNSET
|
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[SchedulesV2ListResponseBody]
|
SchedulesV2ListResponseBody |
Source code in incident_io_client/api/schedules_v2/schedules_v2_list.py
asyncio_detailed
async
asyncio_detailed(
*,
client: Union[AuthenticatedClient, Client],
page_size: Union[Unset, int] = 25,
after: Union[Unset, str] = UNSET
) -> Response[SchedulesV2ListResponseBody]
List Schedules V2
List configured schedules.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
page_size |
Union[Unset, int]
|
Default: 25. |
25
|
after |
Union[Unset, str]
|
|
UNSET
|
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[SchedulesV2ListResponseBody]
|
Response[SchedulesV2ListResponseBody] |
Source code in incident_io_client/api/schedules_v2/schedules_v2_list.py
sync
sync(
*,
client: Union[AuthenticatedClient, Client],
page_size: Union[Unset, int] = 25,
after: Union[Unset, str] = UNSET
) -> Optional[SchedulesV2ListResponseBody]
List Schedules V2
List configured schedules.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
page_size |
Union[Unset, int]
|
Default: 25. |
25
|
after |
Union[Unset, str]
|
|
UNSET
|
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[SchedulesV2ListResponseBody]
|
SchedulesV2ListResponseBody |
Source code in incident_io_client/api/schedules_v2/schedules_v2_list.py
sync_detailed
sync_detailed(
*,
client: Union[AuthenticatedClient, Client],
page_size: Union[Unset, int] = 25,
after: Union[Unset, str] = UNSET
) -> Response[SchedulesV2ListResponseBody]
List Schedules V2
List configured schedules.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
page_size |
Union[Unset, int]
|
Default: 25. |
25
|
after |
Union[Unset, str]
|
|
UNSET
|
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[SchedulesV2ListResponseBody]
|
Response[SchedulesV2ListResponseBody] |