Skip to content

Commit fbe649c

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 0e8b356 of spec repo
1 parent c10f83e commit fbe649c

4 files changed

Lines changed: 3 additions & 28 deletions

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25949,9 +25949,6 @@ components:
2594925949
description: Base64-encoded image data included in email notifications sent to status page subscribers.
2595025950
example: data:image/png;base64,pQSLAw0KGgoAAAANSUhEUgAAAQ4AASJKFF
2595125951
type: string
25952-
enabled:
25953-
description: Whether the status page is enabled.
25954-
type: boolean
2595525952
favicon:
2595625953
description: Base64-encoded image data displayed in the browser tab.
2595725954
example: data:image/png;base64,kWMRNw0KGgoAAAANSUhEUgAAAEAAAABACA
@@ -80720,7 +80717,6 @@ components:
8072080717
company_logo: data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAIKMMMM
8072180718
domain_prefix: status-page-us1-east
8072280719
email_header_image: data:image/png;base64,pQSLAw0KGgoAAAANSUhEUgAAAQ4AASJKFF
80723-
enabled: false
8072480720
favicon: data:image/png;base64,kWMRNw0KGgoAAAANSUhEUgAAAEAAAABACA
8072580721
name: Status Page US1 East
8072680722
subscriptions_enabled: false
@@ -80764,10 +80760,6 @@ components:
8076480760
description: The base64-encoded image data displayed in email notifications sent to status page subscribers.
8076580761
example: data:image/png;base64,pQSLAw0KGgoAAAANSUhEUgAAAQ4AASJKFF
8076680762
type: string
80767-
enabled:
80768-
description: Whether the status page is enabled.
80769-
example: true
80770-
type: boolean
8077180763
favicon:
8077280764
description: The base64-encoded image data displayed in the browser tab.
8077380765
example: data:image/png;base64,kWMRNw0KGgoAAAANSUhEUgAAAEAAAABACA
@@ -202157,7 +202149,7 @@ paths:
202157202149
attributes:
202158202150
components: []
202159202151
domain_prefix: status-page-us1
202160-
enabled: true
202152+
enabled: false
202161202153
name: Status Page US1
202162202154
subscriptions_enabled: true
202163202155
type: public
@@ -202418,7 +202410,7 @@ paths:
202418202410
permissions:
202419202411
- status_pages_settings_read
202420202412
patch:
202421-
description: "Updates an existing status page's attributes. **Note**: Publishing and unpublishing via the `enabled` property will be deprecated on this endpoint. Use the dedicated [publish](#publish-status-page) and [unpublish](#unpublish-status-page) status page endpoints instead."
202413+
description: "Updates an existing status page's attributes. To publish and unpublish status pages, use the dedicated [publish](#publish-status-page) and [unpublish](#unpublish-status-page) status page endpoints."
202422202414
operationId: UpdateStatusPage
202423202415
parameters:
202424202416
- description: Whether to delete existing subscribers when updating a status page's type.
@@ -202451,7 +202443,6 @@ paths:
202451202443
company_logo: data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAIKMMMM
202452202444
domain_prefix: status-page-us1-east
202453202445
email_header_image: data:image/png;base64,pQSLAw0KGgoAAAANSUhEUgAAAQ4AASJKFF
202454-
enabled: false
202455202446
favicon: data:image/png;base64,kWMRNw0KGgoAAAANSUhEUgAAAEAAAABACA
202456202447
name: Status Page US1 East
202457202448
subscriptions_enabled: false

