Skip to content

Synthetics mobile test message field is now required #2657

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
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
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2025-06-26 17:56:18.417997",
"spec_repo_commit": "76086f13"
"regenerated": "2025-06-30 10:29:34.075550",
"spec_repo_commit": "be63084a"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2025-06-26 17:56:18.433709",
"spec_repo_commit": "76086f13"
"regenerated": "2025-06-30 10:29:34.091510",
"spec_repo_commit": "be63084a"
}
}
}
1 change: 1 addition & 0 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16173,6 +16173,7 @@ components:
- name
- options
- type
- message
type: object
SyntheticsMobileTestConfig:
description: Configuration object for a Synthetic mobile test.
Expand Down
7 changes: 3 additions & 4 deletions src/datadog_api_client/v1/model/synthetics_mobile_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@ def openapi_types(_):
def __init__(
self_,
config: SyntheticsMobileTestConfig,
message: str,
name: str,
options: SyntheticsMobileTestOptions,
type: SyntheticsMobileTestType,
device_ids: Union[List[str], UnsetType] = unset,
message: Union[str, UnsetType] = unset,
monitor_id: Union[int, UnsetType] = unset,
public_id: Union[str, UnsetType] = unset,
status: Union[SyntheticsTestPauseStatus, UnsetType] = unset,
Expand All @@ -87,7 +87,7 @@ def __init__(
:type device_ids: [str], optional

:param message: Notification message associated with the test.
:type message: str, optional
:type message: str

:param monitor_id: The associated monitor ID.
:type monitor_id: int, optional
Expand Down Expand Up @@ -116,8 +116,6 @@ def __init__(
"""
if device_ids is not unset:
kwargs["device_ids"] = device_ids
if message is not unset:
kwargs["message"] = message
if monitor_id is not unset:
kwargs["monitor_id"] = monitor_id
if public_id is not unset:
Expand All @@ -131,6 +129,7 @@ def __init__(
super().__init__(kwargs)

self_.config = config
self_.message = message
self_.name = name
self_.options = options
self_.type = type