Skip to content

Commit c458d64

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit b878fc2 of spec repo
1 parent 9a09c58 commit c458d64

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114455,6 +114455,11 @@ paths:
114455114455
schema:
114456114456
default: 50
114457114457
type: integer
114458+
- description: Filter status pages by exact domain prefix match. Returns at most one result.
114459+
in: query
114460+
name: filter[domain_prefix]
114461+
schema:
114462+
type: string
114458114463
- description: "Comma-separated list of resources to include. Supported values: created_by_user, last_modified_by_user."
114459114464
in: query
114460114465
name: include

src/datadog_api_client/v2/api/status_pages_api.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -521,6 +521,11 @@ def __init__(self, api_client=None):
521521
"attribute": "page[limit]",
522522
"location": "query",
523523
},
524+
"filter_domain_prefix": {
525+
"openapi_types": (str,),
526+
"attribute": "filter[domain_prefix]",
527+
"location": "query",
528+
},
524529
"include": {
525530
"openapi_types": (str,),
526531
"attribute": "include",
@@ -1154,6 +1159,7 @@ def list_status_pages(
11541159
*,
11551160
page_offset: Union[int, UnsetType] = unset,
11561161
page_limit: Union[int, UnsetType] = unset,
1162+
filter_domain_prefix: Union[str, UnsetType] = unset,
11571163
include: Union[str, UnsetType] = unset,
11581164
) -> StatusPageArray:
11591165
"""List status pages.
@@ -1164,6 +1170,8 @@ def list_status_pages(
11641170
:type page_offset: int, optional
11651171
:param page_limit: The number of status pages to return per page.
11661172
:type page_limit: int, optional
1173+
:param filter_domain_prefix: Filter status pages by exact domain prefix match. Returns at most one result.
1174+
:type filter_domain_prefix: str, optional
11671175
:param include: Comma-separated list of resources to include. Supported values: created_by_user, last_modified_by_user.
11681176
:type include: str, optional
11691177
:rtype: StatusPageArray
@@ -1175,6 +1183,9 @@ def list_status_pages(
11751183
if page_limit is not unset:
11761184
kwargs["page_limit"] = page_limit
11771185

1186+
if filter_domain_prefix is not unset:
1187+
kwargs["filter_domain_prefix"] = filter_domain_prefix
1188+
11781189
if include is not unset:
11791190
kwargs["include"] = include
11801191

0 commit comments

Comments
 (0)