src/datadog_api_client/v2/api/status_pages_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2291,7 +2291,7 @@ def update_status_page(
22912291
) -> StatusPage:
22922292
"""Update status page.
22932293
2294-
Updates an existing status page's attributes. **Note** : Publishing and unpublishing via the ``enabled`` property will be deprecated on this endpoint. Use the dedicated `publish <#publish-status-page>`_ and `unpublish <#unpublish-status-page>`_ status page endpoints instead.
2294+
Updates an existing status page's attributes. To publish and unpublish status pages, use the dedicated `publish <#publish-status-page>`_ and `unpublish <#unpublish-status-page>`_ status page endpoints.
22952295
22962296
:param page_id: The ID of the status page.
22972297
:type page_id: UUID

src/datadog_api_client/v2/model/create_status_page_request_data_attributes.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ def openapi_types(_):
4343
"components": ([CreateStatusPageRequestDataAttributesComponentsItems],),
4444
"domain_prefix": (str,),
4545
"email_header_image": (str,),
46-
"enabled": (bool,),
4746
"favicon": (str,),
4847
"name": (str,),
4948
"slack_app_icon": (str,),
@@ -58,7 +57,6 @@ def openapi_types(_):
5857
"components": "components",
5958
"domain_prefix": "domain_prefix",
6059
"email_header_image": "email_header_image",
61-
"enabled": "enabled",
6260
"favicon": "favicon",
6361
"name": "name",
6462
"slack_app_icon": "slack_app_icon",
@@ -77,7 +75,6 @@ def __init__(
7775
company_logo: Union[str, UnsetType] = unset,
7876
components: Union[List[CreateStatusPageRequestDataAttributesComponentsItems], UnsetType] = unset,
7977
email_header_image: Union[str, UnsetType] = unset,
80-
enabled: Union[bool, UnsetType] = unset,
8178
favicon: Union[str, UnsetType] = unset,
8279
slack_app_icon: Union[str, UnsetType] = unset,
8380
slack_subscriptions_enabled: Union[bool, UnsetType] = unset,
@@ -99,9 +96,6 @@ def __init__(
9996
:param email_header_image: Base64-encoded image data included in email notifications sent to status page subscribers.
10097
:type email_header_image: str, optional
10198
102-
:param enabled: Whether the status page is enabled.
103-
:type enabled: bool, optional
104-
10599
:param favicon: Base64-encoded image data displayed in the browser tab.
106100
:type favicon: str, optional
107101
@@ -129,8 +123,6 @@ def __init__(
129123
kwargs["components"] = components
130124
if email_header_image is not unset:
131125
kwargs["email_header_image"] = email_header_image
132-
if enabled is not unset:
133-
kwargs["enabled"] = enabled
134126
if favicon is not unset:
135127
kwargs["favicon"] = favicon
136128
if slack_app_icon is not unset:

src/datadog_api_client/v2/model/patch_status_page_request_data_attributes.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ def openapi_types(_):
3636
"company_logo": (str,),
3737
"domain_prefix": (str,),
3838
"email_header_image": (str,),
39-
"enabled": (bool,),
4039
"favicon": (str,),
4140
"name": (str,),
4241
"slack_app_icon": (str,),
@@ -50,7 +49,6 @@ def openapi_types(_):
5049
"company_logo": "company_logo",
5150
"domain_prefix": "domain_prefix",
5251
"email_header_image": "email_header_image",
53-
"enabled": "enabled",
5452
"favicon": "favicon",
5553
"name": "name",
5654
"slack_app_icon": "slack_app_icon",
@@ -65,7 +63,6 @@ def __init__(
6563
company_logo: Union[str, UnsetType] = unset,
6664
domain_prefix: Union[str, UnsetType] = unset,
6765
email_header_image: Union[str, UnsetType] = unset,
68-
enabled: Union[bool, UnsetType] = unset,
6966
favicon: Union[str, UnsetType] = unset,
7067
name: Union[str, UnsetType] = unset,
7168
slack_app_icon: Union[str, UnsetType] = unset,
@@ -87,9 +84,6 @@ def __init__(
8784
:param email_header_image: The base64-encoded image data displayed in email notifications sent to status page subscribers.
8885
:type email_header_image: str, optional
8986
90-
:param enabled: Whether the status page is enabled.
91-
:type enabled: bool, optional
92-
9387
:param favicon: The base64-encoded image data displayed in the browser tab.
9488
:type favicon: str, optional
9589
@@ -117,8 +111,6 @@ def __init__(
117111
kwargs["domain_prefix"] = domain_prefix
118112
if email_header_image is not unset:
119113
kwargs["email_header_image"] = email_header_image
120-
if enabled is not unset:
121-
kwargs["enabled"] = enabled
122114
if favicon is not unset:
123115
kwargs["favicon"] = favicon
124116
if name is not unset:

0 commit comments

Comments
 (0)