Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114455,6 +114455,11 @@ paths:
schema:
default: 50
type: integer
- description: Filter status pages by exact domain prefix match. Returns at most one result.
in: query
name: filter[domain_prefix]
schema:
type: string
- description: "Comma-separated list of resources to include. Supported values: created_by_user, last_modified_by_user."
in: query
name: include
Expand Down
11 changes: 11 additions & 0 deletions src/datadog_api_client/v2/api/status_pages_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -521,6 +521,11 @@ def __init__(self, api_client=None):
"attribute": "page[limit]",
"location": "query",
},
"filter_domain_prefix": {
"openapi_types": (str,),
"attribute": "filter[domain_prefix]",
"location": "query",
},
"include": {
"openapi_types": (str,),
"attribute": "include",
Expand Down Expand Up @@ -1154,6 +1159,7 @@ def list_status_pages(
*,
page_offset: Union[int, UnsetType] = unset,
page_limit: Union[int, UnsetType] = unset,
filter_domain_prefix: Union[str, UnsetType] = unset,
include: Union[str, UnsetType] = unset,
) -> StatusPageArray:
"""List status pages.
Expand All @@ -1164,6 +1170,8 @@ def list_status_pages(
:type page_offset: int, optional
:param page_limit: The number of status pages to return per page.
:type page_limit: int, optional
:param filter_domain_prefix: Filter status pages by exact domain prefix match. Returns at most one result.
:type filter_domain_prefix: str, optional
:param include: Comma-separated list of resources to include. Supported values: created_by_user, last_modified_by_user.
:type include: str, optional
:rtype: StatusPageArray
Expand All @@ -1175,6 +1183,9 @@ def list_status_pages(
if page_limit is not unset:
kwargs["page_limit"] = page_limit

if filter_domain_prefix is not unset:
kwargs["filter_domain_prefix"] = filter_domain_prefix

if include is not unset:
kwargs["include"] = include

Expand Down
Loading