From fbe649c17caedc4e2025f2edaf866afd5bf0f0a2 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Tue, 11 Aug 2026 16:15:55 +0000 Subject: [PATCH] Regenerate client from commit 0e8b356 of spec repo --- .generator/schemas/v2/openapi.yaml | 13 ++----------- src/datadog_api_client/v2/api/status_pages_api.py | 2 +- .../create_status_page_request_data_attributes.py | 8 -------- .../patch_status_page_request_data_attributes.py | 8 -------- 4 files changed, 3 insertions(+), 28 deletions(-) diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index be70422051..836b9a1441 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -25949,9 +25949,6 @@ components: description: Base64-encoded image data included in email notifications sent to status page subscribers. example: data:image/png;base64,pQSLAw0KGgoAAAANSUhEUgAAAQ4AASJKFF type: string - enabled: - description: Whether the status page is enabled. - type: boolean favicon: description: Base64-encoded image data displayed in the browser tab. example: data:image/png;base64,kWMRNw0KGgoAAAANSUhEUgAAAEAAAABACA @@ -80720,7 +80717,6 @@ components: company_logo: data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAIKMMMM domain_prefix: status-page-us1-east email_header_image: data:image/png;base64,pQSLAw0KGgoAAAANSUhEUgAAAQ4AASJKFF - enabled: false favicon: data:image/png;base64,kWMRNw0KGgoAAAANSUhEUgAAAEAAAABACA name: Status Page US1 East subscriptions_enabled: false @@ -80764,10 +80760,6 @@ components: description: The base64-encoded image data displayed in email notifications sent to status page subscribers. example: data:image/png;base64,pQSLAw0KGgoAAAANSUhEUgAAAQ4AASJKFF type: string - enabled: - description: Whether the status page is enabled. - example: true - type: boolean favicon: description: The base64-encoded image data displayed in the browser tab. example: data:image/png;base64,kWMRNw0KGgoAAAANSUhEUgAAAEAAAABACA @@ -202157,7 +202149,7 @@ paths: attributes: components: [] domain_prefix: status-page-us1 - enabled: true + enabled: false name: Status Page US1 subscriptions_enabled: true type: public @@ -202418,7 +202410,7 @@ paths: permissions: - status_pages_settings_read patch: - 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." + 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." operationId: UpdateStatusPage parameters: - description: Whether to delete existing subscribers when updating a status page's type. @@ -202451,7 +202443,6 @@ paths: company_logo: data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAIKMMMM domain_prefix: status-page-us1-east email_header_image: data:image/png;base64,pQSLAw0KGgoAAAANSUhEUgAAAQ4AASJKFF - enabled: false favicon: data:image/png;base64,kWMRNw0KGgoAAAANSUhEUgAAAEAAAABACA name: Status Page US1 East subscriptions_enabled: false diff --git a/src/datadog_api_client/v2/api/status_pages_api.py b/src/datadog_api_client/v2/api/status_pages_api.py index adf0114c13..af7fdb0b59 100644 --- a/src/datadog_api_client/v2/api/status_pages_api.py +++ b/src/datadog_api_client/v2/api/status_pages_api.py @@ -2291,7 +2291,7 @@ def update_status_page( ) -> StatusPage: """Update status page. - 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. + 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. :param page_id: The ID of the status page. :type page_id: UUID diff --git a/src/datadog_api_client/v2/model/create_status_page_request_data_attributes.py b/src/datadog_api_client/v2/model/create_status_page_request_data_attributes.py index 8234071041..4815c211e7 100644 --- a/src/datadog_api_client/v2/model/create_status_page_request_data_attributes.py +++ b/src/datadog_api_client/v2/model/create_status_page_request_data_attributes.py @@ -43,7 +43,6 @@ def openapi_types(_): "components": ([CreateStatusPageRequestDataAttributesComponentsItems],), "domain_prefix": (str,), "email_header_image": (str,), - "enabled": (bool,), "favicon": (str,), "name": (str,), "slack_app_icon": (str,), @@ -58,7 +57,6 @@ def openapi_types(_): "components": "components", "domain_prefix": "domain_prefix", "email_header_image": "email_header_image", - "enabled": "enabled", "favicon": "favicon", "name": "name", "slack_app_icon": "slack_app_icon", @@ -77,7 +75,6 @@ def __init__( company_logo: Union[str, UnsetType] = unset, components: Union[List[CreateStatusPageRequestDataAttributesComponentsItems], UnsetType] = unset, email_header_image: Union[str, UnsetType] = unset, - enabled: Union[bool, UnsetType] = unset, favicon: Union[str, UnsetType] = unset, slack_app_icon: Union[str, UnsetType] = unset, slack_subscriptions_enabled: Union[bool, UnsetType] = unset, @@ -99,9 +96,6 @@ def __init__( :param email_header_image: Base64-encoded image data included in email notifications sent to status page subscribers. :type email_header_image: str, optional - :param enabled: Whether the status page is enabled. - :type enabled: bool, optional - :param favicon: Base64-encoded image data displayed in the browser tab. :type favicon: str, optional @@ -129,8 +123,6 @@ def __init__( kwargs["components"] = components if email_header_image is not unset: kwargs["email_header_image"] = email_header_image - if enabled is not unset: - kwargs["enabled"] = enabled if favicon is not unset: kwargs["favicon"] = favicon if slack_app_icon is not unset: diff --git a/src/datadog_api_client/v2/model/patch_status_page_request_data_attributes.py b/src/datadog_api_client/v2/model/patch_status_page_request_data_attributes.py index d03b83ee97..dbd1a26e6f 100644 --- a/src/datadog_api_client/v2/model/patch_status_page_request_data_attributes.py +++ b/src/datadog_api_client/v2/model/patch_status_page_request_data_attributes.py @@ -36,7 +36,6 @@ def openapi_types(_): "company_logo": (str,), "domain_prefix": (str,), "email_header_image": (str,), - "enabled": (bool,), "favicon": (str,), "name": (str,), "slack_app_icon": (str,), @@ -50,7 +49,6 @@ def openapi_types(_): "company_logo": "company_logo", "domain_prefix": "domain_prefix", "email_header_image": "email_header_image", - "enabled": "enabled", "favicon": "favicon", "name": "name", "slack_app_icon": "slack_app_icon", @@ -65,7 +63,6 @@ def __init__( company_logo: Union[str, UnsetType] = unset, domain_prefix: Union[str, UnsetType] = unset, email_header_image: Union[str, UnsetType] = unset, - enabled: Union[bool, UnsetType] = unset, favicon: Union[str, UnsetType] = unset, name: Union[str, UnsetType] = unset, slack_app_icon: Union[str, UnsetType] = unset, @@ -87,9 +84,6 @@ def __init__( :param email_header_image: The base64-encoded image data displayed in email notifications sent to status page subscribers. :type email_header_image: str, optional - :param enabled: Whether the status page is enabled. - :type enabled: bool, optional - :param favicon: The base64-encoded image data displayed in the browser tab. :type favicon: str, optional @@ -117,8 +111,6 @@ def __init__( kwargs["domain_prefix"] = domain_prefix if email_header_image is not unset: kwargs["email_header_image"] = email_header_image - if enabled is not unset: - kwargs["enabled"] = enabled if favicon is not unset: kwargs["favicon"] = favicon if name is not unset: