Skip to content

Commit b38bd26

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 0e8b356 of spec repo (#3859)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 8b0b513 commit b38bd26

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
@@ -25952,9 +25952,6 @@ components:
2595225952
description: Base64-encoded image data included in email notifications sent to status page subscribers.
2595325953
example: data:image/png;base64,pQSLAw0KGgoAAAANSUhEUgAAAQ4AASJKFF
2595425954
type: string
25955-
enabled:
25956-
description: Whether the status page is enabled.
25957-
type: boolean
2595825955
favicon:
2595925956
description: Base64-encoded image data displayed in the browser tab.
2596025957
example: data:image/png;base64,kWMRNw0KGgoAAAANSUhEUgAAAEAAAABACA
@@ -80735,7 +80732,6 @@ components:
8073580732
company_logo: data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAIKMMMM
8073680733
domain_prefix: status-page-us1-east
8073780734
email_header_image: data:image/png;base64,pQSLAw0KGgoAAAANSUhEUgAAAQ4AASJKFF
80738-
enabled: false
8073980735
favicon: data:image/png;base64,kWMRNw0KGgoAAAANSUhEUgAAAEAAAABACA
8074080736
name: Status Page US1 East
8074180737
subscriptions_enabled: false
@@ -80779,10 +80775,6 @@ components:
8077980775
description: The base64-encoded image data displayed in email notifications sent to status page subscribers.
8078080776
example: data:image/png;base64,pQSLAw0KGgoAAAANSUhEUgAAAQ4AASJKFF
8078180777
type: string
80782-
enabled:
80783-
description: Whether the status page is enabled.
80784-
example: true
80785-
type: boolean
8078680778
favicon:
8078780779
description: The base64-encoded image data displayed in the browser tab.
8078880780
example: data:image/png;base64,kWMRNw0KGgoAAAANSUhEUgAAAEAAAABACA
@@ -202172,7 +202164,7 @@ paths:
202172202164
attributes:
202173202165
components: []
202174202166
domain_prefix: status-page-us1
202175-
enabled: true
202167+
enabled: false
202176202168
name: Status Page US1
202177202169
subscriptions_enabled: true
202178202170
type: public
@@ -202433,7 +202425,7 @@ paths:
202433202425
permissions:
202434202426
- status_pages_settings_read
202435202427
patch:
202436-
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."
202428+
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."
202437202429
operationId: UpdateStatusPage
202438202430
parameters:
202439202431
- description: Whether to delete existing subscribers when updating a status page's type.
@@ -202466,7 +202458,6 @@ paths:
202466202458
company_logo: data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAIKMMMM
202467202459
domain_prefix: status-page-us1-east
202468202460
email_header_image: data:image/png;base64,pQSLAw0KGgoAAAANSUhEUgAAAQ4AASJKFF
202469-
enabled: false
202470202461
favicon: data:image/png;base64,kWMRNw0KGgoAAAANSUhEUgAAAEAAAABACA
202471202462
name: Status Page US1 East
202472202463
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)