diff --git a/thousandeyes-sdk-administrative/README.md b/thousandeyes-sdk-administrative/README.md index 6d1c655d..6cb78243 100644 --- a/thousandeyes-sdk-administrative/README.md +++ b/thousandeyes-sdk-administrative/README.md @@ -12,7 +12,7 @@ This API provides the following operations to manage your organization: This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: 7.0.28 +- API version: 7.0.29 - Generator version: 7.6.0 - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator diff --git a/thousandeyes-sdk-agents/README.md b/thousandeyes-sdk-agents/README.md index e2533c5d..53af93ba 100644 --- a/thousandeyes-sdk-agents/README.md +++ b/thousandeyes-sdk-agents/README.md @@ -5,7 +5,7 @@ Manage all agents available to your account in ThousandEyes, including both Clou This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: 7.0.28 +- API version: 7.0.29 - Generator version: 7.6.0 - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator diff --git a/thousandeyes-sdk-alerts/.openapi-generator/FILES b/thousandeyes-sdk-alerts/.openapi-generator/FILES index 4da15d5f..26b52a53 100644 --- a/thousandeyes-sdk-alerts/.openapi-generator/FILES +++ b/thousandeyes-sdk-alerts/.openapi-generator/FILES @@ -4,6 +4,7 @@ README.md docs/Alert.md docs/AlertDetail.md docs/AlertDirection.md +docs/AlertGroupType.md docs/AlertLinks.md docs/AlertMeta.md docs/AlertMetricDetail.md @@ -69,6 +70,7 @@ src/thousandeyes_sdk/alerts/models/__init__.py src/thousandeyes_sdk/alerts/models/alert.py src/thousandeyes_sdk/alerts/models/alert_detail.py src/thousandeyes_sdk/alerts/models/alert_direction.py +src/thousandeyes_sdk/alerts/models/alert_group_type.py src/thousandeyes_sdk/alerts/models/alert_links.py src/thousandeyes_sdk/alerts/models/alert_meta.py src/thousandeyes_sdk/alerts/models/alert_metric_detail.py diff --git a/thousandeyes-sdk-alerts/README.md b/thousandeyes-sdk-alerts/README.md index cf9f8cfe..4ca0950b 100644 --- a/thousandeyes-sdk-alerts/README.md +++ b/thousandeyes-sdk-alerts/README.md @@ -12,7 +12,7 @@ For more information about the alerts, see [Alerts](https://docs.thousandeyes.co This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: 7.0.28 +- API version: 7.0.29 - Generator version: 7.6.0 - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator @@ -123,6 +123,7 @@ Class | Method | HTTP request | Description - [Alert](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-alerts/docs/Alert.md) - [AlertDetail](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-alerts/docs/AlertDetail.md) - [AlertDirection](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-alerts/docs/AlertDirection.md) + - [AlertGroupType](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-alerts/docs/AlertGroupType.md) - [AlertLinks](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-alerts/docs/AlertLinks.md) - [AlertMeta](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-alerts/docs/AlertMeta.md) - [AlertMetricDetail](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-alerts/docs/AlertMetricDetail.md) diff --git a/thousandeyes-sdk-alerts/docs/AlertGroupType.md b/thousandeyes-sdk-alerts/docs/AlertGroupType.md new file mode 100644 index 00000000..c6bfccf1 --- /dev/null +++ b/thousandeyes-sdk-alerts/docs/AlertGroupType.md @@ -0,0 +1,12 @@ +# AlertGroupType + +Category of alert type based on the application or network layer and source of the test. + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/thousandeyes-sdk-alerts/docs/BaseRule.md b/thousandeyes-sdk-alerts/docs/BaseRule.md index 2b950285..42604dab 100644 --- a/thousandeyes-sdk-alerts/docs/BaseRule.md +++ b/thousandeyes-sdk-alerts/docs/BaseRule.md @@ -12,6 +12,7 @@ Name | Type | Description | Notes **notify_on_clear** | **bool** | Send notification when alert clears. | [optional] **is_default** | **bool** | If set to `true`, this alert rule becomes the default for its test type and is automatically applied to newly created tests with relevant metrics. Only one default alert rule is allowed per test type. | [optional] **alert_type** | [**AlertType**](AlertType.md) | | +**alert_group_type** | [**AlertGroupType**](AlertGroupType.md) | | [optional] **minimum_sources** | **int** | The minimum number of agents or monitors that must meet the specified criteria to trigger the alert. | [optional] **minimum_sources_pct** | **int** | The minimum percentage of all assigned agents or monitors that must meet the specified criteria to trigger the alert. | [optional] **rounds_violating_mode** | [**AlertRoundsViolationMode**](AlertRoundsViolationMode.md) | | [optional] diff --git a/thousandeyes-sdk-alerts/docs/Rule.md b/thousandeyes-sdk-alerts/docs/Rule.md index 1a104404..d3b8396a 100644 --- a/thousandeyes-sdk-alerts/docs/Rule.md +++ b/thousandeyes-sdk-alerts/docs/Rule.md @@ -12,6 +12,7 @@ Name | Type | Description | Notes **notify_on_clear** | **bool** | Send notification when alert clears. | [optional] **is_default** | **bool** | If set to `true`, this alert rule becomes the default for its test type and is automatically applied to newly created tests with relevant metrics. Only one default alert rule is allowed per test type. | [optional] **alert_type** | [**AlertType**](AlertType.md) | | +**alert_group_type** | [**AlertGroupType**](AlertGroupType.md) | | [optional] **minimum_sources** | **int** | The minimum number of agents or monitors that must meet the specified criteria to trigger the alert. | [optional] **minimum_sources_pct** | **int** | The minimum percentage of all assigned agents or monitors that must meet the specified criteria to trigger the alert. | [optional] **rounds_violating_mode** | [**AlertRoundsViolationMode**](AlertRoundsViolationMode.md) | | [optional] diff --git a/thousandeyes-sdk-alerts/docs/RuleDetail.md b/thousandeyes-sdk-alerts/docs/RuleDetail.md index 8c878a53..ec4a0eba 100644 --- a/thousandeyes-sdk-alerts/docs/RuleDetail.md +++ b/thousandeyes-sdk-alerts/docs/RuleDetail.md @@ -12,6 +12,7 @@ Name | Type | Description | Notes **notify_on_clear** | **bool** | Send notification when alert clears. | [optional] **is_default** | **bool** | If set to `true`, this alert rule becomes the default for its test type and is automatically applied to newly created tests with relevant metrics. Only one default alert rule is allowed per test type. | [optional] **alert_type** | [**AlertType**](AlertType.md) | | +**alert_group_type** | [**AlertGroupType**](AlertGroupType.md) | | [optional] **minimum_sources** | **int** | The minimum number of agents or monitors that must meet the specified criteria to trigger the alert. | [optional] **minimum_sources_pct** | **int** | The minimum percentage of all assigned agents or monitors that must meet the specified criteria to trigger the alert. | [optional] **rounds_violating_mode** | [**AlertRoundsViolationMode**](AlertRoundsViolationMode.md) | | [optional] diff --git a/thousandeyes-sdk-alerts/docs/RuleDetailUpdate.md b/thousandeyes-sdk-alerts/docs/RuleDetailUpdate.md index 05f35308..4ef2bf97 100644 --- a/thousandeyes-sdk-alerts/docs/RuleDetailUpdate.md +++ b/thousandeyes-sdk-alerts/docs/RuleDetailUpdate.md @@ -12,6 +12,7 @@ Name | Type | Description | Notes **notify_on_clear** | **bool** | Send notification when alert clears. | [optional] **is_default** | **bool** | If set to `true`, this alert rule becomes the default for its test type and is automatically applied to newly created tests with relevant metrics. Only one default alert rule is allowed per test type. | [optional] **alert_type** | [**AlertType**](AlertType.md) | | +**alert_group_type** | [**AlertGroupType**](AlertGroupType.md) | | [optional] **minimum_sources** | **int** | The minimum number of agents or monitors that must meet the specified criteria to trigger the alert. | [optional] **minimum_sources_pct** | **int** | The minimum percentage of all assigned agents or monitors that must meet the specified criteria to trigger the alert. | [optional] **rounds_violating_mode** | [**AlertRoundsViolationMode**](AlertRoundsViolationMode.md) | | [optional] diff --git a/thousandeyes-sdk-alerts/src/thousandeyes_sdk/alerts/__init__.py b/thousandeyes-sdk-alerts/src/thousandeyes_sdk/alerts/__init__.py index 5d58b312..9f4eba57 100644 --- a/thousandeyes-sdk-alerts/src/thousandeyes_sdk/alerts/__init__.py +++ b/thousandeyes-sdk-alerts/src/thousandeyes_sdk/alerts/__init__.py @@ -23,6 +23,7 @@ from thousandeyes_sdk.alerts.api.alerts_api import AlertsApi from thousandeyes_sdk.alerts.models.alert import Alert from thousandeyes_sdk.alerts.models.alert_detail import AlertDetail from thousandeyes_sdk.alerts.models.alert_direction import AlertDirection +from thousandeyes_sdk.alerts.models.alert_group_type import AlertGroupType from thousandeyes_sdk.alerts.models.alert_links import AlertLinks from thousandeyes_sdk.alerts.models.alert_meta import AlertMeta from thousandeyes_sdk.alerts.models.alert_metric_detail import AlertMetricDetail diff --git a/thousandeyes-sdk-alerts/src/thousandeyes_sdk/alerts/models/__init__.py b/thousandeyes-sdk-alerts/src/thousandeyes_sdk/alerts/models/__init__.py index 5facbecd..a590feac 100644 --- a/thousandeyes-sdk-alerts/src/thousandeyes_sdk/alerts/models/__init__.py +++ b/thousandeyes-sdk-alerts/src/thousandeyes_sdk/alerts/models/__init__.py @@ -16,6 +16,7 @@ from thousandeyes_sdk.alerts.models.alert import Alert from thousandeyes_sdk.alerts.models.alert_detail import AlertDetail from thousandeyes_sdk.alerts.models.alert_direction import AlertDirection +from thousandeyes_sdk.alerts.models.alert_group_type import AlertGroupType from thousandeyes_sdk.alerts.models.alert_links import AlertLinks from thousandeyes_sdk.alerts.models.alert_meta import AlertMeta from thousandeyes_sdk.alerts.models.alert_metric_detail import AlertMetricDetail diff --git a/thousandeyes-sdk-alerts/src/thousandeyes_sdk/alerts/models/alert_group_type.py b/thousandeyes-sdk-alerts/src/thousandeyes_sdk/alerts/models/alert_group_type.py new file mode 100644 index 00000000..9e7de04d --- /dev/null +++ b/thousandeyes-sdk-alerts/src/thousandeyes_sdk/alerts/models/alert_group_type.py @@ -0,0 +1,42 @@ +# coding: utf-8 + +""" + Alerts API + + You can manage the following alert functionalities on the ThousandEyes platform using the Alerts API: * **Alerts**: Retrieve alert details. Alerts are assigned to tests through alert rules. * **Alert Rules**: Conditions that you configure in order to highlight or be notified of events of interest in your ThousandEyes tests. When an alert rule’s conditions are met, the associated alert is triggered and the alert becomes active. It remains active until the alert is cleared. Alert rules are reusable across multiple tests.. * **Alert Suppression Windows**: Suppress alerts for tests during periods such as planned maintenance. Windows can be one-time events or recurring events to handle periodic occurrences such as monthly downtime for maintenance. For more information about the alerts, see [Alerts](https://docs.thousandeyes.com/product-documentation/alerts). + + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class AlertGroupType(str, Enum): + """ + Category of alert type based on the application or network layer and source of the test. + """ + + """ + allowed enum values + """ + BROWSER_MINUS_SESSION = 'browser-session' + CLOUD_MINUS_ENTERPRISE = 'cloud-enterprise' + ENDPOINT = 'endpoint' + UNKNOWN = 'unknown' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of AlertGroupType from a JSON string""" + return cls(json.loads(json_str)) + + @classmethod + def _missing_(cls, value): + """Handle unknown values""" + return cls.UNKNOWN + diff --git a/thousandeyes-sdk-alerts/src/thousandeyes_sdk/alerts/models/base_rule.py b/thousandeyes-sdk-alerts/src/thousandeyes_sdk/alerts/models/base_rule.py index af5d3884..069033db 100644 --- a/thousandeyes-sdk-alerts/src/thousandeyes_sdk/alerts/models/base_rule.py +++ b/thousandeyes-sdk-alerts/src/thousandeyes_sdk/alerts/models/base_rule.py @@ -19,6 +19,7 @@ import json from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr from typing import Any, ClassVar, Dict, List, Optional from thousandeyes_sdk.alerts.models.alert_direction import AlertDirection +from thousandeyes_sdk.alerts.models.alert_group_type import AlertGroupType from thousandeyes_sdk.alerts.models.alert_rounds_violation_mode import AlertRoundsViolationMode from thousandeyes_sdk.alerts.models.alert_type import AlertType from thousandeyes_sdk.alerts.models.sensitivity_level import SensitivityLevel @@ -37,6 +38,7 @@ class BaseRule(BaseModel): notify_on_clear: Optional[StrictBool] = Field(default=None, description="Send notification when alert clears.", alias="notifyOnClear") is_default: Optional[StrictBool] = Field(default=None, description="If set to `true`, this alert rule becomes the default for its test type and is automatically applied to newly created tests with relevant metrics. Only one default alert rule is allowed per test type.", alias="isDefault") alert_type: AlertType = Field(alias="alertType") + alert_group_type: Optional[AlertGroupType] = Field(default=None, alias="alertGroupType") minimum_sources: Optional[StrictInt] = Field(default=None, description="The minimum number of agents or monitors that must meet the specified criteria to trigger the alert.", alias="minimumSources") minimum_sources_pct: Optional[StrictInt] = Field(default=None, description="The minimum percentage of all assigned agents or monitors that must meet the specified criteria to trigger the alert.", alias="minimumSourcesPct") rounds_violating_mode: Optional[AlertRoundsViolationMode] = Field(default=None, alias="roundsViolatingMode") @@ -45,7 +47,7 @@ class BaseRule(BaseModel): include_covered_prefixes: Optional[StrictBool] = Field(default=None, description="Set true to include covered prefixes in the BGP alert rule. Only applicable to BGP alert rules.", alias="includeCoveredPrefixes") sensitivity_level: Optional[SensitivityLevel] = Field(default=None, alias="sensitivityLevel") severity: Optional[Severity] = None - __properties: ClassVar[List[str]] = ["ruleId", "ruleName", "expression", "direction", "notifyOnClear", "isDefault", "alertType", "minimumSources", "minimumSourcesPct", "roundsViolatingMode", "roundsViolatingOutOf", "roundsViolatingRequired", "includeCoveredPrefixes", "sensitivityLevel", "severity"] + __properties: ClassVar[List[str]] = ["ruleId", "ruleName", "expression", "direction", "notifyOnClear", "isDefault", "alertType", "alertGroupType", "minimumSources", "minimumSourcesPct", "roundsViolatingMode", "roundsViolatingOutOf", "roundsViolatingRequired", "includeCoveredPrefixes", "sensitivityLevel", "severity"] model_config = ConfigDict( populate_by_name=True, @@ -108,6 +110,7 @@ class BaseRule(BaseModel): "notifyOnClear": obj.get("notifyOnClear"), "isDefault": obj.get("isDefault"), "alertType": obj.get("alertType"), + "alertGroupType": obj.get("alertGroupType"), "minimumSources": obj.get("minimumSources"), "minimumSourcesPct": obj.get("minimumSourcesPct"), "roundsViolatingMode": obj.get("roundsViolatingMode"), diff --git a/thousandeyes-sdk-alerts/src/thousandeyes_sdk/alerts/models/rule.py b/thousandeyes-sdk-alerts/src/thousandeyes_sdk/alerts/models/rule.py index d4ebda5b..f6331afc 100644 --- a/thousandeyes-sdk-alerts/src/thousandeyes_sdk/alerts/models/rule.py +++ b/thousandeyes-sdk-alerts/src/thousandeyes_sdk/alerts/models/rule.py @@ -19,6 +19,7 @@ import json from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr from typing import Any, ClassVar, Dict, List, Optional from thousandeyes_sdk.alerts.models.alert_direction import AlertDirection +from thousandeyes_sdk.alerts.models.alert_group_type import AlertGroupType from thousandeyes_sdk.alerts.models.alert_notification import AlertNotification from thousandeyes_sdk.alerts.models.alert_rounds_violation_mode import AlertRoundsViolationMode from thousandeyes_sdk.alerts.models.alert_type import AlertType @@ -39,6 +40,7 @@ class Rule(BaseModel): notify_on_clear: Optional[StrictBool] = Field(default=None, description="Send notification when alert clears.", alias="notifyOnClear") is_default: Optional[StrictBool] = Field(default=None, description="If set to `true`, this alert rule becomes the default for its test type and is automatically applied to newly created tests with relevant metrics. Only one default alert rule is allowed per test type.", alias="isDefault") alert_type: AlertType = Field(alias="alertType") + alert_group_type: Optional[AlertGroupType] = Field(default=None, alias="alertGroupType") minimum_sources: Optional[StrictInt] = Field(default=None, description="The minimum number of agents or monitors that must meet the specified criteria to trigger the alert.", alias="minimumSources") minimum_sources_pct: Optional[StrictInt] = Field(default=None, description="The minimum percentage of all assigned agents or monitors that must meet the specified criteria to trigger the alert.", alias="minimumSourcesPct") rounds_violating_mode: Optional[AlertRoundsViolationMode] = Field(default=None, alias="roundsViolatingMode") @@ -50,7 +52,7 @@ class Rule(BaseModel): notifications: Optional[AlertNotification] = None test_ids: Optional[List[StrictStr]] = Field(default=None, description="Array of test IDs to link to alert rule (get `testId` from `/tests` endpoint).", alias="testIds") links: Optional[SelfLinks] = Field(default=None, alias="_links") - __properties: ClassVar[List[str]] = ["ruleId", "ruleName", "expression", "direction", "notifyOnClear", "isDefault", "alertType", "minimumSources", "minimumSourcesPct", "roundsViolatingMode", "roundsViolatingOutOf", "roundsViolatingRequired", "includeCoveredPrefixes", "sensitivityLevel", "severity", "notifications", "testIds", "_links"] + __properties: ClassVar[List[str]] = ["ruleId", "ruleName", "expression", "direction", "notifyOnClear", "isDefault", "alertType", "alertGroupType", "minimumSources", "minimumSourcesPct", "roundsViolatingMode", "roundsViolatingOutOf", "roundsViolatingRequired", "includeCoveredPrefixes", "sensitivityLevel", "severity", "notifications", "testIds", "_links"] model_config = ConfigDict( populate_by_name=True, @@ -119,6 +121,7 @@ class Rule(BaseModel): "notifyOnClear": obj.get("notifyOnClear"), "isDefault": obj.get("isDefault"), "alertType": obj.get("alertType"), + "alertGroupType": obj.get("alertGroupType"), "minimumSources": obj.get("minimumSources"), "minimumSourcesPct": obj.get("minimumSourcesPct"), "roundsViolatingMode": obj.get("roundsViolatingMode"), diff --git a/thousandeyes-sdk-alerts/src/thousandeyes_sdk/alerts/models/rule_detail.py b/thousandeyes-sdk-alerts/src/thousandeyes_sdk/alerts/models/rule_detail.py index 79f0d434..498a23a0 100644 --- a/thousandeyes-sdk-alerts/src/thousandeyes_sdk/alerts/models/rule_detail.py +++ b/thousandeyes-sdk-alerts/src/thousandeyes_sdk/alerts/models/rule_detail.py @@ -19,6 +19,7 @@ import json from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr from typing import Any, ClassVar, Dict, List, Optional from thousandeyes_sdk.alerts.models.alert_direction import AlertDirection +from thousandeyes_sdk.alerts.models.alert_group_type import AlertGroupType from thousandeyes_sdk.alerts.models.alert_notification import AlertNotification from thousandeyes_sdk.alerts.models.alert_rounds_violation_mode import AlertRoundsViolationMode from thousandeyes_sdk.alerts.models.alert_type import AlertType @@ -40,6 +41,7 @@ class RuleDetail(BaseModel): notify_on_clear: Optional[StrictBool] = Field(default=None, description="Send notification when alert clears.", alias="notifyOnClear") is_default: Optional[StrictBool] = Field(default=None, description="If set to `true`, this alert rule becomes the default for its test type and is automatically applied to newly created tests with relevant metrics. Only one default alert rule is allowed per test type.", alias="isDefault") alert_type: AlertType = Field(alias="alertType") + alert_group_type: Optional[AlertGroupType] = Field(default=None, alias="alertGroupType") minimum_sources: Optional[StrictInt] = Field(default=None, description="The minimum number of agents or monitors that must meet the specified criteria to trigger the alert.", alias="minimumSources") minimum_sources_pct: Optional[StrictInt] = Field(default=None, description="The minimum percentage of all assigned agents or monitors that must meet the specified criteria to trigger the alert.", alias="minimumSourcesPct") rounds_violating_mode: Optional[AlertRoundsViolationMode] = Field(default=None, alias="roundsViolatingMode") @@ -51,7 +53,7 @@ class RuleDetail(BaseModel): notifications: Optional[AlertNotification] = None tests: Optional[List[SimpleTest]] = None links: Optional[SelfLinks] = Field(default=None, alias="_links") - __properties: ClassVar[List[str]] = ["ruleId", "ruleName", "expression", "direction", "notifyOnClear", "isDefault", "alertType", "minimumSources", "minimumSourcesPct", "roundsViolatingMode", "roundsViolatingOutOf", "roundsViolatingRequired", "includeCoveredPrefixes", "sensitivityLevel", "severity", "notifications", "tests", "_links"] + __properties: ClassVar[List[str]] = ["ruleId", "ruleName", "expression", "direction", "notifyOnClear", "isDefault", "alertType", "alertGroupType", "minimumSources", "minimumSourcesPct", "roundsViolatingMode", "roundsViolatingOutOf", "roundsViolatingRequired", "includeCoveredPrefixes", "sensitivityLevel", "severity", "notifications", "tests", "_links"] model_config = ConfigDict( populate_by_name=True, @@ -129,6 +131,7 @@ class RuleDetail(BaseModel): "notifyOnClear": obj.get("notifyOnClear"), "isDefault": obj.get("isDefault"), "alertType": obj.get("alertType"), + "alertGroupType": obj.get("alertGroupType"), "minimumSources": obj.get("minimumSources"), "minimumSourcesPct": obj.get("minimumSourcesPct"), "roundsViolatingMode": obj.get("roundsViolatingMode"), diff --git a/thousandeyes-sdk-alerts/src/thousandeyes_sdk/alerts/models/rule_detail_update.py b/thousandeyes-sdk-alerts/src/thousandeyes_sdk/alerts/models/rule_detail_update.py index 9cee41d4..2adc27fe 100644 --- a/thousandeyes-sdk-alerts/src/thousandeyes_sdk/alerts/models/rule_detail_update.py +++ b/thousandeyes-sdk-alerts/src/thousandeyes_sdk/alerts/models/rule_detail_update.py @@ -19,6 +19,7 @@ import json from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr from typing import Any, ClassVar, Dict, List, Optional from thousandeyes_sdk.alerts.models.alert_direction import AlertDirection +from thousandeyes_sdk.alerts.models.alert_group_type import AlertGroupType from thousandeyes_sdk.alerts.models.alert_notification import AlertNotification from thousandeyes_sdk.alerts.models.alert_rounds_violation_mode import AlertRoundsViolationMode from thousandeyes_sdk.alerts.models.alert_type import AlertType @@ -38,6 +39,7 @@ class RuleDetailUpdate(BaseModel): notify_on_clear: Optional[StrictBool] = Field(default=None, description="Send notification when alert clears.", alias="notifyOnClear") is_default: Optional[StrictBool] = Field(default=None, description="If set to `true`, this alert rule becomes the default for its test type and is automatically applied to newly created tests with relevant metrics. Only one default alert rule is allowed per test type.", alias="isDefault") alert_type: AlertType = Field(alias="alertType") + alert_group_type: Optional[AlertGroupType] = Field(default=None, alias="alertGroupType") minimum_sources: Optional[StrictInt] = Field(default=None, description="The minimum number of agents or monitors that must meet the specified criteria to trigger the alert.", alias="minimumSources") minimum_sources_pct: Optional[StrictInt] = Field(default=None, description="The minimum percentage of all assigned agents or monitors that must meet the specified criteria to trigger the alert.", alias="minimumSourcesPct") rounds_violating_mode: Optional[AlertRoundsViolationMode] = Field(default=None, alias="roundsViolatingMode") @@ -48,7 +50,7 @@ class RuleDetailUpdate(BaseModel): severity: Optional[Severity] = None notifications: Optional[AlertNotification] = None test_ids: Optional[List[StrictStr]] = Field(default=None, description="Array of test IDs to link to alert rule (get `testId` from `/tests` endpoint).", alias="testIds") - __properties: ClassVar[List[str]] = ["ruleId", "ruleName", "expression", "direction", "notifyOnClear", "isDefault", "alertType", "minimumSources", "minimumSourcesPct", "roundsViolatingMode", "roundsViolatingOutOf", "roundsViolatingRequired", "includeCoveredPrefixes", "sensitivityLevel", "severity", "notifications", "testIds"] + __properties: ClassVar[List[str]] = ["ruleId", "ruleName", "expression", "direction", "notifyOnClear", "isDefault", "alertType", "alertGroupType", "minimumSources", "minimumSourcesPct", "roundsViolatingMode", "roundsViolatingOutOf", "roundsViolatingRequired", "includeCoveredPrefixes", "sensitivityLevel", "severity", "notifications", "testIds"] model_config = ConfigDict( populate_by_name=True, @@ -114,6 +116,7 @@ class RuleDetailUpdate(BaseModel): "notifyOnClear": obj.get("notifyOnClear"), "isDefault": obj.get("isDefault"), "alertType": obj.get("alertType"), + "alertGroupType": obj.get("alertGroupType"), "minimumSources": obj.get("minimumSources"), "minimumSourcesPct": obj.get("minimumSourcesPct"), "roundsViolatingMode": obj.get("roundsViolatingMode"), diff --git a/thousandeyes-sdk-alerts/test/test_alert_rules_api.py b/thousandeyes-sdk-alerts/test/test_alert_rules_api.py index bd0d66d9..7971be7b 100644 --- a/thousandeyes-sdk-alerts/test/test_alert_rules_api.py +++ b/thousandeyes-sdk-alerts/test/test_alert_rules_api.py @@ -38,6 +38,7 @@ class TestAlertRulesApi(unittest.TestCase): "includeCoveredPrefixes" : true, "roundsViolatingMode" : "exact", "sensitivityLevel" : "medium", + "alertGroupType" : "endpoint", "notifyOnClear" : true, "testIds" : [ "281474976710706", "271659" ], "roundsViolatingOutOf" : 5, @@ -105,6 +106,7 @@ class TestAlertRulesApi(unittest.TestCase): "includeCoveredPrefixes" : true, "roundsViolatingMode" : "exact", "sensitivityLevel" : "medium", + "alertGroupType" : "endpoint", "notifyOnClear" : true, "testIds" : [ "281474976710706", "271659" ], "roundsViolatingOutOf" : 5, @@ -179,6 +181,7 @@ class TestAlertRulesApi(unittest.TestCase): "includeCoveredPrefixes" : true, "roundsViolatingMode" : "exact", "sensitivityLevel" : "medium", + "alertGroupType" : "endpoint", "notifyOnClear" : true, "roundsViolatingOutOf" : 5, "roundsViolatingRequired" : 2, @@ -312,6 +315,7 @@ class TestAlertRulesApi(unittest.TestCase): "includeCoveredPrefixes" : true, "roundsViolatingMode" : "exact", "sensitivityLevel" : "medium", + "alertGroupType" : "endpoint", "notifyOnClear" : true, "roundsViolatingOutOf" : 5, "roundsViolatingRequired" : 2, @@ -328,6 +332,7 @@ class TestAlertRulesApi(unittest.TestCase): "includeCoveredPrefixes" : true, "roundsViolatingMode" : "exact", "sensitivityLevel" : "medium", + "alertGroupType" : "endpoint", "notifyOnClear" : true, "roundsViolatingOutOf" : 5, "roundsViolatingRequired" : 2, @@ -354,6 +359,7 @@ class TestAlertRulesApi(unittest.TestCase): "includeCoveredPrefixes" : true, "roundsViolatingMode" : "exact", "sensitivityLevel" : "medium", + "alertGroupType" : "endpoint", "notifyOnClear" : true, "testIds" : [ "281474976710706", "271659" ], "roundsViolatingOutOf" : 5, @@ -421,6 +427,7 @@ class TestAlertRulesApi(unittest.TestCase): "includeCoveredPrefixes" : true, "roundsViolatingMode" : "exact", "sensitivityLevel" : "medium", + "alertGroupType" : "endpoint", "notifyOnClear" : true, "testIds" : [ "281474976710706", "271659" ], "roundsViolatingOutOf" : 5, diff --git a/thousandeyes-sdk-bgp-monitors/README.md b/thousandeyes-sdk-bgp-monitors/README.md index c81f5894..38696f14 100644 --- a/thousandeyes-sdk-bgp-monitors/README.md +++ b/thousandeyes-sdk-bgp-monitors/README.md @@ -9,7 +9,7 @@ For more information about monitors, see [Inside-Out BGP Visibility](https://doc This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: 7.0.28 +- API version: 7.0.29 - Generator version: 7.6.0 - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator diff --git a/thousandeyes-sdk-credentials/README.md b/thousandeyes-sdk-credentials/README.md index 729fa96b..e68379e7 100644 --- a/thousandeyes-sdk-credentials/README.md +++ b/thousandeyes-sdk-credentials/README.md @@ -13,7 +13,7 @@ For more information about credentials, see [Working With Secure Credentials](ht This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: 7.0.28 +- API version: 7.0.29 - Generator version: 7.6.0 - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator diff --git a/thousandeyes-sdk-dashboards/README.md b/thousandeyes-sdk-dashboards/README.md index f3e0e808..bc0f43a0 100644 --- a/thousandeyes-sdk-dashboards/README.md +++ b/thousandeyes-sdk-dashboards/README.md @@ -3,7 +3,7 @@ Manage ThousandEyes Dashboards. This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: 7.0.28 +- API version: 7.0.29 - Generator version: 7.6.0 - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator diff --git a/thousandeyes-sdk-emulation/README.md b/thousandeyes-sdk-emulation/README.md index 9f1b2cd1..b830bf2d 100644 --- a/thousandeyes-sdk-emulation/README.md +++ b/thousandeyes-sdk-emulation/README.md @@ -9,7 +9,7 @@ To access Emulation API operations, the following permissions are required: This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: 7.0.28 +- API version: 7.0.29 - Generator version: 7.6.0 - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator diff --git a/thousandeyes-sdk-endpoint-agents/README.md b/thousandeyes-sdk-endpoint-agents/README.md index cbfbe4b2..5a6d6ba7 100644 --- a/thousandeyes-sdk-endpoint-agents/README.md +++ b/thousandeyes-sdk-endpoint-agents/README.md @@ -5,7 +5,7 @@ For more information about Endpoint Agents, see [Endpoint Agents](https://docs.t This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: 7.0.28 +- API version: 7.0.29 - Generator version: 7.6.0 - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator diff --git a/thousandeyes-sdk-endpoint-instant-tests/README.md b/thousandeyes-sdk-endpoint-instant-tests/README.md index 0cdf9d8a..3aadf35b 100644 --- a/thousandeyes-sdk-endpoint-instant-tests/README.md +++ b/thousandeyes-sdk-endpoint-instant-tests/README.md @@ -13,7 +13,7 @@ The URLs for these API test data endpoints are provided within the test definiti This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: 7.0.28 +- API version: 7.0.29 - Generator version: 7.6.0 - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator diff --git a/thousandeyes-sdk-endpoint-labels/README.md b/thousandeyes-sdk-endpoint-labels/README.md index 57ff5ec0..a24e427a 100644 --- a/thousandeyes-sdk-endpoint-labels/README.md +++ b/thousandeyes-sdk-endpoint-labels/README.md @@ -4,7 +4,7 @@ Manage labels applied to endpoint agents using this API. This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: 7.0.28 +- API version: 7.0.29 - Generator version: 7.6.0 - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator diff --git a/thousandeyes-sdk-endpoint-test-results/README.md b/thousandeyes-sdk-endpoint-test-results/README.md index acca54f1..31718ecd 100644 --- a/thousandeyes-sdk-endpoint-test-results/README.md +++ b/thousandeyes-sdk-endpoint-test-results/README.md @@ -3,7 +3,7 @@ Retrieve results for scheduled and dynamic tests on endpoint agents. This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: 7.0.28 +- API version: 7.0.29 - Generator version: 7.6.0 - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator diff --git a/thousandeyes-sdk-endpoint-test-results/test/test_real_user_endpoint_test_results_api.py b/thousandeyes-sdk-endpoint-test-results/test/test_real_user_endpoint_test_results_api.py index a8ba6a95..7fb45c9d 100644 --- a/thousandeyes-sdk-endpoint-test-results/test/test_real_user_endpoint_test_results_api.py +++ b/thousandeyes-sdk-endpoint-test-results/test/test_real_user_endpoint_test_results_api.py @@ -380,11 +380,11 @@ class TestRealUserEndpointTestResultsApi(unittest.TestCase): "log" : { "browser" : { "name" : "Google Chrome", - "version" : "7.0.28.98" + "version" : "7.0.29.98" }, "creator" : { "name" : "ThousandEyes Endpoint Agent", - "version" : "7.0.28" + "version" : "7.0.29" }, "entries" : [ { "pageref" : "page_1", diff --git a/thousandeyes-sdk-endpoint-tests/README.md b/thousandeyes-sdk-endpoint-tests/README.md index f24ace91..c7078791 100644 --- a/thousandeyes-sdk-endpoint-tests/README.md +++ b/thousandeyes-sdk-endpoint-tests/README.md @@ -5,7 +5,7 @@ Manage endpoint agent dynamic and scheduled tests using the Endpoint Tests API. This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: 7.0.28 +- API version: 7.0.29 - Generator version: 7.6.0 - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator diff --git a/thousandeyes-sdk-event-detection/README.md b/thousandeyes-sdk-event-detection/README.md index a84da254..cfec9ff4 100644 --- a/thousandeyes-sdk-event-detection/README.md +++ b/thousandeyes-sdk-event-detection/README.md @@ -12,7 +12,7 @@ With the Events API, you can perform the following tasks on the ThousandEyes pla This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: 7.0.28 +- API version: 7.0.29 - Generator version: 7.6.0 - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator diff --git a/thousandeyes-sdk-instant-tests/.openapi-generator/FILES b/thousandeyes-sdk-instant-tests/.openapi-generator/FILES index a988ef14..452a2e71 100644 --- a/thousandeyes-sdk-instant-tests/.openapi-generator/FILES +++ b/thousandeyes-sdk-instant-tests/.openapi-generator/FILES @@ -16,6 +16,7 @@ docs/AgentToServerInstantTestRequest.md docs/AgentToServerInstantTestResponse.md docs/AgentToServerInstantTestsApi.md docs/AgentToServerProperties.md +docs/ApiClientAuthentication.md docs/ApiInstantTest.md docs/ApiInstantTestRequest.md docs/ApiInstantTestResponse.md @@ -142,6 +143,7 @@ src/thousandeyes_sdk/instant_tests/models/agent_to_server_instant_test.py src/thousandeyes_sdk/instant_tests/models/agent_to_server_instant_test_request.py src/thousandeyes_sdk/instant_tests/models/agent_to_server_instant_test_response.py src/thousandeyes_sdk/instant_tests/models/agent_to_server_properties.py +src/thousandeyes_sdk/instant_tests/models/api_client_authentication.py src/thousandeyes_sdk/instant_tests/models/api_instant_test.py src/thousandeyes_sdk/instant_tests/models/api_instant_test_request.py src/thousandeyes_sdk/instant_tests/models/api_instant_test_response.py diff --git a/thousandeyes-sdk-instant-tests/README.md b/thousandeyes-sdk-instant-tests/README.md index 318070d4..8af0a83d 100644 --- a/thousandeyes-sdk-instant-tests/README.md +++ b/thousandeyes-sdk-instant-tests/README.md @@ -8,7 +8,7 @@ The response does not include the immediate test results. Use the Test Results e This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: 7.0.28 +- API version: 7.0.29 - Generator version: 7.6.0 - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator @@ -130,6 +130,7 @@ Class | Method | HTTP request | Description - [AgentToServerInstantTestRequest](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-instant-tests/docs/AgentToServerInstantTestRequest.md) - [AgentToServerInstantTestResponse](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-instant-tests/docs/AgentToServerInstantTestResponse.md) - [AgentToServerProperties](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-instant-tests/docs/AgentToServerProperties.md) + - [ApiClientAuthentication](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-instant-tests/docs/ApiClientAuthentication.md) - [ApiInstantTest](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-instant-tests/docs/ApiInstantTest.md) - [ApiInstantTestRequest](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-instant-tests/docs/ApiInstantTestRequest.md) - [ApiInstantTestResponse](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-instant-tests/docs/ApiInstantTestResponse.md) diff --git a/thousandeyes-sdk-instant-tests/docs/AgentToAgentInstantTest.md b/thousandeyes-sdk-instant-tests/docs/AgentToAgentInstantTest.md index e48f718c..c8fb6b73 100644 --- a/thousandeyes-sdk-instant-tests/docs/AgentToAgentInstantTest.md +++ b/thousandeyes-sdk-instant-tests/docs/AgentToAgentInstantTest.md @@ -26,6 +26,7 @@ Name | Type | Description | Notes **path_trace_mode** | [**TestPathTraceMode**](TestPathTraceMode.md) | | [optional] **port** | **int** | Target port. | [optional] [default to 49153] **protocol** | [**AgentToAgentTestProtocol**](AgentToAgentTestProtocol.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **target_agent_id** | **str** | `agentId` of the target agent for the test. | **throughput_measurements** | **bool** | Enable or disable throughput measurements. Throughput measurements cannot be enabled when the source or target of the test is a cloud agent. | [optional] [default to False] **throughput_duration** | **int** | The throughput duration. | [optional] [default to 10000] diff --git a/thousandeyes-sdk-instant-tests/docs/AgentToAgentInstantTestRequest.md b/thousandeyes-sdk-instant-tests/docs/AgentToAgentInstantTestRequest.md index 5693bcf5..e45bbad0 100644 --- a/thousandeyes-sdk-instant-tests/docs/AgentToAgentInstantTestRequest.md +++ b/thousandeyes-sdk-instant-tests/docs/AgentToAgentInstantTestRequest.md @@ -26,6 +26,7 @@ Name | Type | Description | Notes **path_trace_mode** | [**TestPathTraceMode**](TestPathTraceMode.md) | | [optional] **port** | **int** | Target port. | [optional] [default to 49153] **protocol** | [**AgentToAgentTestProtocol**](AgentToAgentTestProtocol.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **target_agent_id** | **str** | `agentId` of the target agent for the test. | **throughput_measurements** | **bool** | Enable or disable throughput measurements. Throughput measurements cannot be enabled when the source or target of the test is a cloud agent. | [optional] [default to False] **throughput_duration** | **int** | The throughput duration. | [optional] [default to 10000] diff --git a/thousandeyes-sdk-instant-tests/docs/AgentToAgentInstantTestResponse.md b/thousandeyes-sdk-instant-tests/docs/AgentToAgentInstantTestResponse.md index ffe2cd6d..db029675 100644 --- a/thousandeyes-sdk-instant-tests/docs/AgentToAgentInstantTestResponse.md +++ b/thousandeyes-sdk-instant-tests/docs/AgentToAgentInstantTestResponse.md @@ -26,6 +26,7 @@ Name | Type | Description | Notes **path_trace_mode** | [**TestPathTraceMode**](TestPathTraceMode.md) | | [optional] **port** | **int** | Target port. | [optional] [default to 49153] **protocol** | [**AgentToAgentTestProtocol**](AgentToAgentTestProtocol.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **target_agent_id** | **str** | `agentId` of the target agent for the test. | **throughput_measurements** | **bool** | Enable or disable throughput measurements. Throughput measurements cannot be enabled when the source or target of the test is a cloud agent. | [optional] [default to False] **throughput_duration** | **int** | The throughput duration. | [optional] [default to 10000] diff --git a/thousandeyes-sdk-instant-tests/docs/AgentToAgentProperties.md b/thousandeyes-sdk-instant-tests/docs/AgentToAgentProperties.md index a469e84f..9ed69b1b 100644 --- a/thousandeyes-sdk-instant-tests/docs/AgentToAgentProperties.md +++ b/thousandeyes-sdk-instant-tests/docs/AgentToAgentProperties.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **path_trace_mode** | [**TestPathTraceMode**](TestPathTraceMode.md) | | [optional] **port** | **int** | Target port. | [optional] [default to 49153] **protocol** | [**AgentToAgentTestProtocol**](AgentToAgentTestProtocol.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **target_agent_id** | **str** | `agentId` of the target agent for the test. | **throughput_measurements** | **bool** | Enable or disable throughput measurements. Throughput measurements cannot be enabled when the source or target of the test is a cloud agent. | [optional] [default to False] **throughput_duration** | **int** | The throughput duration. | [optional] [default to 10000] diff --git a/thousandeyes-sdk-instant-tests/docs/AgentToServerInstantTest.md b/thousandeyes-sdk-instant-tests/docs/AgentToServerInstantTest.md index 70934347..05be040d 100644 --- a/thousandeyes-sdk-instant-tests/docs/AgentToServerInstantTest.md +++ b/thousandeyes-sdk-instant-tests/docs/AgentToServerInstantTest.md @@ -27,6 +27,7 @@ Name | Type | Description | Notes **port** | **int** | Target port. | [optional] [default to 49153] **probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional] **protocol** | [**TestProtocol**](TestProtocol.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **server** | **str** | Target name or IP address. | **dscp** | **str** | DSCP label. | [optional] [readonly] **dscp_id** | [**TestDscpId**](TestDscpId.md) | | [optional] diff --git a/thousandeyes-sdk-instant-tests/docs/AgentToServerInstantTestRequest.md b/thousandeyes-sdk-instant-tests/docs/AgentToServerInstantTestRequest.md index e7934b60..b87ff2ef 100644 --- a/thousandeyes-sdk-instant-tests/docs/AgentToServerInstantTestRequest.md +++ b/thousandeyes-sdk-instant-tests/docs/AgentToServerInstantTestRequest.md @@ -27,6 +27,7 @@ Name | Type | Description | Notes **port** | **int** | Target port. | [optional] [default to 49153] **probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional] **protocol** | [**TestProtocol**](TestProtocol.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **server** | **str** | Target name or IP address. | **dscp** | **str** | DSCP label. | [optional] [readonly] **dscp_id** | [**TestDscpId**](TestDscpId.md) | | [optional] diff --git a/thousandeyes-sdk-instant-tests/docs/AgentToServerInstantTestResponse.md b/thousandeyes-sdk-instant-tests/docs/AgentToServerInstantTestResponse.md index bd703f1a..114a474d 100644 --- a/thousandeyes-sdk-instant-tests/docs/AgentToServerInstantTestResponse.md +++ b/thousandeyes-sdk-instant-tests/docs/AgentToServerInstantTestResponse.md @@ -27,6 +27,7 @@ Name | Type | Description | Notes **port** | **int** | Target port. | [optional] [default to 49153] **probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional] **protocol** | [**TestProtocol**](TestProtocol.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **server** | **str** | Target name or IP address. | **dscp** | **str** | DSCP label. | [optional] [readonly] **dscp_id** | [**TestDscpId**](TestDscpId.md) | | [optional] diff --git a/thousandeyes-sdk-instant-tests/docs/AgentToServerProperties.md b/thousandeyes-sdk-instant-tests/docs/AgentToServerProperties.md index 0a4d387b..fba08e62 100644 --- a/thousandeyes-sdk-instant-tests/docs/AgentToServerProperties.md +++ b/thousandeyes-sdk-instant-tests/docs/AgentToServerProperties.md @@ -14,6 +14,7 @@ Name | Type | Description | Notes **port** | **int** | Target port. | [optional] [default to 49153] **probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional] **protocol** | [**TestProtocol**](TestProtocol.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **server** | **str** | Target name or IP address. | **dscp** | **str** | DSCP label. | [optional] [readonly] **dscp_id** | [**TestDscpId**](TestDscpId.md) | | [optional] diff --git a/thousandeyes-sdk-instant-tests/docs/ApiClientAuthentication.md b/thousandeyes-sdk-instant-tests/docs/ApiClientAuthentication.md new file mode 100644 index 00000000..7586dd3f --- /dev/null +++ b/thousandeyes-sdk-instant-tests/docs/ApiClientAuthentication.md @@ -0,0 +1,12 @@ +# ApiClientAuthentication + +The OAuth2 client authentication location type. + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/thousandeyes-sdk-instant-tests/docs/ApiInstantTest.md b/thousandeyes-sdk-instant-tests/docs/ApiInstantTest.md index 0c09b158..0011409c 100644 --- a/thousandeyes-sdk-instant-tests/docs/ApiInstantTest.md +++ b/thousandeyes-sdk-instant-tests/docs/ApiInstantTest.md @@ -29,6 +29,7 @@ Name | Type | Description | Notes **predefined_variables** | [**List[ApiPredefinedVariable]**](ApiPredefinedVariable.md) | | [optional] **probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional] **protocol** | [**TestProtocol**](TestProtocol.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **requests** | [**List[ApiRequest]**](ApiRequest.md) | | **ssl_version_id** | [**TestSslVersionId**](TestSslVersionId.md) | | [optional] **target_time** | **int** | Target time for completion metric, defaults to 50% of time limit specified in seconds. (0 means default behavior) | [optional] diff --git a/thousandeyes-sdk-instant-tests/docs/ApiInstantTestRequest.md b/thousandeyes-sdk-instant-tests/docs/ApiInstantTestRequest.md index daa51c22..b3e231f5 100644 --- a/thousandeyes-sdk-instant-tests/docs/ApiInstantTestRequest.md +++ b/thousandeyes-sdk-instant-tests/docs/ApiInstantTestRequest.md @@ -29,6 +29,7 @@ Name | Type | Description | Notes **predefined_variables** | [**List[ApiPredefinedVariable]**](ApiPredefinedVariable.md) | | [optional] **probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional] **protocol** | [**TestProtocol**](TestProtocol.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **requests** | [**List[ApiRequest]**](ApiRequest.md) | | **ssl_version_id** | [**TestSslVersionId**](TestSslVersionId.md) | | [optional] **target_time** | **int** | Target time for completion metric, defaults to 50% of time limit specified in seconds. (0 means default behavior) | [optional] diff --git a/thousandeyes-sdk-instant-tests/docs/ApiInstantTestResponse.md b/thousandeyes-sdk-instant-tests/docs/ApiInstantTestResponse.md index 2e03bf00..51828c5b 100644 --- a/thousandeyes-sdk-instant-tests/docs/ApiInstantTestResponse.md +++ b/thousandeyes-sdk-instant-tests/docs/ApiInstantTestResponse.md @@ -29,6 +29,7 @@ Name | Type | Description | Notes **predefined_variables** | [**List[ApiPredefinedVariable]**](ApiPredefinedVariable.md) | | [optional] **probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional] **protocol** | [**TestProtocol**](TestProtocol.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **requests** | [**List[ApiRequest]**](ApiRequest.md) | | **ssl_version_id** | [**TestSslVersionId**](TestSslVersionId.md) | | [optional] **target_time** | **int** | Target time for completion metric, defaults to 50% of time limit specified in seconds. (0 means default behavior) | [optional] diff --git a/thousandeyes-sdk-instant-tests/docs/ApiProperties.md b/thousandeyes-sdk-instant-tests/docs/ApiProperties.md index 90b9ff7a..d2467897 100644 --- a/thousandeyes-sdk-instant-tests/docs/ApiProperties.md +++ b/thousandeyes-sdk-instant-tests/docs/ApiProperties.md @@ -16,6 +16,7 @@ Name | Type | Description | Notes **predefined_variables** | [**List[ApiPredefinedVariable]**](ApiPredefinedVariable.md) | | [optional] **probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional] **protocol** | [**TestProtocol**](TestProtocol.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **requests** | [**List[ApiRequest]**](ApiRequest.md) | | **ssl_version_id** | [**TestSslVersionId**](TestSslVersionId.md) | | [optional] **target_time** | **int** | Target time for completion metric, defaults to 50% of time limit specified in seconds. (0 means default behavior) | [optional] diff --git a/thousandeyes-sdk-instant-tests/docs/ApiRequest.md b/thousandeyes-sdk-instant-tests/docs/ApiRequest.md index 771dde90..2a444c69 100644 --- a/thousandeyes-sdk-instant-tests/docs/ApiRequest.md +++ b/thousandeyes-sdk-instant-tests/docs/ApiRequest.md @@ -9,11 +9,16 @@ Name | Type | Description | Notes **auth_type** | [**ApiRequestAuthType**](ApiRequestAuthType.md) | | [optional] **bearer_token** | **str** | The bearer token if `authType = bearer-token`. | [optional] **body** | **str** | POST/PUT request body. Must be in JSON format. | [optional] +**client_authentication** | [**ApiClientAuthentication**](ApiClientAuthentication.md) | | [optional] +**client_id** | **str** | The application ID used when `authType` is set to \"oauth2\". | [optional] +**client_secret** | **str** | The private client secret used when `authType` is set to \"oauth2\". | [optional] **collect_api_response** | **bool** | Set to `true` if API response body should be collected and saved. Set to `false` if API response body should not be saved. | [optional] [default to True] **headers** | [**List[ApiRequestHeader]**](ApiRequestHeader.md) | Array of API Request Header objects. | [optional] **method** | [**ApiRequestMethod**](ApiRequestMethod.md) | | [optional] **name** | **str** | API step name, must be unique. | **password** | **str** | The password if `authType = basic`. | [optional] +**scope** | **str** | Application-specific scope values for the access token when `authType` is \"oauth2\". | [optional] +**token_url** | **str** | The endpoint used to request the access token when `authType` is \"oauth2\". | [optional] **url** | **str** | Request url. Supports variables in the format `{{variableName}}`. | **username** | **str** | The username if `authType = basic`. | [optional] **variables** | [**List[ApiRequestVariable]**](ApiRequestVariable.md) | Array of API post request variable objects. | [optional] diff --git a/thousandeyes-sdk-instant-tests/docs/DnsSecInstantTest.md b/thousandeyes-sdk-instant-tests/docs/DnsSecInstantTest.md index f0514076..e385f93a 100644 --- a/thousandeyes-sdk-instant-tests/docs/DnsSecInstantTest.md +++ b/thousandeyes-sdk-instant-tests/docs/DnsSecInstantTest.md @@ -20,6 +20,7 @@ Name | Type | Description | Notes **shared_with_accounts** | [**List[SharedWithAccount]**](SharedWithAccount.md) | | [optional] [readonly] **domain** | **str** | The target record for the test, with the record type suffixed. If no record type is specified, the test defaults to an ANY record. | **dns_query_class** | [**DnsQueryClass**](DnsQueryClass.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] ## Example diff --git a/thousandeyes-sdk-instant-tests/docs/DnsSecInstantTestRequest.md b/thousandeyes-sdk-instant-tests/docs/DnsSecInstantTestRequest.md index 17bacbb5..83dbc303 100644 --- a/thousandeyes-sdk-instant-tests/docs/DnsSecInstantTestRequest.md +++ b/thousandeyes-sdk-instant-tests/docs/DnsSecInstantTestRequest.md @@ -20,6 +20,7 @@ Name | Type | Description | Notes **shared_with_accounts** | **List[str]** | A list of account group identifiers that the test is shared with (get `aid` from `/account-groups` endpoint). | [optional] **domain** | **str** | The target record for the test, with the record type suffixed. If no record type is specified, the test defaults to an ANY record. | **dns_query_class** | [**DnsQueryClass**](DnsQueryClass.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **agents** | [**List[TestAgent]**](TestAgent.md) | A list of objects with `agentId` (required) and `sourceIpAddress` (optional). | ## Example diff --git a/thousandeyes-sdk-instant-tests/docs/DnsSecInstantTestResponse.md b/thousandeyes-sdk-instant-tests/docs/DnsSecInstantTestResponse.md index 430ed0cb..320b9b0d 100644 --- a/thousandeyes-sdk-instant-tests/docs/DnsSecInstantTestResponse.md +++ b/thousandeyes-sdk-instant-tests/docs/DnsSecInstantTestResponse.md @@ -20,6 +20,7 @@ Name | Type | Description | Notes **shared_with_accounts** | [**List[SharedWithAccount]**](SharedWithAccount.md) | | [optional] [readonly] **domain** | **str** | The target record for the test, with the record type suffixed. If no record type is specified, the test defaults to an ANY record. | **dns_query_class** | [**DnsQueryClass**](DnsQueryClass.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **agents** | [**List[AgentResponse]**](AgentResponse.md) | Contains list of agents. | [optional] ## Example diff --git a/thousandeyes-sdk-instant-tests/docs/DnsSecProperties.md b/thousandeyes-sdk-instant-tests/docs/DnsSecProperties.md index a46f9375..7846c1a8 100644 --- a/thousandeyes-sdk-instant-tests/docs/DnsSecProperties.md +++ b/thousandeyes-sdk-instant-tests/docs/DnsSecProperties.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **domain** | **str** | The target record for the test, with the record type suffixed. If no record type is specified, the test defaults to an ANY record. | **dns_query_class** | [**DnsQueryClass**](DnsQueryClass.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **type** | **str** | | [optional] [readonly] ## Example diff --git a/thousandeyes-sdk-instant-tests/docs/DnsServerInstantTest.md b/thousandeyes-sdk-instant-tests/docs/DnsServerInstantTest.md index 38a01aa4..5c1e2188 100644 --- a/thousandeyes-sdk-instant-tests/docs/DnsServerInstantTest.md +++ b/thousandeyes-sdk-instant-tests/docs/DnsServerInstantTest.md @@ -28,6 +28,7 @@ Name | Type | Description | Notes **path_trace_mode** | [**TestPathTraceMode**](TestPathTraceMode.md) | | [optional] **probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional] **protocol** | [**TestProtocol**](TestProtocol.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **recursive_queries** | **bool** | Set true to run query with RD (recursion desired) flag enabled. | [optional] **ipv6_policy** | [**TestIpv6Policy**](TestIpv6Policy.md) | | [optional] **fixed_packet_rate** | **int** | Sets packets rate sent to measure the network in packets per second. | [optional] diff --git a/thousandeyes-sdk-instant-tests/docs/DnsServerInstantTestRequest.md b/thousandeyes-sdk-instant-tests/docs/DnsServerInstantTestRequest.md index c7cffb72..eb4a1138 100644 --- a/thousandeyes-sdk-instant-tests/docs/DnsServerInstantTestRequest.md +++ b/thousandeyes-sdk-instant-tests/docs/DnsServerInstantTestRequest.md @@ -28,6 +28,7 @@ Name | Type | Description | Notes **path_trace_mode** | [**TestPathTraceMode**](TestPathTraceMode.md) | | [optional] **probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional] **protocol** | [**TestProtocol**](TestProtocol.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **recursive_queries** | **bool** | Set true to run query with RD (recursion desired) flag enabled. | [optional] **ipv6_policy** | [**TestIpv6Policy**](TestIpv6Policy.md) | | [optional] **fixed_packet_rate** | **int** | Sets packets rate sent to measure the network in packets per second. | [optional] diff --git a/thousandeyes-sdk-instant-tests/docs/DnsServerInstantTestResponse.md b/thousandeyes-sdk-instant-tests/docs/DnsServerInstantTestResponse.md index 1e00f850..9628dde5 100644 --- a/thousandeyes-sdk-instant-tests/docs/DnsServerInstantTestResponse.md +++ b/thousandeyes-sdk-instant-tests/docs/DnsServerInstantTestResponse.md @@ -28,6 +28,7 @@ Name | Type | Description | Notes **path_trace_mode** | [**TestPathTraceMode**](TestPathTraceMode.md) | | [optional] **probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional] **protocol** | [**TestProtocol**](TestProtocol.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **recursive_queries** | **bool** | Set true to run query with RD (recursion desired) flag enabled. | [optional] **ipv6_policy** | [**TestIpv6Policy**](TestIpv6Policy.md) | | [optional] **fixed_packet_rate** | **int** | Sets packets rate sent to measure the network in packets per second. | [optional] diff --git a/thousandeyes-sdk-instant-tests/docs/DnsServerProperties.md b/thousandeyes-sdk-instant-tests/docs/DnsServerProperties.md index 69114d35..9a43beff 100644 --- a/thousandeyes-sdk-instant-tests/docs/DnsServerProperties.md +++ b/thousandeyes-sdk-instant-tests/docs/DnsServerProperties.md @@ -15,6 +15,7 @@ Name | Type | Description | Notes **path_trace_mode** | [**TestPathTraceMode**](TestPathTraceMode.md) | | [optional] **probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional] **protocol** | [**TestProtocol**](TestProtocol.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **recursive_queries** | **bool** | Set true to run query with RD (recursion desired) flag enabled. | [optional] **ipv6_policy** | [**TestIpv6Policy**](TestIpv6Policy.md) | | [optional] **fixed_packet_rate** | **int** | Sets packets rate sent to measure the network in packets per second. | [optional] diff --git a/thousandeyes-sdk-instant-tests/docs/DnsTraceInstantTest.md b/thousandeyes-sdk-instant-tests/docs/DnsTraceInstantTest.md index f4bf7ff7..aff24a04 100644 --- a/thousandeyes-sdk-instant-tests/docs/DnsTraceInstantTest.md +++ b/thousandeyes-sdk-instant-tests/docs/DnsTraceInstantTest.md @@ -21,6 +21,7 @@ Name | Type | Description | Notes **dns_transport_protocol** | [**TestDnsTransportProtocol**](TestDnsTransportProtocol.md) | | [optional] **domain** | **str** | The target record for the test, with the record type suffixed. If no record type is specified, the test defaults to an ANY record. | **dns_query_class** | [**DnsQueryClass**](DnsQueryClass.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] ## Example diff --git a/thousandeyes-sdk-instant-tests/docs/DnsTraceInstantTestRequest.md b/thousandeyes-sdk-instant-tests/docs/DnsTraceInstantTestRequest.md index 62f260f9..5531c253 100644 --- a/thousandeyes-sdk-instant-tests/docs/DnsTraceInstantTestRequest.md +++ b/thousandeyes-sdk-instant-tests/docs/DnsTraceInstantTestRequest.md @@ -21,6 +21,7 @@ Name | Type | Description | Notes **dns_transport_protocol** | [**TestDnsTransportProtocol**](TestDnsTransportProtocol.md) | | [optional] **domain** | **str** | The target record for the test, with the record type suffixed. If no record type is specified, the test defaults to an ANY record. | **dns_query_class** | [**DnsQueryClass**](DnsQueryClass.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **agents** | [**List[TestAgent]**](TestAgent.md) | A list of objects with `agentId` (required) and `sourceIpAddress` (optional). | ## Example diff --git a/thousandeyes-sdk-instant-tests/docs/DnsTraceInstantTestResponse.md b/thousandeyes-sdk-instant-tests/docs/DnsTraceInstantTestResponse.md index d115d276..986540b3 100644 --- a/thousandeyes-sdk-instant-tests/docs/DnsTraceInstantTestResponse.md +++ b/thousandeyes-sdk-instant-tests/docs/DnsTraceInstantTestResponse.md @@ -21,6 +21,7 @@ Name | Type | Description | Notes **dns_transport_protocol** | [**TestDnsTransportProtocol**](TestDnsTransportProtocol.md) | | [optional] **domain** | **str** | The target record for the test, with the record type suffixed. If no record type is specified, the test defaults to an ANY record. | **dns_query_class** | [**DnsQueryClass**](DnsQueryClass.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **agents** | [**List[AgentResponse]**](AgentResponse.md) | Contains list of agents. | [optional] ## Example diff --git a/thousandeyes-sdk-instant-tests/docs/DnsTraceProperties.md b/thousandeyes-sdk-instant-tests/docs/DnsTraceProperties.md index 796fe55b..3b3ab5a7 100644 --- a/thousandeyes-sdk-instant-tests/docs/DnsTraceProperties.md +++ b/thousandeyes-sdk-instant-tests/docs/DnsTraceProperties.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **dns_transport_protocol** | [**TestDnsTransportProtocol**](TestDnsTransportProtocol.md) | | [optional] **domain** | **str** | The target record for the test, with the record type suffixed. If no record type is specified, the test defaults to an ANY record. | **dns_query_class** | [**DnsQueryClass**](DnsQueryClass.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **type** | **str** | | [optional] [readonly] ## Example diff --git a/thousandeyes-sdk-instant-tests/docs/FtpServerInstantTest.md b/thousandeyes-sdk-instant-tests/docs/FtpServerInstantTest.md index 0d6c0ec9..8fbaee4e 100644 --- a/thousandeyes-sdk-instant-tests/docs/FtpServerInstantTest.md +++ b/thousandeyes-sdk-instant-tests/docs/FtpServerInstantTest.md @@ -29,6 +29,7 @@ Name | Type | Description | Notes **path_trace_mode** | [**TestPathTraceMode**](TestPathTraceMode.md) | | [optional] **probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional] **protocol** | [**TestProtocol**](TestProtocol.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **request_type** | [**FtpServerRequestType**](FtpServerRequestType.md) | | **url** | **str** | Target for the test. | **use_active_ftp** | **bool** | Explicitly set the flag to use active FTP. | [optional] [default to False] diff --git a/thousandeyes-sdk-instant-tests/docs/FtpServerInstantTestRequest.md b/thousandeyes-sdk-instant-tests/docs/FtpServerInstantTestRequest.md index ff737b61..0915b594 100644 --- a/thousandeyes-sdk-instant-tests/docs/FtpServerInstantTestRequest.md +++ b/thousandeyes-sdk-instant-tests/docs/FtpServerInstantTestRequest.md @@ -29,6 +29,7 @@ Name | Type | Description | Notes **path_trace_mode** | [**TestPathTraceMode**](TestPathTraceMode.md) | | [optional] **probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional] **protocol** | [**TestProtocol**](TestProtocol.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **request_type** | [**FtpServerRequestType**](FtpServerRequestType.md) | | **url** | **str** | Target for the test. | **use_active_ftp** | **bool** | Explicitly set the flag to use active FTP. | [optional] [default to False] diff --git a/thousandeyes-sdk-instant-tests/docs/FtpServerInstantTestResponse.md b/thousandeyes-sdk-instant-tests/docs/FtpServerInstantTestResponse.md index 4c30143f..b6a175f4 100644 --- a/thousandeyes-sdk-instant-tests/docs/FtpServerInstantTestResponse.md +++ b/thousandeyes-sdk-instant-tests/docs/FtpServerInstantTestResponse.md @@ -29,6 +29,7 @@ Name | Type | Description | Notes **path_trace_mode** | [**TestPathTraceMode**](TestPathTraceMode.md) | | [optional] **probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional] **protocol** | [**TestProtocol**](TestProtocol.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **request_type** | [**FtpServerRequestType**](FtpServerRequestType.md) | | **url** | **str** | Target for the test. | **use_active_ftp** | **bool** | Explicitly set the flag to use active FTP. | [optional] [default to False] diff --git a/thousandeyes-sdk-instant-tests/docs/FtpServerProperties.md b/thousandeyes-sdk-instant-tests/docs/FtpServerProperties.md index 0af02a99..c5b73b52 100644 --- a/thousandeyes-sdk-instant-tests/docs/FtpServerProperties.md +++ b/thousandeyes-sdk-instant-tests/docs/FtpServerProperties.md @@ -16,6 +16,7 @@ Name | Type | Description | Notes **path_trace_mode** | [**TestPathTraceMode**](TestPathTraceMode.md) | | [optional] **probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional] **protocol** | [**TestProtocol**](TestProtocol.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **request_type** | [**FtpServerRequestType**](FtpServerRequestType.md) | | **url** | **str** | Target for the test. | **use_active_ftp** | **bool** | Explicitly set the flag to use active FTP. | [optional] [default to False] diff --git a/thousandeyes-sdk-instant-tests/docs/HttpServerInstantTest.md b/thousandeyes-sdk-instant-tests/docs/HttpServerInstantTest.md index 42091444..9d1de3a5 100644 --- a/thousandeyes-sdk-instant-tests/docs/HttpServerInstantTest.md +++ b/thousandeyes-sdk-instant-tests/docs/HttpServerInstantTest.md @@ -53,6 +53,7 @@ Name | Type | Description | Notes **override_proxy_id** | **str** | ID of the proxy to be used if the default proxy is overridden. | [optional] **collect_proxy_network_data** | **bool** | Indicates whether network data to the proxy should be collected. | [optional] [default to False] **headers** | **List[str]** | HTTP request headers used. | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **post_body** | **str** | Enter the body for the HTTP POST request in this field. No special escaping is necessary. If the post body is provided with content, the `requestMethod` is automatically set to POST. | [optional] **ipv6_policy** | [**TestIpv6Policy**](TestIpv6Policy.md) | | [optional] diff --git a/thousandeyes-sdk-instant-tests/docs/HttpServerInstantTestRequest.md b/thousandeyes-sdk-instant-tests/docs/HttpServerInstantTestRequest.md index fe83915f..d185554e 100644 --- a/thousandeyes-sdk-instant-tests/docs/HttpServerInstantTestRequest.md +++ b/thousandeyes-sdk-instant-tests/docs/HttpServerInstantTestRequest.md @@ -53,6 +53,7 @@ Name | Type | Description | Notes **override_proxy_id** | **str** | ID of the proxy to be used if the default proxy is overridden. | [optional] **collect_proxy_network_data** | **bool** | Indicates whether network data to the proxy should be collected. | [optional] [default to False] **headers** | **List[str]** | HTTP request headers used. | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **post_body** | **str** | Enter the body for the HTTP POST request in this field. No special escaping is necessary. If the post body is provided with content, the `requestMethod` is automatically set to POST. | [optional] **ipv6_policy** | [**TestIpv6Policy**](TestIpv6Policy.md) | | [optional] **agents** | [**List[TestAgent]**](TestAgent.md) | A list of objects with `agentId` (required) and `sourceIpAddress` (optional). | diff --git a/thousandeyes-sdk-instant-tests/docs/HttpServerInstantTestResponse.md b/thousandeyes-sdk-instant-tests/docs/HttpServerInstantTestResponse.md index 8fa62fd0..b548c9a9 100644 --- a/thousandeyes-sdk-instant-tests/docs/HttpServerInstantTestResponse.md +++ b/thousandeyes-sdk-instant-tests/docs/HttpServerInstantTestResponse.md @@ -53,6 +53,7 @@ Name | Type | Description | Notes **override_proxy_id** | **str** | ID of the proxy to be used if the default proxy is overridden. | [optional] **collect_proxy_network_data** | **bool** | Indicates whether network data to the proxy should be collected. | [optional] [default to False] **headers** | **List[str]** | HTTP request headers used. | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **post_body** | **str** | Enter the body for the HTTP POST request in this field. No special escaping is necessary. If the post body is provided with content, the `requestMethod` is automatically set to POST. | [optional] **ipv6_policy** | [**TestIpv6Policy**](TestIpv6Policy.md) | | [optional] **agents** | [**List[AgentResponse]**](AgentResponse.md) | Contains list of agents. | [optional] diff --git a/thousandeyes-sdk-instant-tests/docs/HttpServerProperties.md b/thousandeyes-sdk-instant-tests/docs/HttpServerProperties.md index 17874609..63bd7f59 100644 --- a/thousandeyes-sdk-instant-tests/docs/HttpServerProperties.md +++ b/thousandeyes-sdk-instant-tests/docs/HttpServerProperties.md @@ -40,6 +40,7 @@ Name | Type | Description | Notes **override_proxy_id** | **str** | ID of the proxy to be used if the default proxy is overridden. | [optional] **collect_proxy_network_data** | **bool** | Indicates whether network data to the proxy should be collected. | [optional] [default to False] **headers** | **List[str]** | HTTP request headers used. | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **post_body** | **str** | Enter the body for the HTTP POST request in this field. No special escaping is necessary. If the post body is provided with content, the `requestMethod` is automatically set to POST. | [optional] **ipv6_policy** | [**TestIpv6Policy**](TestIpv6Policy.md) | | [optional] **type** | **str** | | [optional] [readonly] diff --git a/thousandeyes-sdk-instant-tests/docs/PageLoadInstantTest.md b/thousandeyes-sdk-instant-tests/docs/PageLoadInstantTest.md index 5eaca3c3..d13bc181 100644 --- a/thousandeyes-sdk-instant-tests/docs/PageLoadInstantTest.md +++ b/thousandeyes-sdk-instant-tests/docs/PageLoadInstantTest.md @@ -61,6 +61,7 @@ Name | Type | Description | Notes **allow_geolocation** | **bool** | Set true to use the agent’s geolocation by the web page. | [optional] [default to False] **browser_language** | **str** | Set one of the available browser language that you want to use to configure the browser. | [optional] **page_loading_strategy** | [**TestPageLoadingStrategy**](TestPageLoadingStrategy.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] ## Example diff --git a/thousandeyes-sdk-instant-tests/docs/PageLoadInstantTestRequest.md b/thousandeyes-sdk-instant-tests/docs/PageLoadInstantTestRequest.md index 63024b14..81b072ce 100644 --- a/thousandeyes-sdk-instant-tests/docs/PageLoadInstantTestRequest.md +++ b/thousandeyes-sdk-instant-tests/docs/PageLoadInstantTestRequest.md @@ -61,6 +61,7 @@ Name | Type | Description | Notes **allow_geolocation** | **bool** | Set true to use the agent’s geolocation by the web page. | [optional] [default to False] **browser_language** | **str** | Set one of the available browser language that you want to use to configure the browser. | [optional] **page_loading_strategy** | [**TestPageLoadingStrategy**](TestPageLoadingStrategy.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **agents** | [**List[TestAgent]**](TestAgent.md) | A list of objects with `agentId` (required) and `sourceIpAddress` (optional). | ## Example diff --git a/thousandeyes-sdk-instant-tests/docs/PageLoadInstantTestResponse.md b/thousandeyes-sdk-instant-tests/docs/PageLoadInstantTestResponse.md index aaa9fd5b..bbf6e630 100644 --- a/thousandeyes-sdk-instant-tests/docs/PageLoadInstantTestResponse.md +++ b/thousandeyes-sdk-instant-tests/docs/PageLoadInstantTestResponse.md @@ -61,6 +61,7 @@ Name | Type | Description | Notes **allow_geolocation** | **bool** | Set true to use the agent’s geolocation by the web page. | [optional] [default to False] **browser_language** | **str** | Set one of the available browser language that you want to use to configure the browser. | [optional] **page_loading_strategy** | [**TestPageLoadingStrategy**](TestPageLoadingStrategy.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **agents** | [**List[AgentResponse]**](AgentResponse.md) | Contains list of agents. | [optional] ## Example diff --git a/thousandeyes-sdk-instant-tests/docs/PageLoadProperties.md b/thousandeyes-sdk-instant-tests/docs/PageLoadProperties.md index 004d43c7..b4258d37 100644 --- a/thousandeyes-sdk-instant-tests/docs/PageLoadProperties.md +++ b/thousandeyes-sdk-instant-tests/docs/PageLoadProperties.md @@ -48,6 +48,7 @@ Name | Type | Description | Notes **allow_geolocation** | **bool** | Set true to use the agent’s geolocation by the web page. | [optional] [default to False] **browser_language** | **str** | Set one of the available browser language that you want to use to configure the browser. | [optional] **page_loading_strategy** | [**TestPageLoadingStrategy**](TestPageLoadingStrategy.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **type** | **str** | | [optional] [readonly] ## Example diff --git a/thousandeyes-sdk-instant-tests/docs/SipServerInstantTest.md b/thousandeyes-sdk-instant-tests/docs/SipServerInstantTest.md index 209f34e6..a1e71a3f 100644 --- a/thousandeyes-sdk-instant-tests/docs/SipServerInstantTest.md +++ b/thousandeyes-sdk-instant-tests/docs/SipServerInstantTest.md @@ -24,6 +24,7 @@ Name | Type | Description | Notes **options_regex** | **str** | Options regex, this field does not require escaping. | [optional] **path_trace_mode** | [**TestPathTraceMode**](TestPathTraceMode.md) | | [optional] **probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **register_enabled** | **bool** | Set to true to perform SIP registration on the test target with the SIP REGISTER command. | [optional] [default to False] **sip_target_time** | **int** | Target time for test completion in milliseconds. | [optional] **sip_time_limit** | **int** | Time limit in milliseconds. | [optional] [default to 5] diff --git a/thousandeyes-sdk-instant-tests/docs/SipServerInstantTestRequest.md b/thousandeyes-sdk-instant-tests/docs/SipServerInstantTestRequest.md index 2ada49e5..2e8234e3 100644 --- a/thousandeyes-sdk-instant-tests/docs/SipServerInstantTestRequest.md +++ b/thousandeyes-sdk-instant-tests/docs/SipServerInstantTestRequest.md @@ -24,6 +24,7 @@ Name | Type | Description | Notes **options_regex** | **str** | Options regex, this field does not require escaping. | [optional] **path_trace_mode** | [**TestPathTraceMode**](TestPathTraceMode.md) | | [optional] **probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **register_enabled** | **bool** | Set to true to perform SIP registration on the test target with the SIP REGISTER command. | [optional] [default to False] **sip_target_time** | **int** | Target time for test completion in milliseconds. | [optional] **sip_time_limit** | **int** | Time limit in milliseconds. | [optional] [default to 5] diff --git a/thousandeyes-sdk-instant-tests/docs/SipServerInstantTestResponse.md b/thousandeyes-sdk-instant-tests/docs/SipServerInstantTestResponse.md index aed16bfd..da7cabcc 100644 --- a/thousandeyes-sdk-instant-tests/docs/SipServerInstantTestResponse.md +++ b/thousandeyes-sdk-instant-tests/docs/SipServerInstantTestResponse.md @@ -24,6 +24,7 @@ Name | Type | Description | Notes **options_regex** | **str** | Options regex, this field does not require escaping. | [optional] **path_trace_mode** | [**TestPathTraceMode**](TestPathTraceMode.md) | | [optional] **probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **register_enabled** | **bool** | Set to true to perform SIP registration on the test target with the SIP REGISTER command. | [optional] [default to False] **sip_target_time** | **int** | Target time for test completion in milliseconds. | [optional] **sip_time_limit** | **int** | Time limit in milliseconds. | [optional] [default to 5] diff --git a/thousandeyes-sdk-instant-tests/docs/SipServerProperties.md b/thousandeyes-sdk-instant-tests/docs/SipServerProperties.md index aa093fb8..25144f04 100644 --- a/thousandeyes-sdk-instant-tests/docs/SipServerProperties.md +++ b/thousandeyes-sdk-instant-tests/docs/SipServerProperties.md @@ -11,6 +11,7 @@ Name | Type | Description | Notes **options_regex** | **str** | Options regex, this field does not require escaping. | [optional] **path_trace_mode** | [**TestPathTraceMode**](TestPathTraceMode.md) | | [optional] **probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **register_enabled** | **bool** | Set to true to perform SIP registration on the test target with the SIP REGISTER command. | [optional] [default to False] **sip_target_time** | **int** | Target time for test completion in milliseconds. | [optional] **sip_time_limit** | **int** | Time limit in milliseconds. | [optional] [default to 5] diff --git a/thousandeyes-sdk-instant-tests/docs/VoiceInstantTest.md b/thousandeyes-sdk-instant-tests/docs/VoiceInstantTest.md index ad32e035..f1726d88 100644 --- a/thousandeyes-sdk-instant-tests/docs/VoiceInstantTest.md +++ b/thousandeyes-sdk-instant-tests/docs/VoiceInstantTest.md @@ -26,6 +26,7 @@ Name | Type | Description | Notes **jitter_buffer** | **int** | De-jitter buffer size in seconds. | [optional] [default to 40] **num_path_traces** | **int** | Number of path traces executed by the agent. | [optional] [default to 3] **port** | **int** | Port number for the chosen protocol. | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **target_agent_id** | **str** | Agent ID of the target agent for the test. | ## Example diff --git a/thousandeyes-sdk-instant-tests/docs/VoiceInstantTestRequest.md b/thousandeyes-sdk-instant-tests/docs/VoiceInstantTestRequest.md index 3e7ed1df..cfcc3efb 100644 --- a/thousandeyes-sdk-instant-tests/docs/VoiceInstantTestRequest.md +++ b/thousandeyes-sdk-instant-tests/docs/VoiceInstantTestRequest.md @@ -26,6 +26,7 @@ Name | Type | Description | Notes **jitter_buffer** | **int** | De-jitter buffer size in seconds. | [optional] [default to 40] **num_path_traces** | **int** | Number of path traces executed by the agent. | [optional] [default to 3] **port** | **int** | Port number for the chosen protocol. | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **target_agent_id** | **str** | Agent ID of the target agent for the test. | **agents** | [**List[TestAgent]**](TestAgent.md) | A list of objects with `agentId` (required) and `sourceIpAddress` (optional). | diff --git a/thousandeyes-sdk-instant-tests/docs/VoiceInstantTestResponse.md b/thousandeyes-sdk-instant-tests/docs/VoiceInstantTestResponse.md index 634c7b3d..eb90bf9c 100644 --- a/thousandeyes-sdk-instant-tests/docs/VoiceInstantTestResponse.md +++ b/thousandeyes-sdk-instant-tests/docs/VoiceInstantTestResponse.md @@ -26,6 +26,7 @@ Name | Type | Description | Notes **jitter_buffer** | **int** | De-jitter buffer size in seconds. | [optional] [default to 40] **num_path_traces** | **int** | Number of path traces executed by the agent. | [optional] [default to 3] **port** | **int** | Port number for the chosen protocol. | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **target_agent_id** | **str** | Agent ID of the target agent for the test. | **agents** | [**List[AgentResponse]**](AgentResponse.md) | Contains list of agents. | [optional] diff --git a/thousandeyes-sdk-instant-tests/docs/VoiceProperties.md b/thousandeyes-sdk-instant-tests/docs/VoiceProperties.md index 0b034f7c..43534c8f 100644 --- a/thousandeyes-sdk-instant-tests/docs/VoiceProperties.md +++ b/thousandeyes-sdk-instant-tests/docs/VoiceProperties.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **jitter_buffer** | **int** | De-jitter buffer size in seconds. | [optional] [default to 40] **num_path_traces** | **int** | Number of path traces executed by the agent. | [optional] [default to 3] **port** | **int** | Port number for the chosen protocol. | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **target_agent_id** | **str** | Agent ID of the target agent for the test. | **type** | **str** | | [optional] [readonly] diff --git a/thousandeyes-sdk-instant-tests/docs/WebTransactionInstantTest.md b/thousandeyes-sdk-instant-tests/docs/WebTransactionInstantTest.md index cab196e5..58220bb0 100644 --- a/thousandeyes-sdk-instant-tests/docs/WebTransactionInstantTest.md +++ b/thousandeyes-sdk-instant-tests/docs/WebTransactionInstantTest.md @@ -62,6 +62,7 @@ Name | Type | Description | Notes **allow_geolocation** | **bool** | Set true to use the agent’s geolocation by the web page. | [optional] [default to False] **browser_language** | **str** | Set one of the available browser language that you want to use to configure the browser. | [optional] **page_loading_strategy** | [**TestPageLoadingStrategy**](TestPageLoadingStrategy.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **credentials** | **List[str]** | Contains a list of credential IDs (get `credentialId` from `/credentials` endpoint). | [optional] ## Example diff --git a/thousandeyes-sdk-instant-tests/docs/WebTransactionInstantTestRequest.md b/thousandeyes-sdk-instant-tests/docs/WebTransactionInstantTestRequest.md index cf758704..f82f59ab 100644 --- a/thousandeyes-sdk-instant-tests/docs/WebTransactionInstantTestRequest.md +++ b/thousandeyes-sdk-instant-tests/docs/WebTransactionInstantTestRequest.md @@ -62,6 +62,7 @@ Name | Type | Description | Notes **allow_geolocation** | **bool** | Set true to use the agent’s geolocation by the web page. | [optional] [default to False] **browser_language** | **str** | Set one of the available browser language that you want to use to configure the browser. | [optional] **page_loading_strategy** | [**TestPageLoadingStrategy**](TestPageLoadingStrategy.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **credentials** | **List[str]** | Contains a list of credential IDs (get `credentialId` from `/credentials` endpoint). | [optional] **agents** | [**List[TestAgent]**](TestAgent.md) | A list of objects with `agentId` (required) and `sourceIpAddress` (optional). | diff --git a/thousandeyes-sdk-instant-tests/docs/WebTransactionInstantTestResponse.md b/thousandeyes-sdk-instant-tests/docs/WebTransactionInstantTestResponse.md index c27d7bb6..f1490dac 100644 --- a/thousandeyes-sdk-instant-tests/docs/WebTransactionInstantTestResponse.md +++ b/thousandeyes-sdk-instant-tests/docs/WebTransactionInstantTestResponse.md @@ -62,6 +62,7 @@ Name | Type | Description | Notes **allow_geolocation** | **bool** | Set true to use the agent’s geolocation by the web page. | [optional] [default to False] **browser_language** | **str** | Set one of the available browser language that you want to use to configure the browser. | [optional] **page_loading_strategy** | [**TestPageLoadingStrategy**](TestPageLoadingStrategy.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **credentials** | **List[str]** | Contains a list of credential IDs (get `credentialId` from `/credentials` endpoint). | [optional] **agents** | [**List[AgentResponse]**](AgentResponse.md) | Contains list of agents. | [optional] diff --git a/thousandeyes-sdk-instant-tests/docs/WebTransactionProperties.md b/thousandeyes-sdk-instant-tests/docs/WebTransactionProperties.md index ac3cbb06..28d9e820 100644 --- a/thousandeyes-sdk-instant-tests/docs/WebTransactionProperties.md +++ b/thousandeyes-sdk-instant-tests/docs/WebTransactionProperties.md @@ -49,6 +49,7 @@ Name | Type | Description | Notes **allow_geolocation** | **bool** | Set true to use the agent’s geolocation by the web page. | [optional] [default to False] **browser_language** | **str** | Set one of the available browser language that you want to use to configure the browser. | [optional] **page_loading_strategy** | [**TestPageLoadingStrategy**](TestPageLoadingStrategy.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **type** | **str** | | [optional] [readonly] ## Example diff --git a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/__init__.py b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/__init__.py index 55d1b3d8..ad294a26 100644 --- a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/__init__.py +++ b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/__init__.py @@ -42,6 +42,7 @@ from thousandeyes_sdk.instant_tests.models.agent_to_server_instant_test import A from thousandeyes_sdk.instant_tests.models.agent_to_server_instant_test_request import AgentToServerInstantTestRequest from thousandeyes_sdk.instant_tests.models.agent_to_server_instant_test_response import AgentToServerInstantTestResponse from thousandeyes_sdk.instant_tests.models.agent_to_server_properties import AgentToServerProperties +from thousandeyes_sdk.instant_tests.models.api_client_authentication import ApiClientAuthentication from thousandeyes_sdk.instant_tests.models.api_instant_test import ApiInstantTest from thousandeyes_sdk.instant_tests.models.api_instant_test_request import ApiInstantTestRequest from thousandeyes_sdk.instant_tests.models.api_instant_test_response import ApiInstantTestResponse diff --git a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/__init__.py b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/__init__.py index fa8d49ab..7212979b 100644 --- a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/__init__.py +++ b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/__init__.py @@ -25,6 +25,7 @@ from thousandeyes_sdk.instant_tests.models.agent_to_server_instant_test import A from thousandeyes_sdk.instant_tests.models.agent_to_server_instant_test_request import AgentToServerInstantTestRequest from thousandeyes_sdk.instant_tests.models.agent_to_server_instant_test_response import AgentToServerInstantTestResponse from thousandeyes_sdk.instant_tests.models.agent_to_server_properties import AgentToServerProperties +from thousandeyes_sdk.instant_tests.models.api_client_authentication import ApiClientAuthentication from thousandeyes_sdk.instant_tests.models.api_instant_test import ApiInstantTest from thousandeyes_sdk.instant_tests.models.api_instant_test_request import ApiInstantTestRequest from thousandeyes_sdk.instant_tests.models.api_instant_test_response import ApiInstantTestResponse diff --git a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/agent_to_agent_instant_test.py b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/agent_to_agent_instant_test.py index d2fa19f3..f416a8a1 100644 --- a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/agent_to_agent_instant_test.py +++ b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/agent_to_agent_instant_test.py @@ -55,12 +55,13 @@ class AgentToAgentInstantTest(BaseModel): path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode") port: Optional[Annotated[int, Field(le=65535, strict=True, ge=1)]] = Field(default=49153, description="Target port.") protocol: Optional[AgentToAgentTestProtocol] = None + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") target_agent_id: StrictStr = Field(description="`agentId` of the target agent for the test.", alias="targetAgentId") throughput_measurements: Optional[StrictBool] = Field(default=False, description="Enable or disable throughput measurements. Throughput measurements cannot be enabled when the source or target of the test is a cloud agent.", alias="throughputMeasurements") throughput_duration: Optional[Annotated[int, Field(le=30000, strict=True, ge=5000)]] = Field(default=10000, description="The throughput duration.", alias="throughputDuration") throughput_rate: Optional[Annotated[int, Field(le=1000, strict=True, ge=8)]] = Field(default=None, description="The throughput rate, only applicable for UDP protocol.", alias="throughputRate") fixed_packet_rate: Optional[Annotated[int, Field(le=100, strict=True, ge=0)]] = Field(default=None, description="Sets packets rate sent to measure the network in packets per second.", alias="fixedPacketRate") - __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "direction", "dscp", "dscpId", "mss", "numPathTraces", "pathTraceMode", "port", "protocol", "targetAgentId", "throughputMeasurements", "throughputDuration", "throughputRate", "fixedPacketRate"] + __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "direction", "dscp", "dscpId", "mss", "numPathTraces", "pathTraceMode", "port", "protocol", "randomizedStartTime", "targetAgentId", "throughputMeasurements", "throughputDuration", "throughputRate", "fixedPacketRate"] model_config = ConfigDict( populate_by_name=True, @@ -174,6 +175,7 @@ class AgentToAgentInstantTest(BaseModel): "pathTraceMode": obj.get("pathTraceMode"), "port": obj.get("port") if obj.get("port") is not None else 49153, "protocol": obj.get("protocol"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "targetAgentId": obj.get("targetAgentId"), "throughputMeasurements": obj.get("throughputMeasurements") if obj.get("throughputMeasurements") is not None else False, "throughputDuration": obj.get("throughputDuration") if obj.get("throughputDuration") is not None else 10000, diff --git a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/agent_to_agent_instant_test_request.py b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/agent_to_agent_instant_test_request.py index 27d89a88..072350ad 100644 --- a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/agent_to_agent_instant_test_request.py +++ b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/agent_to_agent_instant_test_request.py @@ -54,13 +54,14 @@ class AgentToAgentInstantTestRequest(BaseModel): path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode") port: Optional[Annotated[int, Field(le=65535, strict=True, ge=1)]] = Field(default=49153, description="Target port.") protocol: Optional[AgentToAgentTestProtocol] = None + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") target_agent_id: StrictStr = Field(description="`agentId` of the target agent for the test.", alias="targetAgentId") throughput_measurements: Optional[StrictBool] = Field(default=False, description="Enable or disable throughput measurements. Throughput measurements cannot be enabled when the source or target of the test is a cloud agent.", alias="throughputMeasurements") throughput_duration: Optional[Annotated[int, Field(le=30000, strict=True, ge=5000)]] = Field(default=10000, description="The throughput duration.", alias="throughputDuration") throughput_rate: Optional[Annotated[int, Field(le=1000, strict=True, ge=8)]] = Field(default=None, description="The throughput rate, only applicable for UDP protocol.", alias="throughputRate") fixed_packet_rate: Optional[Annotated[int, Field(le=100, strict=True, ge=0)]] = Field(default=None, description="Sets packets rate sent to measure the network in packets per second.", alias="fixedPacketRate") agents: List[TestAgent] = Field(description="A list of objects with `agentId` (required) and `sourceIpAddress` (optional).") - __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "direction", "dscp", "dscpId", "mss", "numPathTraces", "pathTraceMode", "port", "protocol", "targetAgentId", "throughputMeasurements", "throughputDuration", "throughputRate", "fixedPacketRate", "agents"] + __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "direction", "dscp", "dscpId", "mss", "numPathTraces", "pathTraceMode", "port", "protocol", "randomizedStartTime", "targetAgentId", "throughputMeasurements", "throughputDuration", "throughputRate", "fixedPacketRate", "agents"] model_config = ConfigDict( populate_by_name=True, @@ -163,6 +164,7 @@ class AgentToAgentInstantTestRequest(BaseModel): "pathTraceMode": obj.get("pathTraceMode"), "port": obj.get("port") if obj.get("port") is not None else 49153, "protocol": obj.get("protocol"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "targetAgentId": obj.get("targetAgentId"), "throughputMeasurements": obj.get("throughputMeasurements") if obj.get("throughputMeasurements") is not None else False, "throughputDuration": obj.get("throughputDuration") if obj.get("throughputDuration") is not None else 10000, diff --git a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/agent_to_agent_instant_test_response.py b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/agent_to_agent_instant_test_response.py index 82ad2f0c..677e0b42 100644 --- a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/agent_to_agent_instant_test_response.py +++ b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/agent_to_agent_instant_test_response.py @@ -56,13 +56,14 @@ class AgentToAgentInstantTestResponse(BaseModel): path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode") port: Optional[Annotated[int, Field(le=65535, strict=True, ge=1)]] = Field(default=49153, description="Target port.") protocol: Optional[AgentToAgentTestProtocol] = None + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") target_agent_id: StrictStr = Field(description="`agentId` of the target agent for the test.", alias="targetAgentId") throughput_measurements: Optional[StrictBool] = Field(default=False, description="Enable or disable throughput measurements. Throughput measurements cannot be enabled when the source or target of the test is a cloud agent.", alias="throughputMeasurements") throughput_duration: Optional[Annotated[int, Field(le=30000, strict=True, ge=5000)]] = Field(default=10000, description="The throughput duration.", alias="throughputDuration") throughput_rate: Optional[Annotated[int, Field(le=1000, strict=True, ge=8)]] = Field(default=None, description="The throughput rate, only applicable for UDP protocol.", alias="throughputRate") fixed_packet_rate: Optional[Annotated[int, Field(le=100, strict=True, ge=0)]] = Field(default=None, description="Sets packets rate sent to measure the network in packets per second.", alias="fixedPacketRate") agents: Optional[List[AgentResponse]] = Field(default=None, description="Contains list of agents.") - __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "direction", "dscp", "dscpId", "mss", "numPathTraces", "pathTraceMode", "port", "protocol", "targetAgentId", "throughputMeasurements", "throughputDuration", "throughputRate", "fixedPacketRate", "agents"] + __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "direction", "dscp", "dscpId", "mss", "numPathTraces", "pathTraceMode", "port", "protocol", "randomizedStartTime", "targetAgentId", "throughputMeasurements", "throughputDuration", "throughputRate", "fixedPacketRate", "agents"] model_config = ConfigDict( populate_by_name=True, @@ -183,6 +184,7 @@ class AgentToAgentInstantTestResponse(BaseModel): "pathTraceMode": obj.get("pathTraceMode"), "port": obj.get("port") if obj.get("port") is not None else 49153, "protocol": obj.get("protocol"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "targetAgentId": obj.get("targetAgentId"), "throughputMeasurements": obj.get("throughputMeasurements") if obj.get("throughputMeasurements") is not None else False, "throughputDuration": obj.get("throughputDuration") if obj.get("throughputDuration") is not None else 10000, diff --git a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/agent_to_agent_properties.py b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/agent_to_agent_properties.py index 1c04dd4b..e644f14d 100644 --- a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/agent_to_agent_properties.py +++ b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/agent_to_agent_properties.py @@ -38,13 +38,14 @@ class AgentToAgentProperties(BaseModel): path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode") port: Optional[Annotated[int, Field(le=65535, strict=True, ge=1)]] = Field(default=49153, description="Target port.") protocol: Optional[AgentToAgentTestProtocol] = None + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") target_agent_id: StrictStr = Field(description="`agentId` of the target agent for the test.", alias="targetAgentId") throughput_measurements: Optional[StrictBool] = Field(default=False, description="Enable or disable throughput measurements. Throughput measurements cannot be enabled when the source or target of the test is a cloud agent.", alias="throughputMeasurements") throughput_duration: Optional[Annotated[int, Field(le=30000, strict=True, ge=5000)]] = Field(default=10000, description="The throughput duration.", alias="throughputDuration") throughput_rate: Optional[Annotated[int, Field(le=1000, strict=True, ge=8)]] = Field(default=None, description="The throughput rate, only applicable for UDP protocol.", alias="throughputRate") fixed_packet_rate: Optional[Annotated[int, Field(le=100, strict=True, ge=0)]] = Field(default=None, description="Sets packets rate sent to measure the network in packets per second.", alias="fixedPacketRate") type: Optional[StrictStr] = None - __properties: ClassVar[List[str]] = ["direction", "dscp", "dscpId", "mss", "numPathTraces", "pathTraceMode", "port", "protocol", "targetAgentId", "throughputMeasurements", "throughputDuration", "throughputRate", "fixedPacketRate", "type"] + __properties: ClassVar[List[str]] = ["direction", "dscp", "dscpId", "mss", "numPathTraces", "pathTraceMode", "port", "protocol", "randomizedStartTime", "targetAgentId", "throughputMeasurements", "throughputDuration", "throughputRate", "fixedPacketRate", "type"] model_config = ConfigDict( populate_by_name=True, @@ -110,6 +111,7 @@ class AgentToAgentProperties(BaseModel): "pathTraceMode": obj.get("pathTraceMode"), "port": obj.get("port") if obj.get("port") is not None else 49153, "protocol": obj.get("protocol"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "targetAgentId": obj.get("targetAgentId"), "throughputMeasurements": obj.get("throughputMeasurements") if obj.get("throughputMeasurements") is not None else False, "throughputDuration": obj.get("throughputDuration") if obj.get("throughputDuration") is not None else 10000, diff --git a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/agent_to_server_instant_test.py b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/agent_to_server_instant_test.py index 3928b1d9..56f7b147 100644 --- a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/agent_to_server_instant_test.py +++ b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/agent_to_server_instant_test.py @@ -57,13 +57,14 @@ class AgentToServerInstantTest(BaseModel): port: Optional[Annotated[int, Field(le=65535, strict=True, ge=1)]] = Field(default=49153, description="Target port.") probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode") protocol: Optional[TestProtocol] = None + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") server: StrictStr = Field(description="Target name or IP address.") dscp: Optional[StrictStr] = Field(default=None, description="DSCP label.") dscp_id: Optional[TestDscpId] = Field(default=None, alias="dscpId") ipv6_policy: Optional[TestIpv6Policy] = Field(default=None, alias="ipv6Policy") ping_payload_size: Optional[Annotated[int, Field(le=1400, strict=True, ge=0)]] = Field(default=None, description="Payload size (not total packet size) for the end-to-end metric's probes, ping payload size allows values from 0 to 1400 bytes. When set to null, payload sizes are 0 bytes for ICMP-based tests and 1 byte for TCP-based tests.", alias="pingPayloadSize") network_measurements: Optional[StrictBool] = Field(default=False, description="View packet loss in 1-second intervals. This is only available for 1-minute interval tests. Set to `true` to enable network measurements.", alias="networkMeasurements") - __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "continuousMode", "fixedPacketRate", "mtuMeasurements", "numPathTraces", "pathTraceMode", "port", "probeMode", "protocol", "server", "dscp", "dscpId", "ipv6Policy", "pingPayloadSize", "networkMeasurements"] + __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "continuousMode", "fixedPacketRate", "mtuMeasurements", "numPathTraces", "pathTraceMode", "port", "probeMode", "protocol", "randomizedStartTime", "server", "dscp", "dscpId", "ipv6Policy", "pingPayloadSize", "networkMeasurements"] model_config = ConfigDict( populate_by_name=True, @@ -178,6 +179,7 @@ class AgentToServerInstantTest(BaseModel): "port": obj.get("port") if obj.get("port") is not None else 49153, "probeMode": obj.get("probeMode"), "protocol": obj.get("protocol"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "server": obj.get("server"), "dscp": obj.get("dscp"), "dscpId": obj.get("dscpId"), diff --git a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/agent_to_server_instant_test_request.py b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/agent_to_server_instant_test_request.py index ee48ee75..97c6dd36 100644 --- a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/agent_to_server_instant_test_request.py +++ b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/agent_to_server_instant_test_request.py @@ -56,6 +56,7 @@ class AgentToServerInstantTestRequest(BaseModel): port: Optional[Annotated[int, Field(le=65535, strict=True, ge=1)]] = Field(default=49153, description="Target port.") probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode") protocol: Optional[TestProtocol] = None + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") server: StrictStr = Field(description="Target name or IP address.") dscp: Optional[StrictStr] = Field(default=None, description="DSCP label.") dscp_id: Optional[TestDscpId] = Field(default=None, alias="dscpId") @@ -63,7 +64,7 @@ class AgentToServerInstantTestRequest(BaseModel): ping_payload_size: Optional[Annotated[int, Field(le=1400, strict=True, ge=0)]] = Field(default=None, description="Payload size (not total packet size) for the end-to-end metric's probes, ping payload size allows values from 0 to 1400 bytes. When set to null, payload sizes are 0 bytes for ICMP-based tests and 1 byte for TCP-based tests.", alias="pingPayloadSize") network_measurements: Optional[StrictBool] = Field(default=False, description="View packet loss in 1-second intervals. This is only available for 1-minute interval tests. Set to `true` to enable network measurements.", alias="networkMeasurements") agents: List[TestAgent] = Field(description="A list of objects with `agentId` (required) and `sourceIpAddress` (optional).") - __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "continuousMode", "fixedPacketRate", "mtuMeasurements", "numPathTraces", "pathTraceMode", "port", "probeMode", "protocol", "server", "dscp", "dscpId", "ipv6Policy", "pingPayloadSize", "networkMeasurements", "agents"] + __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "continuousMode", "fixedPacketRate", "mtuMeasurements", "numPathTraces", "pathTraceMode", "port", "probeMode", "protocol", "randomizedStartTime", "server", "dscp", "dscpId", "ipv6Policy", "pingPayloadSize", "networkMeasurements", "agents"] model_config = ConfigDict( populate_by_name=True, @@ -167,6 +168,7 @@ class AgentToServerInstantTestRequest(BaseModel): "port": obj.get("port") if obj.get("port") is not None else 49153, "probeMode": obj.get("probeMode"), "protocol": obj.get("protocol"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "server": obj.get("server"), "dscp": obj.get("dscp"), "dscpId": obj.get("dscpId"), diff --git a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/agent_to_server_instant_test_response.py b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/agent_to_server_instant_test_response.py index 3dcb28ed..dd9f85f7 100644 --- a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/agent_to_server_instant_test_response.py +++ b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/agent_to_server_instant_test_response.py @@ -58,6 +58,7 @@ class AgentToServerInstantTestResponse(BaseModel): port: Optional[Annotated[int, Field(le=65535, strict=True, ge=1)]] = Field(default=49153, description="Target port.") probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode") protocol: Optional[TestProtocol] = None + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") server: StrictStr = Field(description="Target name or IP address.") dscp: Optional[StrictStr] = Field(default=None, description="DSCP label.") dscp_id: Optional[TestDscpId] = Field(default=None, alias="dscpId") @@ -65,7 +66,7 @@ class AgentToServerInstantTestResponse(BaseModel): ping_payload_size: Optional[Annotated[int, Field(le=1400, strict=True, ge=0)]] = Field(default=None, description="Payload size (not total packet size) for the end-to-end metric's probes, ping payload size allows values from 0 to 1400 bytes. When set to null, payload sizes are 0 bytes for ICMP-based tests and 1 byte for TCP-based tests.", alias="pingPayloadSize") network_measurements: Optional[StrictBool] = Field(default=False, description="View packet loss in 1-second intervals. This is only available for 1-minute interval tests. Set to `true` to enable network measurements.", alias="networkMeasurements") agents: Optional[List[AgentResponse]] = Field(default=None, description="Contains list of agents.") - __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "continuousMode", "fixedPacketRate", "mtuMeasurements", "numPathTraces", "pathTraceMode", "port", "probeMode", "protocol", "server", "dscp", "dscpId", "ipv6Policy", "pingPayloadSize", "networkMeasurements", "agents"] + __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "continuousMode", "fixedPacketRate", "mtuMeasurements", "numPathTraces", "pathTraceMode", "port", "probeMode", "protocol", "randomizedStartTime", "server", "dscp", "dscpId", "ipv6Policy", "pingPayloadSize", "networkMeasurements", "agents"] model_config = ConfigDict( populate_by_name=True, @@ -187,6 +188,7 @@ class AgentToServerInstantTestResponse(BaseModel): "port": obj.get("port") if obj.get("port") is not None else 49153, "probeMode": obj.get("probeMode"), "protocol": obj.get("protocol"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "server": obj.get("server"), "dscp": obj.get("dscp"), "dscpId": obj.get("dscpId"), diff --git a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/agent_to_server_properties.py b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/agent_to_server_properties.py index d9658ba3..a9ac3f73 100644 --- a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/agent_to_server_properties.py +++ b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/agent_to_server_properties.py @@ -40,6 +40,7 @@ class AgentToServerProperties(BaseModel): port: Optional[Annotated[int, Field(le=65535, strict=True, ge=1)]] = Field(default=49153, description="Target port.") probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode") protocol: Optional[TestProtocol] = None + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") server: StrictStr = Field(description="Target name or IP address.") dscp: Optional[StrictStr] = Field(default=None, description="DSCP label.") dscp_id: Optional[TestDscpId] = Field(default=None, alias="dscpId") @@ -47,7 +48,7 @@ class AgentToServerProperties(BaseModel): ping_payload_size: Optional[Annotated[int, Field(le=1400, strict=True, ge=0)]] = Field(default=None, description="Payload size (not total packet size) for the end-to-end metric's probes, ping payload size allows values from 0 to 1400 bytes. When set to null, payload sizes are 0 bytes for ICMP-based tests and 1 byte for TCP-based tests.", alias="pingPayloadSize") network_measurements: Optional[StrictBool] = Field(default=False, description="View packet loss in 1-second intervals. This is only available for 1-minute interval tests. Set to `true` to enable network measurements.", alias="networkMeasurements") type: Optional[StrictStr] = None - __properties: ClassVar[List[str]] = ["bandwidthMeasurements", "continuousMode", "fixedPacketRate", "mtuMeasurements", "numPathTraces", "pathTraceMode", "port", "probeMode", "protocol", "server", "dscp", "dscpId", "ipv6Policy", "pingPayloadSize", "networkMeasurements", "type"] + __properties: ClassVar[List[str]] = ["bandwidthMeasurements", "continuousMode", "fixedPacketRate", "mtuMeasurements", "numPathTraces", "pathTraceMode", "port", "probeMode", "protocol", "randomizedStartTime", "server", "dscp", "dscpId", "ipv6Policy", "pingPayloadSize", "networkMeasurements", "type"] model_config = ConfigDict( populate_by_name=True, @@ -114,6 +115,7 @@ class AgentToServerProperties(BaseModel): "port": obj.get("port") if obj.get("port") is not None else 49153, "probeMode": obj.get("probeMode"), "protocol": obj.get("protocol"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "server": obj.get("server"), "dscp": obj.get("dscp"), "dscpId": obj.get("dscpId"), diff --git a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/api_client_authentication.py b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/api_client_authentication.py new file mode 100644 index 00000000..64903a18 --- /dev/null +++ b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/api_client_authentication.py @@ -0,0 +1,41 @@ +# coding: utf-8 + +""" + Instant Tests API + + The Instant Tests API operations lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. + + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class ApiClientAuthentication(str, Enum): + """ + The OAuth2 client authentication location type. + """ + + """ + allowed enum values + """ + BASIC_MINUS_AUTH_MINUS_HEADER = 'basic-auth-header' + IN_MINUS_BODY = 'in-body' + UNKNOWN = 'unknown' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of ApiClientAuthentication from a JSON string""" + return cls(json.loads(json_str)) + + @classmethod + def _missing_(cls, value): + """Handle unknown values""" + return cls.UNKNOWN + diff --git a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/api_instant_test.py b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/api_instant_test.py index afd8e2eb..f255e033 100644 --- a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/api_instant_test.py +++ b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/api_instant_test.py @@ -60,13 +60,14 @@ class ApiInstantTest(BaseModel): predefined_variables: Optional[List[ApiPredefinedVariable]] = Field(default=None, alias="predefinedVariables") probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode") protocol: Optional[TestProtocol] = None + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") requests: List[ApiRequest] ssl_version_id: Optional[TestSslVersionId] = Field(default=None, alias="sslVersionId") target_time: Optional[Annotated[int, Field(le=60, strict=True, ge=0)]] = Field(default=None, description="Target time for completion metric, defaults to 50% of time limit specified in seconds. (0 means default behavior)", alias="targetTime") time_limit: Optional[Annotated[int, Field(le=180, strict=True, ge=5)]] = Field(default=30, description="Time limit for transaction in seconds. Exceeding this limit will result in a Timeout error.", alias="timeLimit") url: StrictStr = Field(description="Target for the test.") credentials: Optional[List[StrictStr]] = Field(default=None, description="Contains a list of credential IDs (get `credentialId` from `/credentials` endpoint).") - __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "collectProxyNetworkData", "followRedirects", "mtuMeasurements", "networkMeasurements", "numPathTraces", "overrideAgentProxy", "overrideProxyId", "pathTraceMode", "predefinedVariables", "probeMode", "protocol", "requests", "sslVersionId", "targetTime", "timeLimit", "url", "credentials"] + __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "collectProxyNetworkData", "followRedirects", "mtuMeasurements", "networkMeasurements", "numPathTraces", "overrideAgentProxy", "overrideProxyId", "pathTraceMode", "predefinedVariables", "probeMode", "protocol", "randomizedStartTime", "requests", "sslVersionId", "targetTime", "timeLimit", "url", "credentials"] model_config = ConfigDict( populate_by_name=True, @@ -195,6 +196,7 @@ class ApiInstantTest(BaseModel): "predefinedVariables": [ApiPredefinedVariable.from_dict(_item) for _item in obj["predefinedVariables"]] if obj.get("predefinedVariables") is not None else None, "probeMode": obj.get("probeMode"), "protocol": obj.get("protocol"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "requests": [ApiRequest.from_dict(_item) for _item in obj["requests"]] if obj.get("requests") is not None else None, "sslVersionId": obj.get("sslVersionId"), "targetTime": obj.get("targetTime"), diff --git a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/api_instant_test_request.py b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/api_instant_test_request.py index e90ab9f7..17dfe731 100644 --- a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/api_instant_test_request.py +++ b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/api_instant_test_request.py @@ -59,6 +59,7 @@ class ApiInstantTestRequest(BaseModel): predefined_variables: Optional[List[ApiPredefinedVariable]] = Field(default=None, alias="predefinedVariables") probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode") protocol: Optional[TestProtocol] = None + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") requests: List[ApiRequest] ssl_version_id: Optional[TestSslVersionId] = Field(default=None, alias="sslVersionId") target_time: Optional[Annotated[int, Field(le=60, strict=True, ge=0)]] = Field(default=None, description="Target time for completion metric, defaults to 50% of time limit specified in seconds. (0 means default behavior)", alias="targetTime") @@ -66,7 +67,7 @@ class ApiInstantTestRequest(BaseModel): url: StrictStr = Field(description="Target for the test.") credentials: Optional[List[StrictStr]] = Field(default=None, description="Contains a list of credential IDs (get `credentialId` from `/credentials` endpoint).") agents: List[TestAgent] = Field(description="A list of objects with `agentId` (required) and `sourceIpAddress` (optional).") - __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "collectProxyNetworkData", "followRedirects", "mtuMeasurements", "networkMeasurements", "numPathTraces", "overrideAgentProxy", "overrideProxyId", "pathTraceMode", "predefinedVariables", "probeMode", "protocol", "requests", "sslVersionId", "targetTime", "timeLimit", "url", "credentials", "agents"] + __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "collectProxyNetworkData", "followRedirects", "mtuMeasurements", "networkMeasurements", "numPathTraces", "overrideAgentProxy", "overrideProxyId", "pathTraceMode", "predefinedVariables", "probeMode", "protocol", "randomizedStartTime", "requests", "sslVersionId", "targetTime", "timeLimit", "url", "credentials", "agents"] model_config = ConfigDict( populate_by_name=True, @@ -184,6 +185,7 @@ class ApiInstantTestRequest(BaseModel): "predefinedVariables": [ApiPredefinedVariable.from_dict(_item) for _item in obj["predefinedVariables"]] if obj.get("predefinedVariables") is not None else None, "probeMode": obj.get("probeMode"), "protocol": obj.get("protocol"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "requests": [ApiRequest.from_dict(_item) for _item in obj["requests"]] if obj.get("requests") is not None else None, "sslVersionId": obj.get("sslVersionId"), "targetTime": obj.get("targetTime"), diff --git a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/api_instant_test_response.py b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/api_instant_test_response.py index af2fadc6..607b5c1b 100644 --- a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/api_instant_test_response.py +++ b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/api_instant_test_response.py @@ -61,6 +61,7 @@ class ApiInstantTestResponse(BaseModel): predefined_variables: Optional[List[ApiPredefinedVariable]] = Field(default=None, alias="predefinedVariables") probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode") protocol: Optional[TestProtocol] = None + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") requests: List[ApiRequest] ssl_version_id: Optional[TestSslVersionId] = Field(default=None, alias="sslVersionId") target_time: Optional[Annotated[int, Field(le=60, strict=True, ge=0)]] = Field(default=None, description="Target time for completion metric, defaults to 50% of time limit specified in seconds. (0 means default behavior)", alias="targetTime") @@ -68,7 +69,7 @@ class ApiInstantTestResponse(BaseModel): url: StrictStr = Field(description="Target for the test.") credentials: Optional[List[StrictStr]] = Field(default=None, description="Contains a list of credential IDs (get `credentialId` from `/credentials` endpoint).") agents: Optional[List[AgentResponse]] = Field(default=None, description="Contains list of agents.") - __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "collectProxyNetworkData", "followRedirects", "mtuMeasurements", "networkMeasurements", "numPathTraces", "overrideAgentProxy", "overrideProxyId", "pathTraceMode", "predefinedVariables", "probeMode", "protocol", "requests", "sslVersionId", "targetTime", "timeLimit", "url", "credentials", "agents"] + __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "collectProxyNetworkData", "followRedirects", "mtuMeasurements", "networkMeasurements", "numPathTraces", "overrideAgentProxy", "overrideProxyId", "pathTraceMode", "predefinedVariables", "probeMode", "protocol", "randomizedStartTime", "requests", "sslVersionId", "targetTime", "timeLimit", "url", "credentials", "agents"] model_config = ConfigDict( populate_by_name=True, @@ -204,6 +205,7 @@ class ApiInstantTestResponse(BaseModel): "predefinedVariables": [ApiPredefinedVariable.from_dict(_item) for _item in obj["predefinedVariables"]] if obj.get("predefinedVariables") is not None else None, "probeMode": obj.get("probeMode"), "protocol": obj.get("protocol"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "requests": [ApiRequest.from_dict(_item) for _item in obj["requests"]] if obj.get("requests") is not None else None, "sslVersionId": obj.get("sslVersionId"), "targetTime": obj.get("targetTime"), diff --git a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/api_properties.py b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/api_properties.py index 84a28197..d80c142d 100644 --- a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/api_properties.py +++ b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/api_properties.py @@ -43,13 +43,14 @@ class ApiProperties(BaseModel): predefined_variables: Optional[List[ApiPredefinedVariable]] = Field(default=None, alias="predefinedVariables") probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode") protocol: Optional[TestProtocol] = None + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") requests: List[ApiRequest] ssl_version_id: Optional[TestSslVersionId] = Field(default=None, alias="sslVersionId") target_time: Optional[Annotated[int, Field(le=60, strict=True, ge=0)]] = Field(default=None, description="Target time for completion metric, defaults to 50% of time limit specified in seconds. (0 means default behavior)", alias="targetTime") time_limit: Optional[Annotated[int, Field(le=180, strict=True, ge=5)]] = Field(default=30, description="Time limit for transaction in seconds. Exceeding this limit will result in a Timeout error.", alias="timeLimit") url: StrictStr = Field(description="Target for the test.") type: Optional[StrictStr] = None - __properties: ClassVar[List[str]] = ["collectProxyNetworkData", "followRedirects", "mtuMeasurements", "networkMeasurements", "numPathTraces", "overrideAgentProxy", "overrideProxyId", "pathTraceMode", "predefinedVariables", "probeMode", "protocol", "requests", "sslVersionId", "targetTime", "timeLimit", "url", "type"] + __properties: ClassVar[List[str]] = ["collectProxyNetworkData", "followRedirects", "mtuMeasurements", "networkMeasurements", "numPathTraces", "overrideAgentProxy", "overrideProxyId", "pathTraceMode", "predefinedVariables", "probeMode", "protocol", "randomizedStartTime", "requests", "sslVersionId", "targetTime", "timeLimit", "url", "type"] model_config = ConfigDict( populate_by_name=True, @@ -130,6 +131,7 @@ class ApiProperties(BaseModel): "predefinedVariables": [ApiPredefinedVariable.from_dict(_item) for _item in obj["predefinedVariables"]] if obj.get("predefinedVariables") is not None else None, "probeMode": obj.get("probeMode"), "protocol": obj.get("protocol"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "requests": [ApiRequest.from_dict(_item) for _item in obj["requests"]] if obj.get("requests") is not None else None, "sslVersionId": obj.get("sslVersionId"), "targetTime": obj.get("targetTime"), diff --git a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/api_request.py b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/api_request.py index 3e711002..77d30445 100644 --- a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/api_request.py +++ b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/api_request.py @@ -18,6 +18,7 @@ import json from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr from typing import Any, ClassVar, Dict, List, Optional +from thousandeyes_sdk.instant_tests.models.api_client_authentication import ApiClientAuthentication from thousandeyes_sdk.instant_tests.models.api_request_assertion import ApiRequestAssertion from thousandeyes_sdk.instant_tests.models.api_request_auth_type import ApiRequestAuthType from thousandeyes_sdk.instant_tests.models.api_request_header import ApiRequestHeader @@ -34,16 +35,21 @@ class ApiRequest(BaseModel): auth_type: Optional[ApiRequestAuthType] = Field(default=None, alias="authType") bearer_token: Optional[StrictStr] = Field(default=None, description="The bearer token if `authType = bearer-token`.", alias="bearerToken") body: Optional[StrictStr] = Field(default=None, description="POST/PUT request body. Must be in JSON format.") + client_authentication: Optional[ApiClientAuthentication] = Field(default=None, alias="clientAuthentication") + client_id: Optional[StrictStr] = Field(default=None, description="The application ID used when `authType` is set to \"oauth2\".", alias="clientId") + client_secret: Optional[StrictStr] = Field(default=None, description="The private client secret used when `authType` is set to \"oauth2\".", alias="clientSecret") collect_api_response: Optional[StrictBool] = Field(default=True, description="Set to `true` if API response body should be collected and saved. Set to `false` if API response body should not be saved.", alias="collectApiResponse") headers: Optional[List[ApiRequestHeader]] = Field(default=None, description="Array of API Request Header objects.") method: Optional[ApiRequestMethod] = None name: StrictStr = Field(description="API step name, must be unique.") password: Optional[StrictStr] = Field(default=None, description="The password if `authType = basic`.") + scope: Optional[StrictStr] = Field(default=None, description="Application-specific scope values for the access token when `authType` is \"oauth2\".") + token_url: Optional[StrictStr] = Field(default=None, description="The endpoint used to request the access token when `authType` is \"oauth2\".", alias="tokenUrl") url: StrictStr = Field(description="Request url. Supports variables in the format `{{variableName}}`.") username: Optional[StrictStr] = Field(default=None, description="The username if `authType = basic`.") variables: Optional[List[ApiRequestVariable]] = Field(default=None, description="Array of API post request variable objects.") wait_time_ms: Optional[StrictInt] = Field(default=None, description="Post request delay before executing the next API requests, in milliseconds.", alias="waitTimeMs") - __properties: ClassVar[List[str]] = ["assertions", "authType", "bearerToken", "body", "collectApiResponse", "headers", "method", "name", "password", "url", "username", "variables", "waitTimeMs"] + __properties: ClassVar[List[str]] = ["assertions", "authType", "bearerToken", "body", "clientAuthentication", "clientId", "clientSecret", "collectApiResponse", "headers", "method", "name", "password", "scope", "tokenUrl", "url", "username", "variables", "waitTimeMs"] model_config = ConfigDict( populate_by_name=True, @@ -122,11 +128,16 @@ class ApiRequest(BaseModel): "authType": obj.get("authType"), "bearerToken": obj.get("bearerToken"), "body": obj.get("body"), + "clientAuthentication": obj.get("clientAuthentication"), + "clientId": obj.get("clientId"), + "clientSecret": obj.get("clientSecret"), "collectApiResponse": obj.get("collectApiResponse") if obj.get("collectApiResponse") is not None else True, "headers": [ApiRequestHeader.from_dict(_item) for _item in obj["headers"]] if obj.get("headers") is not None else None, "method": obj.get("method"), "name": obj.get("name"), "password": obj.get("password"), + "scope": obj.get("scope"), + "tokenUrl": obj.get("tokenUrl"), "url": obj.get("url"), "username": obj.get("username"), "variables": [ApiRequestVariable.from_dict(_item) for _item in obj["variables"]] if obj.get("variables") is not None else None, diff --git a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/api_request_auth_type.py b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/api_request_auth_type.py index aad2e5c9..77e28a7c 100644 --- a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/api_request_auth_type.py +++ b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/api_request_auth_type.py @@ -28,6 +28,7 @@ class ApiRequestAuthType(str, Enum): NONE = 'none' BASIC = 'basic' BEARER_MINUS_TOKEN = 'bearer-token' + OAUTH2 = 'oauth2' UNKNOWN = 'unknown' @classmethod diff --git a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/dns_sec_instant_test.py b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/dns_sec_instant_test.py index 3e25ef92..a0d753dd 100644 --- a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/dns_sec_instant_test.py +++ b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/dns_sec_instant_test.py @@ -45,7 +45,8 @@ class DnsSecInstantTest(BaseModel): shared_with_accounts: Optional[List[SharedWithAccount]] = Field(default=None, alias="sharedWithAccounts") domain: StrictStr = Field(description="The target record for the test, with the record type suffixed. If no record type is specified, the test defaults to an ANY record.") dns_query_class: Optional[DnsQueryClass] = Field(default=None, alias="dnsQueryClass") - __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "domain", "dnsQueryClass"] + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") + __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "domain", "dnsQueryClass", "randomizedStartTime"] model_config = ConfigDict( populate_by_name=True, @@ -150,7 +151,8 @@ class DnsSecInstantTest(BaseModel): "labels": [TestLabel.from_dict(_item) for _item in obj["labels"]] if obj.get("labels") is not None else None, "sharedWithAccounts": [SharedWithAccount.from_dict(_item) for _item in obj["sharedWithAccounts"]] if obj.get("sharedWithAccounts") is not None else None, "domain": obj.get("domain"), - "dnsQueryClass": obj.get("dnsQueryClass") + "dnsQueryClass": obj.get("dnsQueryClass"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False }) return _obj diff --git a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/dns_sec_instant_test_request.py b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/dns_sec_instant_test_request.py index eef77a0d..f01f7bc7 100644 --- a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/dns_sec_instant_test_request.py +++ b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/dns_sec_instant_test_request.py @@ -44,8 +44,9 @@ class DnsSecInstantTestRequest(BaseModel): shared_with_accounts: Optional[List[StrictStr]] = Field(default=None, description="A list of account group identifiers that the test is shared with (get `aid` from `/account-groups` endpoint).", alias="sharedWithAccounts") domain: StrictStr = Field(description="The target record for the test, with the record type suffixed. If no record type is specified, the test defaults to an ANY record.") dns_query_class: Optional[DnsQueryClass] = Field(default=None, alias="dnsQueryClass") + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") agents: List[TestAgent] = Field(description="A list of objects with `agentId` (required) and `sourceIpAddress` (optional).") - __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "domain", "dnsQueryClass", "agents"] + __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "domain", "dnsQueryClass", "randomizedStartTime", "agents"] model_config = ConfigDict( populate_by_name=True, @@ -140,6 +141,7 @@ class DnsSecInstantTestRequest(BaseModel): "sharedWithAccounts": obj.get("sharedWithAccounts"), "domain": obj.get("domain"), "dnsQueryClass": obj.get("dnsQueryClass"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "agents": [TestAgent.from_dict(_item) for _item in obj["agents"]] if obj.get("agents") is not None else None }) return _obj diff --git a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/dns_sec_instant_test_response.py b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/dns_sec_instant_test_response.py index 3f2bc48a..8194cc20 100644 --- a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/dns_sec_instant_test_response.py +++ b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/dns_sec_instant_test_response.py @@ -46,8 +46,9 @@ class DnsSecInstantTestResponse(BaseModel): shared_with_accounts: Optional[List[SharedWithAccount]] = Field(default=None, alias="sharedWithAccounts") domain: StrictStr = Field(description="The target record for the test, with the record type suffixed. If no record type is specified, the test defaults to an ANY record.") dns_query_class: Optional[DnsQueryClass] = Field(default=None, alias="dnsQueryClass") + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") agents: Optional[List[AgentResponse]] = Field(default=None, description="Contains list of agents.") - __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "domain", "dnsQueryClass", "agents"] + __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "domain", "dnsQueryClass", "randomizedStartTime", "agents"] model_config = ConfigDict( populate_by_name=True, @@ -160,6 +161,7 @@ class DnsSecInstantTestResponse(BaseModel): "sharedWithAccounts": [SharedWithAccount.from_dict(_item) for _item in obj["sharedWithAccounts"]] if obj.get("sharedWithAccounts") is not None else None, "domain": obj.get("domain"), "dnsQueryClass": obj.get("dnsQueryClass"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "agents": [AgentResponse.from_dict(_item) for _item in obj["agents"]] if obj.get("agents") is not None else None }) return _obj diff --git a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/dns_sec_properties.py b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/dns_sec_properties.py index 2c3783d9..65fb5071 100644 --- a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/dns_sec_properties.py +++ b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/dns_sec_properties.py @@ -16,7 +16,7 @@ import pprint import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr from typing import Any, ClassVar, Dict, List, Optional from thousandeyes_sdk.instant_tests.models.dns_query_class import DnsQueryClass from typing import Optional, Set @@ -28,8 +28,9 @@ class DnsSecProperties(BaseModel): """ # noqa: E501 domain: StrictStr = Field(description="The target record for the test, with the record type suffixed. If no record type is specified, the test defaults to an ANY record.") dns_query_class: Optional[DnsQueryClass] = Field(default=None, alias="dnsQueryClass") + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") type: Optional[StrictStr] = None - __properties: ClassVar[List[str]] = ["domain", "dnsQueryClass", "type"] + __properties: ClassVar[List[str]] = ["domain", "dnsQueryClass", "randomizedStartTime", "type"] model_config = ConfigDict( populate_by_name=True, @@ -87,6 +88,7 @@ class DnsSecProperties(BaseModel): _obj = cls.model_validate({ "domain": obj.get("domain"), "dnsQueryClass": obj.get("dnsQueryClass"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "type": obj.get("type") }) return _obj diff --git a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/dns_server_instant_test.py b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/dns_server_instant_test.py index 14217230..76d9ecd6 100644 --- a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/dns_server_instant_test.py +++ b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/dns_server_instant_test.py @@ -60,11 +60,12 @@ class DnsServerInstantTest(BaseModel): path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode") probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode") protocol: Optional[TestProtocol] = None + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") recursive_queries: Optional[StrictBool] = Field(default=None, description="Set true to run query with RD (recursion desired) flag enabled.", alias="recursiveQueries") ipv6_policy: Optional[TestIpv6Policy] = Field(default=None, alias="ipv6Policy") fixed_packet_rate: Optional[Annotated[int, Field(le=100, strict=True, ge=0)]] = Field(default=None, description="Sets packets rate sent to measure the network in packets per second.", alias="fixedPacketRate") dns_query_class: Optional[DnsQueryClass] = Field(default=None, alias="dnsQueryClass") - __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "dnsServers", "dnsTransportProtocol", "domain", "mtuMeasurements", "networkMeasurements", "numPathTraces", "pathTraceMode", "probeMode", "protocol", "recursiveQueries", "ipv6Policy", "fixedPacketRate", "dnsQueryClass"] + __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "dnsServers", "dnsTransportProtocol", "domain", "mtuMeasurements", "networkMeasurements", "numPathTraces", "pathTraceMode", "probeMode", "protocol", "randomizedStartTime", "recursiveQueries", "ipv6Policy", "fixedPacketRate", "dnsQueryClass"] model_config = ConfigDict( populate_by_name=True, @@ -185,6 +186,7 @@ class DnsServerInstantTest(BaseModel): "pathTraceMode": obj.get("pathTraceMode"), "probeMode": obj.get("probeMode"), "protocol": obj.get("protocol"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "recursiveQueries": obj.get("recursiveQueries"), "ipv6Policy": obj.get("ipv6Policy"), "fixedPacketRate": obj.get("fixedPacketRate"), diff --git a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/dns_server_instant_test_request.py b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/dns_server_instant_test_request.py index b56db775..3bdb7140 100644 --- a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/dns_server_instant_test_request.py +++ b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/dns_server_instant_test_request.py @@ -58,12 +58,13 @@ class DnsServerInstantTestRequest(BaseModel): path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode") probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode") protocol: Optional[TestProtocol] = None + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") recursive_queries: Optional[StrictBool] = Field(default=None, description="Set true to run query with RD (recursion desired) flag enabled.", alias="recursiveQueries") ipv6_policy: Optional[TestIpv6Policy] = Field(default=None, alias="ipv6Policy") fixed_packet_rate: Optional[Annotated[int, Field(le=100, strict=True, ge=0)]] = Field(default=None, description="Sets packets rate sent to measure the network in packets per second.", alias="fixedPacketRate") dns_query_class: Optional[DnsQueryClass] = Field(default=None, alias="dnsQueryClass") agents: List[TestAgent] = Field(description="A list of objects with `agentId` (required) and `sourceIpAddress` (optional).") - __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "dnsServers", "dnsTransportProtocol", "domain", "mtuMeasurements", "networkMeasurements", "numPathTraces", "pathTraceMode", "probeMode", "protocol", "recursiveQueries", "ipv6Policy", "fixedPacketRate", "dnsQueryClass", "agents"] + __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "dnsServers", "dnsTransportProtocol", "domain", "mtuMeasurements", "networkMeasurements", "numPathTraces", "pathTraceMode", "probeMode", "protocol", "randomizedStartTime", "recursiveQueries", "ipv6Policy", "fixedPacketRate", "dnsQueryClass", "agents"] model_config = ConfigDict( populate_by_name=True, @@ -166,6 +167,7 @@ class DnsServerInstantTestRequest(BaseModel): "pathTraceMode": obj.get("pathTraceMode"), "probeMode": obj.get("probeMode"), "protocol": obj.get("protocol"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "recursiveQueries": obj.get("recursiveQueries"), "ipv6Policy": obj.get("ipv6Policy"), "fixedPacketRate": obj.get("fixedPacketRate"), diff --git a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/dns_server_instant_test_response.py b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/dns_server_instant_test_response.py index 46d61a97..952f3a56 100644 --- a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/dns_server_instant_test_response.py +++ b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/dns_server_instant_test_response.py @@ -61,12 +61,13 @@ class DnsServerInstantTestResponse(BaseModel): path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode") probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode") protocol: Optional[TestProtocol] = None + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") recursive_queries: Optional[StrictBool] = Field(default=None, description="Set true to run query with RD (recursion desired) flag enabled.", alias="recursiveQueries") ipv6_policy: Optional[TestIpv6Policy] = Field(default=None, alias="ipv6Policy") fixed_packet_rate: Optional[Annotated[int, Field(le=100, strict=True, ge=0)]] = Field(default=None, description="Sets packets rate sent to measure the network in packets per second.", alias="fixedPacketRate") dns_query_class: Optional[DnsQueryClass] = Field(default=None, alias="dnsQueryClass") agents: Optional[List[AgentResponse]] = Field(default=None, description="Contains list of agents.") - __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "dnsServers", "dnsTransportProtocol", "domain", "mtuMeasurements", "networkMeasurements", "numPathTraces", "pathTraceMode", "probeMode", "protocol", "recursiveQueries", "ipv6Policy", "fixedPacketRate", "dnsQueryClass", "agents"] + __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "dnsServers", "dnsTransportProtocol", "domain", "mtuMeasurements", "networkMeasurements", "numPathTraces", "pathTraceMode", "probeMode", "protocol", "randomizedStartTime", "recursiveQueries", "ipv6Policy", "fixedPacketRate", "dnsQueryClass", "agents"] model_config = ConfigDict( populate_by_name=True, @@ -194,6 +195,7 @@ class DnsServerInstantTestResponse(BaseModel): "pathTraceMode": obj.get("pathTraceMode"), "probeMode": obj.get("probeMode"), "protocol": obj.get("protocol"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "recursiveQueries": obj.get("recursiveQueries"), "ipv6Policy": obj.get("ipv6Policy"), "fixedPacketRate": obj.get("fixedPacketRate"), diff --git a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/dns_server_properties.py b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/dns_server_properties.py index cb45120e..ff274382 100644 --- a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/dns_server_properties.py +++ b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/dns_server_properties.py @@ -43,12 +43,13 @@ class DnsServerProperties(BaseModel): path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode") probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode") protocol: Optional[TestProtocol] = None + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") recursive_queries: Optional[StrictBool] = Field(default=None, description="Set true to run query with RD (recursion desired) flag enabled.", alias="recursiveQueries") ipv6_policy: Optional[TestIpv6Policy] = Field(default=None, alias="ipv6Policy") fixed_packet_rate: Optional[Annotated[int, Field(le=100, strict=True, ge=0)]] = Field(default=None, description="Sets packets rate sent to measure the network in packets per second.", alias="fixedPacketRate") dns_query_class: Optional[DnsQueryClass] = Field(default=None, alias="dnsQueryClass") type: Optional[StrictStr] = None - __properties: ClassVar[List[str]] = ["bandwidthMeasurements", "dnsServers", "dnsTransportProtocol", "domain", "mtuMeasurements", "networkMeasurements", "numPathTraces", "pathTraceMode", "probeMode", "protocol", "recursiveQueries", "ipv6Policy", "fixedPacketRate", "dnsQueryClass", "type"] + __properties: ClassVar[List[str]] = ["bandwidthMeasurements", "dnsServers", "dnsTransportProtocol", "domain", "mtuMeasurements", "networkMeasurements", "numPathTraces", "pathTraceMode", "probeMode", "protocol", "randomizedStartTime", "recursiveQueries", "ipv6Policy", "fixedPacketRate", "dnsQueryClass", "type"] model_config = ConfigDict( populate_by_name=True, @@ -121,6 +122,7 @@ class DnsServerProperties(BaseModel): "pathTraceMode": obj.get("pathTraceMode"), "probeMode": obj.get("probeMode"), "protocol": obj.get("protocol"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "recursiveQueries": obj.get("recursiveQueries"), "ipv6Policy": obj.get("ipv6Policy"), "fixedPacketRate": obj.get("fixedPacketRate"), diff --git a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/dns_trace_instant_test.py b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/dns_trace_instant_test.py index 4bfbe019..d5892a3f 100644 --- a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/dns_trace_instant_test.py +++ b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/dns_trace_instant_test.py @@ -47,7 +47,8 @@ class DnsTraceInstantTest(BaseModel): dns_transport_protocol: Optional[TestDnsTransportProtocol] = Field(default=None, alias="dnsTransportProtocol") domain: StrictStr = Field(description="The target record for the test, with the record type suffixed. If no record type is specified, the test defaults to an ANY record.") dns_query_class: Optional[DnsQueryClass] = Field(default=None, alias="dnsQueryClass") - __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "dnsTransportProtocol", "domain", "dnsQueryClass"] + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") + __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "dnsTransportProtocol", "domain", "dnsQueryClass", "randomizedStartTime"] model_config = ConfigDict( populate_by_name=True, @@ -153,7 +154,8 @@ class DnsTraceInstantTest(BaseModel): "sharedWithAccounts": [SharedWithAccount.from_dict(_item) for _item in obj["sharedWithAccounts"]] if obj.get("sharedWithAccounts") is not None else None, "dnsTransportProtocol": obj.get("dnsTransportProtocol"), "domain": obj.get("domain"), - "dnsQueryClass": obj.get("dnsQueryClass") + "dnsQueryClass": obj.get("dnsQueryClass"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False }) return _obj diff --git a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/dns_trace_instant_test_request.py b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/dns_trace_instant_test_request.py index 793bd7f1..57213acb 100644 --- a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/dns_trace_instant_test_request.py +++ b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/dns_trace_instant_test_request.py @@ -46,8 +46,9 @@ class DnsTraceInstantTestRequest(BaseModel): dns_transport_protocol: Optional[TestDnsTransportProtocol] = Field(default=None, alias="dnsTransportProtocol") domain: StrictStr = Field(description="The target record for the test, with the record type suffixed. If no record type is specified, the test defaults to an ANY record.") dns_query_class: Optional[DnsQueryClass] = Field(default=None, alias="dnsQueryClass") + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") agents: List[TestAgent] = Field(description="A list of objects with `agentId` (required) and `sourceIpAddress` (optional).") - __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "dnsTransportProtocol", "domain", "dnsQueryClass", "agents"] + __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "dnsTransportProtocol", "domain", "dnsQueryClass", "randomizedStartTime", "agents"] model_config = ConfigDict( populate_by_name=True, @@ -143,6 +144,7 @@ class DnsTraceInstantTestRequest(BaseModel): "dnsTransportProtocol": obj.get("dnsTransportProtocol"), "domain": obj.get("domain"), "dnsQueryClass": obj.get("dnsQueryClass"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "agents": [TestAgent.from_dict(_item) for _item in obj["agents"]] if obj.get("agents") is not None else None }) return _obj diff --git a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/dns_trace_instant_test_response.py b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/dns_trace_instant_test_response.py index 2cbe0633..51221617 100644 --- a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/dns_trace_instant_test_response.py +++ b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/dns_trace_instant_test_response.py @@ -48,8 +48,9 @@ class DnsTraceInstantTestResponse(BaseModel): dns_transport_protocol: Optional[TestDnsTransportProtocol] = Field(default=None, alias="dnsTransportProtocol") domain: StrictStr = Field(description="The target record for the test, with the record type suffixed. If no record type is specified, the test defaults to an ANY record.") dns_query_class: Optional[DnsQueryClass] = Field(default=None, alias="dnsQueryClass") + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") agents: Optional[List[AgentResponse]] = Field(default=None, description="Contains list of agents.") - __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "dnsTransportProtocol", "domain", "dnsQueryClass", "agents"] + __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "dnsTransportProtocol", "domain", "dnsQueryClass", "randomizedStartTime", "agents"] model_config = ConfigDict( populate_by_name=True, @@ -163,6 +164,7 @@ class DnsTraceInstantTestResponse(BaseModel): "dnsTransportProtocol": obj.get("dnsTransportProtocol"), "domain": obj.get("domain"), "dnsQueryClass": obj.get("dnsQueryClass"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "agents": [AgentResponse.from_dict(_item) for _item in obj["agents"]] if obj.get("agents") is not None else None }) return _obj diff --git a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/dns_trace_properties.py b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/dns_trace_properties.py index 6f561114..a55a8839 100644 --- a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/dns_trace_properties.py +++ b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/dns_trace_properties.py @@ -16,7 +16,7 @@ import pprint import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr from typing import Any, ClassVar, Dict, List, Optional from thousandeyes_sdk.instant_tests.models.dns_query_class import DnsQueryClass from thousandeyes_sdk.instant_tests.models.test_dns_transport_protocol import TestDnsTransportProtocol @@ -30,8 +30,9 @@ class DnsTraceProperties(BaseModel): dns_transport_protocol: Optional[TestDnsTransportProtocol] = Field(default=None, alias="dnsTransportProtocol") domain: StrictStr = Field(description="The target record for the test, with the record type suffixed. If no record type is specified, the test defaults to an ANY record.") dns_query_class: Optional[DnsQueryClass] = Field(default=None, alias="dnsQueryClass") + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") type: Optional[StrictStr] = None - __properties: ClassVar[List[str]] = ["dnsTransportProtocol", "domain", "dnsQueryClass", "type"] + __properties: ClassVar[List[str]] = ["dnsTransportProtocol", "domain", "dnsQueryClass", "randomizedStartTime", "type"] model_config = ConfigDict( populate_by_name=True, @@ -90,6 +91,7 @@ class DnsTraceProperties(BaseModel): "dnsTransportProtocol": obj.get("dnsTransportProtocol"), "domain": obj.get("domain"), "dnsQueryClass": obj.get("dnsQueryClass"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "type": obj.get("type") }) return _obj diff --git a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/ftp_server_instant_test.py b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/ftp_server_instant_test.py index fa49498d..43f1d0a7 100644 --- a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/ftp_server_instant_test.py +++ b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/ftp_server_instant_test.py @@ -59,6 +59,7 @@ class FtpServerInstantTest(BaseModel): path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode") probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode") protocol: Optional[TestProtocol] = None + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") request_type: FtpServerRequestType = Field(alias="requestType") url: StrictStr = Field(description="Target for the test.") use_active_ftp: Optional[StrictBool] = Field(default=False, description="Explicitly set the flag to use active FTP.", alias="useActiveFtp") @@ -66,7 +67,7 @@ class FtpServerInstantTest(BaseModel): username: StrictStr = Field(description="Username for Basic/NTLM authentication.") fixed_packet_rate: Optional[Annotated[int, Field(le=100, strict=True, ge=0)]] = Field(default=None, description="Sets packets rate sent to measure the network in packets per second.", alias="fixedPacketRate") ipv6_policy: Optional[TestIpv6Policy] = Field(default=None, alias="ipv6Policy") - __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "downloadLimit", "ftpTargetTime", "ftpTimeLimit", "mtuMeasurements", "networkMeasurements", "numPathTraces", "password", "pathTraceMode", "probeMode", "protocol", "requestType", "url", "useActiveFtp", "useExplicitFtps", "username", "fixedPacketRate", "ipv6Policy"] + __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "downloadLimit", "ftpTargetTime", "ftpTimeLimit", "mtuMeasurements", "networkMeasurements", "numPathTraces", "password", "pathTraceMode", "probeMode", "protocol", "randomizedStartTime", "requestType", "url", "useActiveFtp", "useExplicitFtps", "username", "fixedPacketRate", "ipv6Policy"] model_config = ConfigDict( populate_by_name=True, @@ -181,6 +182,7 @@ class FtpServerInstantTest(BaseModel): "pathTraceMode": obj.get("pathTraceMode"), "probeMode": obj.get("probeMode"), "protocol": obj.get("protocol"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "requestType": obj.get("requestType"), "url": obj.get("url"), "useActiveFtp": obj.get("useActiveFtp") if obj.get("useActiveFtp") is not None else False, diff --git a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/ftp_server_instant_test_request.py b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/ftp_server_instant_test_request.py index ee3357f8..679456a6 100644 --- a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/ftp_server_instant_test_request.py +++ b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/ftp_server_instant_test_request.py @@ -58,6 +58,7 @@ class FtpServerInstantTestRequest(BaseModel): path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode") probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode") protocol: Optional[TestProtocol] = None + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") request_type: FtpServerRequestType = Field(alias="requestType") url: StrictStr = Field(description="Target for the test.") use_active_ftp: Optional[StrictBool] = Field(default=False, description="Explicitly set the flag to use active FTP.", alias="useActiveFtp") @@ -66,7 +67,7 @@ class FtpServerInstantTestRequest(BaseModel): fixed_packet_rate: Optional[Annotated[int, Field(le=100, strict=True, ge=0)]] = Field(default=None, description="Sets packets rate sent to measure the network in packets per second.", alias="fixedPacketRate") ipv6_policy: Optional[TestIpv6Policy] = Field(default=None, alias="ipv6Policy") agents: List[TestAgent] = Field(description="A list of objects with `agentId` (required) and `sourceIpAddress` (optional).") - __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "downloadLimit", "ftpTargetTime", "ftpTimeLimit", "mtuMeasurements", "networkMeasurements", "numPathTraces", "password", "pathTraceMode", "probeMode", "protocol", "requestType", "url", "useActiveFtp", "useExplicitFtps", "username", "fixedPacketRate", "ipv6Policy", "agents"] + __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "downloadLimit", "ftpTargetTime", "ftpTimeLimit", "mtuMeasurements", "networkMeasurements", "numPathTraces", "password", "pathTraceMode", "probeMode", "protocol", "randomizedStartTime", "requestType", "url", "useActiveFtp", "useExplicitFtps", "username", "fixedPacketRate", "ipv6Policy", "agents"] model_config = ConfigDict( populate_by_name=True, @@ -170,6 +171,7 @@ class FtpServerInstantTestRequest(BaseModel): "pathTraceMode": obj.get("pathTraceMode"), "probeMode": obj.get("probeMode"), "protocol": obj.get("protocol"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "requestType": obj.get("requestType"), "url": obj.get("url"), "useActiveFtp": obj.get("useActiveFtp") if obj.get("useActiveFtp") is not None else False, diff --git a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/ftp_server_instant_test_response.py b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/ftp_server_instant_test_response.py index 91f4e26a..5b93c2db 100644 --- a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/ftp_server_instant_test_response.py +++ b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/ftp_server_instant_test_response.py @@ -60,6 +60,7 @@ class FtpServerInstantTestResponse(BaseModel): path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode") probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode") protocol: Optional[TestProtocol] = None + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") request_type: FtpServerRequestType = Field(alias="requestType") url: StrictStr = Field(description="Target for the test.") use_active_ftp: Optional[StrictBool] = Field(default=False, description="Explicitly set the flag to use active FTP.", alias="useActiveFtp") @@ -68,7 +69,7 @@ class FtpServerInstantTestResponse(BaseModel): fixed_packet_rate: Optional[Annotated[int, Field(le=100, strict=True, ge=0)]] = Field(default=None, description="Sets packets rate sent to measure the network in packets per second.", alias="fixedPacketRate") ipv6_policy: Optional[TestIpv6Policy] = Field(default=None, alias="ipv6Policy") agents: Optional[List[AgentResponse]] = Field(default=None, description="Contains list of agents.") - __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "downloadLimit", "ftpTargetTime", "ftpTimeLimit", "mtuMeasurements", "networkMeasurements", "numPathTraces", "password", "pathTraceMode", "probeMode", "protocol", "requestType", "url", "useActiveFtp", "useExplicitFtps", "username", "fixedPacketRate", "ipv6Policy", "agents"] + __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "downloadLimit", "ftpTargetTime", "ftpTimeLimit", "mtuMeasurements", "networkMeasurements", "numPathTraces", "password", "pathTraceMode", "probeMode", "protocol", "randomizedStartTime", "requestType", "url", "useActiveFtp", "useExplicitFtps", "username", "fixedPacketRate", "ipv6Policy", "agents"] model_config = ConfigDict( populate_by_name=True, @@ -190,6 +191,7 @@ class FtpServerInstantTestResponse(BaseModel): "pathTraceMode": obj.get("pathTraceMode"), "probeMode": obj.get("probeMode"), "protocol": obj.get("protocol"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "requestType": obj.get("requestType"), "url": obj.get("url"), "useActiveFtp": obj.get("useActiveFtp") if obj.get("useActiveFtp") is not None else False, diff --git a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/ftp_server_properties.py b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/ftp_server_properties.py index 0553b4d7..d9ab2e3d 100644 --- a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/ftp_server_properties.py +++ b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/ftp_server_properties.py @@ -42,6 +42,7 @@ class FtpServerProperties(BaseModel): path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode") probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode") protocol: Optional[TestProtocol] = None + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") request_type: FtpServerRequestType = Field(alias="requestType") url: StrictStr = Field(description="Target for the test.") use_active_ftp: Optional[StrictBool] = Field(default=False, description="Explicitly set the flag to use active FTP.", alias="useActiveFtp") @@ -50,7 +51,7 @@ class FtpServerProperties(BaseModel): fixed_packet_rate: Optional[Annotated[int, Field(le=100, strict=True, ge=0)]] = Field(default=None, description="Sets packets rate sent to measure the network in packets per second.", alias="fixedPacketRate") ipv6_policy: Optional[TestIpv6Policy] = Field(default=None, alias="ipv6Policy") type: Optional[StrictStr] = None - __properties: ClassVar[List[str]] = ["bandwidthMeasurements", "downloadLimit", "ftpTargetTime", "ftpTimeLimit", "mtuMeasurements", "networkMeasurements", "numPathTraces", "password", "pathTraceMode", "probeMode", "protocol", "requestType", "url", "useActiveFtp", "useExplicitFtps", "username", "fixedPacketRate", "ipv6Policy", "type"] + __properties: ClassVar[List[str]] = ["bandwidthMeasurements", "downloadLimit", "ftpTargetTime", "ftpTimeLimit", "mtuMeasurements", "networkMeasurements", "numPathTraces", "password", "pathTraceMode", "probeMode", "protocol", "randomizedStartTime", "requestType", "url", "useActiveFtp", "useExplicitFtps", "username", "fixedPacketRate", "ipv6Policy", "type"] model_config = ConfigDict( populate_by_name=True, @@ -117,6 +118,7 @@ class FtpServerProperties(BaseModel): "pathTraceMode": obj.get("pathTraceMode"), "probeMode": obj.get("probeMode"), "protocol": obj.get("protocol"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "requestType": obj.get("requestType"), "url": obj.get("url"), "useActiveFtp": obj.get("useActiveFtp") if obj.get("useActiveFtp") is not None else False, diff --git a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/http_server_instant_test.py b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/http_server_instant_test.py index 74ca4007..9832343d 100644 --- a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/http_server_instant_test.py +++ b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/http_server_instant_test.py @@ -87,9 +87,10 @@ class HttpServerInstantTest(BaseModel): override_proxy_id: Optional[StrictStr] = Field(default=None, description="ID of the proxy to be used if the default proxy is overridden.", alias="overrideProxyId") collect_proxy_network_data: Optional[StrictBool] = Field(default=False, description="Indicates whether network data to the proxy should be collected.", alias="collectProxyNetworkData") headers: Optional[List[StrictStr]] = Field(default=None, description="HTTP request headers used.") + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") post_body: Optional[StrictStr] = Field(default=None, description="Enter the body for the HTTP POST request in this field. No special escaping is necessary. If the post body is provided with content, the `requestMethod` is automatically set to POST.", alias="postBody") ipv6_policy: Optional[TestIpv6Policy] = Field(default=None, alias="ipv6Policy") - __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "authType", "agentInterfaces", "bandwidthMeasurements", "clientCertificate", "contentRegex", "customHeaders", "desiredStatusCode", "downloadLimit", "dnsOverride", "httpTargetTime", "httpTimeLimit", "httpVersion", "includeHeaders", "mtuMeasurements", "networkMeasurements", "numPathTraces", "oAuth", "password", "pathTraceMode", "probeMode", "protocol", "sslVersion", "sslVersionId", "url", "useNtlm", "userAgent", "username", "verifyCertificate", "allowUnsafeLegacyRenegotiation", "followRedirects", "fixedPacketRate", "overrideAgentProxy", "overrideProxyId", "collectProxyNetworkData", "headers", "postBody", "ipv6Policy"] + __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "authType", "agentInterfaces", "bandwidthMeasurements", "clientCertificate", "contentRegex", "customHeaders", "desiredStatusCode", "downloadLimit", "dnsOverride", "httpTargetTime", "httpTimeLimit", "httpVersion", "includeHeaders", "mtuMeasurements", "networkMeasurements", "numPathTraces", "oAuth", "password", "pathTraceMode", "probeMode", "protocol", "sslVersion", "sslVersionId", "url", "useNtlm", "userAgent", "username", "verifyCertificate", "allowUnsafeLegacyRenegotiation", "followRedirects", "fixedPacketRate", "overrideAgentProxy", "overrideProxyId", "collectProxyNetworkData", "headers", "randomizedStartTime", "postBody", "ipv6Policy"] model_config = ConfigDict( populate_by_name=True, @@ -239,6 +240,7 @@ class HttpServerInstantTest(BaseModel): "overrideProxyId": obj.get("overrideProxyId"), "collectProxyNetworkData": obj.get("collectProxyNetworkData") if obj.get("collectProxyNetworkData") is not None else False, "headers": obj.get("headers"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "postBody": obj.get("postBody"), "ipv6Policy": obj.get("ipv6Policy") }) diff --git a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/http_server_instant_test_request.py b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/http_server_instant_test_request.py index f6f240f6..54dc43b6 100644 --- a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/http_server_instant_test_request.py +++ b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/http_server_instant_test_request.py @@ -86,10 +86,11 @@ class HttpServerInstantTestRequest(BaseModel): override_proxy_id: Optional[StrictStr] = Field(default=None, description="ID of the proxy to be used if the default proxy is overridden.", alias="overrideProxyId") collect_proxy_network_data: Optional[StrictBool] = Field(default=False, description="Indicates whether network data to the proxy should be collected.", alias="collectProxyNetworkData") headers: Optional[List[StrictStr]] = Field(default=None, description="HTTP request headers used.") + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") post_body: Optional[StrictStr] = Field(default=None, description="Enter the body for the HTTP POST request in this field. No special escaping is necessary. If the post body is provided with content, the `requestMethod` is automatically set to POST.", alias="postBody") ipv6_policy: Optional[TestIpv6Policy] = Field(default=None, alias="ipv6Policy") agents: List[TestAgent] = Field(description="A list of objects with `agentId` (required) and `sourceIpAddress` (optional).") - __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "authType", "agentInterfaces", "bandwidthMeasurements", "clientCertificate", "contentRegex", "customHeaders", "desiredStatusCode", "downloadLimit", "dnsOverride", "httpTargetTime", "httpTimeLimit", "httpVersion", "includeHeaders", "mtuMeasurements", "networkMeasurements", "numPathTraces", "oAuth", "password", "pathTraceMode", "probeMode", "protocol", "sslVersion", "sslVersionId", "url", "useNtlm", "userAgent", "username", "verifyCertificate", "allowUnsafeLegacyRenegotiation", "followRedirects", "fixedPacketRate", "overrideAgentProxy", "overrideProxyId", "collectProxyNetworkData", "headers", "postBody", "ipv6Policy", "agents"] + __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "authType", "agentInterfaces", "bandwidthMeasurements", "clientCertificate", "contentRegex", "customHeaders", "desiredStatusCode", "downloadLimit", "dnsOverride", "httpTargetTime", "httpTimeLimit", "httpVersion", "includeHeaders", "mtuMeasurements", "networkMeasurements", "numPathTraces", "oAuth", "password", "pathTraceMode", "probeMode", "protocol", "sslVersion", "sslVersionId", "url", "useNtlm", "userAgent", "username", "verifyCertificate", "allowUnsafeLegacyRenegotiation", "followRedirects", "fixedPacketRate", "overrideAgentProxy", "overrideProxyId", "collectProxyNetworkData", "headers", "randomizedStartTime", "postBody", "ipv6Policy", "agents"] model_config = ConfigDict( populate_by_name=True, @@ -228,6 +229,7 @@ class HttpServerInstantTestRequest(BaseModel): "overrideProxyId": obj.get("overrideProxyId"), "collectProxyNetworkData": obj.get("collectProxyNetworkData") if obj.get("collectProxyNetworkData") is not None else False, "headers": obj.get("headers"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "postBody": obj.get("postBody"), "ipv6Policy": obj.get("ipv6Policy"), "agents": [TestAgent.from_dict(_item) for _item in obj["agents"]] if obj.get("agents") is not None else None diff --git a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/http_server_instant_test_response.py b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/http_server_instant_test_response.py index 3255c584..ea10ca06 100644 --- a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/http_server_instant_test_response.py +++ b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/http_server_instant_test_response.py @@ -88,10 +88,11 @@ class HttpServerInstantTestResponse(BaseModel): override_proxy_id: Optional[StrictStr] = Field(default=None, description="ID of the proxy to be used if the default proxy is overridden.", alias="overrideProxyId") collect_proxy_network_data: Optional[StrictBool] = Field(default=False, description="Indicates whether network data to the proxy should be collected.", alias="collectProxyNetworkData") headers: Optional[List[StrictStr]] = Field(default=None, description="HTTP request headers used.") + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") post_body: Optional[StrictStr] = Field(default=None, description="Enter the body for the HTTP POST request in this field. No special escaping is necessary. If the post body is provided with content, the `requestMethod` is automatically set to POST.", alias="postBody") ipv6_policy: Optional[TestIpv6Policy] = Field(default=None, alias="ipv6Policy") agents: Optional[List[AgentResponse]] = Field(default=None, description="Contains list of agents.") - __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "authType", "agentInterfaces", "bandwidthMeasurements", "clientCertificate", "contentRegex", "customHeaders", "desiredStatusCode", "downloadLimit", "dnsOverride", "httpTargetTime", "httpTimeLimit", "httpVersion", "includeHeaders", "mtuMeasurements", "networkMeasurements", "numPathTraces", "oAuth", "password", "pathTraceMode", "probeMode", "protocol", "sslVersion", "sslVersionId", "url", "useNtlm", "userAgent", "username", "verifyCertificate", "allowUnsafeLegacyRenegotiation", "followRedirects", "fixedPacketRate", "overrideAgentProxy", "overrideProxyId", "collectProxyNetworkData", "headers", "postBody", "ipv6Policy", "agents"] + __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "authType", "agentInterfaces", "bandwidthMeasurements", "clientCertificate", "contentRegex", "customHeaders", "desiredStatusCode", "downloadLimit", "dnsOverride", "httpTargetTime", "httpTimeLimit", "httpVersion", "includeHeaders", "mtuMeasurements", "networkMeasurements", "numPathTraces", "oAuth", "password", "pathTraceMode", "probeMode", "protocol", "sslVersion", "sslVersionId", "url", "useNtlm", "userAgent", "username", "verifyCertificate", "allowUnsafeLegacyRenegotiation", "followRedirects", "fixedPacketRate", "overrideAgentProxy", "overrideProxyId", "collectProxyNetworkData", "headers", "randomizedStartTime", "postBody", "ipv6Policy", "agents"] model_config = ConfigDict( populate_by_name=True, @@ -248,6 +249,7 @@ class HttpServerInstantTestResponse(BaseModel): "overrideProxyId": obj.get("overrideProxyId"), "collectProxyNetworkData": obj.get("collectProxyNetworkData") if obj.get("collectProxyNetworkData") is not None else False, "headers": obj.get("headers"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "postBody": obj.get("postBody"), "ipv6Policy": obj.get("ipv6Policy"), "agents": [AgentResponse.from_dict(_item) for _item in obj["agents"]] if obj.get("agents") is not None else None diff --git a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/http_server_properties.py b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/http_server_properties.py index cc87877c..03e14fcb 100644 --- a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/http_server_properties.py +++ b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/http_server_properties.py @@ -70,10 +70,11 @@ class HttpServerProperties(BaseModel): override_proxy_id: Optional[StrictStr] = Field(default=None, description="ID of the proxy to be used if the default proxy is overridden.", alias="overrideProxyId") collect_proxy_network_data: Optional[StrictBool] = Field(default=False, description="Indicates whether network data to the proxy should be collected.", alias="collectProxyNetworkData") headers: Optional[List[StrictStr]] = Field(default=None, description="HTTP request headers used.") + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") post_body: Optional[StrictStr] = Field(default=None, description="Enter the body for the HTTP POST request in this field. No special escaping is necessary. If the post body is provided with content, the `requestMethod` is automatically set to POST.", alias="postBody") ipv6_policy: Optional[TestIpv6Policy] = Field(default=None, alias="ipv6Policy") type: Optional[StrictStr] = None - __properties: ClassVar[List[str]] = ["authType", "agentInterfaces", "bandwidthMeasurements", "clientCertificate", "contentRegex", "customHeaders", "desiredStatusCode", "downloadLimit", "dnsOverride", "httpTargetTime", "httpTimeLimit", "httpVersion", "includeHeaders", "mtuMeasurements", "networkMeasurements", "numPathTraces", "oAuth", "password", "pathTraceMode", "probeMode", "protocol", "sslVersion", "sslVersionId", "url", "useNtlm", "userAgent", "username", "verifyCertificate", "allowUnsafeLegacyRenegotiation", "followRedirects", "fixedPacketRate", "overrideAgentProxy", "overrideProxyId", "collectProxyNetworkData", "headers", "postBody", "ipv6Policy", "type"] + __properties: ClassVar[List[str]] = ["authType", "agentInterfaces", "bandwidthMeasurements", "clientCertificate", "contentRegex", "customHeaders", "desiredStatusCode", "downloadLimit", "dnsOverride", "httpTargetTime", "httpTimeLimit", "httpVersion", "includeHeaders", "mtuMeasurements", "networkMeasurements", "numPathTraces", "oAuth", "password", "pathTraceMode", "probeMode", "protocol", "sslVersion", "sslVersionId", "url", "useNtlm", "userAgent", "username", "verifyCertificate", "allowUnsafeLegacyRenegotiation", "followRedirects", "fixedPacketRate", "overrideAgentProxy", "overrideProxyId", "collectProxyNetworkData", "headers", "randomizedStartTime", "postBody", "ipv6Policy", "type"] model_config = ConfigDict( populate_by_name=True, @@ -175,6 +176,7 @@ class HttpServerProperties(BaseModel): "overrideProxyId": obj.get("overrideProxyId"), "collectProxyNetworkData": obj.get("collectProxyNetworkData") if obj.get("collectProxyNetworkData") is not None else False, "headers": obj.get("headers"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "postBody": obj.get("postBody"), "ipv6Policy": obj.get("ipv6Policy"), "type": obj.get("type") diff --git a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/page_load_instant_test.py b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/page_load_instant_test.py index 850192a4..34190a79 100644 --- a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/page_load_instant_test.py +++ b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/page_load_instant_test.py @@ -95,7 +95,8 @@ class PageLoadInstantTest(BaseModel): allow_geolocation: Optional[StrictBool] = Field(default=False, description="Set true to use the agent’s geolocation by the web page.", alias="allowGeolocation") browser_language: Optional[StrictStr] = Field(default=None, description="Set one of the available browser language that you want to use to configure the browser.", alias="browserLanguage") page_loading_strategy: Optional[TestPageLoadingStrategy] = Field(default=None, alias="pageLoadingStrategy") - __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "authType", "agentInterfaces", "bandwidthMeasurements", "clientCertificate", "contentRegex", "customHeaders", "desiredStatusCode", "downloadLimit", "dnsOverride", "httpTargetTime", "httpTimeLimit", "httpVersion", "includeHeaders", "mtuMeasurements", "networkMeasurements", "numPathTraces", "oAuth", "password", "pathTraceMode", "probeMode", "protocol", "sslVersion", "sslVersionId", "url", "useNtlm", "userAgent", "username", "verifyCertificate", "allowUnsafeLegacyRenegotiation", "followRedirects", "fixedPacketRate", "overrideAgentProxy", "overrideProxyId", "collectProxyNetworkData", "emulatedDeviceId", "pageLoadTargetTime", "pageLoadTimeLimit", "blockDomains", "disableScreenshot", "allowMicAndCamera", "allowGeolocation", "browserLanguage", "pageLoadingStrategy"] + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") + __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "authType", "agentInterfaces", "bandwidthMeasurements", "clientCertificate", "contentRegex", "customHeaders", "desiredStatusCode", "downloadLimit", "dnsOverride", "httpTargetTime", "httpTimeLimit", "httpVersion", "includeHeaders", "mtuMeasurements", "networkMeasurements", "numPathTraces", "oAuth", "password", "pathTraceMode", "probeMode", "protocol", "sslVersion", "sslVersionId", "url", "useNtlm", "userAgent", "username", "verifyCertificate", "allowUnsafeLegacyRenegotiation", "followRedirects", "fixedPacketRate", "overrideAgentProxy", "overrideProxyId", "collectProxyNetworkData", "emulatedDeviceId", "pageLoadTargetTime", "pageLoadTimeLimit", "blockDomains", "disableScreenshot", "allowMicAndCamera", "allowGeolocation", "browserLanguage", "pageLoadingStrategy", "randomizedStartTime"] model_config = ConfigDict( populate_by_name=True, @@ -252,7 +253,8 @@ class PageLoadInstantTest(BaseModel): "allowMicAndCamera": obj.get("allowMicAndCamera") if obj.get("allowMicAndCamera") is not None else False, "allowGeolocation": obj.get("allowGeolocation") if obj.get("allowGeolocation") is not None else False, "browserLanguage": obj.get("browserLanguage"), - "pageLoadingStrategy": obj.get("pageLoadingStrategy") + "pageLoadingStrategy": obj.get("pageLoadingStrategy"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False }) return _obj diff --git a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/page_load_instant_test_request.py b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/page_load_instant_test_request.py index 644de89e..670c19c7 100644 --- a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/page_load_instant_test_request.py +++ b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/page_load_instant_test_request.py @@ -94,8 +94,9 @@ class PageLoadInstantTestRequest(BaseModel): allow_geolocation: Optional[StrictBool] = Field(default=False, description="Set true to use the agent’s geolocation by the web page.", alias="allowGeolocation") browser_language: Optional[StrictStr] = Field(default=None, description="Set one of the available browser language that you want to use to configure the browser.", alias="browserLanguage") page_loading_strategy: Optional[TestPageLoadingStrategy] = Field(default=None, alias="pageLoadingStrategy") + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") agents: List[TestAgent] = Field(description="A list of objects with `agentId` (required) and `sourceIpAddress` (optional).") - __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "authType", "agentInterfaces", "bandwidthMeasurements", "clientCertificate", "contentRegex", "customHeaders", "desiredStatusCode", "downloadLimit", "dnsOverride", "httpTargetTime", "httpTimeLimit", "httpVersion", "includeHeaders", "mtuMeasurements", "networkMeasurements", "numPathTraces", "oAuth", "password", "pathTraceMode", "probeMode", "protocol", "sslVersion", "sslVersionId", "url", "useNtlm", "userAgent", "username", "verifyCertificate", "allowUnsafeLegacyRenegotiation", "followRedirects", "fixedPacketRate", "overrideAgentProxy", "overrideProxyId", "collectProxyNetworkData", "emulatedDeviceId", "pageLoadTargetTime", "pageLoadTimeLimit", "blockDomains", "disableScreenshot", "allowMicAndCamera", "allowGeolocation", "browserLanguage", "pageLoadingStrategy", "agents"] + __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "authType", "agentInterfaces", "bandwidthMeasurements", "clientCertificate", "contentRegex", "customHeaders", "desiredStatusCode", "downloadLimit", "dnsOverride", "httpTargetTime", "httpTimeLimit", "httpVersion", "includeHeaders", "mtuMeasurements", "networkMeasurements", "numPathTraces", "oAuth", "password", "pathTraceMode", "probeMode", "protocol", "sslVersion", "sslVersionId", "url", "useNtlm", "userAgent", "username", "verifyCertificate", "allowUnsafeLegacyRenegotiation", "followRedirects", "fixedPacketRate", "overrideAgentProxy", "overrideProxyId", "collectProxyNetworkData", "emulatedDeviceId", "pageLoadTargetTime", "pageLoadTimeLimit", "blockDomains", "disableScreenshot", "allowMicAndCamera", "allowGeolocation", "browserLanguage", "pageLoadingStrategy", "randomizedStartTime", "agents"] model_config = ConfigDict( populate_by_name=True, @@ -242,6 +243,7 @@ class PageLoadInstantTestRequest(BaseModel): "allowGeolocation": obj.get("allowGeolocation") if obj.get("allowGeolocation") is not None else False, "browserLanguage": obj.get("browserLanguage"), "pageLoadingStrategy": obj.get("pageLoadingStrategy"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "agents": [TestAgent.from_dict(_item) for _item in obj["agents"]] if obj.get("agents") is not None else None }) return _obj diff --git a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/page_load_instant_test_response.py b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/page_load_instant_test_response.py index 0b214fb3..8fd7496b 100644 --- a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/page_load_instant_test_response.py +++ b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/page_load_instant_test_response.py @@ -96,8 +96,9 @@ class PageLoadInstantTestResponse(BaseModel): allow_geolocation: Optional[StrictBool] = Field(default=False, description="Set true to use the agent’s geolocation by the web page.", alias="allowGeolocation") browser_language: Optional[StrictStr] = Field(default=None, description="Set one of the available browser language that you want to use to configure the browser.", alias="browserLanguage") page_loading_strategy: Optional[TestPageLoadingStrategy] = Field(default=None, alias="pageLoadingStrategy") + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") agents: Optional[List[AgentResponse]] = Field(default=None, description="Contains list of agents.") - __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "authType", "agentInterfaces", "bandwidthMeasurements", "clientCertificate", "contentRegex", "customHeaders", "desiredStatusCode", "downloadLimit", "dnsOverride", "httpTargetTime", "httpTimeLimit", "httpVersion", "includeHeaders", "mtuMeasurements", "networkMeasurements", "numPathTraces", "oAuth", "password", "pathTraceMode", "probeMode", "protocol", "sslVersion", "sslVersionId", "url", "useNtlm", "userAgent", "username", "verifyCertificate", "allowUnsafeLegacyRenegotiation", "followRedirects", "fixedPacketRate", "overrideAgentProxy", "overrideProxyId", "collectProxyNetworkData", "emulatedDeviceId", "pageLoadTargetTime", "pageLoadTimeLimit", "blockDomains", "disableScreenshot", "allowMicAndCamera", "allowGeolocation", "browserLanguage", "pageLoadingStrategy", "agents"] + __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "authType", "agentInterfaces", "bandwidthMeasurements", "clientCertificate", "contentRegex", "customHeaders", "desiredStatusCode", "downloadLimit", "dnsOverride", "httpTargetTime", "httpTimeLimit", "httpVersion", "includeHeaders", "mtuMeasurements", "networkMeasurements", "numPathTraces", "oAuth", "password", "pathTraceMode", "probeMode", "protocol", "sslVersion", "sslVersionId", "url", "useNtlm", "userAgent", "username", "verifyCertificate", "allowUnsafeLegacyRenegotiation", "followRedirects", "fixedPacketRate", "overrideAgentProxy", "overrideProxyId", "collectProxyNetworkData", "emulatedDeviceId", "pageLoadTargetTime", "pageLoadTimeLimit", "blockDomains", "disableScreenshot", "allowMicAndCamera", "allowGeolocation", "browserLanguage", "pageLoadingStrategy", "randomizedStartTime", "agents"] model_config = ConfigDict( populate_by_name=True, @@ -262,6 +263,7 @@ class PageLoadInstantTestResponse(BaseModel): "allowGeolocation": obj.get("allowGeolocation") if obj.get("allowGeolocation") is not None else False, "browserLanguage": obj.get("browserLanguage"), "pageLoadingStrategy": obj.get("pageLoadingStrategy"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "agents": [AgentResponse.from_dict(_item) for _item in obj["agents"]] if obj.get("agents") is not None else None }) return _obj diff --git a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/page_load_properties.py b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/page_load_properties.py index 1924394c..7a3534ca 100644 --- a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/page_load_properties.py +++ b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/page_load_properties.py @@ -78,8 +78,9 @@ class PageLoadProperties(BaseModel): allow_geolocation: Optional[StrictBool] = Field(default=False, description="Set true to use the agent’s geolocation by the web page.", alias="allowGeolocation") browser_language: Optional[StrictStr] = Field(default=None, description="Set one of the available browser language that you want to use to configure the browser.", alias="browserLanguage") page_loading_strategy: Optional[TestPageLoadingStrategy] = Field(default=None, alias="pageLoadingStrategy") + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") type: Optional[StrictStr] = None - __properties: ClassVar[List[str]] = ["authType", "agentInterfaces", "bandwidthMeasurements", "clientCertificate", "contentRegex", "customHeaders", "desiredStatusCode", "downloadLimit", "dnsOverride", "httpTargetTime", "httpTimeLimit", "httpVersion", "includeHeaders", "mtuMeasurements", "networkMeasurements", "numPathTraces", "oAuth", "password", "pathTraceMode", "probeMode", "protocol", "sslVersion", "sslVersionId", "url", "useNtlm", "userAgent", "username", "verifyCertificate", "allowUnsafeLegacyRenegotiation", "followRedirects", "fixedPacketRate", "overrideAgentProxy", "overrideProxyId", "collectProxyNetworkData", "emulatedDeviceId", "pageLoadTargetTime", "pageLoadTimeLimit", "blockDomains", "disableScreenshot", "allowMicAndCamera", "allowGeolocation", "browserLanguage", "pageLoadingStrategy", "type"] + __properties: ClassVar[List[str]] = ["authType", "agentInterfaces", "bandwidthMeasurements", "clientCertificate", "contentRegex", "customHeaders", "desiredStatusCode", "downloadLimit", "dnsOverride", "httpTargetTime", "httpTimeLimit", "httpVersion", "includeHeaders", "mtuMeasurements", "networkMeasurements", "numPathTraces", "oAuth", "password", "pathTraceMode", "probeMode", "protocol", "sslVersion", "sslVersionId", "url", "useNtlm", "userAgent", "username", "verifyCertificate", "allowUnsafeLegacyRenegotiation", "followRedirects", "fixedPacketRate", "overrideAgentProxy", "overrideProxyId", "collectProxyNetworkData", "emulatedDeviceId", "pageLoadTargetTime", "pageLoadTimeLimit", "blockDomains", "disableScreenshot", "allowMicAndCamera", "allowGeolocation", "browserLanguage", "pageLoadingStrategy", "randomizedStartTime", "type"] model_config = ConfigDict( populate_by_name=True, @@ -189,6 +190,7 @@ class PageLoadProperties(BaseModel): "allowGeolocation": obj.get("allowGeolocation") if obj.get("allowGeolocation") is not None else False, "browserLanguage": obj.get("browserLanguage"), "pageLoadingStrategy": obj.get("pageLoadingStrategy"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "type": obj.get("type") }) return _obj diff --git a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/sip_server_instant_test.py b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/sip_server_instant_test.py index 92f13383..749aa424 100644 --- a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/sip_server_instant_test.py +++ b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/sip_server_instant_test.py @@ -52,12 +52,13 @@ class SipServerInstantTest(BaseModel): options_regex: Optional[StrictStr] = Field(default=None, description="Options regex, this field does not require escaping.", alias="optionsRegex") path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode") probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode") + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") register_enabled: Optional[StrictBool] = Field(default=False, description="Set to true to perform SIP registration on the test target with the SIP REGISTER command.", alias="registerEnabled") sip_target_time: Optional[Annotated[int, Field(le=5000, strict=True, ge=100)]] = Field(default=None, description="Target time for test completion in milliseconds.", alias="sipTargetTime") sip_time_limit: Optional[Annotated[int, Field(le=10, strict=True, ge=5)]] = Field(default=5, description="Time limit in milliseconds.", alias="sipTimeLimit") fixed_packet_rate: Optional[Annotated[int, Field(le=100, strict=True, ge=0)]] = Field(default=None, description="Sets packets rate sent to measure the network in packets per second.", alias="fixedPacketRate") ipv6_policy: Optional[TestIpv6Policy] = Field(default=None, alias="ipv6Policy") - __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "mtuMeasurements", "networkMeasurements", "numPathTraces", "optionsRegex", "pathTraceMode", "probeMode", "registerEnabled", "sipTargetTime", "sipTimeLimit", "fixedPacketRate", "ipv6Policy"] + __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "mtuMeasurements", "networkMeasurements", "numPathTraces", "optionsRegex", "pathTraceMode", "probeMode", "randomizedStartTime", "registerEnabled", "sipTargetTime", "sipTimeLimit", "fixedPacketRate", "ipv6Policy"] model_config = ConfigDict( populate_by_name=True, @@ -167,6 +168,7 @@ class SipServerInstantTest(BaseModel): "optionsRegex": obj.get("optionsRegex"), "pathTraceMode": obj.get("pathTraceMode"), "probeMode": obj.get("probeMode"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "registerEnabled": obj.get("registerEnabled") if obj.get("registerEnabled") is not None else False, "sipTargetTime": obj.get("sipTargetTime"), "sipTimeLimit": obj.get("sipTimeLimit") if obj.get("sipTimeLimit") is not None else 5, diff --git a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/sip_server_instant_test_request.py b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/sip_server_instant_test_request.py index 1a2b2498..73d986e5 100644 --- a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/sip_server_instant_test_request.py +++ b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/sip_server_instant_test_request.py @@ -52,6 +52,7 @@ class SipServerInstantTestRequest(BaseModel): options_regex: Optional[StrictStr] = Field(default=None, description="Options regex, this field does not require escaping.", alias="optionsRegex") path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode") probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode") + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") register_enabled: Optional[StrictBool] = Field(default=False, description="Set to true to perform SIP registration on the test target with the SIP REGISTER command.", alias="registerEnabled") sip_target_time: Optional[Annotated[int, Field(le=5000, strict=True, ge=100)]] = Field(default=None, description="Target time for test completion in milliseconds.", alias="sipTargetTime") sip_time_limit: Optional[Annotated[int, Field(le=10, strict=True, ge=5)]] = Field(default=5, description="Time limit in milliseconds.", alias="sipTimeLimit") @@ -59,7 +60,7 @@ class SipServerInstantTestRequest(BaseModel): ipv6_policy: Optional[TestIpv6Policy] = Field(default=None, alias="ipv6Policy") agents: List[TestAgent] = Field(description="A list of objects with `agentId` (required) and `sourceIpAddress` (optional).") target_sip_credentials: TestSipCredentials = Field(alias="targetSipCredentials") - __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "mtuMeasurements", "networkMeasurements", "numPathTraces", "optionsRegex", "pathTraceMode", "probeMode", "registerEnabled", "sipTargetTime", "sipTimeLimit", "fixedPacketRate", "ipv6Policy", "agents", "targetSipCredentials"] + __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "mtuMeasurements", "networkMeasurements", "numPathTraces", "optionsRegex", "pathTraceMode", "probeMode", "randomizedStartTime", "registerEnabled", "sipTargetTime", "sipTimeLimit", "fixedPacketRate", "ipv6Policy", "agents", "targetSipCredentials"] model_config = ConfigDict( populate_by_name=True, @@ -161,6 +162,7 @@ class SipServerInstantTestRequest(BaseModel): "optionsRegex": obj.get("optionsRegex"), "pathTraceMode": obj.get("pathTraceMode"), "probeMode": obj.get("probeMode"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "registerEnabled": obj.get("registerEnabled") if obj.get("registerEnabled") is not None else False, "sipTargetTime": obj.get("sipTargetTime"), "sipTimeLimit": obj.get("sipTimeLimit") if obj.get("sipTimeLimit") is not None else 5, diff --git a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/sip_server_instant_test_response.py b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/sip_server_instant_test_response.py index 523415db..c498ea95 100644 --- a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/sip_server_instant_test_response.py +++ b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/sip_server_instant_test_response.py @@ -54,6 +54,7 @@ class SipServerInstantTestResponse(BaseModel): options_regex: Optional[StrictStr] = Field(default=None, description="Options regex, this field does not require escaping.", alias="optionsRegex") path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode") probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode") + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") register_enabled: Optional[StrictBool] = Field(default=False, description="Set to true to perform SIP registration on the test target with the SIP REGISTER command.", alias="registerEnabled") sip_target_time: Optional[Annotated[int, Field(le=5000, strict=True, ge=100)]] = Field(default=None, description="Target time for test completion in milliseconds.", alias="sipTargetTime") sip_time_limit: Optional[Annotated[int, Field(le=10, strict=True, ge=5)]] = Field(default=5, description="Time limit in milliseconds.", alias="sipTimeLimit") @@ -66,7 +67,7 @@ class SipServerInstantTestResponse(BaseModel): sip_registrar: Optional[StrictStr] = Field(default=None, description="SIP server to be tested, specified by domain name or IP address.", alias="sipRegistrar") user: Optional[StrictStr] = Field(default=None, description="Username for SIP registration, should be unique within a ThousandEyes account group.") agents: Optional[List[AgentResponse]] = Field(default=None, description="Contains list of agents.") - __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "mtuMeasurements", "networkMeasurements", "numPathTraces", "optionsRegex", "pathTraceMode", "probeMode", "registerEnabled", "sipTargetTime", "sipTimeLimit", "fixedPacketRate", "ipv6Policy", "authUser", "password", "port", "protocol", "sipRegistrar", "user", "agents"] + __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "mtuMeasurements", "networkMeasurements", "numPathTraces", "optionsRegex", "pathTraceMode", "probeMode", "randomizedStartTime", "registerEnabled", "sipTargetTime", "sipTimeLimit", "fixedPacketRate", "ipv6Policy", "authUser", "password", "port", "protocol", "sipRegistrar", "user", "agents"] model_config = ConfigDict( populate_by_name=True, @@ -183,6 +184,7 @@ class SipServerInstantTestResponse(BaseModel): "optionsRegex": obj.get("optionsRegex"), "pathTraceMode": obj.get("pathTraceMode"), "probeMode": obj.get("probeMode"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "registerEnabled": obj.get("registerEnabled") if obj.get("registerEnabled") is not None else False, "sipTargetTime": obj.get("sipTargetTime"), "sipTimeLimit": obj.get("sipTimeLimit") if obj.get("sipTimeLimit") is not None else 5, diff --git a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/sip_server_properties.py b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/sip_server_properties.py index b366d27d..9b28a4cc 100644 --- a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/sip_server_properties.py +++ b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/sip_server_properties.py @@ -35,13 +35,14 @@ class SipServerProperties(BaseModel): options_regex: Optional[StrictStr] = Field(default=None, description="Options regex, this field does not require escaping.", alias="optionsRegex") path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode") probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode") + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") register_enabled: Optional[StrictBool] = Field(default=False, description="Set to true to perform SIP registration on the test target with the SIP REGISTER command.", alias="registerEnabled") sip_target_time: Optional[Annotated[int, Field(le=5000, strict=True, ge=100)]] = Field(default=None, description="Target time for test completion in milliseconds.", alias="sipTargetTime") sip_time_limit: Optional[Annotated[int, Field(le=10, strict=True, ge=5)]] = Field(default=5, description="Time limit in milliseconds.", alias="sipTimeLimit") fixed_packet_rate: Optional[Annotated[int, Field(le=100, strict=True, ge=0)]] = Field(default=None, description="Sets packets rate sent to measure the network in packets per second.", alias="fixedPacketRate") ipv6_policy: Optional[TestIpv6Policy] = Field(default=None, alias="ipv6Policy") type: Optional[StrictStr] = None - __properties: ClassVar[List[str]] = ["mtuMeasurements", "networkMeasurements", "numPathTraces", "optionsRegex", "pathTraceMode", "probeMode", "registerEnabled", "sipTargetTime", "sipTimeLimit", "fixedPacketRate", "ipv6Policy", "type"] + __properties: ClassVar[List[str]] = ["mtuMeasurements", "networkMeasurements", "numPathTraces", "optionsRegex", "pathTraceMode", "probeMode", "randomizedStartTime", "registerEnabled", "sipTargetTime", "sipTimeLimit", "fixedPacketRate", "ipv6Policy", "type"] model_config = ConfigDict( populate_by_name=True, @@ -103,6 +104,7 @@ class SipServerProperties(BaseModel): "optionsRegex": obj.get("optionsRegex"), "pathTraceMode": obj.get("pathTraceMode"), "probeMode": obj.get("probeMode"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "registerEnabled": obj.get("registerEnabled") if obj.get("registerEnabled") is not None else False, "sipTargetTime": obj.get("sipTargetTime"), "sipTimeLimit": obj.get("sipTimeLimit") if obj.get("sipTimeLimit") is not None else 5, diff --git a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/voice_instant_test.py b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/voice_instant_test.py index 22d7be9a..afccf4bb 100644 --- a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/voice_instant_test.py +++ b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/voice_instant_test.py @@ -52,8 +52,9 @@ class VoiceInstantTest(BaseModel): jitter_buffer: Optional[Annotated[int, Field(le=150, strict=True, ge=0)]] = Field(default=40, description="De-jitter buffer size in seconds.", alias="jitterBuffer") num_path_traces: Optional[Annotated[int, Field(le=10, strict=True, ge=1)]] = Field(default=3, description="Number of path traces executed by the agent.", alias="numPathTraces") port: Optional[Annotated[int, Field(le=65535, strict=True, ge=1024)]] = Field(default=None, description="Port number for the chosen protocol.") + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") target_agent_id: StrictStr = Field(description="Agent ID of the target agent for the test.", alias="targetAgentId") - __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "codec", "codecId", "dscp", "dscpId", "duration", "jitterBuffer", "numPathTraces", "port", "targetAgentId"] + __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "codec", "codecId", "dscp", "dscpId", "duration", "jitterBuffer", "numPathTraces", "port", "randomizedStartTime", "targetAgentId"] model_config = ConfigDict( populate_by_name=True, @@ -169,6 +170,7 @@ class VoiceInstantTest(BaseModel): "jitterBuffer": obj.get("jitterBuffer") if obj.get("jitterBuffer") is not None else 40, "numPathTraces": obj.get("numPathTraces") if obj.get("numPathTraces") is not None else 3, "port": obj.get("port"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "targetAgentId": obj.get("targetAgentId") }) return _obj diff --git a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/voice_instant_test_request.py b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/voice_instant_test_request.py index 82a2eefe..79b4abfa 100644 --- a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/voice_instant_test_request.py +++ b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/voice_instant_test_request.py @@ -51,9 +51,10 @@ class VoiceInstantTestRequest(BaseModel): jitter_buffer: Optional[Annotated[int, Field(le=150, strict=True, ge=0)]] = Field(default=40, description="De-jitter buffer size in seconds.", alias="jitterBuffer") num_path_traces: Optional[Annotated[int, Field(le=10, strict=True, ge=1)]] = Field(default=3, description="Number of path traces executed by the agent.", alias="numPathTraces") port: Optional[Annotated[int, Field(le=65535, strict=True, ge=1024)]] = Field(default=None, description="Port number for the chosen protocol.") + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") target_agent_id: StrictStr = Field(description="Agent ID of the target agent for the test.", alias="targetAgentId") agents: List[TestAgent] = Field(description="A list of objects with `agentId` (required) and `sourceIpAddress` (optional).") - __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "codec", "codecId", "dscp", "dscpId", "duration", "jitterBuffer", "numPathTraces", "port", "targetAgentId", "agents"] + __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "codec", "codecId", "dscp", "dscpId", "duration", "jitterBuffer", "numPathTraces", "port", "randomizedStartTime", "targetAgentId", "agents"] model_config = ConfigDict( populate_by_name=True, @@ -158,6 +159,7 @@ class VoiceInstantTestRequest(BaseModel): "jitterBuffer": obj.get("jitterBuffer") if obj.get("jitterBuffer") is not None else 40, "numPathTraces": obj.get("numPathTraces") if obj.get("numPathTraces") is not None else 3, "port": obj.get("port"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "targetAgentId": obj.get("targetAgentId"), "agents": [TestAgent.from_dict(_item) for _item in obj["agents"]] if obj.get("agents") is not None else None }) diff --git a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/voice_instant_test_response.py b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/voice_instant_test_response.py index bf329a88..cd76c58d 100644 --- a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/voice_instant_test_response.py +++ b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/voice_instant_test_response.py @@ -53,9 +53,10 @@ class VoiceInstantTestResponse(BaseModel): jitter_buffer: Optional[Annotated[int, Field(le=150, strict=True, ge=0)]] = Field(default=40, description="De-jitter buffer size in seconds.", alias="jitterBuffer") num_path_traces: Optional[Annotated[int, Field(le=10, strict=True, ge=1)]] = Field(default=3, description="Number of path traces executed by the agent.", alias="numPathTraces") port: Optional[Annotated[int, Field(le=65535, strict=True, ge=1024)]] = Field(default=None, description="Port number for the chosen protocol.") + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") target_agent_id: StrictStr = Field(description="Agent ID of the target agent for the test.", alias="targetAgentId") agents: Optional[List[AgentResponse]] = Field(default=None, description="Contains list of agents.") - __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "codec", "codecId", "dscp", "dscpId", "duration", "jitterBuffer", "numPathTraces", "port", "targetAgentId", "agents"] + __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "codec", "codecId", "dscp", "dscpId", "duration", "jitterBuffer", "numPathTraces", "port", "randomizedStartTime", "targetAgentId", "agents"] model_config = ConfigDict( populate_by_name=True, @@ -178,6 +179,7 @@ class VoiceInstantTestResponse(BaseModel): "jitterBuffer": obj.get("jitterBuffer") if obj.get("jitterBuffer") is not None else 40, "numPathTraces": obj.get("numPathTraces") if obj.get("numPathTraces") is not None else 3, "port": obj.get("port"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "targetAgentId": obj.get("targetAgentId"), "agents": [AgentResponse.from_dict(_item) for _item in obj["agents"]] if obj.get("agents") is not None else None }) diff --git a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/voice_properties.py b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/voice_properties.py index 6ea51248..4263c950 100644 --- a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/voice_properties.py +++ b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/voice_properties.py @@ -16,7 +16,7 @@ import pprint import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated from thousandeyes_sdk.instant_tests.models.test_dscp_id import TestDscpId @@ -35,9 +35,10 @@ class VoiceProperties(BaseModel): jitter_buffer: Optional[Annotated[int, Field(le=150, strict=True, ge=0)]] = Field(default=40, description="De-jitter buffer size in seconds.", alias="jitterBuffer") num_path_traces: Optional[Annotated[int, Field(le=10, strict=True, ge=1)]] = Field(default=3, description="Number of path traces executed by the agent.", alias="numPathTraces") port: Optional[Annotated[int, Field(le=65535, strict=True, ge=1024)]] = Field(default=None, description="Port number for the chosen protocol.") + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") target_agent_id: StrictStr = Field(description="Agent ID of the target agent for the test.", alias="targetAgentId") type: Optional[StrictStr] = None - __properties: ClassVar[List[str]] = ["codec", "codecId", "dscp", "dscpId", "duration", "jitterBuffer", "numPathTraces", "port", "targetAgentId", "type"] + __properties: ClassVar[List[str]] = ["codec", "codecId", "dscp", "dscpId", "duration", "jitterBuffer", "numPathTraces", "port", "randomizedStartTime", "targetAgentId", "type"] model_config = ConfigDict( populate_by_name=True, @@ -105,6 +106,7 @@ class VoiceProperties(BaseModel): "jitterBuffer": obj.get("jitterBuffer") if obj.get("jitterBuffer") is not None else 40, "numPathTraces": obj.get("numPathTraces") if obj.get("numPathTraces") is not None else 3, "port": obj.get("port"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "targetAgentId": obj.get("targetAgentId"), "type": obj.get("type") }) diff --git a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/web_transaction_instant_test.py b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/web_transaction_instant_test.py index 84bb5c13..24cce59e 100644 --- a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/web_transaction_instant_test.py +++ b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/web_transaction_instant_test.py @@ -96,8 +96,9 @@ class WebTransactionInstantTest(BaseModel): allow_geolocation: Optional[StrictBool] = Field(default=False, description="Set true to use the agent’s geolocation by the web page.", alias="allowGeolocation") browser_language: Optional[StrictStr] = Field(default=None, description="Set one of the available browser language that you want to use to configure the browser.", alias="browserLanguage") page_loading_strategy: Optional[TestPageLoadingStrategy] = Field(default=None, alias="pageLoadingStrategy") + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") credentials: Optional[List[StrictStr]] = Field(default=None, description="Contains a list of credential IDs (get `credentialId` from `/credentials` endpoint).") - __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "authType", "agentInterfaces", "bandwidthMeasurements", "clientCertificate", "contentRegex", "customHeaders", "desiredStatusCode", "downloadLimit", "dnsOverride", "httpTargetTime", "httpTimeLimit", "httpVersion", "includeHeaders", "mtuMeasurements", "networkMeasurements", "numPathTraces", "oAuth", "password", "pathTraceMode", "probeMode", "protocol", "sslVersion", "sslVersionId", "url", "useNtlm", "userAgent", "username", "verifyCertificate", "allowUnsafeLegacyRenegotiation", "followRedirects", "fixedPacketRate", "overrideAgentProxy", "overrideProxyId", "collectProxyNetworkData", "emulatedDeviceId", "targetTime", "timeLimit", "transactionScript", "blockDomains", "disableScreenshot", "allowMicAndCamera", "allowGeolocation", "browserLanguage", "pageLoadingStrategy", "credentials"] + __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "authType", "agentInterfaces", "bandwidthMeasurements", "clientCertificate", "contentRegex", "customHeaders", "desiredStatusCode", "downloadLimit", "dnsOverride", "httpTargetTime", "httpTimeLimit", "httpVersion", "includeHeaders", "mtuMeasurements", "networkMeasurements", "numPathTraces", "oAuth", "password", "pathTraceMode", "probeMode", "protocol", "sslVersion", "sslVersionId", "url", "useNtlm", "userAgent", "username", "verifyCertificate", "allowUnsafeLegacyRenegotiation", "followRedirects", "fixedPacketRate", "overrideAgentProxy", "overrideProxyId", "collectProxyNetworkData", "emulatedDeviceId", "targetTime", "timeLimit", "transactionScript", "blockDomains", "disableScreenshot", "allowMicAndCamera", "allowGeolocation", "browserLanguage", "pageLoadingStrategy", "randomizedStartTime", "credentials"] model_config = ConfigDict( populate_by_name=True, @@ -256,6 +257,7 @@ class WebTransactionInstantTest(BaseModel): "allowGeolocation": obj.get("allowGeolocation") if obj.get("allowGeolocation") is not None else False, "browserLanguage": obj.get("browserLanguage"), "pageLoadingStrategy": obj.get("pageLoadingStrategy"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "credentials": obj.get("credentials") }) return _obj diff --git a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/web_transaction_instant_test_request.py b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/web_transaction_instant_test_request.py index 94d6fcbf..26581c74 100644 --- a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/web_transaction_instant_test_request.py +++ b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/web_transaction_instant_test_request.py @@ -95,9 +95,10 @@ class WebTransactionInstantTestRequest(BaseModel): allow_geolocation: Optional[StrictBool] = Field(default=False, description="Set true to use the agent’s geolocation by the web page.", alias="allowGeolocation") browser_language: Optional[StrictStr] = Field(default=None, description="Set one of the available browser language that you want to use to configure the browser.", alias="browserLanguage") page_loading_strategy: Optional[TestPageLoadingStrategy] = Field(default=None, alias="pageLoadingStrategy") + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") credentials: Optional[List[StrictStr]] = Field(default=None, description="Contains a list of credential IDs (get `credentialId` from `/credentials` endpoint).") agents: List[TestAgent] = Field(description="A list of objects with `agentId` (required) and `sourceIpAddress` (optional).") - __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "authType", "agentInterfaces", "bandwidthMeasurements", "clientCertificate", "contentRegex", "customHeaders", "desiredStatusCode", "downloadLimit", "dnsOverride", "httpTargetTime", "httpTimeLimit", "httpVersion", "includeHeaders", "mtuMeasurements", "networkMeasurements", "numPathTraces", "oAuth", "password", "pathTraceMode", "probeMode", "protocol", "sslVersion", "sslVersionId", "url", "useNtlm", "userAgent", "username", "verifyCertificate", "allowUnsafeLegacyRenegotiation", "followRedirects", "fixedPacketRate", "overrideAgentProxy", "overrideProxyId", "collectProxyNetworkData", "emulatedDeviceId", "targetTime", "timeLimit", "transactionScript", "blockDomains", "disableScreenshot", "allowMicAndCamera", "allowGeolocation", "browserLanguage", "pageLoadingStrategy", "credentials", "agents"] + __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "authType", "agentInterfaces", "bandwidthMeasurements", "clientCertificate", "contentRegex", "customHeaders", "desiredStatusCode", "downloadLimit", "dnsOverride", "httpTargetTime", "httpTimeLimit", "httpVersion", "includeHeaders", "mtuMeasurements", "networkMeasurements", "numPathTraces", "oAuth", "password", "pathTraceMode", "probeMode", "protocol", "sslVersion", "sslVersionId", "url", "useNtlm", "userAgent", "username", "verifyCertificate", "allowUnsafeLegacyRenegotiation", "followRedirects", "fixedPacketRate", "overrideAgentProxy", "overrideProxyId", "collectProxyNetworkData", "emulatedDeviceId", "targetTime", "timeLimit", "transactionScript", "blockDomains", "disableScreenshot", "allowMicAndCamera", "allowGeolocation", "browserLanguage", "pageLoadingStrategy", "randomizedStartTime", "credentials", "agents"] model_config = ConfigDict( populate_by_name=True, @@ -245,6 +246,7 @@ class WebTransactionInstantTestRequest(BaseModel): "allowGeolocation": obj.get("allowGeolocation") if obj.get("allowGeolocation") is not None else False, "browserLanguage": obj.get("browserLanguage"), "pageLoadingStrategy": obj.get("pageLoadingStrategy"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "credentials": obj.get("credentials"), "agents": [TestAgent.from_dict(_item) for _item in obj["agents"]] if obj.get("agents") is not None else None }) diff --git a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/web_transaction_instant_test_response.py b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/web_transaction_instant_test_response.py index 8fd131b9..fae30aac 100644 --- a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/web_transaction_instant_test_response.py +++ b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/web_transaction_instant_test_response.py @@ -97,9 +97,10 @@ class WebTransactionInstantTestResponse(BaseModel): allow_geolocation: Optional[StrictBool] = Field(default=False, description="Set true to use the agent’s geolocation by the web page.", alias="allowGeolocation") browser_language: Optional[StrictStr] = Field(default=None, description="Set one of the available browser language that you want to use to configure the browser.", alias="browserLanguage") page_loading_strategy: Optional[TestPageLoadingStrategy] = Field(default=None, alias="pageLoadingStrategy") + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") credentials: Optional[List[StrictStr]] = Field(default=None, description="Contains a list of credential IDs (get `credentialId` from `/credentials` endpoint).") agents: Optional[List[AgentResponse]] = Field(default=None, description="Contains list of agents.") - __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "authType", "agentInterfaces", "bandwidthMeasurements", "clientCertificate", "contentRegex", "customHeaders", "desiredStatusCode", "downloadLimit", "dnsOverride", "httpTargetTime", "httpTimeLimit", "httpVersion", "includeHeaders", "mtuMeasurements", "networkMeasurements", "numPathTraces", "oAuth", "password", "pathTraceMode", "probeMode", "protocol", "sslVersion", "sslVersionId", "url", "useNtlm", "userAgent", "username", "verifyCertificate", "allowUnsafeLegacyRenegotiation", "followRedirects", "fixedPacketRate", "overrideAgentProxy", "overrideProxyId", "collectProxyNetworkData", "emulatedDeviceId", "targetTime", "timeLimit", "transactionScript", "blockDomains", "disableScreenshot", "allowMicAndCamera", "allowGeolocation", "browserLanguage", "pageLoadingStrategy", "credentials", "agents"] + __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "authType", "agentInterfaces", "bandwidthMeasurements", "clientCertificate", "contentRegex", "customHeaders", "desiredStatusCode", "downloadLimit", "dnsOverride", "httpTargetTime", "httpTimeLimit", "httpVersion", "includeHeaders", "mtuMeasurements", "networkMeasurements", "numPathTraces", "oAuth", "password", "pathTraceMode", "probeMode", "protocol", "sslVersion", "sslVersionId", "url", "useNtlm", "userAgent", "username", "verifyCertificate", "allowUnsafeLegacyRenegotiation", "followRedirects", "fixedPacketRate", "overrideAgentProxy", "overrideProxyId", "collectProxyNetworkData", "emulatedDeviceId", "targetTime", "timeLimit", "transactionScript", "blockDomains", "disableScreenshot", "allowMicAndCamera", "allowGeolocation", "browserLanguage", "pageLoadingStrategy", "randomizedStartTime", "credentials", "agents"] model_config = ConfigDict( populate_by_name=True, @@ -265,6 +266,7 @@ class WebTransactionInstantTestResponse(BaseModel): "allowGeolocation": obj.get("allowGeolocation") if obj.get("allowGeolocation") is not None else False, "browserLanguage": obj.get("browserLanguage"), "pageLoadingStrategy": obj.get("pageLoadingStrategy"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "credentials": obj.get("credentials"), "agents": [AgentResponse.from_dict(_item) for _item in obj["agents"]] if obj.get("agents") is not None else None }) diff --git a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/web_transaction_properties.py b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/web_transaction_properties.py index 295679f0..6b0272f0 100644 --- a/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/web_transaction_properties.py +++ b/thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/models/web_transaction_properties.py @@ -79,8 +79,9 @@ class WebTransactionProperties(BaseModel): allow_geolocation: Optional[StrictBool] = Field(default=False, description="Set true to use the agent’s geolocation by the web page.", alias="allowGeolocation") browser_language: Optional[StrictStr] = Field(default=None, description="Set one of the available browser language that you want to use to configure the browser.", alias="browserLanguage") page_loading_strategy: Optional[TestPageLoadingStrategy] = Field(default=None, alias="pageLoadingStrategy") + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") type: Optional[StrictStr] = None - __properties: ClassVar[List[str]] = ["authType", "agentInterfaces", "bandwidthMeasurements", "clientCertificate", "contentRegex", "customHeaders", "desiredStatusCode", "downloadLimit", "dnsOverride", "httpTargetTime", "httpTimeLimit", "httpVersion", "includeHeaders", "mtuMeasurements", "networkMeasurements", "numPathTraces", "oAuth", "password", "pathTraceMode", "probeMode", "protocol", "sslVersion", "sslVersionId", "url", "useNtlm", "userAgent", "username", "verifyCertificate", "allowUnsafeLegacyRenegotiation", "followRedirects", "fixedPacketRate", "overrideAgentProxy", "overrideProxyId", "collectProxyNetworkData", "emulatedDeviceId", "targetTime", "timeLimit", "transactionScript", "blockDomains", "disableScreenshot", "allowMicAndCamera", "allowGeolocation", "browserLanguage", "pageLoadingStrategy", "type"] + __properties: ClassVar[List[str]] = ["authType", "agentInterfaces", "bandwidthMeasurements", "clientCertificate", "contentRegex", "customHeaders", "desiredStatusCode", "downloadLimit", "dnsOverride", "httpTargetTime", "httpTimeLimit", "httpVersion", "includeHeaders", "mtuMeasurements", "networkMeasurements", "numPathTraces", "oAuth", "password", "pathTraceMode", "probeMode", "protocol", "sslVersion", "sslVersionId", "url", "useNtlm", "userAgent", "username", "verifyCertificate", "allowUnsafeLegacyRenegotiation", "followRedirects", "fixedPacketRate", "overrideAgentProxy", "overrideProxyId", "collectProxyNetworkData", "emulatedDeviceId", "targetTime", "timeLimit", "transactionScript", "blockDomains", "disableScreenshot", "allowMicAndCamera", "allowGeolocation", "browserLanguage", "pageLoadingStrategy", "randomizedStartTime", "type"] model_config = ConfigDict( populate_by_name=True, @@ -191,6 +192,7 @@ class WebTransactionProperties(BaseModel): "allowGeolocation": obj.get("allowGeolocation") if obj.get("allowGeolocation") is not None else False, "browserLanguage": obj.get("browserLanguage"), "pageLoadingStrategy": obj.get("pageLoadingStrategy"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "type": obj.get("type") }) return _obj diff --git a/thousandeyes-sdk-instant-tests/test/test_agent_to_agent_instant_tests_api.py b/thousandeyes-sdk-instant-tests/test/test_agent_to_agent_instant_tests_api.py index 133f9ba1..d53133c8 100644 --- a/thousandeyes-sdk-instant-tests/test/test_agent_to_agent_instant_tests_api.py +++ b/thousandeyes-sdk-instant-tests/test/test_agent_to_agent_instant_tests_api.py @@ -77,6 +77,7 @@ class TestAgentToAgentInstantTestsApi(unittest.TestCase): "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", "port" : 49153, + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "targetAgentId" : "2954", "testId" : "281474976710706", @@ -160,6 +161,7 @@ class TestAgentToAgentInstantTestsApi(unittest.TestCase): "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", "port" : 49153, + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "targetAgentId" : "2954", "testId" : "281474976710706", diff --git a/thousandeyes-sdk-instant-tests/test/test_agent_to_server_instant_tests_api.py b/thousandeyes-sdk-instant-tests/test/test_agent_to_server_instant_tests_api.py index 8410364e..5fb53b85 100644 --- a/thousandeyes-sdk-instant-tests/test/test_agent_to_server_instant_tests_api.py +++ b/thousandeyes-sdk-instant-tests/test/test_agent_to_server_instant_tests_api.py @@ -78,6 +78,7 @@ class TestAgentToServerInstantTestsApi(unittest.TestCase): "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", "port" : 49153, + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "testId" : "281474976710706", "sharedWithAccounts" : [ "1234", "12345" ], @@ -163,6 +164,7 @@ class TestAgentToServerInstantTestsApi(unittest.TestCase): "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", "port" : 49153, + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "testId" : "281474976710706", "sharedWithAccounts" : [ { diff --git a/thousandeyes-sdk-instant-tests/test/test_api_instant_tests_api.py b/thousandeyes-sdk-instant-tests/test/test_api_instant_tests_api.py index 1d5f474a..a7531323 100644 --- a/thousandeyes-sdk-instant-tests/test/test_api_instant_tests_api.py +++ b/thousandeyes-sdk-instant-tests/test/test_api_instant_tests_api.py @@ -68,13 +68,18 @@ class TestAPIInstantTestsApi(unittest.TestCase): "name" : "myTestName", "value" : "tests[0].name" } ], + "clientId" : "client-id", + "tokenUrl" : "https://id.cisco.com/oauth2/default/v1/token", "method" : "get", "body" : "body", "url" : "https://api.thousandeyes.com/v7/status", "password" : "basic_pw123", "bearerToken" : "abcd-1234-...", + "scope" : "read, write, deploy", "name" : "Step 1", "waitTimeMs" : 0, + "clientAuthentication" : "basic-auth-header", + "clientSecret" : "client-secret", "assertions" : [ { "name" : "status-code", "value" : "200", @@ -102,13 +107,18 @@ class TestAPIInstantTestsApi(unittest.TestCase): "name" : "myTestName", "value" : "tests[0].name" } ], + "clientId" : "client-id", + "tokenUrl" : "https://id.cisco.com/oauth2/default/v1/token", "method" : "get", "body" : "body", "url" : "https://api.thousandeyes.com/v7/status", "password" : "basic_pw123", "bearerToken" : "abcd-1234-...", + "scope" : "read, write, deploy", "name" : "Step 1", "waitTimeMs" : 0, + "clientAuthentication" : "basic-auth-header", + "clientSecret" : "client-secret", "assertions" : [ { "name" : "status-code", "value" : "200", @@ -153,6 +163,7 @@ class TestAPIInstantTestsApi(unittest.TestCase): "timeLimit" : 19, "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "testId" : "281474976710706", "sharedWithAccounts" : [ "1234", "12345" ], @@ -203,13 +214,18 @@ class TestAPIInstantTestsApi(unittest.TestCase): "name" : "myTestName", "value" : "tests[0].name" } ], + "clientId" : "client-id", + "tokenUrl" : "https://id.cisco.com/oauth2/default/v1/token", "method" : "get", "body" : "body", "url" : "https://api.thousandeyes.com/v7/status", "password" : "basic_pw123", "bearerToken" : "abcd-1234-...", + "scope" : "read, write, deploy", "name" : "Step 1", "waitTimeMs" : 0, + "clientAuthentication" : "basic-auth-header", + "clientSecret" : "client-secret", "assertions" : [ { "name" : "status-code", "value" : "200", @@ -237,13 +253,18 @@ class TestAPIInstantTestsApi(unittest.TestCase): "name" : "myTestName", "value" : "tests[0].name" } ], + "clientId" : "client-id", + "tokenUrl" : "https://id.cisco.com/oauth2/default/v1/token", "method" : "get", "body" : "body", "url" : "https://api.thousandeyes.com/v7/status", "password" : "basic_pw123", "bearerToken" : "abcd-1234-...", + "scope" : "read, write, deploy", "name" : "Step 1", "waitTimeMs" : 0, + "clientAuthentication" : "basic-auth-header", + "clientSecret" : "client-secret", "assertions" : [ { "name" : "status-code", "value" : "200", @@ -314,6 +335,7 @@ class TestAPIInstantTestsApi(unittest.TestCase): "timeLimit" : 19, "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "testId" : "281474976710706", "sharedWithAccounts" : [ { diff --git a/thousandeyes-sdk-instant-tests/test/test_dns_server_instant_tests_api.py b/thousandeyes-sdk-instant-tests/test/test_dns_server_instant_tests_api.py index 3e786ea1..dbf5cc25 100644 --- a/thousandeyes-sdk-instant-tests/test/test_dns_server_instant_tests_api.py +++ b/thousandeyes-sdk-instant-tests/test/test_dns_server_instant_tests_api.py @@ -78,6 +78,7 @@ class TestDNSServerInstantTestsApi(unittest.TestCase): } ], "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", + "randomizedStartTime" : false, "domain" : "www.thousandeyes.com", "modifiedDate" : "2022-07-17T22:00:54Z", "testId" : "281474976710706", @@ -168,6 +169,7 @@ class TestDNSServerInstantTestsApi(unittest.TestCase): } ], "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", + "randomizedStartTime" : false, "domain" : "www.thousandeyes.com", "modifiedDate" : "2022-07-17T22:00:54Z", "testId" : "281474976710706", diff --git a/thousandeyes-sdk-instant-tests/test/test_dns_trace_instant_tests_api.py b/thousandeyes-sdk-instant-tests/test/test_dns_trace_instant_tests_api.py index 0e9e17bb..711f6b64 100644 --- a/thousandeyes-sdk-instant-tests/test/test_dns_trace_instant_tests_api.py +++ b/thousandeyes-sdk-instant-tests/test/test_dns_trace_instant_tests_api.py @@ -65,6 +65,7 @@ class TestDNSTraceInstantTestsApi(unittest.TestCase): } ], "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", + "randomizedStartTime" : false, "domain" : "www.thousandeyes.com", "modifiedDate" : "2022-07-17T22:00:54Z", "modifiedBy" : "user@user.com", @@ -138,6 +139,7 @@ class TestDNSTraceInstantTestsApi(unittest.TestCase): } ], "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", + "randomizedStartTime" : false, "domain" : "www.thousandeyes.com", "modifiedDate" : "2022-07-17T22:00:54Z", "modifiedBy" : "user@user.com", diff --git a/thousandeyes-sdk-instant-tests/test/test_dnssec_instant_tests_api.py b/thousandeyes-sdk-instant-tests/test/test_dnssec_instant_tests_api.py index 8296a9d3..2736dd5e 100644 --- a/thousandeyes-sdk-instant-tests/test/test_dnssec_instant_tests_api.py +++ b/thousandeyes-sdk-instant-tests/test/test_dnssec_instant_tests_api.py @@ -64,6 +64,7 @@ class TestDNSSECInstantTestsApi(unittest.TestCase): } ], "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", + "randomizedStartTime" : false, "domain" : "www.thousandeyes.com", "modifiedDate" : "2022-07-17T22:00:54Z", "modifiedBy" : "user@user.com", @@ -136,6 +137,7 @@ class TestDNSSECInstantTestsApi(unittest.TestCase): } ], "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", + "randomizedStartTime" : false, "domain" : "www.thousandeyes.com", "modifiedDate" : "2022-07-17T22:00:54Z", "modifiedBy" : "user@user.com", diff --git a/thousandeyes-sdk-instant-tests/test/test_ftp_server_instant_tests_api.py b/thousandeyes-sdk-instant-tests/test/test_ftp_server_instant_tests_api.py index b692124f..58a38634 100644 --- a/thousandeyes-sdk-instant-tests/test/test_ftp_server_instant_tests_api.py +++ b/thousandeyes-sdk-instant-tests/test/test_ftp_server_instant_tests_api.py @@ -80,6 +80,7 @@ class TestFTPServerInstantTestsApi(unittest.TestCase): } ], "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", + "randomizedStartTime" : false, "ftpTimeLimit" : 10, "modifiedDate" : "2022-07-17T22:00:54Z", "testId" : "281474976710706", @@ -168,6 +169,7 @@ class TestFTPServerInstantTestsApi(unittest.TestCase): } ], "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", + "randomizedStartTime" : false, "ftpTimeLimit" : 10, "modifiedDate" : "2022-07-17T22:00:54Z", "testId" : "281474976710706", diff --git a/thousandeyes-sdk-instant-tests/test/test_http_page_load_instant_tests_api.py b/thousandeyes-sdk-instant-tests/test/test_http_page_load_instant_tests_api.py index 85c06f3e..cf1d367e 100644 --- a/thousandeyes-sdk-instant-tests/test/test_http_page_load_instant_tests_api.py +++ b/thousandeyes-sdk-instant-tests/test/test_http_page_load_instant_tests_api.py @@ -82,6 +82,7 @@ class TestHTTPPageLoadInstantTestsApi(unittest.TestCase): "ipAddress" : "192.1.1.0" }, "labels" : [ "9842", "1283" ], + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "emulatedDeviceId" : "2", "sharedWithAccounts" : [ "1234", "12345" ], @@ -201,6 +202,7 @@ class TestHTTPPageLoadInstantTestsApi(unittest.TestCase): "name" : "Artem label", "isBuiltin" : false } ], + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "emulatedDeviceId" : "2", "sharedWithAccounts" : [ { diff --git a/thousandeyes-sdk-instant-tests/test/test_http_server_instant_tests_api.py b/thousandeyes-sdk-instant-tests/test/test_http_server_instant_tests_api.py index 4199949a..4c5d8ee2 100644 --- a/thousandeyes-sdk-instant-tests/test/test_http_server_instant_tests_api.py +++ b/thousandeyes-sdk-instant-tests/test/test_http_server_instant_tests_api.py @@ -79,6 +79,7 @@ class TestHTTPServerInstantTestsApi(unittest.TestCase): "ipAddress" : "192.1.1.0" }, "labels" : [ "9842", "1283" ], + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "sharedWithAccounts" : [ "1234", "12345" ], "overrideProxyId" : "281474976710706", @@ -192,6 +193,7 @@ class TestHTTPServerInstantTestsApi(unittest.TestCase): "name" : "Artem label", "isBuiltin" : false } ], + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "sharedWithAccounts" : [ { "name" : "Account name", diff --git a/thousandeyes-sdk-instant-tests/test/test_sip_server_instant_tests_api.py b/thousandeyes-sdk-instant-tests/test/test_sip_server_instant_tests_api.py index 483212a9..29767965 100644 --- a/thousandeyes-sdk-instant-tests/test/test_sip_server_instant_tests_api.py +++ b/thousandeyes-sdk-instant-tests/test/test_sip_server_instant_tests_api.py @@ -83,6 +83,7 @@ class TestSIPServerInstantTestsApi(unittest.TestCase): } ], "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "sipTimeLimit" : 5, "testId" : "281474976710706", @@ -168,6 +169,7 @@ class TestSIPServerInstantTestsApi(unittest.TestCase): } ], "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", + "randomizedStartTime" : false, "port" : 49153, "modifiedDate" : "2022-07-17T22:00:54Z", "sipTimeLimit" : 5, diff --git a/thousandeyes-sdk-instant-tests/test/test_voice_instant_tests_api.py b/thousandeyes-sdk-instant-tests/test/test_voice_instant_tests_api.py index 3a93892e..5a54bac4 100644 --- a/thousandeyes-sdk-instant-tests/test/test_voice_instant_tests_api.py +++ b/thousandeyes-sdk-instant-tests/test/test_voice_instant_tests_api.py @@ -71,6 +71,7 @@ class TestVoiceInstantTestsApi(unittest.TestCase): "dscp" : "Best Effort (DSCP 0)", "createdBy" : "user@user.com", "port" : 1024, + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "targetAgentId" : "281474976710706", "modifiedBy" : "user@user.com", @@ -150,6 +151,7 @@ class TestVoiceInstantTestsApi(unittest.TestCase): "dscp" : "Best Effort (DSCP 0)", "createdBy" : "user@user.com", "port" : 1024, + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "targetAgentId" : "281474976710706", "modifiedBy" : "user@user.com", diff --git a/thousandeyes-sdk-instant-tests/test/test_web_transaction_instant_tests_api.py b/thousandeyes-sdk-instant-tests/test/test_web_transaction_instant_tests_api.py index 86851936..0a459f07 100644 --- a/thousandeyes-sdk-instant-tests/test/test_web_transaction_instant_tests_api.py +++ b/thousandeyes-sdk-instant-tests/test/test_web_transaction_instant_tests_api.py @@ -82,6 +82,7 @@ class TestWebTransactionInstantTestsApi(unittest.TestCase): "ipAddress" : "192.1.1.0" }, "labels" : [ "9842", "1283" ], + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "emulatedDeviceId" : "2", "sharedWithAccounts" : [ "1234", "12345" ], @@ -203,6 +204,7 @@ class TestWebTransactionInstantTestsApi(unittest.TestCase): "name" : "Artem label", "isBuiltin" : false } ], + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "emulatedDeviceId" : "2", "sharedWithAccounts" : [ { diff --git a/thousandeyes-sdk-internet-insights/README.md b/thousandeyes-sdk-internet-insights/README.md index d891db76..66e9073e 100644 --- a/thousandeyes-sdk-internet-insights/README.md +++ b/thousandeyes-sdk-internet-insights/README.md @@ -14,7 +14,7 @@ For more information about Internet Insights, see the [Internet Insights](https: This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: 7.0.28 +- API version: 7.0.29 - Generator version: 7.6.0 - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator diff --git a/thousandeyes-sdk-snapshots/README.md b/thousandeyes-sdk-snapshots/README.md index 9d7a7d14..0735b95c 100644 --- a/thousandeyes-sdk-snapshots/README.md +++ b/thousandeyes-sdk-snapshots/README.md @@ -3,7 +3,7 @@ Creates a new test snapshot in ThousandEyes. This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: 7.0.28 +- API version: 7.0.29 - Generator version: 7.6.0 - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator diff --git a/thousandeyes-sdk-streaming/README.md b/thousandeyes-sdk-streaming/README.md index 283b64cd..e921b22a 100644 --- a/thousandeyes-sdk-streaming/README.md +++ b/thousandeyes-sdk-streaming/README.md @@ -15,7 +15,7 @@ For more information about ThousandEyes for OpenTelemetry, see the [documentatio This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: 7.0.28 +- API version: 7.0.29 - Generator version: 7.6.0 - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator diff --git a/thousandeyes-sdk-streaming/docs/StreamingApi.md b/thousandeyes-sdk-streaming/docs/StreamingApi.md index a8cd7779..af7fabf7 100644 --- a/thousandeyes-sdk-streaming/docs/StreamingApi.md +++ b/thousandeyes-sdk-streaming/docs/StreamingApi.md @@ -92,7 +92,7 @@ Name | Type | Description | Notes **400** | Bad Request | - | **401** | Unauthorized | - | **409** | An existing item already exists | - | -**412** | Reached limit on number of streams (maximum 1 data stream per account group) | - | +**412** | Reached limit on number of streams (maximum 5 data streams per account group) | - | **500** | Internal Server Error | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/thousandeyes-sdk-tags/README.md b/thousandeyes-sdk-tags/README.md index 6aa69cef..888221a1 100644 --- a/thousandeyes-sdk-tags/README.md +++ b/thousandeyes-sdk-tags/README.md @@ -16,7 +16,7 @@ Things to note with the ThousandEyes Tags API: This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: 7.0.28 +- API version: 7.0.29 - Generator version: 7.6.0 - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator diff --git a/thousandeyes-sdk-test-results/.openapi-generator/FILES b/thousandeyes-sdk-test-results/.openapi-generator/FILES index 49ceac8f..80ee09d3 100644 --- a/thousandeyes-sdk-test-results/.openapi-generator/FILES +++ b/thousandeyes-sdk-test-results/.openapi-generator/FILES @@ -6,6 +6,7 @@ docs/ApiDetailTestResult.md docs/ApiDetailTestResults.md docs/ApiRequestDetail.md docs/ApiRequestDetailAssertion.md +docs/ApiRequestStepType.md docs/ApiTestResult.md docs/ApiTestResults.md docs/AppLinks.md @@ -106,6 +107,7 @@ src/thousandeyes_sdk/test_results/models/api_detail_test_result.py src/thousandeyes_sdk/test_results/models/api_detail_test_results.py src/thousandeyes_sdk/test_results/models/api_request_detail.py src/thousandeyes_sdk/test_results/models/api_request_detail_assertion.py +src/thousandeyes_sdk/test_results/models/api_request_step_type.py src/thousandeyes_sdk/test_results/models/api_test_result.py src/thousandeyes_sdk/test_results/models/api_test_results.py src/thousandeyes_sdk/test_results/models/app_links.py diff --git a/thousandeyes-sdk-test-results/README.md b/thousandeyes-sdk-test-results/README.md index a7c39c83..41c7b8ee 100644 --- a/thousandeyes-sdk-test-results/README.md +++ b/thousandeyes-sdk-test-results/README.md @@ -3,7 +3,7 @@ Get test result metrics for Cloud and Enterprise Agent tests. This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: 7.0.28 +- API version: 7.0.29 - Generator version: 7.6.0 - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator @@ -125,6 +125,7 @@ Class | Method | HTTP request | Description - [ApiDetailTestResults](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-test-results/docs/ApiDetailTestResults.md) - [ApiRequestDetail](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-test-results/docs/ApiRequestDetail.md) - [ApiRequestDetailAssertion](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-test-results/docs/ApiRequestDetailAssertion.md) + - [ApiRequestStepType](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-test-results/docs/ApiRequestStepType.md) - [ApiTestResult](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-test-results/docs/ApiTestResult.md) - [ApiTestResults](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-test-results/docs/ApiTestResults.md) - [AppLinks](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-test-results/docs/AppLinks.md) diff --git a/thousandeyes-sdk-test-results/docs/ApiRequestDetail.md b/thousandeyes-sdk-test-results/docs/ApiRequestDetail.md index f0c5e0ca..4281b011 100644 --- a/thousandeyes-sdk-test-results/docs/ApiRequestDetail.md +++ b/thousandeyes-sdk-test-results/docs/ApiRequestDetail.md @@ -18,6 +18,7 @@ Name | Type | Description | Notes **send_time** | **float** | Time to send the request. | [optional] **step_number** | **int** | Index of the API step within requests, starting at 1. | [optional] **step_time** | **float** | Total time for an API step, including API call time and processing time. | [optional] +**step_type** | [**ApiRequestStepType**](ApiRequestStepType.md) | | [optional] **url** | **str** | URL of request | [optional] **wait_time** | **float** | Total time between when the agent completes sending the HTTP request to the web server and when the agent receives the first byte of the response from the web server. | [optional] **assertions** | [**List[ApiRequestDetailAssertion]**](ApiRequestDetailAssertion.md) | | [optional] diff --git a/thousandeyes-sdk-test-results/docs/ApiRequestStepType.md b/thousandeyes-sdk-test-results/docs/ApiRequestStepType.md new file mode 100644 index 00000000..98aa62fd --- /dev/null +++ b/thousandeyes-sdk-test-results/docs/ApiRequestStepType.md @@ -0,0 +1,12 @@ +# ApiRequestStepType + +The value of `stepType` is \"oauth2\" if the step was generated by Browserbot to fetch an OAuth2 access token. + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/thousandeyes-sdk-test-results/src/thousandeyes_sdk/test_results/__init__.py b/thousandeyes-sdk-test-results/src/thousandeyes_sdk/test_results/__init__.py index 8d9093a3..bdb6115a 100644 --- a/thousandeyes-sdk-test-results/src/thousandeyes_sdk/test_results/__init__.py +++ b/thousandeyes-sdk-test-results/src/thousandeyes_sdk/test_results/__init__.py @@ -33,6 +33,7 @@ from thousandeyes_sdk.test_results.models.api_detail_test_result import ApiDetai from thousandeyes_sdk.test_results.models.api_detail_test_results import ApiDetailTestResults from thousandeyes_sdk.test_results.models.api_request_detail import ApiRequestDetail from thousandeyes_sdk.test_results.models.api_request_detail_assertion import ApiRequestDetailAssertion +from thousandeyes_sdk.test_results.models.api_request_step_type import ApiRequestStepType from thousandeyes_sdk.test_results.models.api_test_result import ApiTestResult from thousandeyes_sdk.test_results.models.api_test_results import ApiTestResults from thousandeyes_sdk.test_results.models.app_links import AppLinks diff --git a/thousandeyes-sdk-test-results/src/thousandeyes_sdk/test_results/models/__init__.py b/thousandeyes-sdk-test-results/src/thousandeyes_sdk/test_results/models/__init__.py index 89d1f4ed..5e012fd2 100644 --- a/thousandeyes-sdk-test-results/src/thousandeyes_sdk/test_results/models/__init__.py +++ b/thousandeyes-sdk-test-results/src/thousandeyes_sdk/test_results/models/__init__.py @@ -17,6 +17,7 @@ from thousandeyes_sdk.test_results.models.api_detail_test_result import ApiDetai from thousandeyes_sdk.test_results.models.api_detail_test_results import ApiDetailTestResults from thousandeyes_sdk.test_results.models.api_request_detail import ApiRequestDetail from thousandeyes_sdk.test_results.models.api_request_detail_assertion import ApiRequestDetailAssertion +from thousandeyes_sdk.test_results.models.api_request_step_type import ApiRequestStepType from thousandeyes_sdk.test_results.models.api_test_result import ApiTestResult from thousandeyes_sdk.test_results.models.api_test_results import ApiTestResults from thousandeyes_sdk.test_results.models.app_links import AppLinks diff --git a/thousandeyes-sdk-test-results/src/thousandeyes_sdk/test_results/models/api_request_detail.py b/thousandeyes-sdk-test-results/src/thousandeyes_sdk/test_results/models/api_request_detail.py index d44d020d..b7952de0 100644 --- a/thousandeyes-sdk-test-results/src/thousandeyes_sdk/test_results/models/api_request_detail.py +++ b/thousandeyes-sdk-test-results/src/thousandeyes_sdk/test_results/models/api_request_detail.py @@ -19,6 +19,7 @@ import json from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr from typing import Any, ClassVar, Dict, List, Optional, Union from thousandeyes_sdk.test_results.models.api_request_detail_assertion import ApiRequestDetailAssertion +from thousandeyes_sdk.test_results.models.api_request_step_type import ApiRequestStepType from typing import Optional, Set from typing_extensions import Self @@ -39,10 +40,11 @@ class ApiRequestDetail(BaseModel): send_time: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Time to send the request.", alias="sendTime") step_number: Optional[StrictInt] = Field(default=None, description="Index of the API step within requests, starting at 1.", alias="stepNumber") step_time: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total time for an API step, including API call time and processing time.", alias="stepTime") + step_type: Optional[ApiRequestStepType] = Field(default=None, alias="stepType") url: Optional[StrictStr] = Field(default=None, description="URL of request") wait_time: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total time between when the agent completes sending the HTTP request to the web server and when the agent receives the first byte of the response from the web server.", alias="waitTime") assertions: Optional[List[ApiRequestDetailAssertion]] = None - __properties: ClassVar[List[str]] = ["apiCallTime", "assertErrorCount", "blockedTime", "connectTime", "completion", "dnsTime", "name", "processingTime", "receiveTime", "responseTime", "sendTime", "stepNumber", "stepTime", "url", "waitTime", "assertions"] + __properties: ClassVar[List[str]] = ["apiCallTime", "assertErrorCount", "blockedTime", "connectTime", "completion", "dnsTime", "name", "processingTime", "receiveTime", "responseTime", "sendTime", "stepNumber", "stepTime", "stepType", "url", "waitTime", "assertions"] model_config = ConfigDict( populate_by_name=True, @@ -116,6 +118,7 @@ class ApiRequestDetail(BaseModel): "sendTime": obj.get("sendTime"), "stepNumber": obj.get("stepNumber"), "stepTime": obj.get("stepTime"), + "stepType": obj.get("stepType"), "url": obj.get("url"), "waitTime": obj.get("waitTime"), "assertions": [ApiRequestDetailAssertion.from_dict(_item) for _item in obj["assertions"]] if obj.get("assertions") is not None else None diff --git a/thousandeyes-sdk-test-results/src/thousandeyes_sdk/test_results/models/api_request_step_type.py b/thousandeyes-sdk-test-results/src/thousandeyes_sdk/test_results/models/api_request_step_type.py new file mode 100644 index 00000000..3712480e --- /dev/null +++ b/thousandeyes-sdk-test-results/src/thousandeyes_sdk/test_results/models/api_request_step_type.py @@ -0,0 +1,41 @@ +# coding: utf-8 + +""" + Test Results API + + Get test result metrics for Cloud and Enterprise Agent tests. + + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class ApiRequestStepType(str, Enum): + """ + The value of `stepType` is \"oauth2\" if the step was generated by Browserbot to fetch an OAuth2 access token. + """ + + """ + allowed enum values + """ + DEFAULT = 'default' + OAUTH2 = 'oauth2' + UNKNOWN = 'unknown' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of ApiRequestStepType from a JSON string""" + return cls(json.loads(json_str)) + + @classmethod + def _missing_(cls, value): + """Handle unknown values""" + return cls.UNKNOWN + diff --git a/thousandeyes-sdk-test-results/test/test_api_test_results_api.py b/thousandeyes-sdk-test-results/test/test_api_test_results_api.py index d7050cf2..356c88a2 100644 --- a/thousandeyes-sdk-test-results/test/test_api_test_results_api.py +++ b/thousandeyes-sdk-test-results/test/test_api_test_results_api.py @@ -124,6 +124,7 @@ class TestAPITestResultsApi(unittest.TestCase): "endTime" : 1384309800, "requests" : [ { "completion" : 100.0, + "stepType" : "default", "responseTime" : 440.8, "apiCallTime" : 900.9, "processingTime" : 59.9, @@ -147,6 +148,7 @@ class TestAPITestResultsApi(unittest.TestCase): "waitTime" : 18.1 }, { "completion" : 100.0, + "stepType" : "default", "responseTime" : 440.8, "apiCallTime" : 900.9, "processingTime" : 59.9, @@ -198,6 +200,7 @@ class TestAPITestResultsApi(unittest.TestCase): "endTime" : 1384309800, "requests" : [ { "completion" : 100.0, + "stepType" : "default", "responseTime" : 440.8, "apiCallTime" : 900.9, "processingTime" : 59.9, @@ -221,6 +224,7 @@ class TestAPITestResultsApi(unittest.TestCase): "waitTime" : 18.1 }, { "completion" : 100.0, + "stepType" : "default", "responseTime" : 440.8, "apiCallTime" : 900.9, "processingTime" : 59.9, diff --git a/thousandeyes-sdk-tests/.openapi-generator/FILES b/thousandeyes-sdk-tests/.openapi-generator/FILES index f25c2ace..02cbe346 100644 --- a/thousandeyes-sdk-tests/.openapi-generator/FILES +++ b/thousandeyes-sdk-tests/.openapi-generator/FILES @@ -24,6 +24,7 @@ docs/AlertDirection.md docs/AlertRoundsViolationMode.md docs/AlertRule.md docs/AlertType.md +docs/ApiClientAuthentication.md docs/ApiInstantTest.md docs/ApiPredefinedVariable.md docs/ApiProperties.md @@ -220,6 +221,7 @@ src/thousandeyes_sdk/tests/models/alert_direction.py src/thousandeyes_sdk/tests/models/alert_rounds_violation_mode.py src/thousandeyes_sdk/tests/models/alert_rule.py src/thousandeyes_sdk/tests/models/alert_type.py +src/thousandeyes_sdk/tests/models/api_client_authentication.py src/thousandeyes_sdk/tests/models/api_instant_test.py src/thousandeyes_sdk/tests/models/api_predefined_variable.py src/thousandeyes_sdk/tests/models/api_properties.py diff --git a/thousandeyes-sdk-tests/README.md b/thousandeyes-sdk-tests/README.md index 15ab9b72..8cc81b48 100644 --- a/thousandeyes-sdk-tests/README.md +++ b/thousandeyes-sdk-tests/README.md @@ -4,7 +4,7 @@ This API supports listing, creating, editing, and deleting Cloud and Enterprise This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: 7.0.28 +- API version: 7.0.29 - Generator version: 7.6.0 - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator @@ -191,6 +191,7 @@ Class | Method | HTTP request | Description - [AlertRoundsViolationMode](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-tests/docs/AlertRoundsViolationMode.md) - [AlertRule](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-tests/docs/AlertRule.md) - [AlertType](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-tests/docs/AlertType.md) + - [ApiClientAuthentication](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-tests/docs/ApiClientAuthentication.md) - [ApiInstantTest](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-tests/docs/ApiInstantTest.md) - [ApiPredefinedVariable](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-tests/docs/ApiPredefinedVariable.md) - [ApiProperties](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-tests/docs/ApiProperties.md) diff --git a/thousandeyes-sdk-tests/docs/AgentToAgentInstantTest.md b/thousandeyes-sdk-tests/docs/AgentToAgentInstantTest.md index 569ef669..e7412f37 100644 --- a/thousandeyes-sdk-tests/docs/AgentToAgentInstantTest.md +++ b/thousandeyes-sdk-tests/docs/AgentToAgentInstantTest.md @@ -26,6 +26,7 @@ Name | Type | Description | Notes **path_trace_mode** | [**TestPathTraceMode**](TestPathTraceMode.md) | | [optional] **port** | **int** | Target port. | [optional] [default to 49153] **protocol** | [**AgentToAgentTestProtocol**](AgentToAgentTestProtocol.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **target_agent_id** | **str** | `agentId` of the target agent for the test. | **throughput_measurements** | **bool** | Enable or disable throughput measurements. Throughput measurements cannot be enabled when the source or target of the test is a cloud agent. | [optional] [default to False] **throughput_duration** | **int** | The throughput duration. | [optional] [default to 10000] diff --git a/thousandeyes-sdk-tests/docs/AgentToAgentProperties.md b/thousandeyes-sdk-tests/docs/AgentToAgentProperties.md index 7fb154a4..ac970c44 100644 --- a/thousandeyes-sdk-tests/docs/AgentToAgentProperties.md +++ b/thousandeyes-sdk-tests/docs/AgentToAgentProperties.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **path_trace_mode** | [**TestPathTraceMode**](TestPathTraceMode.md) | | [optional] **port** | **int** | Target port. | [optional] [default to 49153] **protocol** | [**AgentToAgentTestProtocol**](AgentToAgentTestProtocol.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **target_agent_id** | **str** | `agentId` of the target agent for the test. | **throughput_measurements** | **bool** | Enable or disable throughput measurements. Throughput measurements cannot be enabled when the source or target of the test is a cloud agent. | [optional] [default to False] **throughput_duration** | **int** | The throughput duration. | [optional] [default to 10000] diff --git a/thousandeyes-sdk-tests/docs/AgentToAgentTest.md b/thousandeyes-sdk-tests/docs/AgentToAgentTest.md index 930d4cb9..6214617d 100644 --- a/thousandeyes-sdk-tests/docs/AgentToAgentTest.md +++ b/thousandeyes-sdk-tests/docs/AgentToAgentTest.md @@ -30,6 +30,7 @@ Name | Type | Description | Notes **path_trace_mode** | [**TestPathTraceMode**](TestPathTraceMode.md) | | [optional] **port** | **int** | Target port. | [optional] [default to 49153] **protocol** | [**AgentToAgentTestProtocol**](AgentToAgentTestProtocol.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **target_agent_id** | **str** | `agentId` of the target agent for the test. | **throughput_measurements** | **bool** | Enable or disable throughput measurements. Throughput measurements cannot be enabled when the source or target of the test is a cloud agent. | [optional] [default to False] **throughput_duration** | **int** | The throughput duration. | [optional] [default to 10000] diff --git a/thousandeyes-sdk-tests/docs/AgentToAgentTestRequest.md b/thousandeyes-sdk-tests/docs/AgentToAgentTestRequest.md index bd993df1..5f0c9c2e 100644 --- a/thousandeyes-sdk-tests/docs/AgentToAgentTestRequest.md +++ b/thousandeyes-sdk-tests/docs/AgentToAgentTestRequest.md @@ -30,6 +30,7 @@ Name | Type | Description | Notes **path_trace_mode** | [**TestPathTraceMode**](TestPathTraceMode.md) | | [optional] **port** | **int** | Target port. | [optional] [default to 49153] **protocol** | [**AgentToAgentTestProtocol**](AgentToAgentTestProtocol.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **target_agent_id** | **str** | `agentId` of the target agent for the test. | **throughput_measurements** | **bool** | Enable or disable throughput measurements. Throughput measurements cannot be enabled when the source or target of the test is a cloud agent. | [optional] [default to False] **throughput_duration** | **int** | The throughput duration. | [optional] [default to 10000] diff --git a/thousandeyes-sdk-tests/docs/AgentToAgentTestResponse.md b/thousandeyes-sdk-tests/docs/AgentToAgentTestResponse.md index b9af60db..13f77740 100644 --- a/thousandeyes-sdk-tests/docs/AgentToAgentTestResponse.md +++ b/thousandeyes-sdk-tests/docs/AgentToAgentTestResponse.md @@ -30,6 +30,7 @@ Name | Type | Description | Notes **path_trace_mode** | [**TestPathTraceMode**](TestPathTraceMode.md) | | [optional] **port** | **int** | Target port. | [optional] [default to 49153] **protocol** | [**AgentToAgentTestProtocol**](AgentToAgentTestProtocol.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **target_agent_id** | **str** | `agentId` of the target agent for the test. | **throughput_measurements** | **bool** | Enable or disable throughput measurements. Throughput measurements cannot be enabled when the source or target of the test is a cloud agent. | [optional] [default to False] **throughput_duration** | **int** | The throughput duration. | [optional] [default to 10000] diff --git a/thousandeyes-sdk-tests/docs/AgentToServerInstantTest.md b/thousandeyes-sdk-tests/docs/AgentToServerInstantTest.md index 866a6892..d886b9ef 100644 --- a/thousandeyes-sdk-tests/docs/AgentToServerInstantTest.md +++ b/thousandeyes-sdk-tests/docs/AgentToServerInstantTest.md @@ -27,6 +27,7 @@ Name | Type | Description | Notes **port** | **int** | Target port. | [optional] [default to 49153] **probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional] **protocol** | [**TestProtocol**](TestProtocol.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **server** | **str** | Target name or IP address. | **dscp** | **str** | DSCP label. | [optional] [readonly] **dscp_id** | [**TestDscpId**](TestDscpId.md) | | [optional] diff --git a/thousandeyes-sdk-tests/docs/AgentToServerProperties.md b/thousandeyes-sdk-tests/docs/AgentToServerProperties.md index 3d4226a1..b370fb2a 100644 --- a/thousandeyes-sdk-tests/docs/AgentToServerProperties.md +++ b/thousandeyes-sdk-tests/docs/AgentToServerProperties.md @@ -14,6 +14,7 @@ Name | Type | Description | Notes **port** | **int** | Target port. | [optional] [default to 49153] **probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional] **protocol** | [**TestProtocol**](TestProtocol.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **server** | **str** | Target name or IP address. | **dscp** | **str** | DSCP label. | [optional] [readonly] **dscp_id** | [**TestDscpId**](TestDscpId.md) | | [optional] diff --git a/thousandeyes-sdk-tests/docs/AgentToServerTest.md b/thousandeyes-sdk-tests/docs/AgentToServerTest.md index d5e2e147..bea2dc66 100644 --- a/thousandeyes-sdk-tests/docs/AgentToServerTest.md +++ b/thousandeyes-sdk-tests/docs/AgentToServerTest.md @@ -31,6 +31,7 @@ Name | Type | Description | Notes **port** | **int** | Target port. | [optional] [default to 49153] **probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional] **protocol** | [**TestProtocol**](TestProtocol.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **server** | **str** | Target name or IP address. | **dscp** | **str** | DSCP label. | [optional] [readonly] **dscp_id** | [**TestDscpId**](TestDscpId.md) | | [optional] diff --git a/thousandeyes-sdk-tests/docs/AgentToServerTestRequest.md b/thousandeyes-sdk-tests/docs/AgentToServerTestRequest.md index 174a00bf..6a5aee7b 100644 --- a/thousandeyes-sdk-tests/docs/AgentToServerTestRequest.md +++ b/thousandeyes-sdk-tests/docs/AgentToServerTestRequest.md @@ -31,6 +31,7 @@ Name | Type | Description | Notes **port** | **int** | Target port. | [optional] [default to 49153] **probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional] **protocol** | [**TestProtocol**](TestProtocol.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **server** | **str** | Target name or IP address. | **dscp** | **str** | DSCP label. | [optional] [readonly] **dscp_id** | [**TestDscpId**](TestDscpId.md) | | [optional] diff --git a/thousandeyes-sdk-tests/docs/AgentToServerTestResponse.md b/thousandeyes-sdk-tests/docs/AgentToServerTestResponse.md index 1a0c545b..e7c2d224 100644 --- a/thousandeyes-sdk-tests/docs/AgentToServerTestResponse.md +++ b/thousandeyes-sdk-tests/docs/AgentToServerTestResponse.md @@ -31,6 +31,7 @@ Name | Type | Description | Notes **port** | **int** | Target port. | [optional] [default to 49153] **probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional] **protocol** | [**TestProtocol**](TestProtocol.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **server** | **str** | Target name or IP address. | **dscp** | **str** | DSCP label. | [optional] [readonly] **dscp_id** | [**TestDscpId**](TestDscpId.md) | | [optional] diff --git a/thousandeyes-sdk-tests/docs/ApiClientAuthentication.md b/thousandeyes-sdk-tests/docs/ApiClientAuthentication.md new file mode 100644 index 00000000..7586dd3f --- /dev/null +++ b/thousandeyes-sdk-tests/docs/ApiClientAuthentication.md @@ -0,0 +1,12 @@ +# ApiClientAuthentication + +The OAuth2 client authentication location type. + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/thousandeyes-sdk-tests/docs/ApiInstantTest.md b/thousandeyes-sdk-tests/docs/ApiInstantTest.md index 7706e45b..39b5741c 100644 --- a/thousandeyes-sdk-tests/docs/ApiInstantTest.md +++ b/thousandeyes-sdk-tests/docs/ApiInstantTest.md @@ -29,6 +29,7 @@ Name | Type | Description | Notes **predefined_variables** | [**List[ApiPredefinedVariable]**](ApiPredefinedVariable.md) | | [optional] **probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional] **protocol** | [**TestProtocol**](TestProtocol.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **requests** | [**List[ApiRequest]**](ApiRequest.md) | | **ssl_version_id** | [**TestSslVersionId**](TestSslVersionId.md) | | [optional] **target_time** | **int** | Target time for completion metric, defaults to 50% of time limit specified in seconds. (0 means default behavior) | [optional] diff --git a/thousandeyes-sdk-tests/docs/ApiProperties.md b/thousandeyes-sdk-tests/docs/ApiProperties.md index 2f8109ba..6bac752c 100644 --- a/thousandeyes-sdk-tests/docs/ApiProperties.md +++ b/thousandeyes-sdk-tests/docs/ApiProperties.md @@ -16,6 +16,7 @@ Name | Type | Description | Notes **predefined_variables** | [**List[ApiPredefinedVariable]**](ApiPredefinedVariable.md) | | [optional] **probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional] **protocol** | [**TestProtocol**](TestProtocol.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **requests** | [**List[ApiRequest]**](ApiRequest.md) | | **ssl_version_id** | [**TestSslVersionId**](TestSslVersionId.md) | | [optional] **target_time** | **int** | Target time for completion metric, defaults to 50% of time limit specified in seconds. (0 means default behavior) | [optional] diff --git a/thousandeyes-sdk-tests/docs/ApiRequest.md b/thousandeyes-sdk-tests/docs/ApiRequest.md index b0e67b1c..be2e5f9c 100644 --- a/thousandeyes-sdk-tests/docs/ApiRequest.md +++ b/thousandeyes-sdk-tests/docs/ApiRequest.md @@ -9,11 +9,16 @@ Name | Type | Description | Notes **auth_type** | [**ApiRequestAuthType**](ApiRequestAuthType.md) | | [optional] **bearer_token** | **str** | The bearer token if `authType = bearer-token`. | [optional] **body** | **str** | POST/PUT request body. Must be in JSON format. | [optional] +**client_authentication** | [**ApiClientAuthentication**](ApiClientAuthentication.md) | | [optional] +**client_id** | **str** | The application ID used when `authType` is set to \"oauth2\". | [optional] +**client_secret** | **str** | The private client secret used when `authType` is set to \"oauth2\". | [optional] **collect_api_response** | **bool** | Set to `true` if API response body should be collected and saved. Set to `false` if API response body should not be saved. | [optional] [default to True] **headers** | [**List[ApiRequestHeader]**](ApiRequestHeader.md) | Array of API Request Header objects. | [optional] **method** | [**ApiRequestMethod**](ApiRequestMethod.md) | | [optional] **name** | **str** | API step name, must be unique. | **password** | **str** | The password if `authType = basic`. | [optional] +**scope** | **str** | Application-specific scope values for the access token when `authType` is \"oauth2\". | [optional] +**token_url** | **str** | The endpoint used to request the access token when `authType` is \"oauth2\". | [optional] **url** | **str** | Request url. Supports variables in the format `{{variableName}}`. | **username** | **str** | The username if `authType = basic`. | [optional] **variables** | [**List[ApiRequestVariable]**](ApiRequestVariable.md) | Array of API post request variable objects. | [optional] diff --git a/thousandeyes-sdk-tests/docs/ApiTest.md b/thousandeyes-sdk-tests/docs/ApiTest.md index 1ccb0de0..3ebf6f5d 100644 --- a/thousandeyes-sdk-tests/docs/ApiTest.md +++ b/thousandeyes-sdk-tests/docs/ApiTest.md @@ -33,6 +33,7 @@ Name | Type | Description | Notes **predefined_variables** | [**List[ApiPredefinedVariable]**](ApiPredefinedVariable.md) | | [optional] **probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional] **protocol** | [**TestProtocol**](TestProtocol.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **requests** | [**List[ApiRequest]**](ApiRequest.md) | | **ssl_version_id** | [**TestSslVersionId**](TestSslVersionId.md) | | [optional] **target_time** | **int** | Target time for completion metric, defaults to 50% of time limit specified in seconds. (0 means default behavior) | [optional] diff --git a/thousandeyes-sdk-tests/docs/ApiTestRequest.md b/thousandeyes-sdk-tests/docs/ApiTestRequest.md index 8881b72a..84b492a5 100644 --- a/thousandeyes-sdk-tests/docs/ApiTestRequest.md +++ b/thousandeyes-sdk-tests/docs/ApiTestRequest.md @@ -33,6 +33,7 @@ Name | Type | Description | Notes **predefined_variables** | [**List[ApiPredefinedVariable]**](ApiPredefinedVariable.md) | | [optional] **probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional] **protocol** | [**TestProtocol**](TestProtocol.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **requests** | [**List[ApiRequest]**](ApiRequest.md) | | **ssl_version_id** | [**TestSslVersionId**](TestSslVersionId.md) | | [optional] **target_time** | **int** | Target time for completion metric, defaults to 50% of time limit specified in seconds. (0 means default behavior) | [optional] diff --git a/thousandeyes-sdk-tests/docs/ApiTestResponse.md b/thousandeyes-sdk-tests/docs/ApiTestResponse.md index 04798730..d37132e3 100644 --- a/thousandeyes-sdk-tests/docs/ApiTestResponse.md +++ b/thousandeyes-sdk-tests/docs/ApiTestResponse.md @@ -33,6 +33,7 @@ Name | Type | Description | Notes **predefined_variables** | [**List[ApiPredefinedVariable]**](ApiPredefinedVariable.md) | | [optional] **probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional] **protocol** | [**TestProtocol**](TestProtocol.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **requests** | [**List[ApiRequest]**](ApiRequest.md) | | **ssl_version_id** | [**TestSslVersionId**](TestSslVersionId.md) | | [optional] **target_time** | **int** | Target time for completion metric, defaults to 50% of time limit specified in seconds. (0 means default behavior) | [optional] diff --git a/thousandeyes-sdk-tests/docs/DnsSecInstantTest.md b/thousandeyes-sdk-tests/docs/DnsSecInstantTest.md index cfc48601..694ffbe2 100644 --- a/thousandeyes-sdk-tests/docs/DnsSecInstantTest.md +++ b/thousandeyes-sdk-tests/docs/DnsSecInstantTest.md @@ -20,6 +20,7 @@ Name | Type | Description | Notes **shared_with_accounts** | [**List[SharedWithAccount]**](SharedWithAccount.md) | | [optional] [readonly] **domain** | **str** | The target record for the test, with the record type suffixed. If no record type is specified, the test defaults to an ANY record. | **dns_query_class** | [**DnsQueryClass**](DnsQueryClass.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] ## Example diff --git a/thousandeyes-sdk-tests/docs/DnsSecProperties.md b/thousandeyes-sdk-tests/docs/DnsSecProperties.md index c7e41d4f..7b0d0954 100644 --- a/thousandeyes-sdk-tests/docs/DnsSecProperties.md +++ b/thousandeyes-sdk-tests/docs/DnsSecProperties.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **domain** | **str** | The target record for the test, with the record type suffixed. If no record type is specified, the test defaults to an ANY record. | **dns_query_class** | [**DnsQueryClass**](DnsQueryClass.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **type** | **str** | | [optional] [readonly] ## Example diff --git a/thousandeyes-sdk-tests/docs/DnsSecTest.md b/thousandeyes-sdk-tests/docs/DnsSecTest.md index d101e2fc..2e0f6009 100644 --- a/thousandeyes-sdk-tests/docs/DnsSecTest.md +++ b/thousandeyes-sdk-tests/docs/DnsSecTest.md @@ -24,6 +24,7 @@ Name | Type | Description | Notes **shared_with_accounts** | [**List[SharedWithAccount]**](SharedWithAccount.md) | | [optional] [readonly] **domain** | **str** | The target record for the test, with the record type suffixed. If no record type is specified, the test defaults to an ANY record. | **dns_query_class** | [**DnsQueryClass**](DnsQueryClass.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] ## Example diff --git a/thousandeyes-sdk-tests/docs/DnsSecTestRequest.md b/thousandeyes-sdk-tests/docs/DnsSecTestRequest.md index c2fe4f51..0d1b20e3 100644 --- a/thousandeyes-sdk-tests/docs/DnsSecTestRequest.md +++ b/thousandeyes-sdk-tests/docs/DnsSecTestRequest.md @@ -24,6 +24,7 @@ Name | Type | Description | Notes **shared_with_accounts** | **List[str]** | Contains list of account group IDs. Test is shared with the listed account groups (get `aid` from `/account-groups` endpoint) | [optional] **domain** | **str** | The target record for the test, with the record type suffixed. If no record type is specified, the test defaults to an ANY record. | **dns_query_class** | [**DnsQueryClass**](DnsQueryClass.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **agents** | [**List[TestAgentRequest]**](TestAgentRequest.md) | Contains list of Agent IDs (get `agentId` from `/agents` endpoint). | ## Example diff --git a/thousandeyes-sdk-tests/docs/DnsSecTestResponse.md b/thousandeyes-sdk-tests/docs/DnsSecTestResponse.md index 396b82ab..af012816 100644 --- a/thousandeyes-sdk-tests/docs/DnsSecTestResponse.md +++ b/thousandeyes-sdk-tests/docs/DnsSecTestResponse.md @@ -24,6 +24,7 @@ Name | Type | Description | Notes **shared_with_accounts** | [**List[SharedWithAccount]**](SharedWithAccount.md) | | [optional] [readonly] **domain** | **str** | The target record for the test, with the record type suffixed. If no record type is specified, the test defaults to an ANY record. | **dns_query_class** | [**DnsQueryClass**](DnsQueryClass.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **agents** | [**List[AgentResponse]**](AgentResponse.md) | Contains list of agents. | [optional] ## Example diff --git a/thousandeyes-sdk-tests/docs/DnsServerInstantTest.md b/thousandeyes-sdk-tests/docs/DnsServerInstantTest.md index 9fb57bb3..e2fb9f6b 100644 --- a/thousandeyes-sdk-tests/docs/DnsServerInstantTest.md +++ b/thousandeyes-sdk-tests/docs/DnsServerInstantTest.md @@ -28,6 +28,7 @@ Name | Type | Description | Notes **path_trace_mode** | [**TestPathTraceMode**](TestPathTraceMode.md) | | [optional] **probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional] **protocol** | [**TestProtocol**](TestProtocol.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **recursive_queries** | **bool** | Set true to run query with RD (recursion desired) flag enabled. | [optional] **ipv6_policy** | [**TestIpv6Policy**](TestIpv6Policy.md) | | [optional] **fixed_packet_rate** | **int** | Sets packets rate sent to measure the network in packets per second. | [optional] diff --git a/thousandeyes-sdk-tests/docs/DnsServerProperties.md b/thousandeyes-sdk-tests/docs/DnsServerProperties.md index 48b8340c..bb3ece32 100644 --- a/thousandeyes-sdk-tests/docs/DnsServerProperties.md +++ b/thousandeyes-sdk-tests/docs/DnsServerProperties.md @@ -15,6 +15,7 @@ Name | Type | Description | Notes **path_trace_mode** | [**TestPathTraceMode**](TestPathTraceMode.md) | | [optional] **probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional] **protocol** | [**TestProtocol**](TestProtocol.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **recursive_queries** | **bool** | Set true to run query with RD (recursion desired) flag enabled. | [optional] **ipv6_policy** | [**TestIpv6Policy**](TestIpv6Policy.md) | | [optional] **fixed_packet_rate** | **int** | Sets packets rate sent to measure the network in packets per second. | [optional] diff --git a/thousandeyes-sdk-tests/docs/DnsServerTest.md b/thousandeyes-sdk-tests/docs/DnsServerTest.md index 4488b03b..04892942 100644 --- a/thousandeyes-sdk-tests/docs/DnsServerTest.md +++ b/thousandeyes-sdk-tests/docs/DnsServerTest.md @@ -32,6 +32,7 @@ Name | Type | Description | Notes **path_trace_mode** | [**TestPathTraceMode**](TestPathTraceMode.md) | | [optional] **probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional] **protocol** | [**TestProtocol**](TestProtocol.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **recursive_queries** | **bool** | Set true to run query with RD (recursion desired) flag enabled. | [optional] **ipv6_policy** | [**TestIpv6Policy**](TestIpv6Policy.md) | | [optional] **fixed_packet_rate** | **int** | Sets packets rate sent to measure the network in packets per second. | [optional] diff --git a/thousandeyes-sdk-tests/docs/DnsServerTestRequest.md b/thousandeyes-sdk-tests/docs/DnsServerTestRequest.md index 625536c3..98d7a16b 100644 --- a/thousandeyes-sdk-tests/docs/DnsServerTestRequest.md +++ b/thousandeyes-sdk-tests/docs/DnsServerTestRequest.md @@ -32,6 +32,7 @@ Name | Type | Description | Notes **path_trace_mode** | [**TestPathTraceMode**](TestPathTraceMode.md) | | [optional] **probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional] **protocol** | [**TestProtocol**](TestProtocol.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **recursive_queries** | **bool** | Set true to run query with RD (recursion desired) flag enabled. | [optional] **ipv6_policy** | [**TestIpv6Policy**](TestIpv6Policy.md) | | [optional] **fixed_packet_rate** | **int** | Sets packets rate sent to measure the network in packets per second. | [optional] diff --git a/thousandeyes-sdk-tests/docs/DnsServerTestResponse.md b/thousandeyes-sdk-tests/docs/DnsServerTestResponse.md index 3a40e5a2..aa5ee1b6 100644 --- a/thousandeyes-sdk-tests/docs/DnsServerTestResponse.md +++ b/thousandeyes-sdk-tests/docs/DnsServerTestResponse.md @@ -32,6 +32,7 @@ Name | Type | Description | Notes **path_trace_mode** | [**TestPathTraceMode**](TestPathTraceMode.md) | | [optional] **probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional] **protocol** | [**TestProtocol**](TestProtocol.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **recursive_queries** | **bool** | Set true to run query with RD (recursion desired) flag enabled. | [optional] **ipv6_policy** | [**TestIpv6Policy**](TestIpv6Policy.md) | | [optional] **fixed_packet_rate** | **int** | Sets packets rate sent to measure the network in packets per second. | [optional] diff --git a/thousandeyes-sdk-tests/docs/DnsTraceInstantTest.md b/thousandeyes-sdk-tests/docs/DnsTraceInstantTest.md index 089d0258..84195671 100644 --- a/thousandeyes-sdk-tests/docs/DnsTraceInstantTest.md +++ b/thousandeyes-sdk-tests/docs/DnsTraceInstantTest.md @@ -21,6 +21,7 @@ Name | Type | Description | Notes **dns_transport_protocol** | [**TestDnsTransportProtocol**](TestDnsTransportProtocol.md) | | [optional] **domain** | **str** | The target record for the test, with the record type suffixed. If no record type is specified, the test defaults to an ANY record. | **dns_query_class** | [**DnsQueryClass**](DnsQueryClass.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] ## Example diff --git a/thousandeyes-sdk-tests/docs/DnsTraceProperties.md b/thousandeyes-sdk-tests/docs/DnsTraceProperties.md index 2e06ca80..fd6b1304 100644 --- a/thousandeyes-sdk-tests/docs/DnsTraceProperties.md +++ b/thousandeyes-sdk-tests/docs/DnsTraceProperties.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **dns_transport_protocol** | [**TestDnsTransportProtocol**](TestDnsTransportProtocol.md) | | [optional] **domain** | **str** | The target record for the test, with the record type suffixed. If no record type is specified, the test defaults to an ANY record. | **dns_query_class** | [**DnsQueryClass**](DnsQueryClass.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **type** | **str** | | [optional] [readonly] ## Example diff --git a/thousandeyes-sdk-tests/docs/DnsTraceTest.md b/thousandeyes-sdk-tests/docs/DnsTraceTest.md index 86787b17..e66b3ff0 100644 --- a/thousandeyes-sdk-tests/docs/DnsTraceTest.md +++ b/thousandeyes-sdk-tests/docs/DnsTraceTest.md @@ -25,6 +25,7 @@ Name | Type | Description | Notes **dns_transport_protocol** | [**TestDnsTransportProtocol**](TestDnsTransportProtocol.md) | | [optional] **domain** | **str** | The target record for the test, with the record type suffixed. If no record type is specified, the test defaults to an ANY record. | **dns_query_class** | [**DnsQueryClass**](DnsQueryClass.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] ## Example diff --git a/thousandeyes-sdk-tests/docs/DnsTraceTestRequest.md b/thousandeyes-sdk-tests/docs/DnsTraceTestRequest.md index 0385bc7e..873c631a 100644 --- a/thousandeyes-sdk-tests/docs/DnsTraceTestRequest.md +++ b/thousandeyes-sdk-tests/docs/DnsTraceTestRequest.md @@ -25,6 +25,7 @@ Name | Type | Description | Notes **dns_transport_protocol** | [**TestDnsTransportProtocol**](TestDnsTransportProtocol.md) | | [optional] **domain** | **str** | The target record for the test, with the record type suffixed. If no record type is specified, the test defaults to an ANY record. | **dns_query_class** | [**DnsQueryClass**](DnsQueryClass.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **agents** | [**List[TestAgentRequest]**](TestAgentRequest.md) | Contains list of Agent IDs (get `agentId` from `/agents` endpoint). | ## Example diff --git a/thousandeyes-sdk-tests/docs/DnsTraceTestResponse.md b/thousandeyes-sdk-tests/docs/DnsTraceTestResponse.md index 6b09b641..f66089b8 100644 --- a/thousandeyes-sdk-tests/docs/DnsTraceTestResponse.md +++ b/thousandeyes-sdk-tests/docs/DnsTraceTestResponse.md @@ -25,6 +25,7 @@ Name | Type | Description | Notes **dns_transport_protocol** | [**TestDnsTransportProtocol**](TestDnsTransportProtocol.md) | | [optional] **domain** | **str** | The target record for the test, with the record type suffixed. If no record type is specified, the test defaults to an ANY record. | **dns_query_class** | [**DnsQueryClass**](DnsQueryClass.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **agents** | [**List[AgentResponse]**](AgentResponse.md) | Contains list of agents. | [optional] ## Example diff --git a/thousandeyes-sdk-tests/docs/FtpServerInstantTest.md b/thousandeyes-sdk-tests/docs/FtpServerInstantTest.md index f2257fb3..4428cf73 100644 --- a/thousandeyes-sdk-tests/docs/FtpServerInstantTest.md +++ b/thousandeyes-sdk-tests/docs/FtpServerInstantTest.md @@ -29,6 +29,7 @@ Name | Type | Description | Notes **path_trace_mode** | [**TestPathTraceMode**](TestPathTraceMode.md) | | [optional] **probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional] **protocol** | [**TestProtocol**](TestProtocol.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **request_type** | [**FtpServerRequestType**](FtpServerRequestType.md) | | **url** | **str** | Target for the test. | **use_active_ftp** | **bool** | Explicitly set the flag to use active FTP. | [optional] [default to False] diff --git a/thousandeyes-sdk-tests/docs/FtpServerProperties.md b/thousandeyes-sdk-tests/docs/FtpServerProperties.md index a2331634..0d893c5b 100644 --- a/thousandeyes-sdk-tests/docs/FtpServerProperties.md +++ b/thousandeyes-sdk-tests/docs/FtpServerProperties.md @@ -16,6 +16,7 @@ Name | Type | Description | Notes **path_trace_mode** | [**TestPathTraceMode**](TestPathTraceMode.md) | | [optional] **probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional] **protocol** | [**TestProtocol**](TestProtocol.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **request_type** | [**FtpServerRequestType**](FtpServerRequestType.md) | | **url** | **str** | Target for the test. | **use_active_ftp** | **bool** | Explicitly set the flag to use active FTP. | [optional] [default to False] diff --git a/thousandeyes-sdk-tests/docs/FtpServerTest.md b/thousandeyes-sdk-tests/docs/FtpServerTest.md index b6b0e760..6f6918b5 100644 --- a/thousandeyes-sdk-tests/docs/FtpServerTest.md +++ b/thousandeyes-sdk-tests/docs/FtpServerTest.md @@ -33,6 +33,7 @@ Name | Type | Description | Notes **path_trace_mode** | [**TestPathTraceMode**](TestPathTraceMode.md) | | [optional] **probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional] **protocol** | [**TestProtocol**](TestProtocol.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **request_type** | [**FtpServerRequestType**](FtpServerRequestType.md) | | **url** | **str** | Target for the test. | **use_active_ftp** | **bool** | Explicitly set the flag to use active FTP. | [optional] [default to False] diff --git a/thousandeyes-sdk-tests/docs/FtpServerTestRequest.md b/thousandeyes-sdk-tests/docs/FtpServerTestRequest.md index 537de978..49522b47 100644 --- a/thousandeyes-sdk-tests/docs/FtpServerTestRequest.md +++ b/thousandeyes-sdk-tests/docs/FtpServerTestRequest.md @@ -33,6 +33,7 @@ Name | Type | Description | Notes **path_trace_mode** | [**TestPathTraceMode**](TestPathTraceMode.md) | | [optional] **probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional] **protocol** | [**TestProtocol**](TestProtocol.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **request_type** | [**FtpServerRequestType**](FtpServerRequestType.md) | | **url** | **str** | Target for the test. | **use_active_ftp** | **bool** | Explicitly set the flag to use active FTP. | [optional] [default to False] diff --git a/thousandeyes-sdk-tests/docs/FtpServerTestResponse.md b/thousandeyes-sdk-tests/docs/FtpServerTestResponse.md index c2d58ee5..fe53e0fa 100644 --- a/thousandeyes-sdk-tests/docs/FtpServerTestResponse.md +++ b/thousandeyes-sdk-tests/docs/FtpServerTestResponse.md @@ -33,6 +33,7 @@ Name | Type | Description | Notes **path_trace_mode** | [**TestPathTraceMode**](TestPathTraceMode.md) | | [optional] **probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional] **protocol** | [**TestProtocol**](TestProtocol.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **request_type** | [**FtpServerRequestType**](FtpServerRequestType.md) | | **url** | **str** | Target for the test. | **use_active_ftp** | **bool** | Explicitly set the flag to use active FTP. | [optional] [default to False] diff --git a/thousandeyes-sdk-tests/docs/HttpServerInstantTest.md b/thousandeyes-sdk-tests/docs/HttpServerInstantTest.md index a9bb0848..7e14fe92 100644 --- a/thousandeyes-sdk-tests/docs/HttpServerInstantTest.md +++ b/thousandeyes-sdk-tests/docs/HttpServerInstantTest.md @@ -53,6 +53,7 @@ Name | Type | Description | Notes **override_proxy_id** | **str** | ID of the proxy to be used if the default proxy is overridden. | [optional] **collect_proxy_network_data** | **bool** | Indicates whether network data to the proxy should be collected. | [optional] [default to False] **headers** | **List[str]** | HTTP request headers used. | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **post_body** | **str** | Enter the body for the HTTP POST request in this field. No special escaping is necessary. If the post body is provided with content, the `requestMethod` is automatically set to POST. | [optional] **ipv6_policy** | [**TestIpv6Policy**](TestIpv6Policy.md) | | [optional] diff --git a/thousandeyes-sdk-tests/docs/HttpServerProperties.md b/thousandeyes-sdk-tests/docs/HttpServerProperties.md index 670aa5a7..c0c8667f 100644 --- a/thousandeyes-sdk-tests/docs/HttpServerProperties.md +++ b/thousandeyes-sdk-tests/docs/HttpServerProperties.md @@ -40,6 +40,7 @@ Name | Type | Description | Notes **override_proxy_id** | **str** | ID of the proxy to be used if the default proxy is overridden. | [optional] **collect_proxy_network_data** | **bool** | Indicates whether network data to the proxy should be collected. | [optional] [default to False] **headers** | **List[str]** | HTTP request headers used. | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **post_body** | **str** | Enter the body for the HTTP POST request in this field. No special escaping is necessary. If the post body is provided with content, the `requestMethod` is automatically set to POST. | [optional] **ipv6_policy** | [**TestIpv6Policy**](TestIpv6Policy.md) | | [optional] **type** | **str** | | [optional] [readonly] diff --git a/thousandeyes-sdk-tests/docs/HttpServerTest.md b/thousandeyes-sdk-tests/docs/HttpServerTest.md index 20e3d794..1ba3d6f6 100644 --- a/thousandeyes-sdk-tests/docs/HttpServerTest.md +++ b/thousandeyes-sdk-tests/docs/HttpServerTest.md @@ -57,6 +57,7 @@ Name | Type | Description | Notes **override_proxy_id** | **str** | ID of the proxy to be used if the default proxy is overridden. | [optional] **collect_proxy_network_data** | **bool** | Indicates whether network data to the proxy should be collected. | [optional] [default to False] **headers** | **List[str]** | HTTP request headers used. | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **post_body** | **str** | Enter the body for the HTTP POST request in this field. No special escaping is necessary. If the post body is provided with content, the `requestMethod` is automatically set to POST. | [optional] **ipv6_policy** | [**TestIpv6Policy**](TestIpv6Policy.md) | | [optional] **bgp_measurements** | **bool** | Set to `true` to enable bgp measurements. | [optional] [default to True] diff --git a/thousandeyes-sdk-tests/docs/HttpServerTestRequest.md b/thousandeyes-sdk-tests/docs/HttpServerTestRequest.md index 1222c4ac..f96e9135 100644 --- a/thousandeyes-sdk-tests/docs/HttpServerTestRequest.md +++ b/thousandeyes-sdk-tests/docs/HttpServerTestRequest.md @@ -57,6 +57,7 @@ Name | Type | Description | Notes **override_proxy_id** | **str** | ID of the proxy to be used if the default proxy is overridden. | [optional] **collect_proxy_network_data** | **bool** | Indicates whether network data to the proxy should be collected. | [optional] [default to False] **headers** | **List[str]** | HTTP request headers used. | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **post_body** | **str** | Enter the body for the HTTP POST request in this field. No special escaping is necessary. If the post body is provided with content, the `requestMethod` is automatically set to POST. | [optional] **ipv6_policy** | [**TestIpv6Policy**](TestIpv6Policy.md) | | [optional] **bgp_measurements** | **bool** | Set to `true` to enable bgp measurements. | [optional] [default to True] diff --git a/thousandeyes-sdk-tests/docs/HttpServerTestResponse.md b/thousandeyes-sdk-tests/docs/HttpServerTestResponse.md index 5447458e..f6ae95f0 100644 --- a/thousandeyes-sdk-tests/docs/HttpServerTestResponse.md +++ b/thousandeyes-sdk-tests/docs/HttpServerTestResponse.md @@ -57,6 +57,7 @@ Name | Type | Description | Notes **override_proxy_id** | **str** | ID of the proxy to be used if the default proxy is overridden. | [optional] **collect_proxy_network_data** | **bool** | Indicates whether network data to the proxy should be collected. | [optional] [default to False] **headers** | **List[str]** | HTTP request headers used. | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **post_body** | **str** | Enter the body for the HTTP POST request in this field. No special escaping is necessary. If the post body is provided with content, the `requestMethod` is automatically set to POST. | [optional] **ipv6_policy** | [**TestIpv6Policy**](TestIpv6Policy.md) | | [optional] **bgp_measurements** | **bool** | Set to `true` to enable bgp measurements. | [optional] [default to True] diff --git a/thousandeyes-sdk-tests/docs/PageLoadInstantTest.md b/thousandeyes-sdk-tests/docs/PageLoadInstantTest.md index c5ac0227..d59dd5f0 100644 --- a/thousandeyes-sdk-tests/docs/PageLoadInstantTest.md +++ b/thousandeyes-sdk-tests/docs/PageLoadInstantTest.md @@ -61,6 +61,7 @@ Name | Type | Description | Notes **allow_geolocation** | **bool** | Set true to use the agent’s geolocation by the web page. | [optional] [default to False] **browser_language** | **str** | Set one of the available browser language that you want to use to configure the browser. | [optional] **page_loading_strategy** | [**TestPageLoadingStrategy**](TestPageLoadingStrategy.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] ## Example diff --git a/thousandeyes-sdk-tests/docs/PageLoadProperties.md b/thousandeyes-sdk-tests/docs/PageLoadProperties.md index d546b8ef..4b8838ec 100644 --- a/thousandeyes-sdk-tests/docs/PageLoadProperties.md +++ b/thousandeyes-sdk-tests/docs/PageLoadProperties.md @@ -48,6 +48,7 @@ Name | Type | Description | Notes **allow_geolocation** | **bool** | Set true to use the agent’s geolocation by the web page. | [optional] [default to False] **browser_language** | **str** | Set one of the available browser language that you want to use to configure the browser. | [optional] **page_loading_strategy** | [**TestPageLoadingStrategy**](TestPageLoadingStrategy.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **type** | **str** | | [optional] [readonly] ## Example diff --git a/thousandeyes-sdk-tests/docs/PageLoadTest.md b/thousandeyes-sdk-tests/docs/PageLoadTest.md index e816b173..2ac1d282 100644 --- a/thousandeyes-sdk-tests/docs/PageLoadTest.md +++ b/thousandeyes-sdk-tests/docs/PageLoadTest.md @@ -65,6 +65,7 @@ Name | Type | Description | Notes **allow_geolocation** | **bool** | Set true to use the agent’s geolocation by the web page. | [optional] [default to False] **browser_language** | **str** | Set one of the available browser language that you want to use to configure the browser. | [optional] **page_loading_strategy** | [**TestPageLoadingStrategy**](TestPageLoadingStrategy.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **bgp_measurements** | **bool** | Set to `true` to enable bgp measurements. | [optional] [default to True] **use_public_bgp** | **bool** | Indicate if all available public BGP monitors should be used, when ommited defaults to `bgpMeasurements` value. | [optional] [default to True] **monitors** | [**List[Monitor]**](Monitor.md) | Contains list of enabled BGP monitors. | [optional] [readonly] diff --git a/thousandeyes-sdk-tests/docs/PageLoadTestRequest.md b/thousandeyes-sdk-tests/docs/PageLoadTestRequest.md index cb6643a6..1483d1b0 100644 --- a/thousandeyes-sdk-tests/docs/PageLoadTestRequest.md +++ b/thousandeyes-sdk-tests/docs/PageLoadTestRequest.md @@ -65,6 +65,7 @@ Name | Type | Description | Notes **allow_geolocation** | **bool** | Set true to use the agent’s geolocation by the web page. | [optional] [default to False] **browser_language** | **str** | Set one of the available browser language that you want to use to configure the browser. | [optional] **page_loading_strategy** | [**TestPageLoadingStrategy**](TestPageLoadingStrategy.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **bgp_measurements** | **bool** | Set to `true` to enable bgp measurements. | [optional] [default to True] **use_public_bgp** | **bool** | Indicate if all available public BGP monitors should be used, when ommited defaults to `bgpMeasurements` value. | [optional] [default to True] **monitors** | **List[str]** | Contains list of BGP monitor IDs (get `monitorId` from `/monitors` endpoint) | [optional] diff --git a/thousandeyes-sdk-tests/docs/PageLoadTestResponse.md b/thousandeyes-sdk-tests/docs/PageLoadTestResponse.md index 89433573..90d8c78c 100644 --- a/thousandeyes-sdk-tests/docs/PageLoadTestResponse.md +++ b/thousandeyes-sdk-tests/docs/PageLoadTestResponse.md @@ -65,6 +65,7 @@ Name | Type | Description | Notes **allow_geolocation** | **bool** | Set true to use the agent’s geolocation by the web page. | [optional] [default to False] **browser_language** | **str** | Set one of the available browser language that you want to use to configure the browser. | [optional] **page_loading_strategy** | [**TestPageLoadingStrategy**](TestPageLoadingStrategy.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **bgp_measurements** | **bool** | Set to `true` to enable bgp measurements. | [optional] [default to True] **use_public_bgp** | **bool** | Indicate if all available public BGP monitors should be used, when ommited defaults to `bgpMeasurements` value. | [optional] [default to True] **monitors** | [**List[Monitor]**](Monitor.md) | Contains list of enabled BGP monitors. | [optional] [readonly] diff --git a/thousandeyes-sdk-tests/docs/SipServerInstantTest.md b/thousandeyes-sdk-tests/docs/SipServerInstantTest.md index ffbd74a7..d68eee59 100644 --- a/thousandeyes-sdk-tests/docs/SipServerInstantTest.md +++ b/thousandeyes-sdk-tests/docs/SipServerInstantTest.md @@ -24,6 +24,7 @@ Name | Type | Description | Notes **options_regex** | **str** | Options regex, this field does not require escaping. | [optional] **path_trace_mode** | [**TestPathTraceMode**](TestPathTraceMode.md) | | [optional] **probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **register_enabled** | **bool** | Set to true to perform SIP registration on the test target with the SIP REGISTER command. | [optional] [default to False] **sip_target_time** | **int** | Target time for test completion in milliseconds. | [optional] **sip_time_limit** | **int** | Time limit in milliseconds. | [optional] [default to 5] diff --git a/thousandeyes-sdk-tests/docs/SipServerProperties.md b/thousandeyes-sdk-tests/docs/SipServerProperties.md index 8e6c4621..d3d92a41 100644 --- a/thousandeyes-sdk-tests/docs/SipServerProperties.md +++ b/thousandeyes-sdk-tests/docs/SipServerProperties.md @@ -11,6 +11,7 @@ Name | Type | Description | Notes **options_regex** | **str** | Options regex, this field does not require escaping. | [optional] **path_trace_mode** | [**TestPathTraceMode**](TestPathTraceMode.md) | | [optional] **probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **register_enabled** | **bool** | Set to true to perform SIP registration on the test target with the SIP REGISTER command. | [optional] [default to False] **sip_target_time** | **int** | Target time for test completion in milliseconds. | [optional] **sip_time_limit** | **int** | Time limit in milliseconds. | [optional] [default to 5] diff --git a/thousandeyes-sdk-tests/docs/SipServerTest.md b/thousandeyes-sdk-tests/docs/SipServerTest.md index 3e84dc9f..5cbb938c 100644 --- a/thousandeyes-sdk-tests/docs/SipServerTest.md +++ b/thousandeyes-sdk-tests/docs/SipServerTest.md @@ -31,6 +31,7 @@ Name | Type | Description | Notes **options_regex** | **str** | Options regex, this field does not require escaping. | [optional] **path_trace_mode** | [**TestPathTraceMode**](TestPathTraceMode.md) | | [optional] **probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **register_enabled** | **bool** | Set to true to perform SIP registration on the test target with the SIP REGISTER command. | [optional] [default to False] **sip_target_time** | **int** | Target time for test completion in milliseconds. | [optional] **sip_time_limit** | **int** | Time limit in milliseconds. | [optional] [default to 5] diff --git a/thousandeyes-sdk-tests/docs/SipServerTestRequest.md b/thousandeyes-sdk-tests/docs/SipServerTestRequest.md index 44a78e30..bc103f10 100644 --- a/thousandeyes-sdk-tests/docs/SipServerTestRequest.md +++ b/thousandeyes-sdk-tests/docs/SipServerTestRequest.md @@ -28,6 +28,7 @@ Name | Type | Description | Notes **options_regex** | **str** | Options regex, this field does not require escaping. | [optional] **path_trace_mode** | [**TestPathTraceMode**](TestPathTraceMode.md) | | [optional] **probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **register_enabled** | **bool** | Set to true to perform SIP registration on the test target with the SIP REGISTER command. | [optional] [default to False] **sip_target_time** | **int** | Target time for test completion in milliseconds. | [optional] **sip_time_limit** | **int** | Time limit in milliseconds. | [optional] [default to 5] diff --git a/thousandeyes-sdk-tests/docs/SipServerTestResponse.md b/thousandeyes-sdk-tests/docs/SipServerTestResponse.md index 254afa42..1c50dea8 100644 --- a/thousandeyes-sdk-tests/docs/SipServerTestResponse.md +++ b/thousandeyes-sdk-tests/docs/SipServerTestResponse.md @@ -31,6 +31,7 @@ Name | Type | Description | Notes **options_regex** | **str** | Options regex, this field does not require escaping. | [optional] **path_trace_mode** | [**TestPathTraceMode**](TestPathTraceMode.md) | | [optional] **probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **register_enabled** | **bool** | Set to true to perform SIP registration on the test target with the SIP REGISTER command. | [optional] [default to False] **sip_target_time** | **int** | Target time for test completion in milliseconds. | [optional] **sip_time_limit** | **int** | Time limit in milliseconds. | [optional] [default to 5] diff --git a/thousandeyes-sdk-tests/docs/UnexpandedAgentToAgentTest.md b/thousandeyes-sdk-tests/docs/UnexpandedAgentToAgentTest.md index 70f22c63..c5a50868 100644 --- a/thousandeyes-sdk-tests/docs/UnexpandedAgentToAgentTest.md +++ b/thousandeyes-sdk-tests/docs/UnexpandedAgentToAgentTest.md @@ -27,6 +27,7 @@ Name | Type | Description | Notes **path_trace_mode** | [**TestPathTraceMode**](TestPathTraceMode.md) | | [optional] **port** | **int** | Target port. | [optional] [default to 49153] **protocol** | [**AgentToAgentTestProtocol**](AgentToAgentTestProtocol.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **target_agent_id** | **str** | `agentId` of the target agent for the test. | **throughput_measurements** | **bool** | Enable or disable throughput measurements. Throughput measurements cannot be enabled when the source or target of the test is a cloud agent. | [optional] [default to False] **throughput_duration** | **int** | The throughput duration. | [optional] [default to 10000] diff --git a/thousandeyes-sdk-tests/docs/UnexpandedAgentToServerTest.md b/thousandeyes-sdk-tests/docs/UnexpandedAgentToServerTest.md index dfdd9cda..ca0cc59f 100644 --- a/thousandeyes-sdk-tests/docs/UnexpandedAgentToServerTest.md +++ b/thousandeyes-sdk-tests/docs/UnexpandedAgentToServerTest.md @@ -28,6 +28,7 @@ Name | Type | Description | Notes **port** | **int** | Target port. | [optional] [default to 49153] **probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional] **protocol** | [**TestProtocol**](TestProtocol.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **server** | **str** | Target name or IP address. | **dscp** | **str** | DSCP label. | [optional] [readonly] **dscp_id** | [**TestDscpId**](TestDscpId.md) | | [optional] diff --git a/thousandeyes-sdk-tests/docs/UnexpandedApiTest.md b/thousandeyes-sdk-tests/docs/UnexpandedApiTest.md index 6d6be2e7..f855a41f 100644 --- a/thousandeyes-sdk-tests/docs/UnexpandedApiTest.md +++ b/thousandeyes-sdk-tests/docs/UnexpandedApiTest.md @@ -30,6 +30,7 @@ Name | Type | Description | Notes **predefined_variables** | [**List[ApiPredefinedVariable]**](ApiPredefinedVariable.md) | | [optional] **probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional] **protocol** | [**TestProtocol**](TestProtocol.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **requests** | [**List[ApiRequest]**](ApiRequest.md) | | **ssl_version_id** | [**TestSslVersionId**](TestSslVersionId.md) | | [optional] **target_time** | **int** | Target time for completion metric, defaults to 50% of time limit specified in seconds. (0 means default behavior) | [optional] diff --git a/thousandeyes-sdk-tests/docs/UnexpandedDnsSecTest.md b/thousandeyes-sdk-tests/docs/UnexpandedDnsSecTest.md index fcdcf150..89e35c43 100644 --- a/thousandeyes-sdk-tests/docs/UnexpandedDnsSecTest.md +++ b/thousandeyes-sdk-tests/docs/UnexpandedDnsSecTest.md @@ -21,6 +21,7 @@ Name | Type | Description | Notes **links** | [**TestLinks**](TestLinks.md) | | [optional] **domain** | **str** | The target record for the test, with the record type suffixed. If no record type is specified, the test defaults to an ANY record. | **dns_query_class** | [**DnsQueryClass**](DnsQueryClass.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] ## Example diff --git a/thousandeyes-sdk-tests/docs/UnexpandedDnsServerTest.md b/thousandeyes-sdk-tests/docs/UnexpandedDnsServerTest.md index b5b80934..af57d5ea 100644 --- a/thousandeyes-sdk-tests/docs/UnexpandedDnsServerTest.md +++ b/thousandeyes-sdk-tests/docs/UnexpandedDnsServerTest.md @@ -29,6 +29,7 @@ Name | Type | Description | Notes **path_trace_mode** | [**TestPathTraceMode**](TestPathTraceMode.md) | | [optional] **probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional] **protocol** | [**TestProtocol**](TestProtocol.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **recursive_queries** | **bool** | Set true to run query with RD (recursion desired) flag enabled. | [optional] **ipv6_policy** | [**TestIpv6Policy**](TestIpv6Policy.md) | | [optional] **fixed_packet_rate** | **int** | Sets packets rate sent to measure the network in packets per second. | [optional] diff --git a/thousandeyes-sdk-tests/docs/UnexpandedDnsTraceTest.md b/thousandeyes-sdk-tests/docs/UnexpandedDnsTraceTest.md index 75ab4717..d0dd21a9 100644 --- a/thousandeyes-sdk-tests/docs/UnexpandedDnsTraceTest.md +++ b/thousandeyes-sdk-tests/docs/UnexpandedDnsTraceTest.md @@ -22,6 +22,7 @@ Name | Type | Description | Notes **dns_transport_protocol** | [**TestDnsTransportProtocol**](TestDnsTransportProtocol.md) | | [optional] **domain** | **str** | The target record for the test, with the record type suffixed. If no record type is specified, the test defaults to an ANY record. | **dns_query_class** | [**DnsQueryClass**](DnsQueryClass.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] ## Example diff --git a/thousandeyes-sdk-tests/docs/UnexpandedFtpServerTest.md b/thousandeyes-sdk-tests/docs/UnexpandedFtpServerTest.md index 0c1ec73b..c387f233 100644 --- a/thousandeyes-sdk-tests/docs/UnexpandedFtpServerTest.md +++ b/thousandeyes-sdk-tests/docs/UnexpandedFtpServerTest.md @@ -30,6 +30,7 @@ Name | Type | Description | Notes **path_trace_mode** | [**TestPathTraceMode**](TestPathTraceMode.md) | | [optional] **probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional] **protocol** | [**TestProtocol**](TestProtocol.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **request_type** | [**FtpServerRequestType**](FtpServerRequestType.md) | | **url** | **str** | Target for the test. | **use_active_ftp** | **bool** | Explicitly set the flag to use active FTP. | [optional] [default to False] diff --git a/thousandeyes-sdk-tests/docs/UnexpandedHttpServerTest.md b/thousandeyes-sdk-tests/docs/UnexpandedHttpServerTest.md index 9974b934..c91d6464 100644 --- a/thousandeyes-sdk-tests/docs/UnexpandedHttpServerTest.md +++ b/thousandeyes-sdk-tests/docs/UnexpandedHttpServerTest.md @@ -54,6 +54,7 @@ Name | Type | Description | Notes **override_proxy_id** | **str** | ID of the proxy to be used if the default proxy is overridden. | [optional] **collect_proxy_network_data** | **bool** | Indicates whether network data to the proxy should be collected. | [optional] [default to False] **headers** | **List[str]** | HTTP request headers used. | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **post_body** | **str** | Enter the body for the HTTP POST request in this field. No special escaping is necessary. If the post body is provided with content, the `requestMethod` is automatically set to POST. | [optional] **ipv6_policy** | [**TestIpv6Policy**](TestIpv6Policy.md) | | [optional] **bgp_measurements** | **bool** | Set to `true` to enable bgp measurements. | [optional] [default to True] diff --git a/thousandeyes-sdk-tests/docs/UnexpandedPageLoadTest.md b/thousandeyes-sdk-tests/docs/UnexpandedPageLoadTest.md index c57b9651..68304c6a 100644 --- a/thousandeyes-sdk-tests/docs/UnexpandedPageLoadTest.md +++ b/thousandeyes-sdk-tests/docs/UnexpandedPageLoadTest.md @@ -62,6 +62,7 @@ Name | Type | Description | Notes **allow_geolocation** | **bool** | Set true to use the agent’s geolocation by the web page. | [optional] [default to False] **browser_language** | **str** | Set one of the available browser language that you want to use to configure the browser. | [optional] **page_loading_strategy** | [**TestPageLoadingStrategy**](TestPageLoadingStrategy.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **http_interval** | [**TestHttpInterval**](TestHttpInterval.md) | | [optional] **subinterval** | [**TestSubInterval**](TestSubInterval.md) | | [optional] **bgp_measurements** | **bool** | Set to `true` to enable bgp measurements. | [optional] [default to True] diff --git a/thousandeyes-sdk-tests/docs/UnexpandedSipServerTest.md b/thousandeyes-sdk-tests/docs/UnexpandedSipServerTest.md index 91c0e675..6446b6fa 100644 --- a/thousandeyes-sdk-tests/docs/UnexpandedSipServerTest.md +++ b/thousandeyes-sdk-tests/docs/UnexpandedSipServerTest.md @@ -25,6 +25,7 @@ Name | Type | Description | Notes **options_regex** | **str** | Options regex, this field does not require escaping. | [optional] **path_trace_mode** | [**TestPathTraceMode**](TestPathTraceMode.md) | | [optional] **probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **register_enabled** | **bool** | Set to true to perform SIP registration on the test target with the SIP REGISTER command. | [optional] [default to False] **sip_target_time** | **int** | Target time for test completion in milliseconds. | [optional] **sip_time_limit** | **int** | Time limit in milliseconds. | [optional] [default to 5] diff --git a/thousandeyes-sdk-tests/docs/UnexpandedVoiceTest.md b/thousandeyes-sdk-tests/docs/UnexpandedVoiceTest.md index 06cc0af9..6ce063ca 100644 --- a/thousandeyes-sdk-tests/docs/UnexpandedVoiceTest.md +++ b/thousandeyes-sdk-tests/docs/UnexpandedVoiceTest.md @@ -27,6 +27,7 @@ Name | Type | Description | Notes **jitter_buffer** | **int** | De-jitter buffer size in seconds. | [optional] [default to 40] **num_path_traces** | **int** | Number of path traces executed by the agent. | [optional] [default to 3] **port** | **int** | Port number for the chosen protocol. | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **target_agent_id** | **str** | Agent ID of the target agent for the test. | **bgp_measurements** | **bool** | Set to `true` to enable bgp measurements. | [optional] [default to True] **use_public_bgp** | **bool** | Indicate if all available public BGP monitors should be used, when ommited defaults to `bgpMeasurements` value. | [optional] [default to True] diff --git a/thousandeyes-sdk-tests/docs/UnexpandedWebTransactionTest.md b/thousandeyes-sdk-tests/docs/UnexpandedWebTransactionTest.md index e84d73b2..0e5b609b 100644 --- a/thousandeyes-sdk-tests/docs/UnexpandedWebTransactionTest.md +++ b/thousandeyes-sdk-tests/docs/UnexpandedWebTransactionTest.md @@ -63,6 +63,7 @@ Name | Type | Description | Notes **allow_geolocation** | **bool** | Set true to use the agent’s geolocation by the web page. | [optional] [default to False] **browser_language** | **str** | Set one of the available browser language that you want to use to configure the browser. | [optional] **page_loading_strategy** | [**TestPageLoadingStrategy**](TestPageLoadingStrategy.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **subinterval** | [**TestSubInterval**](TestSubInterval.md) | | [optional] **bgp_measurements** | **bool** | Set to `true` to enable bgp measurements. | [optional] [default to True] **use_public_bgp** | **bool** | Indicate if all available public BGP monitors should be used, when ommited defaults to `bgpMeasurements` value. | [optional] [default to True] diff --git a/thousandeyes-sdk-tests/docs/UpdateSipServerTest.md b/thousandeyes-sdk-tests/docs/UpdateSipServerTest.md index 1d150e12..4e9107ee 100644 --- a/thousandeyes-sdk-tests/docs/UpdateSipServerTest.md +++ b/thousandeyes-sdk-tests/docs/UpdateSipServerTest.md @@ -28,6 +28,7 @@ Name | Type | Description | Notes **options_regex** | **str** | Options regex, this field does not require escaping. | [optional] **path_trace_mode** | [**TestPathTraceMode**](TestPathTraceMode.md) | | [optional] **probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **register_enabled** | **bool** | Set to true to perform SIP registration on the test target with the SIP REGISTER command. | [optional] [default to False] **sip_target_time** | **int** | Target time for test completion in milliseconds. | [optional] **sip_time_limit** | **int** | Time limit in milliseconds. | [optional] [default to 5] diff --git a/thousandeyes-sdk-tests/docs/VoiceInstantTest.md b/thousandeyes-sdk-tests/docs/VoiceInstantTest.md index 5c035c33..d1520cfe 100644 --- a/thousandeyes-sdk-tests/docs/VoiceInstantTest.md +++ b/thousandeyes-sdk-tests/docs/VoiceInstantTest.md @@ -26,6 +26,7 @@ Name | Type | Description | Notes **jitter_buffer** | **int** | De-jitter buffer size in seconds. | [optional] [default to 40] **num_path_traces** | **int** | Number of path traces executed by the agent. | [optional] [default to 3] **port** | **int** | Port number for the chosen protocol. | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **target_agent_id** | **str** | Agent ID of the target agent for the test. | ## Example diff --git a/thousandeyes-sdk-tests/docs/VoiceProperties.md b/thousandeyes-sdk-tests/docs/VoiceProperties.md index ebeae1bd..c34bfc10 100644 --- a/thousandeyes-sdk-tests/docs/VoiceProperties.md +++ b/thousandeyes-sdk-tests/docs/VoiceProperties.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **jitter_buffer** | **int** | De-jitter buffer size in seconds. | [optional] [default to 40] **num_path_traces** | **int** | Number of path traces executed by the agent. | [optional] [default to 3] **port** | **int** | Port number for the chosen protocol. | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **target_agent_id** | **str** | Agent ID of the target agent for the test. | **type** | **str** | | [optional] [readonly] diff --git a/thousandeyes-sdk-tests/docs/VoiceTest.md b/thousandeyes-sdk-tests/docs/VoiceTest.md index b2d6e236..24bb9aaf 100644 --- a/thousandeyes-sdk-tests/docs/VoiceTest.md +++ b/thousandeyes-sdk-tests/docs/VoiceTest.md @@ -30,6 +30,7 @@ Name | Type | Description | Notes **jitter_buffer** | **int** | De-jitter buffer size in seconds. | [optional] [default to 40] **num_path_traces** | **int** | Number of path traces executed by the agent. | [optional] [default to 3] **port** | **int** | Port number for the chosen protocol. | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **target_agent_id** | **str** | Agent ID of the target agent for the test. | **bgp_measurements** | **bool** | Set to `true` to enable bgp measurements. | [optional] [default to True] **use_public_bgp** | **bool** | Indicate if all available public BGP monitors should be used, when ommited defaults to `bgpMeasurements` value. | [optional] [default to True] diff --git a/thousandeyes-sdk-tests/docs/VoiceTestRequest.md b/thousandeyes-sdk-tests/docs/VoiceTestRequest.md index 21347fc9..89b39c93 100644 --- a/thousandeyes-sdk-tests/docs/VoiceTestRequest.md +++ b/thousandeyes-sdk-tests/docs/VoiceTestRequest.md @@ -30,6 +30,7 @@ Name | Type | Description | Notes **jitter_buffer** | **int** | De-jitter buffer size in seconds. | [optional] [default to 40] **num_path_traces** | **int** | Number of path traces executed by the agent. | [optional] [default to 3] **port** | **int** | Port number for the chosen protocol. | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **target_agent_id** | **str** | Agent ID of the target agent for the test. | **bgp_measurements** | **bool** | Set to `true` to enable bgp measurements. | [optional] [default to True] **use_public_bgp** | **bool** | Indicate if all available public BGP monitors should be used, when ommited defaults to `bgpMeasurements` value. | [optional] [default to True] diff --git a/thousandeyes-sdk-tests/docs/VoiceTestResponse.md b/thousandeyes-sdk-tests/docs/VoiceTestResponse.md index 923c8c58..4456907f 100644 --- a/thousandeyes-sdk-tests/docs/VoiceTestResponse.md +++ b/thousandeyes-sdk-tests/docs/VoiceTestResponse.md @@ -30,6 +30,7 @@ Name | Type | Description | Notes **jitter_buffer** | **int** | De-jitter buffer size in seconds. | [optional] [default to 40] **num_path_traces** | **int** | Number of path traces executed by the agent. | [optional] [default to 3] **port** | **int** | Port number for the chosen protocol. | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **target_agent_id** | **str** | Agent ID of the target agent for the test. | **bgp_measurements** | **bool** | Set to `true` to enable bgp measurements. | [optional] [default to True] **use_public_bgp** | **bool** | Indicate if all available public BGP monitors should be used, when ommited defaults to `bgpMeasurements` value. | [optional] [default to True] diff --git a/thousandeyes-sdk-tests/docs/WebTransactionInstantTest.md b/thousandeyes-sdk-tests/docs/WebTransactionInstantTest.md index d812b950..6dbfa333 100644 --- a/thousandeyes-sdk-tests/docs/WebTransactionInstantTest.md +++ b/thousandeyes-sdk-tests/docs/WebTransactionInstantTest.md @@ -62,6 +62,7 @@ Name | Type | Description | Notes **allow_geolocation** | **bool** | Set true to use the agent’s geolocation by the web page. | [optional] [default to False] **browser_language** | **str** | Set one of the available browser language that you want to use to configure the browser. | [optional] **page_loading_strategy** | [**TestPageLoadingStrategy**](TestPageLoadingStrategy.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **credentials** | **List[str]** | Contains a list of credential IDs (get `credentialId` from `/credentials` endpoint). | [optional] ## Example diff --git a/thousandeyes-sdk-tests/docs/WebTransactionProperties.md b/thousandeyes-sdk-tests/docs/WebTransactionProperties.md index 72dc6bf0..551ef44c 100644 --- a/thousandeyes-sdk-tests/docs/WebTransactionProperties.md +++ b/thousandeyes-sdk-tests/docs/WebTransactionProperties.md @@ -49,6 +49,7 @@ Name | Type | Description | Notes **allow_geolocation** | **bool** | Set true to use the agent’s geolocation by the web page. | [optional] [default to False] **browser_language** | **str** | Set one of the available browser language that you want to use to configure the browser. | [optional] **page_loading_strategy** | [**TestPageLoadingStrategy**](TestPageLoadingStrategy.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **type** | **str** | | [optional] [readonly] ## Example diff --git a/thousandeyes-sdk-tests/docs/WebTransactionTest.md b/thousandeyes-sdk-tests/docs/WebTransactionTest.md index 08fc0080..ddc77e13 100644 --- a/thousandeyes-sdk-tests/docs/WebTransactionTest.md +++ b/thousandeyes-sdk-tests/docs/WebTransactionTest.md @@ -66,6 +66,7 @@ Name | Type | Description | Notes **allow_geolocation** | **bool** | Set true to use the agent’s geolocation by the web page. | [optional] [default to False] **browser_language** | **str** | Set one of the available browser language that you want to use to configure the browser. | [optional] **page_loading_strategy** | [**TestPageLoadingStrategy**](TestPageLoadingStrategy.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **credentials** | **List[str]** | Contains a list of credential IDs (get `credentialId` from `/credentials` endpoint). | [optional] **bgp_measurements** | **bool** | Set to `true` to enable bgp measurements. | [optional] [default to True] **use_public_bgp** | **bool** | Indicate if all available public BGP monitors should be used, when ommited defaults to `bgpMeasurements` value. | [optional] [default to True] diff --git a/thousandeyes-sdk-tests/docs/WebTransactionTestRequest.md b/thousandeyes-sdk-tests/docs/WebTransactionTestRequest.md index b9c7f2e2..2ef2cd5b 100644 --- a/thousandeyes-sdk-tests/docs/WebTransactionTestRequest.md +++ b/thousandeyes-sdk-tests/docs/WebTransactionTestRequest.md @@ -66,6 +66,7 @@ Name | Type | Description | Notes **allow_geolocation** | **bool** | Set true to use the agent’s geolocation by the web page. | [optional] [default to False] **browser_language** | **str** | Set one of the available browser language that you want to use to configure the browser. | [optional] **page_loading_strategy** | [**TestPageLoadingStrategy**](TestPageLoadingStrategy.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **credentials** | **List[str]** | Contains a list of credential IDs (get `credentialId` from `/credentials` endpoint). | [optional] **bgp_measurements** | **bool** | Set to `true` to enable bgp measurements. | [optional] [default to True] **use_public_bgp** | **bool** | Indicate if all available public BGP monitors should be used, when ommited defaults to `bgpMeasurements` value. | [optional] [default to True] diff --git a/thousandeyes-sdk-tests/docs/WebTransactionTestResponse.md b/thousandeyes-sdk-tests/docs/WebTransactionTestResponse.md index eb87add2..fcdf5f65 100644 --- a/thousandeyes-sdk-tests/docs/WebTransactionTestResponse.md +++ b/thousandeyes-sdk-tests/docs/WebTransactionTestResponse.md @@ -66,6 +66,7 @@ Name | Type | Description | Notes **allow_geolocation** | **bool** | Set true to use the agent’s geolocation by the web page. | [optional] [default to False] **browser_language** | **str** | Set one of the available browser language that you want to use to configure the browser. | [optional] **page_loading_strategy** | [**TestPageLoadingStrategy**](TestPageLoadingStrategy.md) | | [optional] +**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] **credentials** | **List[str]** | Contains a list of credential IDs (get `credentialId` from `/credentials` endpoint). | [optional] **bgp_measurements** | **bool** | Set to `true` to enable bgp measurements. | [optional] [default to True] **use_public_bgp** | **bool** | Indicate if all available public BGP monitors should be used, when ommited defaults to `bgpMeasurements` value. | [optional] [default to True] diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/__init__.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/__init__.py index f9aa8e3c..f50fc001 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/__init__.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/__init__.py @@ -52,6 +52,7 @@ from thousandeyes_sdk.tests.models.alert_direction import AlertDirection from thousandeyes_sdk.tests.models.alert_rounds_violation_mode import AlertRoundsViolationMode from thousandeyes_sdk.tests.models.alert_rule import AlertRule from thousandeyes_sdk.tests.models.alert_type import AlertType +from thousandeyes_sdk.tests.models.api_client_authentication import ApiClientAuthentication from thousandeyes_sdk.tests.models.api_instant_test import ApiInstantTest from thousandeyes_sdk.tests.models.api_predefined_variable import ApiPredefinedVariable from thousandeyes_sdk.tests.models.api_properties import ApiProperties diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/__init__.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/__init__.py index cf19198c..f1e4e042 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/__init__.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/__init__.py @@ -33,6 +33,7 @@ from thousandeyes_sdk.tests.models.alert_direction import AlertDirection from thousandeyes_sdk.tests.models.alert_rounds_violation_mode import AlertRoundsViolationMode from thousandeyes_sdk.tests.models.alert_rule import AlertRule from thousandeyes_sdk.tests.models.alert_type import AlertType +from thousandeyes_sdk.tests.models.api_client_authentication import ApiClientAuthentication from thousandeyes_sdk.tests.models.api_instant_test import ApiInstantTest from thousandeyes_sdk.tests.models.api_predefined_variable import ApiPredefinedVariable from thousandeyes_sdk.tests.models.api_properties import ApiProperties diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/agent_to_agent_instant_test.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/agent_to_agent_instant_test.py index ba9e8c0e..3ebcd2d6 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/agent_to_agent_instant_test.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/agent_to_agent_instant_test.py @@ -55,12 +55,13 @@ class AgentToAgentInstantTest(BaseModel): path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode") port: Optional[Annotated[int, Field(le=65535, strict=True, ge=1)]] = Field(default=49153, description="Target port.") protocol: Optional[AgentToAgentTestProtocol] = None + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") target_agent_id: StrictStr = Field(description="`agentId` of the target agent for the test.", alias="targetAgentId") throughput_measurements: Optional[StrictBool] = Field(default=False, description="Enable or disable throughput measurements. Throughput measurements cannot be enabled when the source or target of the test is a cloud agent.", alias="throughputMeasurements") throughput_duration: Optional[Annotated[int, Field(le=30000, strict=True, ge=5000)]] = Field(default=10000, description="The throughput duration.", alias="throughputDuration") throughput_rate: Optional[Annotated[int, Field(le=1000, strict=True, ge=8)]] = Field(default=None, description="The throughput rate, only applicable for UDP protocol.", alias="throughputRate") fixed_packet_rate: Optional[Annotated[int, Field(le=100, strict=True, ge=0)]] = Field(default=None, description="Sets packets rate sent to measure the network in packets per second.", alias="fixedPacketRate") - __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "direction", "dscp", "dscpId", "mss", "numPathTraces", "pathTraceMode", "port", "protocol", "targetAgentId", "throughputMeasurements", "throughputDuration", "throughputRate", "fixedPacketRate"] + __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "direction", "dscp", "dscpId", "mss", "numPathTraces", "pathTraceMode", "port", "protocol", "randomizedStartTime", "targetAgentId", "throughputMeasurements", "throughputDuration", "throughputRate", "fixedPacketRate"] model_config = ConfigDict( populate_by_name=True, @@ -174,6 +175,7 @@ class AgentToAgentInstantTest(BaseModel): "pathTraceMode": obj.get("pathTraceMode"), "port": obj.get("port") if obj.get("port") is not None else 49153, "protocol": obj.get("protocol"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "targetAgentId": obj.get("targetAgentId"), "throughputMeasurements": obj.get("throughputMeasurements") if obj.get("throughputMeasurements") is not None else False, "throughputDuration": obj.get("throughputDuration") if obj.get("throughputDuration") is not None else 10000, diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/agent_to_agent_properties.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/agent_to_agent_properties.py index 2b2e0069..a9025478 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/agent_to_agent_properties.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/agent_to_agent_properties.py @@ -38,13 +38,14 @@ class AgentToAgentProperties(BaseModel): path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode") port: Optional[Annotated[int, Field(le=65535, strict=True, ge=1)]] = Field(default=49153, description="Target port.") protocol: Optional[AgentToAgentTestProtocol] = None + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") target_agent_id: StrictStr = Field(description="`agentId` of the target agent for the test.", alias="targetAgentId") throughput_measurements: Optional[StrictBool] = Field(default=False, description="Enable or disable throughput measurements. Throughput measurements cannot be enabled when the source or target of the test is a cloud agent.", alias="throughputMeasurements") throughput_duration: Optional[Annotated[int, Field(le=30000, strict=True, ge=5000)]] = Field(default=10000, description="The throughput duration.", alias="throughputDuration") throughput_rate: Optional[Annotated[int, Field(le=1000, strict=True, ge=8)]] = Field(default=None, description="The throughput rate, only applicable for UDP protocol.", alias="throughputRate") fixed_packet_rate: Optional[Annotated[int, Field(le=100, strict=True, ge=0)]] = Field(default=None, description="Sets packets rate sent to measure the network in packets per second.", alias="fixedPacketRate") type: Optional[StrictStr] = None - __properties: ClassVar[List[str]] = ["direction", "dscp", "dscpId", "mss", "numPathTraces", "pathTraceMode", "port", "protocol", "targetAgentId", "throughputMeasurements", "throughputDuration", "throughputRate", "fixedPacketRate", "type"] + __properties: ClassVar[List[str]] = ["direction", "dscp", "dscpId", "mss", "numPathTraces", "pathTraceMode", "port", "protocol", "randomizedStartTime", "targetAgentId", "throughputMeasurements", "throughputDuration", "throughputRate", "fixedPacketRate", "type"] model_config = ConfigDict( populate_by_name=True, @@ -110,6 +111,7 @@ class AgentToAgentProperties(BaseModel): "pathTraceMode": obj.get("pathTraceMode"), "port": obj.get("port") if obj.get("port") is not None else 49153, "protocol": obj.get("protocol"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "targetAgentId": obj.get("targetAgentId"), "throughputMeasurements": obj.get("throughputMeasurements") if obj.get("throughputMeasurements") is not None else False, "throughputDuration": obj.get("throughputDuration") if obj.get("throughputDuration") is not None else 10000, diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/agent_to_agent_test.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/agent_to_agent_test.py index 6b566cbd..2e233826 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/agent_to_agent_test.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/agent_to_agent_test.py @@ -62,6 +62,7 @@ class AgentToAgentTest(BaseModel): path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode") port: Optional[Annotated[int, Field(le=65535, strict=True, ge=1)]] = Field(default=49153, description="Target port.") protocol: Optional[AgentToAgentTestProtocol] = None + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") target_agent_id: StrictStr = Field(description="`agentId` of the target agent for the test.", alias="targetAgentId") throughput_measurements: Optional[StrictBool] = Field(default=False, description="Enable or disable throughput measurements. Throughput measurements cannot be enabled when the source or target of the test is a cloud agent.", alias="throughputMeasurements") throughput_duration: Optional[Annotated[int, Field(le=30000, strict=True, ge=5000)]] = Field(default=10000, description="The throughput duration.", alias="throughputDuration") @@ -70,7 +71,7 @@ class AgentToAgentTest(BaseModel): bgp_measurements: Optional[StrictBool] = Field(default=True, description="Set to `true` to enable bgp measurements.", alias="bgpMeasurements") use_public_bgp: Optional[StrictBool] = Field(default=True, description="Indicate if all available public BGP monitors should be used, when ommited defaults to `bgpMeasurements` value.", alias="usePublicBgp") monitors: Optional[List[Monitor]] = Field(default=None, description="Contains list of enabled BGP monitors.") - __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "direction", "dscp", "dscpId", "mss", "numPathTraces", "pathTraceMode", "port", "protocol", "targetAgentId", "throughputMeasurements", "throughputDuration", "throughputRate", "fixedPacketRate", "bgpMeasurements", "usePublicBgp", "monitors"] + __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "direction", "dscp", "dscpId", "mss", "numPathTraces", "pathTraceMode", "port", "protocol", "randomizedStartTime", "targetAgentId", "throughputMeasurements", "throughputDuration", "throughputRate", "fixedPacketRate", "bgpMeasurements", "usePublicBgp", "monitors"] model_config = ConfigDict( populate_by_name=True, @@ -204,6 +205,7 @@ class AgentToAgentTest(BaseModel): "pathTraceMode": obj.get("pathTraceMode"), "port": obj.get("port") if obj.get("port") is not None else 49153, "protocol": obj.get("protocol"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "targetAgentId": obj.get("targetAgentId"), "throughputMeasurements": obj.get("throughputMeasurements") if obj.get("throughputMeasurements") is not None else False, "throughputDuration": obj.get("throughputDuration") if obj.get("throughputDuration") is not None else 10000, diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/agent_to_agent_test_request.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/agent_to_agent_test_request.py index 0551f663..b60f83cd 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/agent_to_agent_test_request.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/agent_to_agent_test_request.py @@ -59,6 +59,7 @@ class AgentToAgentTestRequest(BaseModel): path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode") port: Optional[Annotated[int, Field(le=65535, strict=True, ge=1)]] = Field(default=49153, description="Target port.") protocol: Optional[AgentToAgentTestProtocol] = None + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") target_agent_id: StrictStr = Field(description="`agentId` of the target agent for the test.", alias="targetAgentId") throughput_measurements: Optional[StrictBool] = Field(default=False, description="Enable or disable throughput measurements. Throughput measurements cannot be enabled when the source or target of the test is a cloud agent.", alias="throughputMeasurements") throughput_duration: Optional[Annotated[int, Field(le=30000, strict=True, ge=5000)]] = Field(default=10000, description="The throughput duration.", alias="throughputDuration") @@ -68,7 +69,7 @@ class AgentToAgentTestRequest(BaseModel): use_public_bgp: Optional[StrictBool] = Field(default=True, description="Indicate if all available public BGP monitors should be used, when ommited defaults to `bgpMeasurements` value.", alias="usePublicBgp") monitors: Optional[List[StrictStr]] = Field(default=None, description="Contains list of BGP monitor IDs (get `monitorId` from `/monitors` endpoint)") agents: List[TestAgentRequest] = Field(description="Contains list of Agent IDs (get `agentId` from `/agents` endpoint).") - __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "direction", "dscp", "dscpId", "mss", "numPathTraces", "pathTraceMode", "port", "protocol", "targetAgentId", "throughputMeasurements", "throughputDuration", "throughputRate", "fixedPacketRate", "bgpMeasurements", "usePublicBgp", "monitors", "agents"] + __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "direction", "dscp", "dscpId", "mss", "numPathTraces", "pathTraceMode", "port", "protocol", "randomizedStartTime", "targetAgentId", "throughputMeasurements", "throughputDuration", "throughputRate", "fixedPacketRate", "bgpMeasurements", "usePublicBgp", "monitors", "agents"] model_config = ConfigDict( populate_by_name=True, @@ -175,6 +176,7 @@ class AgentToAgentTestRequest(BaseModel): "pathTraceMode": obj.get("pathTraceMode"), "port": obj.get("port") if obj.get("port") is not None else 49153, "protocol": obj.get("protocol"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "targetAgentId": obj.get("targetAgentId"), "throughputMeasurements": obj.get("throughputMeasurements") if obj.get("throughputMeasurements") is not None else False, "throughputDuration": obj.get("throughputDuration") if obj.get("throughputDuration") is not None else 10000, diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/agent_to_agent_test_response.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/agent_to_agent_test_response.py index 43475935..9da53971 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/agent_to_agent_test_response.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/agent_to_agent_test_response.py @@ -63,6 +63,7 @@ class AgentToAgentTestResponse(BaseModel): path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode") port: Optional[Annotated[int, Field(le=65535, strict=True, ge=1)]] = Field(default=49153, description="Target port.") protocol: Optional[AgentToAgentTestProtocol] = None + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") target_agent_id: StrictStr = Field(description="`agentId` of the target agent for the test.", alias="targetAgentId") throughput_measurements: Optional[StrictBool] = Field(default=False, description="Enable or disable throughput measurements. Throughput measurements cannot be enabled when the source or target of the test is a cloud agent.", alias="throughputMeasurements") throughput_duration: Optional[Annotated[int, Field(le=30000, strict=True, ge=5000)]] = Field(default=10000, description="The throughput duration.", alias="throughputDuration") @@ -72,7 +73,7 @@ class AgentToAgentTestResponse(BaseModel): use_public_bgp: Optional[StrictBool] = Field(default=True, description="Indicate if all available public BGP monitors should be used, when ommited defaults to `bgpMeasurements` value.", alias="usePublicBgp") monitors: Optional[List[Monitor]] = Field(default=None, description="Contains list of enabled BGP monitors.") agents: Optional[List[AgentResponse]] = Field(default=None, description="Contains list of agents.") - __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "direction", "dscp", "dscpId", "mss", "numPathTraces", "pathTraceMode", "port", "protocol", "targetAgentId", "throughputMeasurements", "throughputDuration", "throughputRate", "fixedPacketRate", "bgpMeasurements", "usePublicBgp", "monitors", "agents"] + __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "direction", "dscp", "dscpId", "mss", "numPathTraces", "pathTraceMode", "port", "protocol", "randomizedStartTime", "targetAgentId", "throughputMeasurements", "throughputDuration", "throughputRate", "fixedPacketRate", "bgpMeasurements", "usePublicBgp", "monitors", "agents"] model_config = ConfigDict( populate_by_name=True, @@ -213,6 +214,7 @@ class AgentToAgentTestResponse(BaseModel): "pathTraceMode": obj.get("pathTraceMode"), "port": obj.get("port") if obj.get("port") is not None else 49153, "protocol": obj.get("protocol"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "targetAgentId": obj.get("targetAgentId"), "throughputMeasurements": obj.get("throughputMeasurements") if obj.get("throughputMeasurements") is not None else False, "throughputDuration": obj.get("throughputDuration") if obj.get("throughputDuration") is not None else 10000, diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/agent_to_server_instant_test.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/agent_to_server_instant_test.py index 624131a6..dfd26217 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/agent_to_server_instant_test.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/agent_to_server_instant_test.py @@ -57,13 +57,14 @@ class AgentToServerInstantTest(BaseModel): port: Optional[Annotated[int, Field(le=65535, strict=True, ge=1)]] = Field(default=49153, description="Target port.") probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode") protocol: Optional[TestProtocol] = None + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") server: StrictStr = Field(description="Target name or IP address.") dscp: Optional[StrictStr] = Field(default=None, description="DSCP label.") dscp_id: Optional[TestDscpId] = Field(default=None, alias="dscpId") ipv6_policy: Optional[TestIpv6Policy] = Field(default=None, alias="ipv6Policy") ping_payload_size: Optional[Annotated[int, Field(le=1400, strict=True, ge=0)]] = Field(default=None, description="Payload size (not total packet size) for the end-to-end metric's probes, ping payload size allows values from 0 to 1400 bytes. When set to null, payload sizes are 0 bytes for ICMP-based tests and 1 byte for TCP-based tests.", alias="pingPayloadSize") network_measurements: Optional[StrictBool] = Field(default=False, description="View packet loss in 1-second intervals. This is only available for 1-minute interval tests. Set to `true` to enable network measurements.", alias="networkMeasurements") - __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "continuousMode", "fixedPacketRate", "mtuMeasurements", "numPathTraces", "pathTraceMode", "port", "probeMode", "protocol", "server", "dscp", "dscpId", "ipv6Policy", "pingPayloadSize", "networkMeasurements"] + __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "continuousMode", "fixedPacketRate", "mtuMeasurements", "numPathTraces", "pathTraceMode", "port", "probeMode", "protocol", "randomizedStartTime", "server", "dscp", "dscpId", "ipv6Policy", "pingPayloadSize", "networkMeasurements"] model_config = ConfigDict( populate_by_name=True, @@ -178,6 +179,7 @@ class AgentToServerInstantTest(BaseModel): "port": obj.get("port") if obj.get("port") is not None else 49153, "probeMode": obj.get("probeMode"), "protocol": obj.get("protocol"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "server": obj.get("server"), "dscp": obj.get("dscp"), "dscpId": obj.get("dscpId"), diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/agent_to_server_properties.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/agent_to_server_properties.py index a884da40..45251452 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/agent_to_server_properties.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/agent_to_server_properties.py @@ -40,6 +40,7 @@ class AgentToServerProperties(BaseModel): port: Optional[Annotated[int, Field(le=65535, strict=True, ge=1)]] = Field(default=49153, description="Target port.") probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode") protocol: Optional[TestProtocol] = None + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") server: StrictStr = Field(description="Target name or IP address.") dscp: Optional[StrictStr] = Field(default=None, description="DSCP label.") dscp_id: Optional[TestDscpId] = Field(default=None, alias="dscpId") @@ -47,7 +48,7 @@ class AgentToServerProperties(BaseModel): ping_payload_size: Optional[Annotated[int, Field(le=1400, strict=True, ge=0)]] = Field(default=None, description="Payload size (not total packet size) for the end-to-end metric's probes, ping payload size allows values from 0 to 1400 bytes. When set to null, payload sizes are 0 bytes for ICMP-based tests and 1 byte for TCP-based tests.", alias="pingPayloadSize") network_measurements: Optional[StrictBool] = Field(default=False, description="View packet loss in 1-second intervals. This is only available for 1-minute interval tests. Set to `true` to enable network measurements.", alias="networkMeasurements") type: Optional[StrictStr] = None - __properties: ClassVar[List[str]] = ["bandwidthMeasurements", "continuousMode", "fixedPacketRate", "mtuMeasurements", "numPathTraces", "pathTraceMode", "port", "probeMode", "protocol", "server", "dscp", "dscpId", "ipv6Policy", "pingPayloadSize", "networkMeasurements", "type"] + __properties: ClassVar[List[str]] = ["bandwidthMeasurements", "continuousMode", "fixedPacketRate", "mtuMeasurements", "numPathTraces", "pathTraceMode", "port", "probeMode", "protocol", "randomizedStartTime", "server", "dscp", "dscpId", "ipv6Policy", "pingPayloadSize", "networkMeasurements", "type"] model_config = ConfigDict( populate_by_name=True, @@ -114,6 +115,7 @@ class AgentToServerProperties(BaseModel): "port": obj.get("port") if obj.get("port") is not None else 49153, "probeMode": obj.get("probeMode"), "protocol": obj.get("protocol"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "server": obj.get("server"), "dscp": obj.get("dscp"), "dscpId": obj.get("dscpId"), diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/agent_to_server_test.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/agent_to_server_test.py index c5d1b843..59e1cb1f 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/agent_to_server_test.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/agent_to_server_test.py @@ -64,6 +64,7 @@ class AgentToServerTest(BaseModel): port: Optional[Annotated[int, Field(le=65535, strict=True, ge=1)]] = Field(default=49153, description="Target port.") probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode") protocol: Optional[TestProtocol] = None + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") server: StrictStr = Field(description="Target name or IP address.") dscp: Optional[StrictStr] = Field(default=None, description="DSCP label.") dscp_id: Optional[TestDscpId] = Field(default=None, alias="dscpId") @@ -73,7 +74,7 @@ class AgentToServerTest(BaseModel): bgp_measurements: Optional[StrictBool] = Field(default=True, description="Set to `true` to enable bgp measurements.", alias="bgpMeasurements") use_public_bgp: Optional[StrictBool] = Field(default=True, description="Indicate if all available public BGP monitors should be used, when ommited defaults to `bgpMeasurements` value.", alias="usePublicBgp") monitors: Optional[List[Monitor]] = Field(default=None, description="Contains list of enabled BGP monitors.") - __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "continuousMode", "fixedPacketRate", "mtuMeasurements", "numPathTraces", "pathTraceMode", "port", "probeMode", "protocol", "server", "dscp", "dscpId", "ipv6Policy", "pingPayloadSize", "networkMeasurements", "bgpMeasurements", "usePublicBgp", "monitors"] + __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "continuousMode", "fixedPacketRate", "mtuMeasurements", "numPathTraces", "pathTraceMode", "port", "probeMode", "protocol", "randomizedStartTime", "server", "dscp", "dscpId", "ipv6Policy", "pingPayloadSize", "networkMeasurements", "bgpMeasurements", "usePublicBgp", "monitors"] model_config = ConfigDict( populate_by_name=True, @@ -208,6 +209,7 @@ class AgentToServerTest(BaseModel): "port": obj.get("port") if obj.get("port") is not None else 49153, "probeMode": obj.get("probeMode"), "protocol": obj.get("protocol"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "server": obj.get("server"), "dscp": obj.get("dscp"), "dscpId": obj.get("dscpId"), diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/agent_to_server_test_request.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/agent_to_server_test_request.py index 52ba0cd4..d1fabd3b 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/agent_to_server_test_request.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/agent_to_server_test_request.py @@ -61,6 +61,7 @@ class AgentToServerTestRequest(BaseModel): port: Optional[Annotated[int, Field(le=65535, strict=True, ge=1)]] = Field(default=49153, description="Target port.") probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode") protocol: Optional[TestProtocol] = None + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") server: StrictStr = Field(description="Target name or IP address.") dscp: Optional[StrictStr] = Field(default=None, description="DSCP label.") dscp_id: Optional[TestDscpId] = Field(default=None, alias="dscpId") @@ -71,7 +72,7 @@ class AgentToServerTestRequest(BaseModel): use_public_bgp: Optional[StrictBool] = Field(default=True, description="Indicate if all available public BGP monitors should be used, when ommited defaults to `bgpMeasurements` value.", alias="usePublicBgp") monitors: Optional[List[StrictStr]] = Field(default=None, description="Contains list of BGP monitor IDs (get `monitorId` from `/monitors` endpoint)") agents: List[TestAgentRequest] = Field(description="Contains list of Agent IDs (get `agentId` from `/agents` endpoint).") - __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "continuousMode", "fixedPacketRate", "mtuMeasurements", "numPathTraces", "pathTraceMode", "port", "probeMode", "protocol", "server", "dscp", "dscpId", "ipv6Policy", "pingPayloadSize", "networkMeasurements", "bgpMeasurements", "usePublicBgp", "monitors", "agents"] + __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "continuousMode", "fixedPacketRate", "mtuMeasurements", "numPathTraces", "pathTraceMode", "port", "probeMode", "protocol", "randomizedStartTime", "server", "dscp", "dscpId", "ipv6Policy", "pingPayloadSize", "networkMeasurements", "bgpMeasurements", "usePublicBgp", "monitors", "agents"] model_config = ConfigDict( populate_by_name=True, @@ -179,6 +180,7 @@ class AgentToServerTestRequest(BaseModel): "port": obj.get("port") if obj.get("port") is not None else 49153, "probeMode": obj.get("probeMode"), "protocol": obj.get("protocol"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "server": obj.get("server"), "dscp": obj.get("dscp"), "dscpId": obj.get("dscpId"), diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/agent_to_server_test_response.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/agent_to_server_test_response.py index e5c0f5e9..e67bce1c 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/agent_to_server_test_response.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/agent_to_server_test_response.py @@ -65,6 +65,7 @@ class AgentToServerTestResponse(BaseModel): port: Optional[Annotated[int, Field(le=65535, strict=True, ge=1)]] = Field(default=49153, description="Target port.") probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode") protocol: Optional[TestProtocol] = None + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") server: StrictStr = Field(description="Target name or IP address.") dscp: Optional[StrictStr] = Field(default=None, description="DSCP label.") dscp_id: Optional[TestDscpId] = Field(default=None, alias="dscpId") @@ -75,7 +76,7 @@ class AgentToServerTestResponse(BaseModel): use_public_bgp: Optional[StrictBool] = Field(default=True, description="Indicate if all available public BGP monitors should be used, when ommited defaults to `bgpMeasurements` value.", alias="usePublicBgp") monitors: Optional[List[Monitor]] = Field(default=None, description="Contains list of enabled BGP monitors.") agents: Optional[List[AgentResponse]] = Field(default=None, description="Contains list of agents.") - __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "continuousMode", "fixedPacketRate", "mtuMeasurements", "numPathTraces", "pathTraceMode", "port", "probeMode", "protocol", "server", "dscp", "dscpId", "ipv6Policy", "pingPayloadSize", "networkMeasurements", "bgpMeasurements", "usePublicBgp", "monitors", "agents"] + __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "continuousMode", "fixedPacketRate", "mtuMeasurements", "numPathTraces", "pathTraceMode", "port", "probeMode", "protocol", "randomizedStartTime", "server", "dscp", "dscpId", "ipv6Policy", "pingPayloadSize", "networkMeasurements", "bgpMeasurements", "usePublicBgp", "monitors", "agents"] model_config = ConfigDict( populate_by_name=True, @@ -217,6 +218,7 @@ class AgentToServerTestResponse(BaseModel): "port": obj.get("port") if obj.get("port") is not None else 49153, "probeMode": obj.get("probeMode"), "protocol": obj.get("protocol"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "server": obj.get("server"), "dscp": obj.get("dscp"), "dscpId": obj.get("dscpId"), diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/api_client_authentication.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/api_client_authentication.py new file mode 100644 index 00000000..957a22cd --- /dev/null +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/api_client_authentication.py @@ -0,0 +1,41 @@ +# coding: utf-8 + +""" + Tests API + + This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. + + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class ApiClientAuthentication(str, Enum): + """ + The OAuth2 client authentication location type. + """ + + """ + allowed enum values + """ + BASIC_MINUS_AUTH_MINUS_HEADER = 'basic-auth-header' + IN_MINUS_BODY = 'in-body' + UNKNOWN = 'unknown' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of ApiClientAuthentication from a JSON string""" + return cls(json.loads(json_str)) + + @classmethod + def _missing_(cls, value): + """Handle unknown values""" + return cls.UNKNOWN + diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/api_instant_test.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/api_instant_test.py index 97a12137..239cb58b 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/api_instant_test.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/api_instant_test.py @@ -60,13 +60,14 @@ class ApiInstantTest(BaseModel): predefined_variables: Optional[List[ApiPredefinedVariable]] = Field(default=None, alias="predefinedVariables") probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode") protocol: Optional[TestProtocol] = None + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") requests: List[ApiRequest] ssl_version_id: Optional[TestSslVersionId] = Field(default=None, alias="sslVersionId") target_time: Optional[Annotated[int, Field(le=60, strict=True, ge=0)]] = Field(default=None, description="Target time for completion metric, defaults to 50% of time limit specified in seconds. (0 means default behavior)", alias="targetTime") time_limit: Optional[Annotated[int, Field(le=180, strict=True, ge=5)]] = Field(default=30, description="Time limit for transaction in seconds. Exceeding this limit will result in a Timeout error.", alias="timeLimit") url: StrictStr = Field(description="Target for the test.") credentials: Optional[List[StrictStr]] = Field(default=None, description="Contains a list of credential IDs (get `credentialId` from `/credentials` endpoint).") - __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "collectProxyNetworkData", "followRedirects", "mtuMeasurements", "networkMeasurements", "numPathTraces", "overrideAgentProxy", "overrideProxyId", "pathTraceMode", "predefinedVariables", "probeMode", "protocol", "requests", "sslVersionId", "targetTime", "timeLimit", "url", "credentials"] + __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "collectProxyNetworkData", "followRedirects", "mtuMeasurements", "networkMeasurements", "numPathTraces", "overrideAgentProxy", "overrideProxyId", "pathTraceMode", "predefinedVariables", "probeMode", "protocol", "randomizedStartTime", "requests", "sslVersionId", "targetTime", "timeLimit", "url", "credentials"] model_config = ConfigDict( populate_by_name=True, @@ -195,6 +196,7 @@ class ApiInstantTest(BaseModel): "predefinedVariables": [ApiPredefinedVariable.from_dict(_item) for _item in obj["predefinedVariables"]] if obj.get("predefinedVariables") is not None else None, "probeMode": obj.get("probeMode"), "protocol": obj.get("protocol"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "requests": [ApiRequest.from_dict(_item) for _item in obj["requests"]] if obj.get("requests") is not None else None, "sslVersionId": obj.get("sslVersionId"), "targetTime": obj.get("targetTime"), diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/api_properties.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/api_properties.py index f3221a60..990f5dbd 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/api_properties.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/api_properties.py @@ -43,13 +43,14 @@ class ApiProperties(BaseModel): predefined_variables: Optional[List[ApiPredefinedVariable]] = Field(default=None, alias="predefinedVariables") probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode") protocol: Optional[TestProtocol] = None + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") requests: List[ApiRequest] ssl_version_id: Optional[TestSslVersionId] = Field(default=None, alias="sslVersionId") target_time: Optional[Annotated[int, Field(le=60, strict=True, ge=0)]] = Field(default=None, description="Target time for completion metric, defaults to 50% of time limit specified in seconds. (0 means default behavior)", alias="targetTime") time_limit: Optional[Annotated[int, Field(le=180, strict=True, ge=5)]] = Field(default=30, description="Time limit for transaction in seconds. Exceeding this limit will result in a Timeout error.", alias="timeLimit") url: StrictStr = Field(description="Target for the test.") type: Optional[StrictStr] = None - __properties: ClassVar[List[str]] = ["collectProxyNetworkData", "followRedirects", "mtuMeasurements", "networkMeasurements", "numPathTraces", "overrideAgentProxy", "overrideProxyId", "pathTraceMode", "predefinedVariables", "probeMode", "protocol", "requests", "sslVersionId", "targetTime", "timeLimit", "url", "type"] + __properties: ClassVar[List[str]] = ["collectProxyNetworkData", "followRedirects", "mtuMeasurements", "networkMeasurements", "numPathTraces", "overrideAgentProxy", "overrideProxyId", "pathTraceMode", "predefinedVariables", "probeMode", "protocol", "randomizedStartTime", "requests", "sslVersionId", "targetTime", "timeLimit", "url", "type"] model_config = ConfigDict( populate_by_name=True, @@ -130,6 +131,7 @@ class ApiProperties(BaseModel): "predefinedVariables": [ApiPredefinedVariable.from_dict(_item) for _item in obj["predefinedVariables"]] if obj.get("predefinedVariables") is not None else None, "probeMode": obj.get("probeMode"), "protocol": obj.get("protocol"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "requests": [ApiRequest.from_dict(_item) for _item in obj["requests"]] if obj.get("requests") is not None else None, "sslVersionId": obj.get("sslVersionId"), "targetTime": obj.get("targetTime"), diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/api_request.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/api_request.py index 2ec8141c..7cab341f 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/api_request.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/api_request.py @@ -18,6 +18,7 @@ import json from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr from typing import Any, ClassVar, Dict, List, Optional +from thousandeyes_sdk.tests.models.api_client_authentication import ApiClientAuthentication from thousandeyes_sdk.tests.models.api_request_assertion import ApiRequestAssertion from thousandeyes_sdk.tests.models.api_request_auth_type import ApiRequestAuthType from thousandeyes_sdk.tests.models.api_request_header import ApiRequestHeader @@ -34,16 +35,21 @@ class ApiRequest(BaseModel): auth_type: Optional[ApiRequestAuthType] = Field(default=None, alias="authType") bearer_token: Optional[StrictStr] = Field(default=None, description="The bearer token if `authType = bearer-token`.", alias="bearerToken") body: Optional[StrictStr] = Field(default=None, description="POST/PUT request body. Must be in JSON format.") + client_authentication: Optional[ApiClientAuthentication] = Field(default=None, alias="clientAuthentication") + client_id: Optional[StrictStr] = Field(default=None, description="The application ID used when `authType` is set to \"oauth2\".", alias="clientId") + client_secret: Optional[StrictStr] = Field(default=None, description="The private client secret used when `authType` is set to \"oauth2\".", alias="clientSecret") collect_api_response: Optional[StrictBool] = Field(default=True, description="Set to `true` if API response body should be collected and saved. Set to `false` if API response body should not be saved.", alias="collectApiResponse") headers: Optional[List[ApiRequestHeader]] = Field(default=None, description="Array of API Request Header objects.") method: Optional[ApiRequestMethod] = None name: StrictStr = Field(description="API step name, must be unique.") password: Optional[StrictStr] = Field(default=None, description="The password if `authType = basic`.") + scope: Optional[StrictStr] = Field(default=None, description="Application-specific scope values for the access token when `authType` is \"oauth2\".") + token_url: Optional[StrictStr] = Field(default=None, description="The endpoint used to request the access token when `authType` is \"oauth2\".", alias="tokenUrl") url: StrictStr = Field(description="Request url. Supports variables in the format `{{variableName}}`.") username: Optional[StrictStr] = Field(default=None, description="The username if `authType = basic`.") variables: Optional[List[ApiRequestVariable]] = Field(default=None, description="Array of API post request variable objects.") wait_time_ms: Optional[StrictInt] = Field(default=None, description="Post request delay before executing the next API requests, in milliseconds.", alias="waitTimeMs") - __properties: ClassVar[List[str]] = ["assertions", "authType", "bearerToken", "body", "collectApiResponse", "headers", "method", "name", "password", "url", "username", "variables", "waitTimeMs"] + __properties: ClassVar[List[str]] = ["assertions", "authType", "bearerToken", "body", "clientAuthentication", "clientId", "clientSecret", "collectApiResponse", "headers", "method", "name", "password", "scope", "tokenUrl", "url", "username", "variables", "waitTimeMs"] model_config = ConfigDict( populate_by_name=True, @@ -122,11 +128,16 @@ class ApiRequest(BaseModel): "authType": obj.get("authType"), "bearerToken": obj.get("bearerToken"), "body": obj.get("body"), + "clientAuthentication": obj.get("clientAuthentication"), + "clientId": obj.get("clientId"), + "clientSecret": obj.get("clientSecret"), "collectApiResponse": obj.get("collectApiResponse") if obj.get("collectApiResponse") is not None else True, "headers": [ApiRequestHeader.from_dict(_item) for _item in obj["headers"]] if obj.get("headers") is not None else None, "method": obj.get("method"), "name": obj.get("name"), "password": obj.get("password"), + "scope": obj.get("scope"), + "tokenUrl": obj.get("tokenUrl"), "url": obj.get("url"), "username": obj.get("username"), "variables": [ApiRequestVariable.from_dict(_item) for _item in obj["variables"]] if obj.get("variables") is not None else None, diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/api_request_auth_type.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/api_request_auth_type.py index d372cc8e..e45c81fe 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/api_request_auth_type.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/api_request_auth_type.py @@ -28,6 +28,7 @@ class ApiRequestAuthType(str, Enum): NONE = 'none' BASIC = 'basic' BEARER_MINUS_TOKEN = 'bearer-token' + OAUTH2 = 'oauth2' UNKNOWN = 'unknown' @classmethod diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/api_test.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/api_test.py index e17e919c..13c514e1 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/api_test.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/api_test.py @@ -67,6 +67,7 @@ class ApiTest(BaseModel): predefined_variables: Optional[List[ApiPredefinedVariable]] = Field(default=None, alias="predefinedVariables") probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode") protocol: Optional[TestProtocol] = None + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") requests: List[ApiRequest] ssl_version_id: Optional[TestSslVersionId] = Field(default=None, alias="sslVersionId") target_time: Optional[Annotated[int, Field(le=60, strict=True, ge=0)]] = Field(default=None, description="Target time for completion metric, defaults to 50% of time limit specified in seconds. (0 means default behavior)", alias="targetTime") @@ -76,7 +77,7 @@ class ApiTest(BaseModel): bgp_measurements: Optional[StrictBool] = Field(default=True, description="Set to `true` to enable bgp measurements.", alias="bgpMeasurements") use_public_bgp: Optional[StrictBool] = Field(default=True, description="Indicate if all available public BGP monitors should be used, when ommited defaults to `bgpMeasurements` value.", alias="usePublicBgp") monitors: Optional[List[Monitor]] = Field(default=None, description="Contains list of enabled BGP monitors.") - __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "collectProxyNetworkData", "followRedirects", "mtuMeasurements", "networkMeasurements", "numPathTraces", "overrideAgentProxy", "overrideProxyId", "pathTraceMode", "predefinedVariables", "probeMode", "protocol", "requests", "sslVersionId", "targetTime", "timeLimit", "url", "credentials", "bgpMeasurements", "usePublicBgp", "monitors"] + __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "collectProxyNetworkData", "followRedirects", "mtuMeasurements", "networkMeasurements", "numPathTraces", "overrideAgentProxy", "overrideProxyId", "pathTraceMode", "predefinedVariables", "probeMode", "protocol", "randomizedStartTime", "requests", "sslVersionId", "targetTime", "timeLimit", "url", "credentials", "bgpMeasurements", "usePublicBgp", "monitors"] model_config = ConfigDict( populate_by_name=True, @@ -225,6 +226,7 @@ class ApiTest(BaseModel): "predefinedVariables": [ApiPredefinedVariable.from_dict(_item) for _item in obj["predefinedVariables"]] if obj.get("predefinedVariables") is not None else None, "probeMode": obj.get("probeMode"), "protocol": obj.get("protocol"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "requests": [ApiRequest.from_dict(_item) for _item in obj["requests"]] if obj.get("requests") is not None else None, "sslVersionId": obj.get("sslVersionId"), "targetTime": obj.get("targetTime"), diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/api_test_request.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/api_test_request.py index 1b17679d..1f0d4912 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/api_test_request.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/api_test_request.py @@ -65,6 +65,7 @@ class ApiTestRequest(BaseModel): predefined_variables: Optional[List[ApiPredefinedVariable]] = Field(default=None, alias="predefinedVariables") probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode") protocol: Optional[TestProtocol] = None + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") requests: List[ApiRequest] ssl_version_id: Optional[TestSslVersionId] = Field(default=None, alias="sslVersionId") target_time: Optional[Annotated[int, Field(le=60, strict=True, ge=0)]] = Field(default=None, description="Target time for completion metric, defaults to 50% of time limit specified in seconds. (0 means default behavior)", alias="targetTime") @@ -75,7 +76,7 @@ class ApiTestRequest(BaseModel): use_public_bgp: Optional[StrictBool] = Field(default=True, description="Indicate if all available public BGP monitors should be used, when ommited defaults to `bgpMeasurements` value.", alias="usePublicBgp") monitors: Optional[List[Monitor]] = Field(default=None, description="Contains list of enabled BGP monitors.") agents: List[TestAgentRequest] = Field(description="Contains list of Agent IDs (get `agentId` from `/agents` endpoint).") - __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "collectProxyNetworkData", "followRedirects", "mtuMeasurements", "networkMeasurements", "numPathTraces", "overrideAgentProxy", "overrideProxyId", "pathTraceMode", "predefinedVariables", "probeMode", "protocol", "requests", "sslVersionId", "targetTime", "timeLimit", "url", "credentials", "bgpMeasurements", "usePublicBgp", "monitors", "agents"] + __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "collectProxyNetworkData", "followRedirects", "mtuMeasurements", "networkMeasurements", "numPathTraces", "overrideAgentProxy", "overrideProxyId", "pathTraceMode", "predefinedVariables", "probeMode", "protocol", "randomizedStartTime", "requests", "sslVersionId", "targetTime", "timeLimit", "url", "credentials", "bgpMeasurements", "usePublicBgp", "monitors", "agents"] model_config = ConfigDict( populate_by_name=True, @@ -206,6 +207,7 @@ class ApiTestRequest(BaseModel): "predefinedVariables": [ApiPredefinedVariable.from_dict(_item) for _item in obj["predefinedVariables"]] if obj.get("predefinedVariables") is not None else None, "probeMode": obj.get("probeMode"), "protocol": obj.get("protocol"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "requests": [ApiRequest.from_dict(_item) for _item in obj["requests"]] if obj.get("requests") is not None else None, "sslVersionId": obj.get("sslVersionId"), "targetTime": obj.get("targetTime"), diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/api_test_response.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/api_test_response.py index ee798acd..f0eed40b 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/api_test_response.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/api_test_response.py @@ -68,6 +68,7 @@ class ApiTestResponse(BaseModel): predefined_variables: Optional[List[ApiPredefinedVariable]] = Field(default=None, alias="predefinedVariables") probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode") protocol: Optional[TestProtocol] = None + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") requests: List[ApiRequest] ssl_version_id: Optional[TestSslVersionId] = Field(default=None, alias="sslVersionId") target_time: Optional[Annotated[int, Field(le=60, strict=True, ge=0)]] = Field(default=None, description="Target time for completion metric, defaults to 50% of time limit specified in seconds. (0 means default behavior)", alias="targetTime") @@ -78,7 +79,7 @@ class ApiTestResponse(BaseModel): use_public_bgp: Optional[StrictBool] = Field(default=True, description="Indicate if all available public BGP monitors should be used, when ommited defaults to `bgpMeasurements` value.", alias="usePublicBgp") monitors: Optional[List[Monitor]] = Field(default=None, description="Contains list of enabled BGP monitors.") agents: Optional[List[AgentResponse]] = Field(default=None, description="Contains list of agents.") - __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "collectProxyNetworkData", "followRedirects", "mtuMeasurements", "networkMeasurements", "numPathTraces", "overrideAgentProxy", "overrideProxyId", "pathTraceMode", "predefinedVariables", "probeMode", "protocol", "requests", "sslVersionId", "targetTime", "timeLimit", "url", "credentials", "bgpMeasurements", "usePublicBgp", "monitors", "agents"] + __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "collectProxyNetworkData", "followRedirects", "mtuMeasurements", "networkMeasurements", "numPathTraces", "overrideAgentProxy", "overrideProxyId", "pathTraceMode", "predefinedVariables", "probeMode", "protocol", "randomizedStartTime", "requests", "sslVersionId", "targetTime", "timeLimit", "url", "credentials", "bgpMeasurements", "usePublicBgp", "monitors", "agents"] model_config = ConfigDict( populate_by_name=True, @@ -234,6 +235,7 @@ class ApiTestResponse(BaseModel): "predefinedVariables": [ApiPredefinedVariable.from_dict(_item) for _item in obj["predefinedVariables"]] if obj.get("predefinedVariables") is not None else None, "probeMode": obj.get("probeMode"), "protocol": obj.get("protocol"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "requests": [ApiRequest.from_dict(_item) for _item in obj["requests"]] if obj.get("requests") is not None else None, "sslVersionId": obj.get("sslVersionId"), "targetTime": obj.get("targetTime"), diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/dns_sec_instant_test.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/dns_sec_instant_test.py index 22a5bb32..ba47ba35 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/dns_sec_instant_test.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/dns_sec_instant_test.py @@ -45,7 +45,8 @@ class DnsSecInstantTest(BaseModel): shared_with_accounts: Optional[List[SharedWithAccount]] = Field(default=None, alias="sharedWithAccounts") domain: StrictStr = Field(description="The target record for the test, with the record type suffixed. If no record type is specified, the test defaults to an ANY record.") dns_query_class: Optional[DnsQueryClass] = Field(default=None, alias="dnsQueryClass") - __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "domain", "dnsQueryClass"] + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") + __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "domain", "dnsQueryClass", "randomizedStartTime"] model_config = ConfigDict( populate_by_name=True, @@ -150,7 +151,8 @@ class DnsSecInstantTest(BaseModel): "labels": [TestLabel.from_dict(_item) for _item in obj["labels"]] if obj.get("labels") is not None else None, "sharedWithAccounts": [SharedWithAccount.from_dict(_item) for _item in obj["sharedWithAccounts"]] if obj.get("sharedWithAccounts") is not None else None, "domain": obj.get("domain"), - "dnsQueryClass": obj.get("dnsQueryClass") + "dnsQueryClass": obj.get("dnsQueryClass"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False }) return _obj diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/dns_sec_properties.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/dns_sec_properties.py index cb76aaaf..a4e649bc 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/dns_sec_properties.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/dns_sec_properties.py @@ -16,7 +16,7 @@ import pprint import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr from typing import Any, ClassVar, Dict, List, Optional from thousandeyes_sdk.tests.models.dns_query_class import DnsQueryClass from typing import Optional, Set @@ -28,8 +28,9 @@ class DnsSecProperties(BaseModel): """ # noqa: E501 domain: StrictStr = Field(description="The target record for the test, with the record type suffixed. If no record type is specified, the test defaults to an ANY record.") dns_query_class: Optional[DnsQueryClass] = Field(default=None, alias="dnsQueryClass") + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") type: Optional[StrictStr] = None - __properties: ClassVar[List[str]] = ["domain", "dnsQueryClass", "type"] + __properties: ClassVar[List[str]] = ["domain", "dnsQueryClass", "randomizedStartTime", "type"] model_config = ConfigDict( populate_by_name=True, @@ -87,6 +88,7 @@ class DnsSecProperties(BaseModel): _obj = cls.model_validate({ "domain": obj.get("domain"), "dnsQueryClass": obj.get("dnsQueryClass"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "type": obj.get("type") }) return _obj diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/dns_sec_test.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/dns_sec_test.py index 2636ccd4..1450f81e 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/dns_sec_test.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/dns_sec_test.py @@ -51,7 +51,8 @@ class DnsSecTest(BaseModel): shared_with_accounts: Optional[List[SharedWithAccount]] = Field(default=None, alias="sharedWithAccounts") domain: StrictStr = Field(description="The target record for the test, with the record type suffixed. If no record type is specified, the test defaults to an ANY record.") dns_query_class: Optional[DnsQueryClass] = Field(default=None, alias="dnsQueryClass") - __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "domain", "dnsQueryClass"] + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") + __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "domain", "dnsQueryClass", "randomizedStartTime"] model_config = ConfigDict( populate_by_name=True, @@ -167,7 +168,8 @@ class DnsSecTest(BaseModel): "labels": [TestLabel.from_dict(_item) for _item in obj["labels"]] if obj.get("labels") is not None else None, "sharedWithAccounts": [SharedWithAccount.from_dict(_item) for _item in obj["sharedWithAccounts"]] if obj.get("sharedWithAccounts") is not None else None, "domain": obj.get("domain"), - "dnsQueryClass": obj.get("dnsQueryClass") + "dnsQueryClass": obj.get("dnsQueryClass"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False }) return _obj diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/dns_sec_test_request.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/dns_sec_test_request.py index 99ee7006..545e05ca 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/dns_sec_test_request.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/dns_sec_test_request.py @@ -49,8 +49,9 @@ class DnsSecTestRequest(BaseModel): shared_with_accounts: Optional[List[StrictStr]] = Field(default=None, description="Contains list of account group IDs. Test is shared with the listed account groups (get `aid` from `/account-groups` endpoint)", alias="sharedWithAccounts") domain: StrictStr = Field(description="The target record for the test, with the record type suffixed. If no record type is specified, the test defaults to an ANY record.") dns_query_class: Optional[DnsQueryClass] = Field(default=None, alias="dnsQueryClass") + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") agents: List[TestAgentRequest] = Field(description="Contains list of Agent IDs (get `agentId` from `/agents` endpoint).") - __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "domain", "dnsQueryClass", "agents"] + __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "domain", "dnsQueryClass", "randomizedStartTime", "agents"] model_config = ConfigDict( populate_by_name=True, @@ -149,6 +150,7 @@ class DnsSecTestRequest(BaseModel): "sharedWithAccounts": obj.get("sharedWithAccounts"), "domain": obj.get("domain"), "dnsQueryClass": obj.get("dnsQueryClass"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "agents": [TestAgentRequest.from_dict(_item) for _item in obj["agents"]] if obj.get("agents") is not None else None }) return _obj diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/dns_sec_test_response.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/dns_sec_test_response.py index 8971e2f8..6adf357b 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/dns_sec_test_response.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/dns_sec_test_response.py @@ -52,8 +52,9 @@ class DnsSecTestResponse(BaseModel): shared_with_accounts: Optional[List[SharedWithAccount]] = Field(default=None, alias="sharedWithAccounts") domain: StrictStr = Field(description="The target record for the test, with the record type suffixed. If no record type is specified, the test defaults to an ANY record.") dns_query_class: Optional[DnsQueryClass] = Field(default=None, alias="dnsQueryClass") + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") agents: Optional[List[AgentResponse]] = Field(default=None, description="Contains list of agents.") - __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "domain", "dnsQueryClass", "agents"] + __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "domain", "dnsQueryClass", "randomizedStartTime", "agents"] model_config = ConfigDict( populate_by_name=True, @@ -177,6 +178,7 @@ class DnsSecTestResponse(BaseModel): "sharedWithAccounts": [SharedWithAccount.from_dict(_item) for _item in obj["sharedWithAccounts"]] if obj.get("sharedWithAccounts") is not None else None, "domain": obj.get("domain"), "dnsQueryClass": obj.get("dnsQueryClass"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "agents": [AgentResponse.from_dict(_item) for _item in obj["agents"]] if obj.get("agents") is not None else None }) return _obj diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/dns_server_instant_test.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/dns_server_instant_test.py index 6aab01d7..268a4a68 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/dns_server_instant_test.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/dns_server_instant_test.py @@ -60,11 +60,12 @@ class DnsServerInstantTest(BaseModel): path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode") probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode") protocol: Optional[TestProtocol] = None + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") recursive_queries: Optional[StrictBool] = Field(default=None, description="Set true to run query with RD (recursion desired) flag enabled.", alias="recursiveQueries") ipv6_policy: Optional[TestIpv6Policy] = Field(default=None, alias="ipv6Policy") fixed_packet_rate: Optional[Annotated[int, Field(le=100, strict=True, ge=0)]] = Field(default=None, description="Sets packets rate sent to measure the network in packets per second.", alias="fixedPacketRate") dns_query_class: Optional[DnsQueryClass] = Field(default=None, alias="dnsQueryClass") - __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "dnsServers", "dnsTransportProtocol", "domain", "mtuMeasurements", "networkMeasurements", "numPathTraces", "pathTraceMode", "probeMode", "protocol", "recursiveQueries", "ipv6Policy", "fixedPacketRate", "dnsQueryClass"] + __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "dnsServers", "dnsTransportProtocol", "domain", "mtuMeasurements", "networkMeasurements", "numPathTraces", "pathTraceMode", "probeMode", "protocol", "randomizedStartTime", "recursiveQueries", "ipv6Policy", "fixedPacketRate", "dnsQueryClass"] model_config = ConfigDict( populate_by_name=True, @@ -185,6 +186,7 @@ class DnsServerInstantTest(BaseModel): "pathTraceMode": obj.get("pathTraceMode"), "probeMode": obj.get("probeMode"), "protocol": obj.get("protocol"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "recursiveQueries": obj.get("recursiveQueries"), "ipv6Policy": obj.get("ipv6Policy"), "fixedPacketRate": obj.get("fixedPacketRate"), diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/dns_server_properties.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/dns_server_properties.py index 53cc35c2..9ba066b0 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/dns_server_properties.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/dns_server_properties.py @@ -43,12 +43,13 @@ class DnsServerProperties(BaseModel): path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode") probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode") protocol: Optional[TestProtocol] = None + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") recursive_queries: Optional[StrictBool] = Field(default=None, description="Set true to run query with RD (recursion desired) flag enabled.", alias="recursiveQueries") ipv6_policy: Optional[TestIpv6Policy] = Field(default=None, alias="ipv6Policy") fixed_packet_rate: Optional[Annotated[int, Field(le=100, strict=True, ge=0)]] = Field(default=None, description="Sets packets rate sent to measure the network in packets per second.", alias="fixedPacketRate") dns_query_class: Optional[DnsQueryClass] = Field(default=None, alias="dnsQueryClass") type: Optional[StrictStr] = None - __properties: ClassVar[List[str]] = ["bandwidthMeasurements", "dnsServers", "dnsTransportProtocol", "domain", "mtuMeasurements", "networkMeasurements", "numPathTraces", "pathTraceMode", "probeMode", "protocol", "recursiveQueries", "ipv6Policy", "fixedPacketRate", "dnsQueryClass", "type"] + __properties: ClassVar[List[str]] = ["bandwidthMeasurements", "dnsServers", "dnsTransportProtocol", "domain", "mtuMeasurements", "networkMeasurements", "numPathTraces", "pathTraceMode", "probeMode", "protocol", "randomizedStartTime", "recursiveQueries", "ipv6Policy", "fixedPacketRate", "dnsQueryClass", "type"] model_config = ConfigDict( populate_by_name=True, @@ -121,6 +122,7 @@ class DnsServerProperties(BaseModel): "pathTraceMode": obj.get("pathTraceMode"), "probeMode": obj.get("probeMode"), "protocol": obj.get("protocol"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "recursiveQueries": obj.get("recursiveQueries"), "ipv6Policy": obj.get("ipv6Policy"), "fixedPacketRate": obj.get("fixedPacketRate"), diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/dns_server_test.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/dns_server_test.py index 508c8c22..5886bb37 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/dns_server_test.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/dns_server_test.py @@ -67,6 +67,7 @@ class DnsServerTest(BaseModel): path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode") probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode") protocol: Optional[TestProtocol] = None + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") recursive_queries: Optional[StrictBool] = Field(default=None, description="Set true to run query with RD (recursion desired) flag enabled.", alias="recursiveQueries") ipv6_policy: Optional[TestIpv6Policy] = Field(default=None, alias="ipv6Policy") fixed_packet_rate: Optional[Annotated[int, Field(le=100, strict=True, ge=0)]] = Field(default=None, description="Sets packets rate sent to measure the network in packets per second.", alias="fixedPacketRate") @@ -74,7 +75,7 @@ class DnsServerTest(BaseModel): bgp_measurements: Optional[StrictBool] = Field(default=True, description="Set to `true` to enable bgp measurements.", alias="bgpMeasurements") use_public_bgp: Optional[StrictBool] = Field(default=True, description="Indicate if all available public BGP monitors should be used, when ommited defaults to `bgpMeasurements` value.", alias="usePublicBgp") monitors: Optional[List[Monitor]] = Field(default=None, description="Contains list of enabled BGP monitors.") - __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "dnsServers", "dnsTransportProtocol", "domain", "mtuMeasurements", "networkMeasurements", "numPathTraces", "pathTraceMode", "probeMode", "protocol", "recursiveQueries", "ipv6Policy", "fixedPacketRate", "dnsQueryClass", "bgpMeasurements", "usePublicBgp", "monitors"] + __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "dnsServers", "dnsTransportProtocol", "domain", "mtuMeasurements", "networkMeasurements", "numPathTraces", "pathTraceMode", "probeMode", "protocol", "randomizedStartTime", "recursiveQueries", "ipv6Policy", "fixedPacketRate", "dnsQueryClass", "bgpMeasurements", "usePublicBgp", "monitors"] model_config = ConfigDict( populate_by_name=True, @@ -215,6 +216,7 @@ class DnsServerTest(BaseModel): "pathTraceMode": obj.get("pathTraceMode"), "probeMode": obj.get("probeMode"), "protocol": obj.get("protocol"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "recursiveQueries": obj.get("recursiveQueries"), "ipv6Policy": obj.get("ipv6Policy"), "fixedPacketRate": obj.get("fixedPacketRate"), diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/dns_server_test_request.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/dns_server_test_request.py index 1f05ae95..176872af 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/dns_server_test_request.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/dns_server_test_request.py @@ -63,6 +63,7 @@ class DnsServerTestRequest(BaseModel): path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode") probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode") protocol: Optional[TestProtocol] = None + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") recursive_queries: Optional[StrictBool] = Field(default=None, description="Set true to run query with RD (recursion desired) flag enabled.", alias="recursiveQueries") ipv6_policy: Optional[TestIpv6Policy] = Field(default=None, alias="ipv6Policy") fixed_packet_rate: Optional[Annotated[int, Field(le=100, strict=True, ge=0)]] = Field(default=None, description="Sets packets rate sent to measure the network in packets per second.", alias="fixedPacketRate") @@ -71,7 +72,7 @@ class DnsServerTestRequest(BaseModel): use_public_bgp: Optional[StrictBool] = Field(default=True, description="Indicate if all available public BGP monitors should be used, when ommited defaults to `bgpMeasurements` value.", alias="usePublicBgp") monitors: Optional[List[StrictStr]] = Field(default=None, description="Contains list of BGP monitor IDs (get `monitorId` from `/monitors` endpoint)") agents: List[TestAgentRequest] = Field(description="Contains list of Agent IDs (get `agentId` from `/agents` endpoint).") - __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "dnsServers", "dnsTransportProtocol", "domain", "mtuMeasurements", "networkMeasurements", "numPathTraces", "pathTraceMode", "probeMode", "protocol", "recursiveQueries", "ipv6Policy", "fixedPacketRate", "dnsQueryClass", "bgpMeasurements", "usePublicBgp", "monitors", "agents"] + __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "dnsServers", "dnsTransportProtocol", "domain", "mtuMeasurements", "networkMeasurements", "numPathTraces", "pathTraceMode", "probeMode", "protocol", "randomizedStartTime", "recursiveQueries", "ipv6Policy", "fixedPacketRate", "dnsQueryClass", "bgpMeasurements", "usePublicBgp", "monitors", "agents"] model_config = ConfigDict( populate_by_name=True, @@ -178,6 +179,7 @@ class DnsServerTestRequest(BaseModel): "pathTraceMode": obj.get("pathTraceMode"), "probeMode": obj.get("probeMode"), "protocol": obj.get("protocol"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "recursiveQueries": obj.get("recursiveQueries"), "ipv6Policy": obj.get("ipv6Policy"), "fixedPacketRate": obj.get("fixedPacketRate"), diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/dns_server_test_response.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/dns_server_test_response.py index d84a9dd8..dff4119d 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/dns_server_test_response.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/dns_server_test_response.py @@ -68,6 +68,7 @@ class DnsServerTestResponse(BaseModel): path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode") probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode") protocol: Optional[TestProtocol] = None + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") recursive_queries: Optional[StrictBool] = Field(default=None, description="Set true to run query with RD (recursion desired) flag enabled.", alias="recursiveQueries") ipv6_policy: Optional[TestIpv6Policy] = Field(default=None, alias="ipv6Policy") fixed_packet_rate: Optional[Annotated[int, Field(le=100, strict=True, ge=0)]] = Field(default=None, description="Sets packets rate sent to measure the network in packets per second.", alias="fixedPacketRate") @@ -76,7 +77,7 @@ class DnsServerTestResponse(BaseModel): use_public_bgp: Optional[StrictBool] = Field(default=True, description="Indicate if all available public BGP monitors should be used, when ommited defaults to `bgpMeasurements` value.", alias="usePublicBgp") monitors: Optional[List[Monitor]] = Field(default=None, description="Contains list of enabled BGP monitors.") agents: Optional[List[AgentResponse]] = Field(default=None, description="Contains list of agents.") - __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "dnsServers", "dnsTransportProtocol", "domain", "mtuMeasurements", "networkMeasurements", "numPathTraces", "pathTraceMode", "probeMode", "protocol", "recursiveQueries", "ipv6Policy", "fixedPacketRate", "dnsQueryClass", "bgpMeasurements", "usePublicBgp", "monitors", "agents"] + __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "dnsServers", "dnsTransportProtocol", "domain", "mtuMeasurements", "networkMeasurements", "numPathTraces", "pathTraceMode", "probeMode", "protocol", "randomizedStartTime", "recursiveQueries", "ipv6Policy", "fixedPacketRate", "dnsQueryClass", "bgpMeasurements", "usePublicBgp", "monitors", "agents"] model_config = ConfigDict( populate_by_name=True, @@ -224,6 +225,7 @@ class DnsServerTestResponse(BaseModel): "pathTraceMode": obj.get("pathTraceMode"), "probeMode": obj.get("probeMode"), "protocol": obj.get("protocol"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "recursiveQueries": obj.get("recursiveQueries"), "ipv6Policy": obj.get("ipv6Policy"), "fixedPacketRate": obj.get("fixedPacketRate"), diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/dns_trace_instant_test.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/dns_trace_instant_test.py index 41219e5b..ea225596 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/dns_trace_instant_test.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/dns_trace_instant_test.py @@ -47,7 +47,8 @@ class DnsTraceInstantTest(BaseModel): dns_transport_protocol: Optional[TestDnsTransportProtocol] = Field(default=None, alias="dnsTransportProtocol") domain: StrictStr = Field(description="The target record for the test, with the record type suffixed. If no record type is specified, the test defaults to an ANY record.") dns_query_class: Optional[DnsQueryClass] = Field(default=None, alias="dnsQueryClass") - __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "dnsTransportProtocol", "domain", "dnsQueryClass"] + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") + __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "dnsTransportProtocol", "domain", "dnsQueryClass", "randomizedStartTime"] model_config = ConfigDict( populate_by_name=True, @@ -153,7 +154,8 @@ class DnsTraceInstantTest(BaseModel): "sharedWithAccounts": [SharedWithAccount.from_dict(_item) for _item in obj["sharedWithAccounts"]] if obj.get("sharedWithAccounts") is not None else None, "dnsTransportProtocol": obj.get("dnsTransportProtocol"), "domain": obj.get("domain"), - "dnsQueryClass": obj.get("dnsQueryClass") + "dnsQueryClass": obj.get("dnsQueryClass"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False }) return _obj diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/dns_trace_properties.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/dns_trace_properties.py index 2d2e268c..27f83419 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/dns_trace_properties.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/dns_trace_properties.py @@ -16,7 +16,7 @@ import pprint import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr from typing import Any, ClassVar, Dict, List, Optional from thousandeyes_sdk.tests.models.dns_query_class import DnsQueryClass from thousandeyes_sdk.tests.models.test_dns_transport_protocol import TestDnsTransportProtocol @@ -30,8 +30,9 @@ class DnsTraceProperties(BaseModel): dns_transport_protocol: Optional[TestDnsTransportProtocol] = Field(default=None, alias="dnsTransportProtocol") domain: StrictStr = Field(description="The target record for the test, with the record type suffixed. If no record type is specified, the test defaults to an ANY record.") dns_query_class: Optional[DnsQueryClass] = Field(default=None, alias="dnsQueryClass") + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") type: Optional[StrictStr] = None - __properties: ClassVar[List[str]] = ["dnsTransportProtocol", "domain", "dnsQueryClass", "type"] + __properties: ClassVar[List[str]] = ["dnsTransportProtocol", "domain", "dnsQueryClass", "randomizedStartTime", "type"] model_config = ConfigDict( populate_by_name=True, @@ -90,6 +91,7 @@ class DnsTraceProperties(BaseModel): "dnsTransportProtocol": obj.get("dnsTransportProtocol"), "domain": obj.get("domain"), "dnsQueryClass": obj.get("dnsQueryClass"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "type": obj.get("type") }) return _obj diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/dns_trace_test.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/dns_trace_test.py index 29318fb1..40f62094 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/dns_trace_test.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/dns_trace_test.py @@ -53,7 +53,8 @@ class DnsTraceTest(BaseModel): dns_transport_protocol: Optional[TestDnsTransportProtocol] = Field(default=None, alias="dnsTransportProtocol") domain: StrictStr = Field(description="The target record for the test, with the record type suffixed. If no record type is specified, the test defaults to an ANY record.") dns_query_class: Optional[DnsQueryClass] = Field(default=None, alias="dnsQueryClass") - __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "dnsTransportProtocol", "domain", "dnsQueryClass"] + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") + __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "dnsTransportProtocol", "domain", "dnsQueryClass", "randomizedStartTime"] model_config = ConfigDict( populate_by_name=True, @@ -170,7 +171,8 @@ class DnsTraceTest(BaseModel): "sharedWithAccounts": [SharedWithAccount.from_dict(_item) for _item in obj["sharedWithAccounts"]] if obj.get("sharedWithAccounts") is not None else None, "dnsTransportProtocol": obj.get("dnsTransportProtocol"), "domain": obj.get("domain"), - "dnsQueryClass": obj.get("dnsQueryClass") + "dnsQueryClass": obj.get("dnsQueryClass"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False }) return _obj diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/dns_trace_test_request.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/dns_trace_test_request.py index 95a82802..85aa0f2a 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/dns_trace_test_request.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/dns_trace_test_request.py @@ -51,8 +51,9 @@ class DnsTraceTestRequest(BaseModel): dns_transport_protocol: Optional[TestDnsTransportProtocol] = Field(default=None, alias="dnsTransportProtocol") domain: StrictStr = Field(description="The target record for the test, with the record type suffixed. If no record type is specified, the test defaults to an ANY record.") dns_query_class: Optional[DnsQueryClass] = Field(default=None, alias="dnsQueryClass") + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") agents: List[TestAgentRequest] = Field(description="Contains list of Agent IDs (get `agentId` from `/agents` endpoint).") - __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "dnsTransportProtocol", "domain", "dnsQueryClass", "agents"] + __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "dnsTransportProtocol", "domain", "dnsQueryClass", "randomizedStartTime", "agents"] model_config = ConfigDict( populate_by_name=True, @@ -152,6 +153,7 @@ class DnsTraceTestRequest(BaseModel): "dnsTransportProtocol": obj.get("dnsTransportProtocol"), "domain": obj.get("domain"), "dnsQueryClass": obj.get("dnsQueryClass"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "agents": [TestAgentRequest.from_dict(_item) for _item in obj["agents"]] if obj.get("agents") is not None else None }) return _obj diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/dns_trace_test_response.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/dns_trace_test_response.py index e6ca01cb..409fb3f3 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/dns_trace_test_response.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/dns_trace_test_response.py @@ -54,8 +54,9 @@ class DnsTraceTestResponse(BaseModel): dns_transport_protocol: Optional[TestDnsTransportProtocol] = Field(default=None, alias="dnsTransportProtocol") domain: StrictStr = Field(description="The target record for the test, with the record type suffixed. If no record type is specified, the test defaults to an ANY record.") dns_query_class: Optional[DnsQueryClass] = Field(default=None, alias="dnsQueryClass") + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") agents: Optional[List[AgentResponse]] = Field(default=None, description="Contains list of agents.") - __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "dnsTransportProtocol", "domain", "dnsQueryClass", "agents"] + __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "dnsTransportProtocol", "domain", "dnsQueryClass", "randomizedStartTime", "agents"] model_config = ConfigDict( populate_by_name=True, @@ -180,6 +181,7 @@ class DnsTraceTestResponse(BaseModel): "dnsTransportProtocol": obj.get("dnsTransportProtocol"), "domain": obj.get("domain"), "dnsQueryClass": obj.get("dnsQueryClass"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "agents": [AgentResponse.from_dict(_item) for _item in obj["agents"]] if obj.get("agents") is not None else None }) return _obj diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/ftp_server_instant_test.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/ftp_server_instant_test.py index 2c19fbda..9a4db8e9 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/ftp_server_instant_test.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/ftp_server_instant_test.py @@ -59,6 +59,7 @@ class FtpServerInstantTest(BaseModel): path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode") probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode") protocol: Optional[TestProtocol] = None + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") request_type: FtpServerRequestType = Field(alias="requestType") url: StrictStr = Field(description="Target for the test.") use_active_ftp: Optional[StrictBool] = Field(default=False, description="Explicitly set the flag to use active FTP.", alias="useActiveFtp") @@ -66,7 +67,7 @@ class FtpServerInstantTest(BaseModel): username: StrictStr = Field(description="Username for Basic/NTLM authentication.") fixed_packet_rate: Optional[Annotated[int, Field(le=100, strict=True, ge=0)]] = Field(default=None, description="Sets packets rate sent to measure the network in packets per second.", alias="fixedPacketRate") ipv6_policy: Optional[TestIpv6Policy] = Field(default=None, alias="ipv6Policy") - __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "downloadLimit", "ftpTargetTime", "ftpTimeLimit", "mtuMeasurements", "networkMeasurements", "numPathTraces", "password", "pathTraceMode", "probeMode", "protocol", "requestType", "url", "useActiveFtp", "useExplicitFtps", "username", "fixedPacketRate", "ipv6Policy"] + __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "downloadLimit", "ftpTargetTime", "ftpTimeLimit", "mtuMeasurements", "networkMeasurements", "numPathTraces", "password", "pathTraceMode", "probeMode", "protocol", "randomizedStartTime", "requestType", "url", "useActiveFtp", "useExplicitFtps", "username", "fixedPacketRate", "ipv6Policy"] model_config = ConfigDict( populate_by_name=True, @@ -181,6 +182,7 @@ class FtpServerInstantTest(BaseModel): "pathTraceMode": obj.get("pathTraceMode"), "probeMode": obj.get("probeMode"), "protocol": obj.get("protocol"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "requestType": obj.get("requestType"), "url": obj.get("url"), "useActiveFtp": obj.get("useActiveFtp") if obj.get("useActiveFtp") is not None else False, diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/ftp_server_properties.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/ftp_server_properties.py index a8a6833b..8135c3e3 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/ftp_server_properties.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/ftp_server_properties.py @@ -42,6 +42,7 @@ class FtpServerProperties(BaseModel): path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode") probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode") protocol: Optional[TestProtocol] = None + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") request_type: FtpServerRequestType = Field(alias="requestType") url: StrictStr = Field(description="Target for the test.") use_active_ftp: Optional[StrictBool] = Field(default=False, description="Explicitly set the flag to use active FTP.", alias="useActiveFtp") @@ -50,7 +51,7 @@ class FtpServerProperties(BaseModel): fixed_packet_rate: Optional[Annotated[int, Field(le=100, strict=True, ge=0)]] = Field(default=None, description="Sets packets rate sent to measure the network in packets per second.", alias="fixedPacketRate") ipv6_policy: Optional[TestIpv6Policy] = Field(default=None, alias="ipv6Policy") type: Optional[StrictStr] = None - __properties: ClassVar[List[str]] = ["bandwidthMeasurements", "downloadLimit", "ftpTargetTime", "ftpTimeLimit", "mtuMeasurements", "networkMeasurements", "numPathTraces", "password", "pathTraceMode", "probeMode", "protocol", "requestType", "url", "useActiveFtp", "useExplicitFtps", "username", "fixedPacketRate", "ipv6Policy", "type"] + __properties: ClassVar[List[str]] = ["bandwidthMeasurements", "downloadLimit", "ftpTargetTime", "ftpTimeLimit", "mtuMeasurements", "networkMeasurements", "numPathTraces", "password", "pathTraceMode", "probeMode", "protocol", "randomizedStartTime", "requestType", "url", "useActiveFtp", "useExplicitFtps", "username", "fixedPacketRate", "ipv6Policy", "type"] model_config = ConfigDict( populate_by_name=True, @@ -117,6 +118,7 @@ class FtpServerProperties(BaseModel): "pathTraceMode": obj.get("pathTraceMode"), "probeMode": obj.get("probeMode"), "protocol": obj.get("protocol"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "requestType": obj.get("requestType"), "url": obj.get("url"), "useActiveFtp": obj.get("useActiveFtp") if obj.get("useActiveFtp") is not None else False, diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/ftp_server_test.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/ftp_server_test.py index dc9addfd..ca9cd4f9 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/ftp_server_test.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/ftp_server_test.py @@ -66,6 +66,7 @@ class FtpServerTest(BaseModel): path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode") probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode") protocol: Optional[TestProtocol] = None + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") request_type: FtpServerRequestType = Field(alias="requestType") url: StrictStr = Field(description="Target for the test.") use_active_ftp: Optional[StrictBool] = Field(default=False, description="Explicitly set the flag to use active FTP.", alias="useActiveFtp") @@ -76,7 +77,7 @@ class FtpServerTest(BaseModel): bgp_measurements: Optional[StrictBool] = Field(default=True, description="Set to `true` to enable bgp measurements.", alias="bgpMeasurements") use_public_bgp: Optional[StrictBool] = Field(default=True, description="Indicate if all available public BGP monitors should be used, when ommited defaults to `bgpMeasurements` value.", alias="usePublicBgp") monitors: Optional[List[Monitor]] = Field(default=None, description="Contains list of enabled BGP monitors.") - __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "downloadLimit", "ftpTargetTime", "ftpTimeLimit", "mtuMeasurements", "networkMeasurements", "numPathTraces", "password", "pathTraceMode", "probeMode", "protocol", "requestType", "url", "useActiveFtp", "useExplicitFtps", "username", "fixedPacketRate", "ipv6Policy", "bgpMeasurements", "usePublicBgp", "monitors"] + __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "downloadLimit", "ftpTargetTime", "ftpTimeLimit", "mtuMeasurements", "networkMeasurements", "numPathTraces", "password", "pathTraceMode", "probeMode", "protocol", "randomizedStartTime", "requestType", "url", "useActiveFtp", "useExplicitFtps", "username", "fixedPacketRate", "ipv6Policy", "bgpMeasurements", "usePublicBgp", "monitors"] model_config = ConfigDict( populate_by_name=True, @@ -211,6 +212,7 @@ class FtpServerTest(BaseModel): "pathTraceMode": obj.get("pathTraceMode"), "probeMode": obj.get("probeMode"), "protocol": obj.get("protocol"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "requestType": obj.get("requestType"), "url": obj.get("url"), "useActiveFtp": obj.get("useActiveFtp") if obj.get("useActiveFtp") is not None else False, diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/ftp_server_test_request.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/ftp_server_test_request.py index 3429e482..c67fb3eb 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/ftp_server_test_request.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/ftp_server_test_request.py @@ -63,6 +63,7 @@ class FtpServerTestRequest(BaseModel): path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode") probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode") protocol: Optional[TestProtocol] = None + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") request_type: FtpServerRequestType = Field(alias="requestType") url: StrictStr = Field(description="Target for the test.") use_active_ftp: Optional[StrictBool] = Field(default=False, description="Explicitly set the flag to use active FTP.", alias="useActiveFtp") @@ -74,7 +75,7 @@ class FtpServerTestRequest(BaseModel): use_public_bgp: Optional[StrictBool] = Field(default=True, description="Indicate if all available public BGP monitors should be used, when ommited defaults to `bgpMeasurements` value.", alias="usePublicBgp") monitors: Optional[List[StrictStr]] = Field(default=None, description="Contains list of BGP monitor IDs (get `monitorId` from `/monitors` endpoint)") agents: List[TestAgentRequest] = Field(description="Contains list of Agent IDs (get `agentId` from `/agents` endpoint).") - __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "downloadLimit", "ftpTargetTime", "ftpTimeLimit", "mtuMeasurements", "networkMeasurements", "numPathTraces", "password", "pathTraceMode", "probeMode", "protocol", "requestType", "url", "useActiveFtp", "useExplicitFtps", "username", "fixedPacketRate", "ipv6Policy", "bgpMeasurements", "usePublicBgp", "monitors", "agents"] + __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "downloadLimit", "ftpTargetTime", "ftpTimeLimit", "mtuMeasurements", "networkMeasurements", "numPathTraces", "password", "pathTraceMode", "probeMode", "protocol", "randomizedStartTime", "requestType", "url", "useActiveFtp", "useExplicitFtps", "username", "fixedPacketRate", "ipv6Policy", "bgpMeasurements", "usePublicBgp", "monitors", "agents"] model_config = ConfigDict( populate_by_name=True, @@ -182,6 +183,7 @@ class FtpServerTestRequest(BaseModel): "pathTraceMode": obj.get("pathTraceMode"), "probeMode": obj.get("probeMode"), "protocol": obj.get("protocol"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "requestType": obj.get("requestType"), "url": obj.get("url"), "useActiveFtp": obj.get("useActiveFtp") if obj.get("useActiveFtp") is not None else False, diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/ftp_server_test_response.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/ftp_server_test_response.py index 89239d36..d7536a1d 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/ftp_server_test_response.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/ftp_server_test_response.py @@ -67,6 +67,7 @@ class FtpServerTestResponse(BaseModel): path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode") probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode") protocol: Optional[TestProtocol] = None + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") request_type: FtpServerRequestType = Field(alias="requestType") url: StrictStr = Field(description="Target for the test.") use_active_ftp: Optional[StrictBool] = Field(default=False, description="Explicitly set the flag to use active FTP.", alias="useActiveFtp") @@ -78,7 +79,7 @@ class FtpServerTestResponse(BaseModel): use_public_bgp: Optional[StrictBool] = Field(default=True, description="Indicate if all available public BGP monitors should be used, when ommited defaults to `bgpMeasurements` value.", alias="usePublicBgp") monitors: Optional[List[Monitor]] = Field(default=None, description="Contains list of enabled BGP monitors.") agents: Optional[List[AgentResponse]] = Field(default=None, description="Contains list of agents.") - __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "downloadLimit", "ftpTargetTime", "ftpTimeLimit", "mtuMeasurements", "networkMeasurements", "numPathTraces", "password", "pathTraceMode", "probeMode", "protocol", "requestType", "url", "useActiveFtp", "useExplicitFtps", "username", "fixedPacketRate", "ipv6Policy", "bgpMeasurements", "usePublicBgp", "monitors", "agents"] + __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "downloadLimit", "ftpTargetTime", "ftpTimeLimit", "mtuMeasurements", "networkMeasurements", "numPathTraces", "password", "pathTraceMode", "probeMode", "protocol", "randomizedStartTime", "requestType", "url", "useActiveFtp", "useExplicitFtps", "username", "fixedPacketRate", "ipv6Policy", "bgpMeasurements", "usePublicBgp", "monitors", "agents"] model_config = ConfigDict( populate_by_name=True, @@ -220,6 +221,7 @@ class FtpServerTestResponse(BaseModel): "pathTraceMode": obj.get("pathTraceMode"), "probeMode": obj.get("probeMode"), "protocol": obj.get("protocol"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "requestType": obj.get("requestType"), "url": obj.get("url"), "useActiveFtp": obj.get("useActiveFtp") if obj.get("useActiveFtp") is not None else False, diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/http_server_instant_test.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/http_server_instant_test.py index a0943190..d1e37507 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/http_server_instant_test.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/http_server_instant_test.py @@ -87,9 +87,10 @@ class HttpServerInstantTest(BaseModel): override_proxy_id: Optional[StrictStr] = Field(default=None, description="ID of the proxy to be used if the default proxy is overridden.", alias="overrideProxyId") collect_proxy_network_data: Optional[StrictBool] = Field(default=False, description="Indicates whether network data to the proxy should be collected.", alias="collectProxyNetworkData") headers: Optional[List[StrictStr]] = Field(default=None, description="HTTP request headers used.") + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") post_body: Optional[StrictStr] = Field(default=None, description="Enter the body for the HTTP POST request in this field. No special escaping is necessary. If the post body is provided with content, the `requestMethod` is automatically set to POST.", alias="postBody") ipv6_policy: Optional[TestIpv6Policy] = Field(default=None, alias="ipv6Policy") - __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "authType", "agentInterfaces", "bandwidthMeasurements", "clientCertificate", "contentRegex", "customHeaders", "desiredStatusCode", "downloadLimit", "dnsOverride", "httpTargetTime", "httpTimeLimit", "httpVersion", "includeHeaders", "mtuMeasurements", "networkMeasurements", "numPathTraces", "oAuth", "password", "pathTraceMode", "probeMode", "protocol", "sslVersion", "sslVersionId", "url", "useNtlm", "userAgent", "username", "verifyCertificate", "allowUnsafeLegacyRenegotiation", "followRedirects", "fixedPacketRate", "overrideAgentProxy", "overrideProxyId", "collectProxyNetworkData", "headers", "postBody", "ipv6Policy"] + __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "authType", "agentInterfaces", "bandwidthMeasurements", "clientCertificate", "contentRegex", "customHeaders", "desiredStatusCode", "downloadLimit", "dnsOverride", "httpTargetTime", "httpTimeLimit", "httpVersion", "includeHeaders", "mtuMeasurements", "networkMeasurements", "numPathTraces", "oAuth", "password", "pathTraceMode", "probeMode", "protocol", "sslVersion", "sslVersionId", "url", "useNtlm", "userAgent", "username", "verifyCertificate", "allowUnsafeLegacyRenegotiation", "followRedirects", "fixedPacketRate", "overrideAgentProxy", "overrideProxyId", "collectProxyNetworkData", "headers", "randomizedStartTime", "postBody", "ipv6Policy"] model_config = ConfigDict( populate_by_name=True, @@ -239,6 +240,7 @@ class HttpServerInstantTest(BaseModel): "overrideProxyId": obj.get("overrideProxyId"), "collectProxyNetworkData": obj.get("collectProxyNetworkData") if obj.get("collectProxyNetworkData") is not None else False, "headers": obj.get("headers"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "postBody": obj.get("postBody"), "ipv6Policy": obj.get("ipv6Policy") }) diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/http_server_properties.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/http_server_properties.py index f54b4221..22638e38 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/http_server_properties.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/http_server_properties.py @@ -70,10 +70,11 @@ class HttpServerProperties(BaseModel): override_proxy_id: Optional[StrictStr] = Field(default=None, description="ID of the proxy to be used if the default proxy is overridden.", alias="overrideProxyId") collect_proxy_network_data: Optional[StrictBool] = Field(default=False, description="Indicates whether network data to the proxy should be collected.", alias="collectProxyNetworkData") headers: Optional[List[StrictStr]] = Field(default=None, description="HTTP request headers used.") + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") post_body: Optional[StrictStr] = Field(default=None, description="Enter the body for the HTTP POST request in this field. No special escaping is necessary. If the post body is provided with content, the `requestMethod` is automatically set to POST.", alias="postBody") ipv6_policy: Optional[TestIpv6Policy] = Field(default=None, alias="ipv6Policy") type: Optional[StrictStr] = None - __properties: ClassVar[List[str]] = ["authType", "agentInterfaces", "bandwidthMeasurements", "clientCertificate", "contentRegex", "customHeaders", "desiredStatusCode", "downloadLimit", "dnsOverride", "httpTargetTime", "httpTimeLimit", "httpVersion", "includeHeaders", "mtuMeasurements", "networkMeasurements", "numPathTraces", "oAuth", "password", "pathTraceMode", "probeMode", "protocol", "sslVersion", "sslVersionId", "url", "useNtlm", "userAgent", "username", "verifyCertificate", "allowUnsafeLegacyRenegotiation", "followRedirects", "fixedPacketRate", "overrideAgentProxy", "overrideProxyId", "collectProxyNetworkData", "headers", "postBody", "ipv6Policy", "type"] + __properties: ClassVar[List[str]] = ["authType", "agentInterfaces", "bandwidthMeasurements", "clientCertificate", "contentRegex", "customHeaders", "desiredStatusCode", "downloadLimit", "dnsOverride", "httpTargetTime", "httpTimeLimit", "httpVersion", "includeHeaders", "mtuMeasurements", "networkMeasurements", "numPathTraces", "oAuth", "password", "pathTraceMode", "probeMode", "protocol", "sslVersion", "sslVersionId", "url", "useNtlm", "userAgent", "username", "verifyCertificate", "allowUnsafeLegacyRenegotiation", "followRedirects", "fixedPacketRate", "overrideAgentProxy", "overrideProxyId", "collectProxyNetworkData", "headers", "randomizedStartTime", "postBody", "ipv6Policy", "type"] model_config = ConfigDict( populate_by_name=True, @@ -175,6 +176,7 @@ class HttpServerProperties(BaseModel): "overrideProxyId": obj.get("overrideProxyId"), "collectProxyNetworkData": obj.get("collectProxyNetworkData") if obj.get("collectProxyNetworkData") is not None else False, "headers": obj.get("headers"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "postBody": obj.get("postBody"), "ipv6Policy": obj.get("ipv6Policy"), "type": obj.get("type") diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/http_server_test.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/http_server_test.py index 76f5b510..d31dcfc6 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/http_server_test.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/http_server_test.py @@ -94,12 +94,13 @@ class HttpServerTest(BaseModel): override_proxy_id: Optional[StrictStr] = Field(default=None, description="ID of the proxy to be used if the default proxy is overridden.", alias="overrideProxyId") collect_proxy_network_data: Optional[StrictBool] = Field(default=False, description="Indicates whether network data to the proxy should be collected.", alias="collectProxyNetworkData") headers: Optional[List[StrictStr]] = Field(default=None, description="HTTP request headers used.") + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") post_body: Optional[StrictStr] = Field(default=None, description="Enter the body for the HTTP POST request in this field. No special escaping is necessary. If the post body is provided with content, the `requestMethod` is automatically set to POST.", alias="postBody") ipv6_policy: Optional[TestIpv6Policy] = Field(default=None, alias="ipv6Policy") bgp_measurements: Optional[StrictBool] = Field(default=True, description="Set to `true` to enable bgp measurements.", alias="bgpMeasurements") use_public_bgp: Optional[StrictBool] = Field(default=True, description="Indicate if all available public BGP monitors should be used, when ommited defaults to `bgpMeasurements` value.", alias="usePublicBgp") monitors: Optional[List[Monitor]] = Field(default=None, description="Contains list of enabled BGP monitors.") - __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "authType", "agentInterfaces", "bandwidthMeasurements", "clientCertificate", "contentRegex", "customHeaders", "desiredStatusCode", "downloadLimit", "dnsOverride", "httpTargetTime", "httpTimeLimit", "httpVersion", "includeHeaders", "mtuMeasurements", "networkMeasurements", "numPathTraces", "oAuth", "password", "pathTraceMode", "probeMode", "protocol", "sslVersion", "sslVersionId", "url", "useNtlm", "userAgent", "username", "verifyCertificate", "allowUnsafeLegacyRenegotiation", "followRedirects", "fixedPacketRate", "overrideAgentProxy", "overrideProxyId", "collectProxyNetworkData", "headers", "postBody", "ipv6Policy", "bgpMeasurements", "usePublicBgp", "monitors"] + __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "authType", "agentInterfaces", "bandwidthMeasurements", "clientCertificate", "contentRegex", "customHeaders", "desiredStatusCode", "downloadLimit", "dnsOverride", "httpTargetTime", "httpTimeLimit", "httpVersion", "includeHeaders", "mtuMeasurements", "networkMeasurements", "numPathTraces", "oAuth", "password", "pathTraceMode", "probeMode", "protocol", "sslVersion", "sslVersionId", "url", "useNtlm", "userAgent", "username", "verifyCertificate", "allowUnsafeLegacyRenegotiation", "followRedirects", "fixedPacketRate", "overrideAgentProxy", "overrideProxyId", "collectProxyNetworkData", "headers", "randomizedStartTime", "postBody", "ipv6Policy", "bgpMeasurements", "usePublicBgp", "monitors"] model_config = ConfigDict( populate_by_name=True, @@ -269,6 +270,7 @@ class HttpServerTest(BaseModel): "overrideProxyId": obj.get("overrideProxyId"), "collectProxyNetworkData": obj.get("collectProxyNetworkData") if obj.get("collectProxyNetworkData") is not None else False, "headers": obj.get("headers"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "postBody": obj.get("postBody"), "ipv6Policy": obj.get("ipv6Policy"), "bgpMeasurements": obj.get("bgpMeasurements") if obj.get("bgpMeasurements") is not None else True, diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/http_server_test_request.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/http_server_test_request.py index 49d8354e..5e05f574 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/http_server_test_request.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/http_server_test_request.py @@ -91,13 +91,14 @@ class HttpServerTestRequest(BaseModel): override_proxy_id: Optional[StrictStr] = Field(default=None, description="ID of the proxy to be used if the default proxy is overridden.", alias="overrideProxyId") collect_proxy_network_data: Optional[StrictBool] = Field(default=False, description="Indicates whether network data to the proxy should be collected.", alias="collectProxyNetworkData") headers: Optional[List[StrictStr]] = Field(default=None, description="HTTP request headers used.") + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") post_body: Optional[StrictStr] = Field(default=None, description="Enter the body for the HTTP POST request in this field. No special escaping is necessary. If the post body is provided with content, the `requestMethod` is automatically set to POST.", alias="postBody") ipv6_policy: Optional[TestIpv6Policy] = Field(default=None, alias="ipv6Policy") bgp_measurements: Optional[StrictBool] = Field(default=True, description="Set to `true` to enable bgp measurements.", alias="bgpMeasurements") use_public_bgp: Optional[StrictBool] = Field(default=True, description="Indicate if all available public BGP monitors should be used, when ommited defaults to `bgpMeasurements` value.", alias="usePublicBgp") monitors: Optional[List[StrictStr]] = Field(default=None, description="Contains list of BGP monitor IDs (get `monitorId` from `/monitors` endpoint)") agents: List[TestAgentRequest] = Field(description="Contains list of Agent IDs (get `agentId` from `/agents` endpoint).") - __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "authType", "agentInterfaces", "bandwidthMeasurements", "clientCertificate", "contentRegex", "customHeaders", "desiredStatusCode", "downloadLimit", "dnsOverride", "httpTargetTime", "httpTimeLimit", "httpVersion", "includeHeaders", "mtuMeasurements", "networkMeasurements", "numPathTraces", "oAuth", "password", "pathTraceMode", "probeMode", "protocol", "sslVersion", "sslVersionId", "url", "useNtlm", "userAgent", "username", "verifyCertificate", "allowUnsafeLegacyRenegotiation", "followRedirects", "fixedPacketRate", "overrideAgentProxy", "overrideProxyId", "collectProxyNetworkData", "headers", "postBody", "ipv6Policy", "bgpMeasurements", "usePublicBgp", "monitors", "agents"] + __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "authType", "agentInterfaces", "bandwidthMeasurements", "clientCertificate", "contentRegex", "customHeaders", "desiredStatusCode", "downloadLimit", "dnsOverride", "httpTargetTime", "httpTimeLimit", "httpVersion", "includeHeaders", "mtuMeasurements", "networkMeasurements", "numPathTraces", "oAuth", "password", "pathTraceMode", "probeMode", "protocol", "sslVersion", "sslVersionId", "url", "useNtlm", "userAgent", "username", "verifyCertificate", "allowUnsafeLegacyRenegotiation", "followRedirects", "fixedPacketRate", "overrideAgentProxy", "overrideProxyId", "collectProxyNetworkData", "headers", "randomizedStartTime", "postBody", "ipv6Policy", "bgpMeasurements", "usePublicBgp", "monitors", "agents"] model_config = ConfigDict( populate_by_name=True, @@ -240,6 +241,7 @@ class HttpServerTestRequest(BaseModel): "overrideProxyId": obj.get("overrideProxyId"), "collectProxyNetworkData": obj.get("collectProxyNetworkData") if obj.get("collectProxyNetworkData") is not None else False, "headers": obj.get("headers"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "postBody": obj.get("postBody"), "ipv6Policy": obj.get("ipv6Policy"), "bgpMeasurements": obj.get("bgpMeasurements") if obj.get("bgpMeasurements") is not None else True, diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/http_server_test_response.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/http_server_test_response.py index bf2f2d6d..b6e097b6 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/http_server_test_response.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/http_server_test_response.py @@ -95,13 +95,14 @@ class HttpServerTestResponse(BaseModel): override_proxy_id: Optional[StrictStr] = Field(default=None, description="ID of the proxy to be used if the default proxy is overridden.", alias="overrideProxyId") collect_proxy_network_data: Optional[StrictBool] = Field(default=False, description="Indicates whether network data to the proxy should be collected.", alias="collectProxyNetworkData") headers: Optional[List[StrictStr]] = Field(default=None, description="HTTP request headers used.") + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") post_body: Optional[StrictStr] = Field(default=None, description="Enter the body for the HTTP POST request in this field. No special escaping is necessary. If the post body is provided with content, the `requestMethod` is automatically set to POST.", alias="postBody") ipv6_policy: Optional[TestIpv6Policy] = Field(default=None, alias="ipv6Policy") bgp_measurements: Optional[StrictBool] = Field(default=True, description="Set to `true` to enable bgp measurements.", alias="bgpMeasurements") use_public_bgp: Optional[StrictBool] = Field(default=True, description="Indicate if all available public BGP monitors should be used, when ommited defaults to `bgpMeasurements` value.", alias="usePublicBgp") monitors: Optional[List[Monitor]] = Field(default=None, description="Contains list of enabled BGP monitors.") agents: Optional[List[AgentResponse]] = Field(default=None, description="Contains list of agents.") - __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "authType", "agentInterfaces", "bandwidthMeasurements", "clientCertificate", "contentRegex", "customHeaders", "desiredStatusCode", "downloadLimit", "dnsOverride", "httpTargetTime", "httpTimeLimit", "httpVersion", "includeHeaders", "mtuMeasurements", "networkMeasurements", "numPathTraces", "oAuth", "password", "pathTraceMode", "probeMode", "protocol", "sslVersion", "sslVersionId", "url", "useNtlm", "userAgent", "username", "verifyCertificate", "allowUnsafeLegacyRenegotiation", "followRedirects", "fixedPacketRate", "overrideAgentProxy", "overrideProxyId", "collectProxyNetworkData", "headers", "postBody", "ipv6Policy", "bgpMeasurements", "usePublicBgp", "monitors", "agents"] + __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "authType", "agentInterfaces", "bandwidthMeasurements", "clientCertificate", "contentRegex", "customHeaders", "desiredStatusCode", "downloadLimit", "dnsOverride", "httpTargetTime", "httpTimeLimit", "httpVersion", "includeHeaders", "mtuMeasurements", "networkMeasurements", "numPathTraces", "oAuth", "password", "pathTraceMode", "probeMode", "protocol", "sslVersion", "sslVersionId", "url", "useNtlm", "userAgent", "username", "verifyCertificate", "allowUnsafeLegacyRenegotiation", "followRedirects", "fixedPacketRate", "overrideAgentProxy", "overrideProxyId", "collectProxyNetworkData", "headers", "randomizedStartTime", "postBody", "ipv6Policy", "bgpMeasurements", "usePublicBgp", "monitors", "agents"] model_config = ConfigDict( populate_by_name=True, @@ -278,6 +279,7 @@ class HttpServerTestResponse(BaseModel): "overrideProxyId": obj.get("overrideProxyId"), "collectProxyNetworkData": obj.get("collectProxyNetworkData") if obj.get("collectProxyNetworkData") is not None else False, "headers": obj.get("headers"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "postBody": obj.get("postBody"), "ipv6Policy": obj.get("ipv6Policy"), "bgpMeasurements": obj.get("bgpMeasurements") if obj.get("bgpMeasurements") is not None else True, diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/page_load_instant_test.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/page_load_instant_test.py index 71e7063a..29c092cd 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/page_load_instant_test.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/page_load_instant_test.py @@ -95,7 +95,8 @@ class PageLoadInstantTest(BaseModel): allow_geolocation: Optional[StrictBool] = Field(default=False, description="Set true to use the agent’s geolocation by the web page.", alias="allowGeolocation") browser_language: Optional[StrictStr] = Field(default=None, description="Set one of the available browser language that you want to use to configure the browser.", alias="browserLanguage") page_loading_strategy: Optional[TestPageLoadingStrategy] = Field(default=None, alias="pageLoadingStrategy") - __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "authType", "agentInterfaces", "bandwidthMeasurements", "clientCertificate", "contentRegex", "customHeaders", "desiredStatusCode", "downloadLimit", "dnsOverride", "httpTargetTime", "httpTimeLimit", "httpVersion", "includeHeaders", "mtuMeasurements", "networkMeasurements", "numPathTraces", "oAuth", "password", "pathTraceMode", "probeMode", "protocol", "sslVersion", "sslVersionId", "url", "useNtlm", "userAgent", "username", "verifyCertificate", "allowUnsafeLegacyRenegotiation", "followRedirects", "fixedPacketRate", "overrideAgentProxy", "overrideProxyId", "collectProxyNetworkData", "emulatedDeviceId", "pageLoadTargetTime", "pageLoadTimeLimit", "blockDomains", "disableScreenshot", "allowMicAndCamera", "allowGeolocation", "browserLanguage", "pageLoadingStrategy"] + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") + __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "authType", "agentInterfaces", "bandwidthMeasurements", "clientCertificate", "contentRegex", "customHeaders", "desiredStatusCode", "downloadLimit", "dnsOverride", "httpTargetTime", "httpTimeLimit", "httpVersion", "includeHeaders", "mtuMeasurements", "networkMeasurements", "numPathTraces", "oAuth", "password", "pathTraceMode", "probeMode", "protocol", "sslVersion", "sslVersionId", "url", "useNtlm", "userAgent", "username", "verifyCertificate", "allowUnsafeLegacyRenegotiation", "followRedirects", "fixedPacketRate", "overrideAgentProxy", "overrideProxyId", "collectProxyNetworkData", "emulatedDeviceId", "pageLoadTargetTime", "pageLoadTimeLimit", "blockDomains", "disableScreenshot", "allowMicAndCamera", "allowGeolocation", "browserLanguage", "pageLoadingStrategy", "randomizedStartTime"] model_config = ConfigDict( populate_by_name=True, @@ -252,7 +253,8 @@ class PageLoadInstantTest(BaseModel): "allowMicAndCamera": obj.get("allowMicAndCamera") if obj.get("allowMicAndCamera") is not None else False, "allowGeolocation": obj.get("allowGeolocation") if obj.get("allowGeolocation") is not None else False, "browserLanguage": obj.get("browserLanguage"), - "pageLoadingStrategy": obj.get("pageLoadingStrategy") + "pageLoadingStrategy": obj.get("pageLoadingStrategy"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False }) return _obj diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/page_load_properties.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/page_load_properties.py index f66ab1b1..5f6a9c51 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/page_load_properties.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/page_load_properties.py @@ -78,8 +78,9 @@ class PageLoadProperties(BaseModel): allow_geolocation: Optional[StrictBool] = Field(default=False, description="Set true to use the agent’s geolocation by the web page.", alias="allowGeolocation") browser_language: Optional[StrictStr] = Field(default=None, description="Set one of the available browser language that you want to use to configure the browser.", alias="browserLanguage") page_loading_strategy: Optional[TestPageLoadingStrategy] = Field(default=None, alias="pageLoadingStrategy") + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") type: Optional[StrictStr] = None - __properties: ClassVar[List[str]] = ["authType", "agentInterfaces", "bandwidthMeasurements", "clientCertificate", "contentRegex", "customHeaders", "desiredStatusCode", "downloadLimit", "dnsOverride", "httpTargetTime", "httpTimeLimit", "httpVersion", "includeHeaders", "mtuMeasurements", "networkMeasurements", "numPathTraces", "oAuth", "password", "pathTraceMode", "probeMode", "protocol", "sslVersion", "sslVersionId", "url", "useNtlm", "userAgent", "username", "verifyCertificate", "allowUnsafeLegacyRenegotiation", "followRedirects", "fixedPacketRate", "overrideAgentProxy", "overrideProxyId", "collectProxyNetworkData", "emulatedDeviceId", "pageLoadTargetTime", "pageLoadTimeLimit", "blockDomains", "disableScreenshot", "allowMicAndCamera", "allowGeolocation", "browserLanguage", "pageLoadingStrategy", "type"] + __properties: ClassVar[List[str]] = ["authType", "agentInterfaces", "bandwidthMeasurements", "clientCertificate", "contentRegex", "customHeaders", "desiredStatusCode", "downloadLimit", "dnsOverride", "httpTargetTime", "httpTimeLimit", "httpVersion", "includeHeaders", "mtuMeasurements", "networkMeasurements", "numPathTraces", "oAuth", "password", "pathTraceMode", "probeMode", "protocol", "sslVersion", "sslVersionId", "url", "useNtlm", "userAgent", "username", "verifyCertificate", "allowUnsafeLegacyRenegotiation", "followRedirects", "fixedPacketRate", "overrideAgentProxy", "overrideProxyId", "collectProxyNetworkData", "emulatedDeviceId", "pageLoadTargetTime", "pageLoadTimeLimit", "blockDomains", "disableScreenshot", "allowMicAndCamera", "allowGeolocation", "browserLanguage", "pageLoadingStrategy", "randomizedStartTime", "type"] model_config = ConfigDict( populate_by_name=True, @@ -189,6 +190,7 @@ class PageLoadProperties(BaseModel): "allowGeolocation": obj.get("allowGeolocation") if obj.get("allowGeolocation") is not None else False, "browserLanguage": obj.get("browserLanguage"), "pageLoadingStrategy": obj.get("pageLoadingStrategy"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "type": obj.get("type") }) return _obj diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/page_load_test.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/page_load_test.py index b0def3ca..3646b890 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/page_load_test.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/page_load_test.py @@ -104,12 +104,13 @@ class PageLoadTest(BaseModel): allow_geolocation: Optional[StrictBool] = Field(default=False, description="Set true to use the agent’s geolocation by the web page.", alias="allowGeolocation") browser_language: Optional[StrictStr] = Field(default=None, description="Set one of the available browser language that you want to use to configure the browser.", alias="browserLanguage") page_loading_strategy: Optional[TestPageLoadingStrategy] = Field(default=None, alias="pageLoadingStrategy") + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") bgp_measurements: Optional[StrictBool] = Field(default=True, description="Set to `true` to enable bgp measurements.", alias="bgpMeasurements") use_public_bgp: Optional[StrictBool] = Field(default=True, description="Indicate if all available public BGP monitors should be used, when ommited defaults to `bgpMeasurements` value.", alias="usePublicBgp") monitors: Optional[List[Monitor]] = Field(default=None, description="Contains list of enabled BGP monitors.") http_interval: Optional[TestHttpInterval] = Field(default=None, alias="httpInterval") subinterval: Optional[TestSubInterval] = None - __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "authType", "agentInterfaces", "bandwidthMeasurements", "clientCertificate", "contentRegex", "customHeaders", "desiredStatusCode", "downloadLimit", "dnsOverride", "httpTargetTime", "httpTimeLimit", "httpVersion", "includeHeaders", "mtuMeasurements", "networkMeasurements", "numPathTraces", "oAuth", "password", "pathTraceMode", "probeMode", "protocol", "sslVersion", "sslVersionId", "url", "useNtlm", "userAgent", "username", "verifyCertificate", "allowUnsafeLegacyRenegotiation", "followRedirects", "fixedPacketRate", "overrideAgentProxy", "overrideProxyId", "collectProxyNetworkData", "emulatedDeviceId", "pageLoadTargetTime", "pageLoadTimeLimit", "blockDomains", "disableScreenshot", "allowMicAndCamera", "allowGeolocation", "browserLanguage", "pageLoadingStrategy", "bgpMeasurements", "usePublicBgp", "monitors", "httpInterval", "subinterval"] + __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "authType", "agentInterfaces", "bandwidthMeasurements", "clientCertificate", "contentRegex", "customHeaders", "desiredStatusCode", "downloadLimit", "dnsOverride", "httpTargetTime", "httpTimeLimit", "httpVersion", "includeHeaders", "mtuMeasurements", "networkMeasurements", "numPathTraces", "oAuth", "password", "pathTraceMode", "probeMode", "protocol", "sslVersion", "sslVersionId", "url", "useNtlm", "userAgent", "username", "verifyCertificate", "allowUnsafeLegacyRenegotiation", "followRedirects", "fixedPacketRate", "overrideAgentProxy", "overrideProxyId", "collectProxyNetworkData", "emulatedDeviceId", "pageLoadTargetTime", "pageLoadTimeLimit", "blockDomains", "disableScreenshot", "allowMicAndCamera", "allowGeolocation", "browserLanguage", "pageLoadingStrategy", "randomizedStartTime", "bgpMeasurements", "usePublicBgp", "monitors", "httpInterval", "subinterval"] model_config = ConfigDict( populate_by_name=True, @@ -287,6 +288,7 @@ class PageLoadTest(BaseModel): "allowGeolocation": obj.get("allowGeolocation") if obj.get("allowGeolocation") is not None else False, "browserLanguage": obj.get("browserLanguage"), "pageLoadingStrategy": obj.get("pageLoadingStrategy"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "bgpMeasurements": obj.get("bgpMeasurements") if obj.get("bgpMeasurements") is not None else True, "usePublicBgp": obj.get("usePublicBgp") if obj.get("usePublicBgp") is not None else True, "monitors": [Monitor.from_dict(_item) for _item in obj["monitors"]] if obj.get("monitors") is not None else None, diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/page_load_test_request.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/page_load_test_request.py index e96d6793..97d07dee 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/page_load_test_request.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/page_load_test_request.py @@ -101,13 +101,14 @@ class PageLoadTestRequest(BaseModel): allow_geolocation: Optional[StrictBool] = Field(default=False, description="Set true to use the agent’s geolocation by the web page.", alias="allowGeolocation") browser_language: Optional[StrictStr] = Field(default=None, description="Set one of the available browser language that you want to use to configure the browser.", alias="browserLanguage") page_loading_strategy: Optional[TestPageLoadingStrategy] = Field(default=None, alias="pageLoadingStrategy") + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") bgp_measurements: Optional[StrictBool] = Field(default=True, description="Set to `true` to enable bgp measurements.", alias="bgpMeasurements") use_public_bgp: Optional[StrictBool] = Field(default=True, description="Indicate if all available public BGP monitors should be used, when ommited defaults to `bgpMeasurements` value.", alias="usePublicBgp") monitors: Optional[List[StrictStr]] = Field(default=None, description="Contains list of BGP monitor IDs (get `monitorId` from `/monitors` endpoint)") http_interval: Optional[TestHttpInterval] = Field(default=None, alias="httpInterval") subinterval: Optional[TestSubInterval] = None agents: List[TestAgentRequest] = Field(description="Contains list of Agent IDs (get `agentId` from `/agents` endpoint).") - __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "authType", "agentInterfaces", "bandwidthMeasurements", "clientCertificate", "contentRegex", "customHeaders", "desiredStatusCode", "downloadLimit", "dnsOverride", "httpTargetTime", "httpTimeLimit", "httpVersion", "includeHeaders", "mtuMeasurements", "networkMeasurements", "numPathTraces", "oAuth", "password", "pathTraceMode", "probeMode", "protocol", "sslVersion", "sslVersionId", "url", "useNtlm", "userAgent", "username", "verifyCertificate", "allowUnsafeLegacyRenegotiation", "followRedirects", "fixedPacketRate", "overrideAgentProxy", "overrideProxyId", "collectProxyNetworkData", "emulatedDeviceId", "pageLoadTargetTime", "pageLoadTimeLimit", "blockDomains", "disableScreenshot", "allowMicAndCamera", "allowGeolocation", "browserLanguage", "pageLoadingStrategy", "bgpMeasurements", "usePublicBgp", "monitors", "httpInterval", "subinterval", "agents"] + __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "authType", "agentInterfaces", "bandwidthMeasurements", "clientCertificate", "contentRegex", "customHeaders", "desiredStatusCode", "downloadLimit", "dnsOverride", "httpTargetTime", "httpTimeLimit", "httpVersion", "includeHeaders", "mtuMeasurements", "networkMeasurements", "numPathTraces", "oAuth", "password", "pathTraceMode", "probeMode", "protocol", "sslVersion", "sslVersionId", "url", "useNtlm", "userAgent", "username", "verifyCertificate", "allowUnsafeLegacyRenegotiation", "followRedirects", "fixedPacketRate", "overrideAgentProxy", "overrideProxyId", "collectProxyNetworkData", "emulatedDeviceId", "pageLoadTargetTime", "pageLoadTimeLimit", "blockDomains", "disableScreenshot", "allowMicAndCamera", "allowGeolocation", "browserLanguage", "pageLoadingStrategy", "randomizedStartTime", "bgpMeasurements", "usePublicBgp", "monitors", "httpInterval", "subinterval", "agents"] model_config = ConfigDict( populate_by_name=True, @@ -258,6 +259,7 @@ class PageLoadTestRequest(BaseModel): "allowGeolocation": obj.get("allowGeolocation") if obj.get("allowGeolocation") is not None else False, "browserLanguage": obj.get("browserLanguage"), "pageLoadingStrategy": obj.get("pageLoadingStrategy"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "bgpMeasurements": obj.get("bgpMeasurements") if obj.get("bgpMeasurements") is not None else True, "usePublicBgp": obj.get("usePublicBgp") if obj.get("usePublicBgp") is not None else True, "monitors": obj.get("monitors"), diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/page_load_test_response.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/page_load_test_response.py index 0c9bb605..404f532a 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/page_load_test_response.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/page_load_test_response.py @@ -105,13 +105,14 @@ class PageLoadTestResponse(BaseModel): allow_geolocation: Optional[StrictBool] = Field(default=False, description="Set true to use the agent’s geolocation by the web page.", alias="allowGeolocation") browser_language: Optional[StrictStr] = Field(default=None, description="Set one of the available browser language that you want to use to configure the browser.", alias="browserLanguage") page_loading_strategy: Optional[TestPageLoadingStrategy] = Field(default=None, alias="pageLoadingStrategy") + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") bgp_measurements: Optional[StrictBool] = Field(default=True, description="Set to `true` to enable bgp measurements.", alias="bgpMeasurements") use_public_bgp: Optional[StrictBool] = Field(default=True, description="Indicate if all available public BGP monitors should be used, when ommited defaults to `bgpMeasurements` value.", alias="usePublicBgp") monitors: Optional[List[Monitor]] = Field(default=None, description="Contains list of enabled BGP monitors.") http_interval: Optional[TestHttpInterval] = Field(default=None, alias="httpInterval") subinterval: Optional[TestSubInterval] = None agents: Optional[List[AgentResponse]] = Field(default=None, description="Contains list of agents.") - __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "authType", "agentInterfaces", "bandwidthMeasurements", "clientCertificate", "contentRegex", "customHeaders", "desiredStatusCode", "downloadLimit", "dnsOverride", "httpTargetTime", "httpTimeLimit", "httpVersion", "includeHeaders", "mtuMeasurements", "networkMeasurements", "numPathTraces", "oAuth", "password", "pathTraceMode", "probeMode", "protocol", "sslVersion", "sslVersionId", "url", "useNtlm", "userAgent", "username", "verifyCertificate", "allowUnsafeLegacyRenegotiation", "followRedirects", "fixedPacketRate", "overrideAgentProxy", "overrideProxyId", "collectProxyNetworkData", "emulatedDeviceId", "pageLoadTargetTime", "pageLoadTimeLimit", "blockDomains", "disableScreenshot", "allowMicAndCamera", "allowGeolocation", "browserLanguage", "pageLoadingStrategy", "bgpMeasurements", "usePublicBgp", "monitors", "httpInterval", "subinterval", "agents"] + __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "authType", "agentInterfaces", "bandwidthMeasurements", "clientCertificate", "contentRegex", "customHeaders", "desiredStatusCode", "downloadLimit", "dnsOverride", "httpTargetTime", "httpTimeLimit", "httpVersion", "includeHeaders", "mtuMeasurements", "networkMeasurements", "numPathTraces", "oAuth", "password", "pathTraceMode", "probeMode", "protocol", "sslVersion", "sslVersionId", "url", "useNtlm", "userAgent", "username", "verifyCertificate", "allowUnsafeLegacyRenegotiation", "followRedirects", "fixedPacketRate", "overrideAgentProxy", "overrideProxyId", "collectProxyNetworkData", "emulatedDeviceId", "pageLoadTargetTime", "pageLoadTimeLimit", "blockDomains", "disableScreenshot", "allowMicAndCamera", "allowGeolocation", "browserLanguage", "pageLoadingStrategy", "randomizedStartTime", "bgpMeasurements", "usePublicBgp", "monitors", "httpInterval", "subinterval", "agents"] model_config = ConfigDict( populate_by_name=True, @@ -296,6 +297,7 @@ class PageLoadTestResponse(BaseModel): "allowGeolocation": obj.get("allowGeolocation") if obj.get("allowGeolocation") is not None else False, "browserLanguage": obj.get("browserLanguage"), "pageLoadingStrategy": obj.get("pageLoadingStrategy"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "bgpMeasurements": obj.get("bgpMeasurements") if obj.get("bgpMeasurements") is not None else True, "usePublicBgp": obj.get("usePublicBgp") if obj.get("usePublicBgp") is not None else True, "monitors": [Monitor.from_dict(_item) for _item in obj["monitors"]] if obj.get("monitors") is not None else None, diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/sip_server_instant_test.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/sip_server_instant_test.py index 23390ae7..803062ea 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/sip_server_instant_test.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/sip_server_instant_test.py @@ -52,12 +52,13 @@ class SipServerInstantTest(BaseModel): options_regex: Optional[StrictStr] = Field(default=None, description="Options regex, this field does not require escaping.", alias="optionsRegex") path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode") probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode") + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") register_enabled: Optional[StrictBool] = Field(default=False, description="Set to true to perform SIP registration on the test target with the SIP REGISTER command.", alias="registerEnabled") sip_target_time: Optional[Annotated[int, Field(le=5000, strict=True, ge=100)]] = Field(default=None, description="Target time for test completion in milliseconds.", alias="sipTargetTime") sip_time_limit: Optional[Annotated[int, Field(le=10, strict=True, ge=5)]] = Field(default=5, description="Time limit in milliseconds.", alias="sipTimeLimit") fixed_packet_rate: Optional[Annotated[int, Field(le=100, strict=True, ge=0)]] = Field(default=None, description="Sets packets rate sent to measure the network in packets per second.", alias="fixedPacketRate") ipv6_policy: Optional[TestIpv6Policy] = Field(default=None, alias="ipv6Policy") - __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "mtuMeasurements", "networkMeasurements", "numPathTraces", "optionsRegex", "pathTraceMode", "probeMode", "registerEnabled", "sipTargetTime", "sipTimeLimit", "fixedPacketRate", "ipv6Policy"] + __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "mtuMeasurements", "networkMeasurements", "numPathTraces", "optionsRegex", "pathTraceMode", "probeMode", "randomizedStartTime", "registerEnabled", "sipTargetTime", "sipTimeLimit", "fixedPacketRate", "ipv6Policy"] model_config = ConfigDict( populate_by_name=True, @@ -167,6 +168,7 @@ class SipServerInstantTest(BaseModel): "optionsRegex": obj.get("optionsRegex"), "pathTraceMode": obj.get("pathTraceMode"), "probeMode": obj.get("probeMode"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "registerEnabled": obj.get("registerEnabled") if obj.get("registerEnabled") is not None else False, "sipTargetTime": obj.get("sipTargetTime"), "sipTimeLimit": obj.get("sipTimeLimit") if obj.get("sipTimeLimit") is not None else 5, diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/sip_server_properties.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/sip_server_properties.py index 5c538ec9..af9bc392 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/sip_server_properties.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/sip_server_properties.py @@ -35,13 +35,14 @@ class SipServerProperties(BaseModel): options_regex: Optional[StrictStr] = Field(default=None, description="Options regex, this field does not require escaping.", alias="optionsRegex") path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode") probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode") + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") register_enabled: Optional[StrictBool] = Field(default=False, description="Set to true to perform SIP registration on the test target with the SIP REGISTER command.", alias="registerEnabled") sip_target_time: Optional[Annotated[int, Field(le=5000, strict=True, ge=100)]] = Field(default=None, description="Target time for test completion in milliseconds.", alias="sipTargetTime") sip_time_limit: Optional[Annotated[int, Field(le=10, strict=True, ge=5)]] = Field(default=5, description="Time limit in milliseconds.", alias="sipTimeLimit") fixed_packet_rate: Optional[Annotated[int, Field(le=100, strict=True, ge=0)]] = Field(default=None, description="Sets packets rate sent to measure the network in packets per second.", alias="fixedPacketRate") ipv6_policy: Optional[TestIpv6Policy] = Field(default=None, alias="ipv6Policy") type: Optional[StrictStr] = None - __properties: ClassVar[List[str]] = ["mtuMeasurements", "networkMeasurements", "numPathTraces", "optionsRegex", "pathTraceMode", "probeMode", "registerEnabled", "sipTargetTime", "sipTimeLimit", "fixedPacketRate", "ipv6Policy", "type"] + __properties: ClassVar[List[str]] = ["mtuMeasurements", "networkMeasurements", "numPathTraces", "optionsRegex", "pathTraceMode", "probeMode", "randomizedStartTime", "registerEnabled", "sipTargetTime", "sipTimeLimit", "fixedPacketRate", "ipv6Policy", "type"] model_config = ConfigDict( populate_by_name=True, @@ -103,6 +104,7 @@ class SipServerProperties(BaseModel): "optionsRegex": obj.get("optionsRegex"), "pathTraceMode": obj.get("pathTraceMode"), "probeMode": obj.get("probeMode"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "registerEnabled": obj.get("registerEnabled") if obj.get("registerEnabled") is not None else False, "sipTargetTime": obj.get("sipTargetTime"), "sipTimeLimit": obj.get("sipTimeLimit") if obj.get("sipTimeLimit") is not None else 5, diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/sip_server_test.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/sip_server_test.py index cff88e8e..600d0e4d 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/sip_server_test.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/sip_server_test.py @@ -63,6 +63,7 @@ class SipServerTest(BaseModel): options_regex: Optional[StrictStr] = Field(default=None, description="Options regex, this field does not require escaping.", alias="optionsRegex") path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode") probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode") + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") register_enabled: Optional[StrictBool] = Field(default=False, description="Set to true to perform SIP registration on the test target with the SIP REGISTER command.", alias="registerEnabled") sip_target_time: Optional[Annotated[int, Field(le=5000, strict=True, ge=100)]] = Field(default=None, description="Target time for test completion in milliseconds.", alias="sipTargetTime") sip_time_limit: Optional[Annotated[int, Field(le=10, strict=True, ge=5)]] = Field(default=5, description="Time limit in milliseconds.", alias="sipTimeLimit") @@ -74,7 +75,7 @@ class SipServerTest(BaseModel): protocol: Optional[SipTestProtocol] = None sip_registrar: Optional[StrictStr] = Field(default=None, description="SIP server to be tested, specified by domain name or IP address.", alias="sipRegistrar") user: Optional[StrictStr] = Field(default=None, description="Username for SIP registration, should be unique within a ThousandEyes account group.") - __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "bgpMeasurements", "usePublicBgp", "monitors", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "mtuMeasurements", "networkMeasurements", "numPathTraces", "optionsRegex", "pathTraceMode", "probeMode", "registerEnabled", "sipTargetTime", "sipTimeLimit", "fixedPacketRate", "ipv6Policy", "authUser", "password", "port", "protocol", "sipRegistrar", "user"] + __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "bgpMeasurements", "usePublicBgp", "monitors", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "mtuMeasurements", "networkMeasurements", "numPathTraces", "optionsRegex", "pathTraceMode", "probeMode", "randomizedStartTime", "registerEnabled", "sipTargetTime", "sipTimeLimit", "fixedPacketRate", "ipv6Policy", "authUser", "password", "port", "protocol", "sipRegistrar", "user"] model_config = ConfigDict( populate_by_name=True, @@ -207,6 +208,7 @@ class SipServerTest(BaseModel): "optionsRegex": obj.get("optionsRegex"), "pathTraceMode": obj.get("pathTraceMode"), "probeMode": obj.get("probeMode"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "registerEnabled": obj.get("registerEnabled") if obj.get("registerEnabled") is not None else False, "sipTargetTime": obj.get("sipTargetTime"), "sipTimeLimit": obj.get("sipTimeLimit") if obj.get("sipTimeLimit") is not None else 5, diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/sip_server_test_request.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/sip_server_test_request.py index 36413870..87e7235b 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/sip_server_test_request.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/sip_server_test_request.py @@ -58,6 +58,7 @@ class SipServerTestRequest(BaseModel): options_regex: Optional[StrictStr] = Field(default=None, description="Options regex, this field does not require escaping.", alias="optionsRegex") path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode") probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode") + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") register_enabled: Optional[StrictBool] = Field(default=False, description="Set to true to perform SIP registration on the test target with the SIP REGISTER command.", alias="registerEnabled") sip_target_time: Optional[Annotated[int, Field(le=5000, strict=True, ge=100)]] = Field(default=None, description="Target time for test completion in milliseconds.", alias="sipTargetTime") sip_time_limit: Optional[Annotated[int, Field(le=10, strict=True, ge=5)]] = Field(default=5, description="Time limit in milliseconds.", alias="sipTimeLimit") @@ -68,7 +69,7 @@ class SipServerTestRequest(BaseModel): monitors: Optional[List[Monitor]] = Field(default=None, description="Contains list of enabled BGP monitors.") target_sip_credentials: TestSipCredentials = Field(alias="targetSipCredentials") agents: List[TestAgentRequest] = Field(description="Contains list of Agent IDs (get `agentId` from `/agents` endpoint).") - __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "mtuMeasurements", "networkMeasurements", "numPathTraces", "optionsRegex", "pathTraceMode", "probeMode", "registerEnabled", "sipTargetTime", "sipTimeLimit", "fixedPacketRate", "ipv6Policy", "bgpMeasurements", "usePublicBgp", "monitors", "targetSipCredentials", "agents"] + __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "mtuMeasurements", "networkMeasurements", "numPathTraces", "optionsRegex", "pathTraceMode", "probeMode", "randomizedStartTime", "registerEnabled", "sipTargetTime", "sipTimeLimit", "fixedPacketRate", "ipv6Policy", "bgpMeasurements", "usePublicBgp", "monitors", "targetSipCredentials", "agents"] model_config = ConfigDict( populate_by_name=True, @@ -183,6 +184,7 @@ class SipServerTestRequest(BaseModel): "optionsRegex": obj.get("optionsRegex"), "pathTraceMode": obj.get("pathTraceMode"), "probeMode": obj.get("probeMode"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "registerEnabled": obj.get("registerEnabled") if obj.get("registerEnabled") is not None else False, "sipTargetTime": obj.get("sipTargetTime"), "sipTimeLimit": obj.get("sipTimeLimit") if obj.get("sipTimeLimit") is not None else 5, diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/sip_server_test_response.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/sip_server_test_response.py index a4d87975..eb98ec19 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/sip_server_test_response.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/sip_server_test_response.py @@ -64,6 +64,7 @@ class SipServerTestResponse(BaseModel): options_regex: Optional[StrictStr] = Field(default=None, description="Options regex, this field does not require escaping.", alias="optionsRegex") path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode") probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode") + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") register_enabled: Optional[StrictBool] = Field(default=False, description="Set to true to perform SIP registration on the test target with the SIP REGISTER command.", alias="registerEnabled") sip_target_time: Optional[Annotated[int, Field(le=5000, strict=True, ge=100)]] = Field(default=None, description="Target time for test completion in milliseconds.", alias="sipTargetTime") sip_time_limit: Optional[Annotated[int, Field(le=10, strict=True, ge=5)]] = Field(default=5, description="Time limit in milliseconds.", alias="sipTimeLimit") @@ -76,7 +77,7 @@ class SipServerTestResponse(BaseModel): sip_registrar: Optional[StrictStr] = Field(default=None, description="SIP server to be tested, specified by domain name or IP address.", alias="sipRegistrar") user: Optional[StrictStr] = Field(default=None, description="Username for SIP registration, should be unique within a ThousandEyes account group.") agents: Optional[List[AgentResponse]] = Field(default=None, description="Contains list of agents.") - __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "bgpMeasurements", "usePublicBgp", "monitors", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "mtuMeasurements", "networkMeasurements", "numPathTraces", "optionsRegex", "pathTraceMode", "probeMode", "registerEnabled", "sipTargetTime", "sipTimeLimit", "fixedPacketRate", "ipv6Policy", "authUser", "password", "port", "protocol", "sipRegistrar", "user", "agents"] + __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "bgpMeasurements", "usePublicBgp", "monitors", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "mtuMeasurements", "networkMeasurements", "numPathTraces", "optionsRegex", "pathTraceMode", "probeMode", "randomizedStartTime", "registerEnabled", "sipTargetTime", "sipTimeLimit", "fixedPacketRate", "ipv6Policy", "authUser", "password", "port", "protocol", "sipRegistrar", "user", "agents"] model_config = ConfigDict( populate_by_name=True, @@ -216,6 +217,7 @@ class SipServerTestResponse(BaseModel): "optionsRegex": obj.get("optionsRegex"), "pathTraceMode": obj.get("pathTraceMode"), "probeMode": obj.get("probeMode"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "registerEnabled": obj.get("registerEnabled") if obj.get("registerEnabled") is not None else False, "sipTargetTime": obj.get("sipTargetTime"), "sipTimeLimit": obj.get("sipTimeLimit") if obj.get("sipTimeLimit") is not None else 5, diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/unexpanded_agent_to_agent_test.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/unexpanded_agent_to_agent_test.py index 6d534fce..a186b308 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/unexpanded_agent_to_agent_test.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/unexpanded_agent_to_agent_test.py @@ -55,6 +55,7 @@ class UnexpandedAgentToAgentTest(BaseModel): path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode") port: Optional[Annotated[int, Field(le=65535, strict=True, ge=1)]] = Field(default=49153, description="Target port.") protocol: Optional[AgentToAgentTestProtocol] = None + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") target_agent_id: StrictStr = Field(description="`agentId` of the target agent for the test.", alias="targetAgentId") throughput_measurements: Optional[StrictBool] = Field(default=False, description="Enable or disable throughput measurements. Throughput measurements cannot be enabled when the source or target of the test is a cloud agent.", alias="throughputMeasurements") throughput_duration: Optional[Annotated[int, Field(le=30000, strict=True, ge=5000)]] = Field(default=10000, description="The throughput duration.", alias="throughputDuration") @@ -62,7 +63,7 @@ class UnexpandedAgentToAgentTest(BaseModel): fixed_packet_rate: Optional[Annotated[int, Field(le=100, strict=True, ge=0)]] = Field(default=None, description="Sets packets rate sent to measure the network in packets per second.", alias="fixedPacketRate") bgp_measurements: Optional[StrictBool] = Field(default=True, description="Set to `true` to enable bgp measurements.", alias="bgpMeasurements") use_public_bgp: Optional[StrictBool] = Field(default=True, description="Indicate if all available public BGP monitors should be used, when ommited defaults to `bgpMeasurements` value.", alias="usePublicBgp") - __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "direction", "dscp", "dscpId", "mss", "numPathTraces", "pathTraceMode", "port", "protocol", "targetAgentId", "throughputMeasurements", "throughputDuration", "throughputRate", "fixedPacketRate", "bgpMeasurements", "usePublicBgp"] + __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "direction", "dscp", "dscpId", "mss", "numPathTraces", "pathTraceMode", "port", "protocol", "randomizedStartTime", "targetAgentId", "throughputMeasurements", "throughputDuration", "throughputRate", "fixedPacketRate", "bgpMeasurements", "usePublicBgp"] model_config = ConfigDict( populate_by_name=True, @@ -159,6 +160,7 @@ class UnexpandedAgentToAgentTest(BaseModel): "pathTraceMode": obj.get("pathTraceMode"), "port": obj.get("port") if obj.get("port") is not None else 49153, "protocol": obj.get("protocol"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "targetAgentId": obj.get("targetAgentId"), "throughputMeasurements": obj.get("throughputMeasurements") if obj.get("throughputMeasurements") is not None else False, "throughputDuration": obj.get("throughputDuration") if obj.get("throughputDuration") is not None else 10000, diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/unexpanded_agent_to_server_test.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/unexpanded_agent_to_server_test.py index 685236a3..dacc63c2 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/unexpanded_agent_to_server_test.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/unexpanded_agent_to_server_test.py @@ -57,6 +57,7 @@ class UnexpandedAgentToServerTest(BaseModel): port: Optional[Annotated[int, Field(le=65535, strict=True, ge=1)]] = Field(default=49153, description="Target port.") probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode") protocol: Optional[TestProtocol] = None + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") server: StrictStr = Field(description="Target name or IP address.") dscp: Optional[StrictStr] = Field(default=None, description="DSCP label.") dscp_id: Optional[TestDscpId] = Field(default=None, alias="dscpId") @@ -65,7 +66,7 @@ class UnexpandedAgentToServerTest(BaseModel): network_measurements: Optional[StrictBool] = Field(default=False, description="View packet loss in 1-second intervals. This is only available for 1-minute interval tests. Set to `true` to enable network measurements.", alias="networkMeasurements") bgp_measurements: Optional[StrictBool] = Field(default=True, description="Set to `true` to enable bgp measurements.", alias="bgpMeasurements") use_public_bgp: Optional[StrictBool] = Field(default=True, description="Indicate if all available public BGP monitors should be used, when ommited defaults to `bgpMeasurements` value.", alias="usePublicBgp") - __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "bandwidthMeasurements", "continuousMode", "fixedPacketRate", "mtuMeasurements", "numPathTraces", "pathTraceMode", "port", "probeMode", "protocol", "server", "dscp", "dscpId", "ipv6Policy", "pingPayloadSize", "networkMeasurements", "bgpMeasurements", "usePublicBgp"] + __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "bandwidthMeasurements", "continuousMode", "fixedPacketRate", "mtuMeasurements", "numPathTraces", "pathTraceMode", "port", "probeMode", "protocol", "randomizedStartTime", "server", "dscp", "dscpId", "ipv6Policy", "pingPayloadSize", "networkMeasurements", "bgpMeasurements", "usePublicBgp"] model_config = ConfigDict( populate_by_name=True, @@ -163,6 +164,7 @@ class UnexpandedAgentToServerTest(BaseModel): "port": obj.get("port") if obj.get("port") is not None else 49153, "probeMode": obj.get("probeMode"), "protocol": obj.get("protocol"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "server": obj.get("server"), "dscp": obj.get("dscp"), "dscpId": obj.get("dscpId"), diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/unexpanded_api_test.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/unexpanded_api_test.py index 2197e5e0..44f023b6 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/unexpanded_api_test.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/unexpanded_api_test.py @@ -60,6 +60,7 @@ class UnexpandedApiTest(BaseModel): predefined_variables: Optional[List[ApiPredefinedVariable]] = Field(default=None, alias="predefinedVariables") probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode") protocol: Optional[TestProtocol] = None + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") requests: List[ApiRequest] ssl_version_id: Optional[TestSslVersionId] = Field(default=None, alias="sslVersionId") target_time: Optional[Annotated[int, Field(le=60, strict=True, ge=0)]] = Field(default=None, description="Target time for completion metric, defaults to 50% of time limit specified in seconds. (0 means default behavior)", alias="targetTime") @@ -67,7 +68,7 @@ class UnexpandedApiTest(BaseModel): url: StrictStr = Field(description="Target for the test.") bgp_measurements: Optional[StrictBool] = Field(default=True, description="Set to `true` to enable bgp measurements.", alias="bgpMeasurements") use_public_bgp: Optional[StrictBool] = Field(default=True, description="Indicate if all available public BGP monitors should be used, when ommited defaults to `bgpMeasurements` value.", alias="usePublicBgp") - __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "collectProxyNetworkData", "followRedirects", "mtuMeasurements", "networkMeasurements", "numPathTraces", "overrideAgentProxy", "overrideProxyId", "pathTraceMode", "predefinedVariables", "probeMode", "protocol", "requests", "sslVersionId", "targetTime", "timeLimit", "url", "bgpMeasurements", "usePublicBgp"] + __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "collectProxyNetworkData", "followRedirects", "mtuMeasurements", "networkMeasurements", "numPathTraces", "overrideAgentProxy", "overrideProxyId", "pathTraceMode", "predefinedVariables", "probeMode", "protocol", "randomizedStartTime", "requests", "sslVersionId", "targetTime", "timeLimit", "url", "bgpMeasurements", "usePublicBgp"] model_config = ConfigDict( populate_by_name=True, @@ -179,6 +180,7 @@ class UnexpandedApiTest(BaseModel): "predefinedVariables": [ApiPredefinedVariable.from_dict(_item) for _item in obj["predefinedVariables"]] if obj.get("predefinedVariables") is not None else None, "probeMode": obj.get("probeMode"), "protocol": obj.get("protocol"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "requests": [ApiRequest.from_dict(_item) for _item in obj["requests"]] if obj.get("requests") is not None else None, "sslVersionId": obj.get("sslVersionId"), "targetTime": obj.get("targetTime"), diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/unexpanded_dns_sec_test.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/unexpanded_dns_sec_test.py index 08ec5212..17617135 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/unexpanded_dns_sec_test.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/unexpanded_dns_sec_test.py @@ -45,7 +45,8 @@ class UnexpandedDnsSecTest(BaseModel): links: Optional[TestLinks] = Field(default=None, alias="_links") domain: StrictStr = Field(description="The target record for the test, with the record type suffixed. If no record type is specified, the test defaults to an ANY record.") dns_query_class: Optional[DnsQueryClass] = Field(default=None, alias="dnsQueryClass") - __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "domain", "dnsQueryClass"] + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") + __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "domain", "dnsQueryClass", "randomizedStartTime"] model_config = ConfigDict( populate_by_name=True, @@ -133,7 +134,8 @@ class UnexpandedDnsSecTest(BaseModel): "type": obj.get("type"), "_links": TestLinks.from_dict(obj["_links"]) if obj.get("_links") is not None else None, "domain": obj.get("domain"), - "dnsQueryClass": obj.get("dnsQueryClass") + "dnsQueryClass": obj.get("dnsQueryClass"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False }) return _obj diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/unexpanded_dns_server_test.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/unexpanded_dns_server_test.py index de8ed905..5c74c70d 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/unexpanded_dns_server_test.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/unexpanded_dns_server_test.py @@ -60,13 +60,14 @@ class UnexpandedDnsServerTest(BaseModel): path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode") probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode") protocol: Optional[TestProtocol] = None + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") recursive_queries: Optional[StrictBool] = Field(default=None, description="Set true to run query with RD (recursion desired) flag enabled.", alias="recursiveQueries") ipv6_policy: Optional[TestIpv6Policy] = Field(default=None, alias="ipv6Policy") fixed_packet_rate: Optional[Annotated[int, Field(le=100, strict=True, ge=0)]] = Field(default=None, description="Sets packets rate sent to measure the network in packets per second.", alias="fixedPacketRate") dns_query_class: Optional[DnsQueryClass] = Field(default=None, alias="dnsQueryClass") bgp_measurements: Optional[StrictBool] = Field(default=True, description="Set to `true` to enable bgp measurements.", alias="bgpMeasurements") use_public_bgp: Optional[StrictBool] = Field(default=True, description="Indicate if all available public BGP monitors should be used, when ommited defaults to `bgpMeasurements` value.", alias="usePublicBgp") - __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "bandwidthMeasurements", "dnsServers", "dnsTransportProtocol", "domain", "mtuMeasurements", "networkMeasurements", "numPathTraces", "pathTraceMode", "probeMode", "protocol", "recursiveQueries", "ipv6Policy", "fixedPacketRate", "dnsQueryClass", "bgpMeasurements", "usePublicBgp"] + __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "bandwidthMeasurements", "dnsServers", "dnsTransportProtocol", "domain", "mtuMeasurements", "networkMeasurements", "numPathTraces", "pathTraceMode", "probeMode", "protocol", "randomizedStartTime", "recursiveQueries", "ipv6Policy", "fixedPacketRate", "dnsQueryClass", "bgpMeasurements", "usePublicBgp"] model_config = ConfigDict( populate_by_name=True, @@ -170,6 +171,7 @@ class UnexpandedDnsServerTest(BaseModel): "pathTraceMode": obj.get("pathTraceMode"), "probeMode": obj.get("probeMode"), "protocol": obj.get("protocol"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "recursiveQueries": obj.get("recursiveQueries"), "ipv6Policy": obj.get("ipv6Policy"), "fixedPacketRate": obj.get("fixedPacketRate"), diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/unexpanded_dns_trace_test.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/unexpanded_dns_trace_test.py index 8324355d..29af8054 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/unexpanded_dns_trace_test.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/unexpanded_dns_trace_test.py @@ -47,7 +47,8 @@ class UnexpandedDnsTraceTest(BaseModel): dns_transport_protocol: Optional[TestDnsTransportProtocol] = Field(default=None, alias="dnsTransportProtocol") domain: StrictStr = Field(description="The target record for the test, with the record type suffixed. If no record type is specified, the test defaults to an ANY record.") dns_query_class: Optional[DnsQueryClass] = Field(default=None, alias="dnsQueryClass") - __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "dnsTransportProtocol", "domain", "dnsQueryClass"] + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") + __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "dnsTransportProtocol", "domain", "dnsQueryClass", "randomizedStartTime"] model_config = ConfigDict( populate_by_name=True, @@ -136,7 +137,8 @@ class UnexpandedDnsTraceTest(BaseModel): "_links": TestLinks.from_dict(obj["_links"]) if obj.get("_links") is not None else None, "dnsTransportProtocol": obj.get("dnsTransportProtocol"), "domain": obj.get("domain"), - "dnsQueryClass": obj.get("dnsQueryClass") + "dnsQueryClass": obj.get("dnsQueryClass"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False }) return _obj diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/unexpanded_ftp_server_test.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/unexpanded_ftp_server_test.py index 4b2710f9..5a5364c7 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/unexpanded_ftp_server_test.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/unexpanded_ftp_server_test.py @@ -59,6 +59,7 @@ class UnexpandedFtpServerTest(BaseModel): path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode") probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode") protocol: Optional[TestProtocol] = None + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") request_type: FtpServerRequestType = Field(alias="requestType") url: StrictStr = Field(description="Target for the test.") use_active_ftp: Optional[StrictBool] = Field(default=False, description="Explicitly set the flag to use active FTP.", alias="useActiveFtp") @@ -68,7 +69,7 @@ class UnexpandedFtpServerTest(BaseModel): ipv6_policy: Optional[TestIpv6Policy] = Field(default=None, alias="ipv6Policy") bgp_measurements: Optional[StrictBool] = Field(default=True, description="Set to `true` to enable bgp measurements.", alias="bgpMeasurements") use_public_bgp: Optional[StrictBool] = Field(default=True, description="Indicate if all available public BGP monitors should be used, when ommited defaults to `bgpMeasurements` value.", alias="usePublicBgp") - __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "bandwidthMeasurements", "downloadLimit", "ftpTargetTime", "ftpTimeLimit", "mtuMeasurements", "networkMeasurements", "numPathTraces", "password", "pathTraceMode", "probeMode", "protocol", "requestType", "url", "useActiveFtp", "useExplicitFtps", "username", "fixedPacketRate", "ipv6Policy", "bgpMeasurements", "usePublicBgp"] + __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "bandwidthMeasurements", "downloadLimit", "ftpTargetTime", "ftpTimeLimit", "mtuMeasurements", "networkMeasurements", "numPathTraces", "password", "pathTraceMode", "probeMode", "protocol", "randomizedStartTime", "requestType", "url", "useActiveFtp", "useExplicitFtps", "username", "fixedPacketRate", "ipv6Policy", "bgpMeasurements", "usePublicBgp"] model_config = ConfigDict( populate_by_name=True, @@ -166,6 +167,7 @@ class UnexpandedFtpServerTest(BaseModel): "pathTraceMode": obj.get("pathTraceMode"), "probeMode": obj.get("probeMode"), "protocol": obj.get("protocol"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "requestType": obj.get("requestType"), "url": obj.get("url"), "useActiveFtp": obj.get("useActiveFtp") if obj.get("useActiveFtp") is not None else False, diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/unexpanded_http_server_test.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/unexpanded_http_server_test.py index c3e2e200..7aebe2fe 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/unexpanded_http_server_test.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/unexpanded_http_server_test.py @@ -87,11 +87,12 @@ class UnexpandedHttpServerTest(BaseModel): override_proxy_id: Optional[StrictStr] = Field(default=None, description="ID of the proxy to be used if the default proxy is overridden.", alias="overrideProxyId") collect_proxy_network_data: Optional[StrictBool] = Field(default=False, description="Indicates whether network data to the proxy should be collected.", alias="collectProxyNetworkData") headers: Optional[List[StrictStr]] = Field(default=None, description="HTTP request headers used.") + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") post_body: Optional[StrictStr] = Field(default=None, description="Enter the body for the HTTP POST request in this field. No special escaping is necessary. If the post body is provided with content, the `requestMethod` is automatically set to POST.", alias="postBody") ipv6_policy: Optional[TestIpv6Policy] = Field(default=None, alias="ipv6Policy") bgp_measurements: Optional[StrictBool] = Field(default=True, description="Set to `true` to enable bgp measurements.", alias="bgpMeasurements") use_public_bgp: Optional[StrictBool] = Field(default=True, description="Indicate if all available public BGP monitors should be used, when ommited defaults to `bgpMeasurements` value.", alias="usePublicBgp") - __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "authType", "agentInterfaces", "bandwidthMeasurements", "clientCertificate", "contentRegex", "customHeaders", "desiredStatusCode", "downloadLimit", "dnsOverride", "httpTargetTime", "httpTimeLimit", "httpVersion", "includeHeaders", "mtuMeasurements", "networkMeasurements", "numPathTraces", "oAuth", "password", "pathTraceMode", "probeMode", "protocol", "sslVersion", "sslVersionId", "url", "useNtlm", "userAgent", "username", "verifyCertificate", "allowUnsafeLegacyRenegotiation", "followRedirects", "fixedPacketRate", "overrideAgentProxy", "overrideProxyId", "collectProxyNetworkData", "headers", "postBody", "ipv6Policy", "bgpMeasurements", "usePublicBgp"] + __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "authType", "agentInterfaces", "bandwidthMeasurements", "clientCertificate", "contentRegex", "customHeaders", "desiredStatusCode", "downloadLimit", "dnsOverride", "httpTargetTime", "httpTimeLimit", "httpVersion", "includeHeaders", "mtuMeasurements", "networkMeasurements", "numPathTraces", "oAuth", "password", "pathTraceMode", "probeMode", "protocol", "sslVersion", "sslVersionId", "url", "useNtlm", "userAgent", "username", "verifyCertificate", "allowUnsafeLegacyRenegotiation", "followRedirects", "fixedPacketRate", "overrideAgentProxy", "overrideProxyId", "collectProxyNetworkData", "headers", "randomizedStartTime", "postBody", "ipv6Policy", "bgpMeasurements", "usePublicBgp"] model_config = ConfigDict( populate_by_name=True, @@ -224,6 +225,7 @@ class UnexpandedHttpServerTest(BaseModel): "overrideProxyId": obj.get("overrideProxyId"), "collectProxyNetworkData": obj.get("collectProxyNetworkData") if obj.get("collectProxyNetworkData") is not None else False, "headers": obj.get("headers"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "postBody": obj.get("postBody"), "ipv6Policy": obj.get("ipv6Policy"), "bgpMeasurements": obj.get("bgpMeasurements") if obj.get("bgpMeasurements") is not None else True, diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/unexpanded_page_load_test.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/unexpanded_page_load_test.py index e6976a38..4487c0cf 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/unexpanded_page_load_test.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/unexpanded_page_load_test.py @@ -97,11 +97,12 @@ class UnexpandedPageLoadTest(BaseModel): allow_geolocation: Optional[StrictBool] = Field(default=False, description="Set true to use the agent’s geolocation by the web page.", alias="allowGeolocation") browser_language: Optional[StrictStr] = Field(default=None, description="Set one of the available browser language that you want to use to configure the browser.", alias="browserLanguage") page_loading_strategy: Optional[TestPageLoadingStrategy] = Field(default=None, alias="pageLoadingStrategy") + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") http_interval: Optional[TestHttpInterval] = Field(default=None, alias="httpInterval") subinterval: Optional[TestSubInterval] = None bgp_measurements: Optional[StrictBool] = Field(default=True, description="Set to `true` to enable bgp measurements.", alias="bgpMeasurements") use_public_bgp: Optional[StrictBool] = Field(default=True, description="Indicate if all available public BGP monitors should be used, when ommited defaults to `bgpMeasurements` value.", alias="usePublicBgp") - __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "authType", "agentInterfaces", "bandwidthMeasurements", "clientCertificate", "contentRegex", "customHeaders", "desiredStatusCode", "downloadLimit", "dnsOverride", "httpTargetTime", "httpTimeLimit", "httpVersion", "includeHeaders", "mtuMeasurements", "networkMeasurements", "numPathTraces", "oAuth", "password", "pathTraceMode", "probeMode", "protocol", "sslVersion", "sslVersionId", "url", "useNtlm", "userAgent", "username", "verifyCertificate", "allowUnsafeLegacyRenegotiation", "followRedirects", "fixedPacketRate", "overrideAgentProxy", "overrideProxyId", "collectProxyNetworkData", "emulatedDeviceId", "pageLoadTargetTime", "pageLoadTimeLimit", "blockDomains", "disableScreenshot", "allowMicAndCamera", "allowGeolocation", "browserLanguage", "pageLoadingStrategy", "httpInterval", "subinterval", "bgpMeasurements", "usePublicBgp"] + __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "authType", "agentInterfaces", "bandwidthMeasurements", "clientCertificate", "contentRegex", "customHeaders", "desiredStatusCode", "downloadLimit", "dnsOverride", "httpTargetTime", "httpTimeLimit", "httpVersion", "includeHeaders", "mtuMeasurements", "networkMeasurements", "numPathTraces", "oAuth", "password", "pathTraceMode", "probeMode", "protocol", "sslVersion", "sslVersionId", "url", "useNtlm", "userAgent", "username", "verifyCertificate", "allowUnsafeLegacyRenegotiation", "followRedirects", "fixedPacketRate", "overrideAgentProxy", "overrideProxyId", "collectProxyNetworkData", "emulatedDeviceId", "pageLoadTargetTime", "pageLoadTimeLimit", "blockDomains", "disableScreenshot", "allowMicAndCamera", "allowGeolocation", "browserLanguage", "pageLoadingStrategy", "randomizedStartTime", "httpInterval", "subinterval", "bgpMeasurements", "usePublicBgp"] model_config = ConfigDict( populate_by_name=True, @@ -242,6 +243,7 @@ class UnexpandedPageLoadTest(BaseModel): "allowGeolocation": obj.get("allowGeolocation") if obj.get("allowGeolocation") is not None else False, "browserLanguage": obj.get("browserLanguage"), "pageLoadingStrategy": obj.get("pageLoadingStrategy"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "httpInterval": obj.get("httpInterval"), "subinterval": obj.get("subinterval"), "bgpMeasurements": obj.get("bgpMeasurements") if obj.get("bgpMeasurements") is not None else True, diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/unexpanded_sip_server_test.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/unexpanded_sip_server_test.py index 7786d3a2..35bca80c 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/unexpanded_sip_server_test.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/unexpanded_sip_server_test.py @@ -53,6 +53,7 @@ class UnexpandedSipServerTest(BaseModel): options_regex: Optional[StrictStr] = Field(default=None, description="Options regex, this field does not require escaping.", alias="optionsRegex") path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode") probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode") + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") register_enabled: Optional[StrictBool] = Field(default=False, description="Set to true to perform SIP registration on the test target with the SIP REGISTER command.", alias="registerEnabled") sip_target_time: Optional[Annotated[int, Field(le=5000, strict=True, ge=100)]] = Field(default=None, description="Target time for test completion in milliseconds.", alias="sipTargetTime") sip_time_limit: Optional[Annotated[int, Field(le=10, strict=True, ge=5)]] = Field(default=5, description="Time limit in milliseconds.", alias="sipTimeLimit") @@ -66,7 +67,7 @@ class UnexpandedSipServerTest(BaseModel): user: Optional[StrictStr] = Field(default=None, description="Username for SIP registration, should be unique within a ThousandEyes account group.") bgp_measurements: Optional[StrictBool] = Field(default=True, description="Set to `true` to enable bgp measurements.", alias="bgpMeasurements") use_public_bgp: Optional[StrictBool] = Field(default=True, description="Indicate if all available public BGP monitors should be used, when ommited defaults to `bgpMeasurements` value.", alias="usePublicBgp") - __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "mtuMeasurements", "networkMeasurements", "numPathTraces", "optionsRegex", "pathTraceMode", "probeMode", "registerEnabled", "sipTargetTime", "sipTimeLimit", "fixedPacketRate", "ipv6Policy", "authUser", "password", "port", "protocol", "sipRegistrar", "user", "bgpMeasurements", "usePublicBgp"] + __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "mtuMeasurements", "networkMeasurements", "numPathTraces", "optionsRegex", "pathTraceMode", "probeMode", "randomizedStartTime", "registerEnabled", "sipTargetTime", "sipTimeLimit", "fixedPacketRate", "ipv6Policy", "authUser", "password", "port", "protocol", "sipRegistrar", "user", "bgpMeasurements", "usePublicBgp"] model_config = ConfigDict( populate_by_name=True, @@ -159,6 +160,7 @@ class UnexpandedSipServerTest(BaseModel): "optionsRegex": obj.get("optionsRegex"), "pathTraceMode": obj.get("pathTraceMode"), "probeMode": obj.get("probeMode"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "registerEnabled": obj.get("registerEnabled") if obj.get("registerEnabled") is not None else False, "sipTargetTime": obj.get("sipTargetTime"), "sipTimeLimit": obj.get("sipTimeLimit") if obj.get("sipTimeLimit") is not None else 5, diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/unexpanded_voice_test.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/unexpanded_voice_test.py index ba7b83d9..a09cbb5d 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/unexpanded_voice_test.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/unexpanded_voice_test.py @@ -52,10 +52,11 @@ class UnexpandedVoiceTest(BaseModel): jitter_buffer: Optional[Annotated[int, Field(le=150, strict=True, ge=0)]] = Field(default=40, description="De-jitter buffer size in seconds.", alias="jitterBuffer") num_path_traces: Optional[Annotated[int, Field(le=10, strict=True, ge=1)]] = Field(default=3, description="Number of path traces executed by the agent.", alias="numPathTraces") port: Optional[Annotated[int, Field(le=65535, strict=True, ge=1024)]] = Field(default=None, description="Port number for the chosen protocol.") + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") target_agent_id: StrictStr = Field(description="Agent ID of the target agent for the test.", alias="targetAgentId") bgp_measurements: Optional[StrictBool] = Field(default=True, description="Set to `true` to enable bgp measurements.", alias="bgpMeasurements") use_public_bgp: Optional[StrictBool] = Field(default=True, description="Indicate if all available public BGP monitors should be used, when ommited defaults to `bgpMeasurements` value.", alias="usePublicBgp") - __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "codec", "codecId", "dscp", "dscpId", "duration", "jitterBuffer", "numPathTraces", "port", "targetAgentId", "bgpMeasurements", "usePublicBgp"] + __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "codec", "codecId", "dscp", "dscpId", "duration", "jitterBuffer", "numPathTraces", "port", "randomizedStartTime", "targetAgentId", "bgpMeasurements", "usePublicBgp"] model_config = ConfigDict( populate_by_name=True, @@ -154,6 +155,7 @@ class UnexpandedVoiceTest(BaseModel): "jitterBuffer": obj.get("jitterBuffer") if obj.get("jitterBuffer") is not None else 40, "numPathTraces": obj.get("numPathTraces") if obj.get("numPathTraces") is not None else 3, "port": obj.get("port"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "targetAgentId": obj.get("targetAgentId"), "bgpMeasurements": obj.get("bgpMeasurements") if obj.get("bgpMeasurements") is not None else True, "usePublicBgp": obj.get("usePublicBgp") if obj.get("usePublicBgp") is not None else True diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/unexpanded_web_transaction_test.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/unexpanded_web_transaction_test.py index f3c1d3a5..6008fa0e 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/unexpanded_web_transaction_test.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/unexpanded_web_transaction_test.py @@ -97,10 +97,11 @@ class UnexpandedWebTransactionTest(BaseModel): allow_geolocation: Optional[StrictBool] = Field(default=False, description="Set true to use the agent’s geolocation by the web page.", alias="allowGeolocation") browser_language: Optional[StrictStr] = Field(default=None, description="Set one of the available browser language that you want to use to configure the browser.", alias="browserLanguage") page_loading_strategy: Optional[TestPageLoadingStrategy] = Field(default=None, alias="pageLoadingStrategy") + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") subinterval: Optional[TestSubInterval] = None bgp_measurements: Optional[StrictBool] = Field(default=True, description="Set to `true` to enable bgp measurements.", alias="bgpMeasurements") use_public_bgp: Optional[StrictBool] = Field(default=True, description="Indicate if all available public BGP monitors should be used, when ommited defaults to `bgpMeasurements` value.", alias="usePublicBgp") - __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "authType", "agentInterfaces", "bandwidthMeasurements", "clientCertificate", "contentRegex", "customHeaders", "desiredStatusCode", "downloadLimit", "dnsOverride", "httpTargetTime", "httpTimeLimit", "httpVersion", "includeHeaders", "mtuMeasurements", "networkMeasurements", "numPathTraces", "oAuth", "password", "pathTraceMode", "probeMode", "protocol", "sslVersion", "sslVersionId", "url", "useNtlm", "userAgent", "username", "verifyCertificate", "allowUnsafeLegacyRenegotiation", "followRedirects", "fixedPacketRate", "overrideAgentProxy", "overrideProxyId", "collectProxyNetworkData", "emulatedDeviceId", "targetTime", "timeLimit", "transactionScript", "blockDomains", "disableScreenshot", "allowMicAndCamera", "allowGeolocation", "browserLanguage", "pageLoadingStrategy", "subinterval", "bgpMeasurements", "usePublicBgp"] + __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "authType", "agentInterfaces", "bandwidthMeasurements", "clientCertificate", "contentRegex", "customHeaders", "desiredStatusCode", "downloadLimit", "dnsOverride", "httpTargetTime", "httpTimeLimit", "httpVersion", "includeHeaders", "mtuMeasurements", "networkMeasurements", "numPathTraces", "oAuth", "password", "pathTraceMode", "probeMode", "protocol", "sslVersion", "sslVersionId", "url", "useNtlm", "userAgent", "username", "verifyCertificate", "allowUnsafeLegacyRenegotiation", "followRedirects", "fixedPacketRate", "overrideAgentProxy", "overrideProxyId", "collectProxyNetworkData", "emulatedDeviceId", "targetTime", "timeLimit", "transactionScript", "blockDomains", "disableScreenshot", "allowMicAndCamera", "allowGeolocation", "browserLanguage", "pageLoadingStrategy", "randomizedStartTime", "subinterval", "bgpMeasurements", "usePublicBgp"] model_config = ConfigDict( populate_by_name=True, @@ -242,6 +243,7 @@ class UnexpandedWebTransactionTest(BaseModel): "allowGeolocation": obj.get("allowGeolocation") if obj.get("allowGeolocation") is not None else False, "browserLanguage": obj.get("browserLanguage"), "pageLoadingStrategy": obj.get("pageLoadingStrategy"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "subinterval": obj.get("subinterval"), "bgpMeasurements": obj.get("bgpMeasurements") if obj.get("bgpMeasurements") is not None else True, "usePublicBgp": obj.get("usePublicBgp") if obj.get("usePublicBgp") is not None else True diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/update_sip_server_test.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/update_sip_server_test.py index a2195f9a..9cecd083 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/update_sip_server_test.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/update_sip_server_test.py @@ -60,6 +60,7 @@ class UpdateSipServerTest(BaseModel): options_regex: Optional[StrictStr] = Field(default=None, description="Options regex, this field does not require escaping.", alias="optionsRegex") path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode") probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode") + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") register_enabled: Optional[StrictBool] = Field(default=False, description="Set to true to perform SIP registration on the test target with the SIP REGISTER command.", alias="registerEnabled") sip_target_time: Optional[Annotated[int, Field(le=5000, strict=True, ge=100)]] = Field(default=None, description="Target time for test completion in milliseconds.", alias="sipTargetTime") sip_time_limit: Optional[Annotated[int, Field(le=10, strict=True, ge=5)]] = Field(default=5, description="Time limit in milliseconds.", alias="sipTimeLimit") @@ -69,7 +70,7 @@ class UpdateSipServerTest(BaseModel): use_public_bgp: Optional[StrictBool] = Field(default=True, description="Indicate if all available public BGP monitors should be used, when ommited defaults to `bgpMeasurements` value.", alias="usePublicBgp") monitors: Optional[List[Monitor]] = Field(default=None, description="Contains list of enabled BGP monitors.") target_sip_credentials: TestSipCredentials = Field(alias="targetSipCredentials") - __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "mtuMeasurements", "networkMeasurements", "numPathTraces", "optionsRegex", "pathTraceMode", "probeMode", "registerEnabled", "sipTargetTime", "sipTimeLimit", "fixedPacketRate", "ipv6Policy", "bgpMeasurements", "usePublicBgp", "monitors", "targetSipCredentials"] + __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "mtuMeasurements", "networkMeasurements", "numPathTraces", "optionsRegex", "pathTraceMode", "probeMode", "randomizedStartTime", "registerEnabled", "sipTargetTime", "sipTimeLimit", "fixedPacketRate", "ipv6Policy", "bgpMeasurements", "usePublicBgp", "monitors", "targetSipCredentials"] model_config = ConfigDict( populate_by_name=True, @@ -202,6 +203,7 @@ class UpdateSipServerTest(BaseModel): "optionsRegex": obj.get("optionsRegex"), "pathTraceMode": obj.get("pathTraceMode"), "probeMode": obj.get("probeMode"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "registerEnabled": obj.get("registerEnabled") if obj.get("registerEnabled") is not None else False, "sipTargetTime": obj.get("sipTargetTime"), "sipTimeLimit": obj.get("sipTimeLimit") if obj.get("sipTimeLimit") is not None else 5, diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/voice_instant_test.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/voice_instant_test.py index 97f3452e..de61e8b6 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/voice_instant_test.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/voice_instant_test.py @@ -52,8 +52,9 @@ class VoiceInstantTest(BaseModel): jitter_buffer: Optional[Annotated[int, Field(le=150, strict=True, ge=0)]] = Field(default=40, description="De-jitter buffer size in seconds.", alias="jitterBuffer") num_path_traces: Optional[Annotated[int, Field(le=10, strict=True, ge=1)]] = Field(default=3, description="Number of path traces executed by the agent.", alias="numPathTraces") port: Optional[Annotated[int, Field(le=65535, strict=True, ge=1024)]] = Field(default=None, description="Port number for the chosen protocol.") + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") target_agent_id: StrictStr = Field(description="Agent ID of the target agent for the test.", alias="targetAgentId") - __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "codec", "codecId", "dscp", "dscpId", "duration", "jitterBuffer", "numPathTraces", "port", "targetAgentId"] + __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "codec", "codecId", "dscp", "dscpId", "duration", "jitterBuffer", "numPathTraces", "port", "randomizedStartTime", "targetAgentId"] model_config = ConfigDict( populate_by_name=True, @@ -169,6 +170,7 @@ class VoiceInstantTest(BaseModel): "jitterBuffer": obj.get("jitterBuffer") if obj.get("jitterBuffer") is not None else 40, "numPathTraces": obj.get("numPathTraces") if obj.get("numPathTraces") is not None else 3, "port": obj.get("port"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "targetAgentId": obj.get("targetAgentId") }) return _obj diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/voice_properties.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/voice_properties.py index 71d6d4a7..5f712bff 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/voice_properties.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/voice_properties.py @@ -16,7 +16,7 @@ import pprint import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated from thousandeyes_sdk.tests.models.test_dscp_id import TestDscpId @@ -35,9 +35,10 @@ class VoiceProperties(BaseModel): jitter_buffer: Optional[Annotated[int, Field(le=150, strict=True, ge=0)]] = Field(default=40, description="De-jitter buffer size in seconds.", alias="jitterBuffer") num_path_traces: Optional[Annotated[int, Field(le=10, strict=True, ge=1)]] = Field(default=3, description="Number of path traces executed by the agent.", alias="numPathTraces") port: Optional[Annotated[int, Field(le=65535, strict=True, ge=1024)]] = Field(default=None, description="Port number for the chosen protocol.") + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") target_agent_id: StrictStr = Field(description="Agent ID of the target agent for the test.", alias="targetAgentId") type: Optional[StrictStr] = None - __properties: ClassVar[List[str]] = ["codec", "codecId", "dscp", "dscpId", "duration", "jitterBuffer", "numPathTraces", "port", "targetAgentId", "type"] + __properties: ClassVar[List[str]] = ["codec", "codecId", "dscp", "dscpId", "duration", "jitterBuffer", "numPathTraces", "port", "randomizedStartTime", "targetAgentId", "type"] model_config = ConfigDict( populate_by_name=True, @@ -105,6 +106,7 @@ class VoiceProperties(BaseModel): "jitterBuffer": obj.get("jitterBuffer") if obj.get("jitterBuffer") is not None else 40, "numPathTraces": obj.get("numPathTraces") if obj.get("numPathTraces") is not None else 3, "port": obj.get("port"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "targetAgentId": obj.get("targetAgentId"), "type": obj.get("type") }) diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/voice_test.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/voice_test.py index 99f95d52..8ae293d3 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/voice_test.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/voice_test.py @@ -59,11 +59,12 @@ class VoiceTest(BaseModel): jitter_buffer: Optional[Annotated[int, Field(le=150, strict=True, ge=0)]] = Field(default=40, description="De-jitter buffer size in seconds.", alias="jitterBuffer") num_path_traces: Optional[Annotated[int, Field(le=10, strict=True, ge=1)]] = Field(default=3, description="Number of path traces executed by the agent.", alias="numPathTraces") port: Optional[Annotated[int, Field(le=65535, strict=True, ge=1024)]] = Field(default=None, description="Port number for the chosen protocol.") + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") target_agent_id: StrictStr = Field(description="Agent ID of the target agent for the test.", alias="targetAgentId") bgp_measurements: Optional[StrictBool] = Field(default=True, description="Set to `true` to enable bgp measurements.", alias="bgpMeasurements") use_public_bgp: Optional[StrictBool] = Field(default=True, description="Indicate if all available public BGP monitors should be used, when ommited defaults to `bgpMeasurements` value.", alias="usePublicBgp") monitors: Optional[List[Monitor]] = Field(default=None, description="Contains list of enabled BGP monitors.") - __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "codec", "codecId", "dscp", "dscpId", "duration", "jitterBuffer", "numPathTraces", "port", "targetAgentId", "bgpMeasurements", "usePublicBgp", "monitors"] + __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "codec", "codecId", "dscp", "dscpId", "duration", "jitterBuffer", "numPathTraces", "port", "randomizedStartTime", "targetAgentId", "bgpMeasurements", "usePublicBgp", "monitors"] model_config = ConfigDict( populate_by_name=True, @@ -199,6 +200,7 @@ class VoiceTest(BaseModel): "jitterBuffer": obj.get("jitterBuffer") if obj.get("jitterBuffer") is not None else 40, "numPathTraces": obj.get("numPathTraces") if obj.get("numPathTraces") is not None else 3, "port": obj.get("port"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "targetAgentId": obj.get("targetAgentId"), "bgpMeasurements": obj.get("bgpMeasurements") if obj.get("bgpMeasurements") is not None else True, "usePublicBgp": obj.get("usePublicBgp") if obj.get("usePublicBgp") is not None else True, diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/voice_test_request.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/voice_test_request.py index c22bc361..83cc9bc9 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/voice_test_request.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/voice_test_request.py @@ -57,12 +57,13 @@ class VoiceTestRequest(BaseModel): jitter_buffer: Optional[Annotated[int, Field(le=150, strict=True, ge=0)]] = Field(default=40, description="De-jitter buffer size in seconds.", alias="jitterBuffer") num_path_traces: Optional[Annotated[int, Field(le=10, strict=True, ge=1)]] = Field(default=3, description="Number of path traces executed by the agent.", alias="numPathTraces") port: Optional[Annotated[int, Field(le=65535, strict=True, ge=1024)]] = Field(default=None, description="Port number for the chosen protocol.") + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") target_agent_id: StrictStr = Field(description="Agent ID of the target agent for the test.", alias="targetAgentId") bgp_measurements: Optional[StrictBool] = Field(default=True, description="Set to `true` to enable bgp measurements.", alias="bgpMeasurements") use_public_bgp: Optional[StrictBool] = Field(default=True, description="Indicate if all available public BGP monitors should be used, when ommited defaults to `bgpMeasurements` value.", alias="usePublicBgp") monitors: Optional[List[Monitor]] = Field(default=None, description="Contains list of enabled BGP monitors.") agents: List[TestAgentRequest] = Field(description="Contains list of Agent IDs (get `agentId` from `/agents` endpoint).") - __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "codec", "codecId", "dscp", "dscpId", "duration", "jitterBuffer", "numPathTraces", "port", "targetAgentId", "bgpMeasurements", "usePublicBgp", "monitors", "agents"] + __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "codec", "codecId", "dscp", "dscpId", "duration", "jitterBuffer", "numPathTraces", "port", "randomizedStartTime", "targetAgentId", "bgpMeasurements", "usePublicBgp", "monitors", "agents"] model_config = ConfigDict( populate_by_name=True, @@ -180,6 +181,7 @@ class VoiceTestRequest(BaseModel): "jitterBuffer": obj.get("jitterBuffer") if obj.get("jitterBuffer") is not None else 40, "numPathTraces": obj.get("numPathTraces") if obj.get("numPathTraces") is not None else 3, "port": obj.get("port"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "targetAgentId": obj.get("targetAgentId"), "bgpMeasurements": obj.get("bgpMeasurements") if obj.get("bgpMeasurements") is not None else True, "usePublicBgp": obj.get("usePublicBgp") if obj.get("usePublicBgp") is not None else True, diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/voice_test_response.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/voice_test_response.py index 6a247cec..7a9dbee9 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/voice_test_response.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/voice_test_response.py @@ -60,12 +60,13 @@ class VoiceTestResponse(BaseModel): jitter_buffer: Optional[Annotated[int, Field(le=150, strict=True, ge=0)]] = Field(default=40, description="De-jitter buffer size in seconds.", alias="jitterBuffer") num_path_traces: Optional[Annotated[int, Field(le=10, strict=True, ge=1)]] = Field(default=3, description="Number of path traces executed by the agent.", alias="numPathTraces") port: Optional[Annotated[int, Field(le=65535, strict=True, ge=1024)]] = Field(default=None, description="Port number for the chosen protocol.") + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") target_agent_id: StrictStr = Field(description="Agent ID of the target agent for the test.", alias="targetAgentId") bgp_measurements: Optional[StrictBool] = Field(default=True, description="Set to `true` to enable bgp measurements.", alias="bgpMeasurements") use_public_bgp: Optional[StrictBool] = Field(default=True, description="Indicate if all available public BGP monitors should be used, when ommited defaults to `bgpMeasurements` value.", alias="usePublicBgp") monitors: Optional[List[Monitor]] = Field(default=None, description="Contains list of enabled BGP monitors.") agents: Optional[List[AgentResponse]] = Field(default=None, description="Contains list of agents.") - __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "codec", "codecId", "dscp", "dscpId", "duration", "jitterBuffer", "numPathTraces", "port", "targetAgentId", "bgpMeasurements", "usePublicBgp", "monitors", "agents"] + __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "codec", "codecId", "dscp", "dscpId", "duration", "jitterBuffer", "numPathTraces", "port", "randomizedStartTime", "targetAgentId", "bgpMeasurements", "usePublicBgp", "monitors", "agents"] model_config = ConfigDict( populate_by_name=True, @@ -208,6 +209,7 @@ class VoiceTestResponse(BaseModel): "jitterBuffer": obj.get("jitterBuffer") if obj.get("jitterBuffer") is not None else 40, "numPathTraces": obj.get("numPathTraces") if obj.get("numPathTraces") is not None else 3, "port": obj.get("port"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "targetAgentId": obj.get("targetAgentId"), "bgpMeasurements": obj.get("bgpMeasurements") if obj.get("bgpMeasurements") is not None else True, "usePublicBgp": obj.get("usePublicBgp") if obj.get("usePublicBgp") is not None else True, diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/web_transaction_instant_test.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/web_transaction_instant_test.py index 9325145d..66bd5563 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/web_transaction_instant_test.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/web_transaction_instant_test.py @@ -96,8 +96,9 @@ class WebTransactionInstantTest(BaseModel): allow_geolocation: Optional[StrictBool] = Field(default=False, description="Set true to use the agent’s geolocation by the web page.", alias="allowGeolocation") browser_language: Optional[StrictStr] = Field(default=None, description="Set one of the available browser language that you want to use to configure the browser.", alias="browserLanguage") page_loading_strategy: Optional[TestPageLoadingStrategy] = Field(default=None, alias="pageLoadingStrategy") + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") credentials: Optional[List[StrictStr]] = Field(default=None, description="Contains a list of credential IDs (get `credentialId` from `/credentials` endpoint).") - __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "authType", "agentInterfaces", "bandwidthMeasurements", "clientCertificate", "contentRegex", "customHeaders", "desiredStatusCode", "downloadLimit", "dnsOverride", "httpTargetTime", "httpTimeLimit", "httpVersion", "includeHeaders", "mtuMeasurements", "networkMeasurements", "numPathTraces", "oAuth", "password", "pathTraceMode", "probeMode", "protocol", "sslVersion", "sslVersionId", "url", "useNtlm", "userAgent", "username", "verifyCertificate", "allowUnsafeLegacyRenegotiation", "followRedirects", "fixedPacketRate", "overrideAgentProxy", "overrideProxyId", "collectProxyNetworkData", "emulatedDeviceId", "targetTime", "timeLimit", "transactionScript", "blockDomains", "disableScreenshot", "allowMicAndCamera", "allowGeolocation", "browserLanguage", "pageLoadingStrategy", "credentials"] + __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "authType", "agentInterfaces", "bandwidthMeasurements", "clientCertificate", "contentRegex", "customHeaders", "desiredStatusCode", "downloadLimit", "dnsOverride", "httpTargetTime", "httpTimeLimit", "httpVersion", "includeHeaders", "mtuMeasurements", "networkMeasurements", "numPathTraces", "oAuth", "password", "pathTraceMode", "probeMode", "protocol", "sslVersion", "sslVersionId", "url", "useNtlm", "userAgent", "username", "verifyCertificate", "allowUnsafeLegacyRenegotiation", "followRedirects", "fixedPacketRate", "overrideAgentProxy", "overrideProxyId", "collectProxyNetworkData", "emulatedDeviceId", "targetTime", "timeLimit", "transactionScript", "blockDomains", "disableScreenshot", "allowMicAndCamera", "allowGeolocation", "browserLanguage", "pageLoadingStrategy", "randomizedStartTime", "credentials"] model_config = ConfigDict( populate_by_name=True, @@ -256,6 +257,7 @@ class WebTransactionInstantTest(BaseModel): "allowGeolocation": obj.get("allowGeolocation") if obj.get("allowGeolocation") is not None else False, "browserLanguage": obj.get("browserLanguage"), "pageLoadingStrategy": obj.get("pageLoadingStrategy"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "credentials": obj.get("credentials") }) return _obj diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/web_transaction_properties.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/web_transaction_properties.py index 23553b98..d7955c27 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/web_transaction_properties.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/web_transaction_properties.py @@ -79,8 +79,9 @@ class WebTransactionProperties(BaseModel): allow_geolocation: Optional[StrictBool] = Field(default=False, description="Set true to use the agent’s geolocation by the web page.", alias="allowGeolocation") browser_language: Optional[StrictStr] = Field(default=None, description="Set one of the available browser language that you want to use to configure the browser.", alias="browserLanguage") page_loading_strategy: Optional[TestPageLoadingStrategy] = Field(default=None, alias="pageLoadingStrategy") + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") type: Optional[StrictStr] = None - __properties: ClassVar[List[str]] = ["authType", "agentInterfaces", "bandwidthMeasurements", "clientCertificate", "contentRegex", "customHeaders", "desiredStatusCode", "downloadLimit", "dnsOverride", "httpTargetTime", "httpTimeLimit", "httpVersion", "includeHeaders", "mtuMeasurements", "networkMeasurements", "numPathTraces", "oAuth", "password", "pathTraceMode", "probeMode", "protocol", "sslVersion", "sslVersionId", "url", "useNtlm", "userAgent", "username", "verifyCertificate", "allowUnsafeLegacyRenegotiation", "followRedirects", "fixedPacketRate", "overrideAgentProxy", "overrideProxyId", "collectProxyNetworkData", "emulatedDeviceId", "targetTime", "timeLimit", "transactionScript", "blockDomains", "disableScreenshot", "allowMicAndCamera", "allowGeolocation", "browserLanguage", "pageLoadingStrategy", "type"] + __properties: ClassVar[List[str]] = ["authType", "agentInterfaces", "bandwidthMeasurements", "clientCertificate", "contentRegex", "customHeaders", "desiredStatusCode", "downloadLimit", "dnsOverride", "httpTargetTime", "httpTimeLimit", "httpVersion", "includeHeaders", "mtuMeasurements", "networkMeasurements", "numPathTraces", "oAuth", "password", "pathTraceMode", "probeMode", "protocol", "sslVersion", "sslVersionId", "url", "useNtlm", "userAgent", "username", "verifyCertificate", "allowUnsafeLegacyRenegotiation", "followRedirects", "fixedPacketRate", "overrideAgentProxy", "overrideProxyId", "collectProxyNetworkData", "emulatedDeviceId", "targetTime", "timeLimit", "transactionScript", "blockDomains", "disableScreenshot", "allowMicAndCamera", "allowGeolocation", "browserLanguage", "pageLoadingStrategy", "randomizedStartTime", "type"] model_config = ConfigDict( populate_by_name=True, @@ -191,6 +192,7 @@ class WebTransactionProperties(BaseModel): "allowGeolocation": obj.get("allowGeolocation") if obj.get("allowGeolocation") is not None else False, "browserLanguage": obj.get("browserLanguage"), "pageLoadingStrategy": obj.get("pageLoadingStrategy"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "type": obj.get("type") }) return _obj diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/web_transaction_test.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/web_transaction_test.py index 18a883c6..8009fefa 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/web_transaction_test.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/web_transaction_test.py @@ -104,12 +104,13 @@ class WebTransactionTest(BaseModel): allow_geolocation: Optional[StrictBool] = Field(default=False, description="Set true to use the agent’s geolocation by the web page.", alias="allowGeolocation") browser_language: Optional[StrictStr] = Field(default=None, description="Set one of the available browser language that you want to use to configure the browser.", alias="browserLanguage") page_loading_strategy: Optional[TestPageLoadingStrategy] = Field(default=None, alias="pageLoadingStrategy") + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") credentials: Optional[List[StrictStr]] = Field(default=None, description="Contains a list of credential IDs (get `credentialId` from `/credentials` endpoint).") bgp_measurements: Optional[StrictBool] = Field(default=True, description="Set to `true` to enable bgp measurements.", alias="bgpMeasurements") use_public_bgp: Optional[StrictBool] = Field(default=True, description="Indicate if all available public BGP monitors should be used, when ommited defaults to `bgpMeasurements` value.", alias="usePublicBgp") monitors: Optional[List[Monitor]] = Field(default=None, description="Contains list of enabled BGP monitors.") subinterval: Optional[TestSubInterval] = None - __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "authType", "agentInterfaces", "bandwidthMeasurements", "clientCertificate", "contentRegex", "customHeaders", "desiredStatusCode", "downloadLimit", "dnsOverride", "httpTargetTime", "httpTimeLimit", "httpVersion", "includeHeaders", "mtuMeasurements", "networkMeasurements", "numPathTraces", "oAuth", "password", "pathTraceMode", "probeMode", "protocol", "sslVersion", "sslVersionId", "url", "useNtlm", "userAgent", "username", "verifyCertificate", "allowUnsafeLegacyRenegotiation", "followRedirects", "fixedPacketRate", "overrideAgentProxy", "overrideProxyId", "collectProxyNetworkData", "emulatedDeviceId", "targetTime", "timeLimit", "transactionScript", "blockDomains", "disableScreenshot", "allowMicAndCamera", "allowGeolocation", "browserLanguage", "pageLoadingStrategy", "credentials", "bgpMeasurements", "usePublicBgp", "monitors", "subinterval"] + __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "authType", "agentInterfaces", "bandwidthMeasurements", "clientCertificate", "contentRegex", "customHeaders", "desiredStatusCode", "downloadLimit", "dnsOverride", "httpTargetTime", "httpTimeLimit", "httpVersion", "includeHeaders", "mtuMeasurements", "networkMeasurements", "numPathTraces", "oAuth", "password", "pathTraceMode", "probeMode", "protocol", "sslVersion", "sslVersionId", "url", "useNtlm", "userAgent", "username", "verifyCertificate", "allowUnsafeLegacyRenegotiation", "followRedirects", "fixedPacketRate", "overrideAgentProxy", "overrideProxyId", "collectProxyNetworkData", "emulatedDeviceId", "targetTime", "timeLimit", "transactionScript", "blockDomains", "disableScreenshot", "allowMicAndCamera", "allowGeolocation", "browserLanguage", "pageLoadingStrategy", "randomizedStartTime", "credentials", "bgpMeasurements", "usePublicBgp", "monitors", "subinterval"] model_config = ConfigDict( populate_by_name=True, @@ -288,6 +289,7 @@ class WebTransactionTest(BaseModel): "allowGeolocation": obj.get("allowGeolocation") if obj.get("allowGeolocation") is not None else False, "browserLanguage": obj.get("browserLanguage"), "pageLoadingStrategy": obj.get("pageLoadingStrategy"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "credentials": obj.get("credentials"), "bgpMeasurements": obj.get("bgpMeasurements") if obj.get("bgpMeasurements") is not None else True, "usePublicBgp": obj.get("usePublicBgp") if obj.get("usePublicBgp") is not None else True, diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/web_transaction_test_request.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/web_transaction_test_request.py index 716451a7..3eba52a5 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/web_transaction_test_request.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/web_transaction_test_request.py @@ -101,13 +101,14 @@ class WebTransactionTestRequest(BaseModel): allow_geolocation: Optional[StrictBool] = Field(default=False, description="Set true to use the agent’s geolocation by the web page.", alias="allowGeolocation") browser_language: Optional[StrictStr] = Field(default=None, description="Set one of the available browser language that you want to use to configure the browser.", alias="browserLanguage") page_loading_strategy: Optional[TestPageLoadingStrategy] = Field(default=None, alias="pageLoadingStrategy") + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") credentials: Optional[List[StrictStr]] = Field(default=None, description="Contains a list of credential IDs (get `credentialId` from `/credentials` endpoint).") bgp_measurements: Optional[StrictBool] = Field(default=True, description="Set to `true` to enable bgp measurements.", alias="bgpMeasurements") use_public_bgp: Optional[StrictBool] = Field(default=True, description="Indicate if all available public BGP monitors should be used, when ommited defaults to `bgpMeasurements` value.", alias="usePublicBgp") monitors: Optional[List[StrictStr]] = Field(default=None, description="Contains list of BGP monitor IDs (get `monitorId` from `/monitors` endpoint)") subinterval: Optional[TestSubInterval] = None agents: List[TestAgentRequest] = Field(description="Contains list of Agent IDs (get `agentId` from `/agents` endpoint).") - __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "authType", "agentInterfaces", "bandwidthMeasurements", "clientCertificate", "contentRegex", "customHeaders", "desiredStatusCode", "downloadLimit", "dnsOverride", "httpTargetTime", "httpTimeLimit", "httpVersion", "includeHeaders", "mtuMeasurements", "networkMeasurements", "numPathTraces", "oAuth", "password", "pathTraceMode", "probeMode", "protocol", "sslVersion", "sslVersionId", "url", "useNtlm", "userAgent", "username", "verifyCertificate", "allowUnsafeLegacyRenegotiation", "followRedirects", "fixedPacketRate", "overrideAgentProxy", "overrideProxyId", "collectProxyNetworkData", "emulatedDeviceId", "targetTime", "timeLimit", "transactionScript", "blockDomains", "disableScreenshot", "allowMicAndCamera", "allowGeolocation", "browserLanguage", "pageLoadingStrategy", "credentials", "bgpMeasurements", "usePublicBgp", "monitors", "subinterval", "agents"] + __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "authType", "agentInterfaces", "bandwidthMeasurements", "clientCertificate", "contentRegex", "customHeaders", "desiredStatusCode", "downloadLimit", "dnsOverride", "httpTargetTime", "httpTimeLimit", "httpVersion", "includeHeaders", "mtuMeasurements", "networkMeasurements", "numPathTraces", "oAuth", "password", "pathTraceMode", "probeMode", "protocol", "sslVersion", "sslVersionId", "url", "useNtlm", "userAgent", "username", "verifyCertificate", "allowUnsafeLegacyRenegotiation", "followRedirects", "fixedPacketRate", "overrideAgentProxy", "overrideProxyId", "collectProxyNetworkData", "emulatedDeviceId", "targetTime", "timeLimit", "transactionScript", "blockDomains", "disableScreenshot", "allowMicAndCamera", "allowGeolocation", "browserLanguage", "pageLoadingStrategy", "randomizedStartTime", "credentials", "bgpMeasurements", "usePublicBgp", "monitors", "subinterval", "agents"] model_config = ConfigDict( populate_by_name=True, @@ -259,6 +260,7 @@ class WebTransactionTestRequest(BaseModel): "allowGeolocation": obj.get("allowGeolocation") if obj.get("allowGeolocation") is not None else False, "browserLanguage": obj.get("browserLanguage"), "pageLoadingStrategy": obj.get("pageLoadingStrategy"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "credentials": obj.get("credentials"), "bgpMeasurements": obj.get("bgpMeasurements") if obj.get("bgpMeasurements") is not None else True, "usePublicBgp": obj.get("usePublicBgp") if obj.get("usePublicBgp") is not None else True, diff --git a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/web_transaction_test_response.py b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/web_transaction_test_response.py index c6a28030..ca3f93a2 100644 --- a/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/web_transaction_test_response.py +++ b/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/web_transaction_test_response.py @@ -105,13 +105,14 @@ class WebTransactionTestResponse(BaseModel): allow_geolocation: Optional[StrictBool] = Field(default=False, description="Set true to use the agent’s geolocation by the web page.", alias="allowGeolocation") browser_language: Optional[StrictStr] = Field(default=None, description="Set one of the available browser language that you want to use to configure the browser.", alias="browserLanguage") page_loading_strategy: Optional[TestPageLoadingStrategy] = Field(default=None, alias="pageLoadingStrategy") + randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime") credentials: Optional[List[StrictStr]] = Field(default=None, description="Contains a list of credential IDs (get `credentialId` from `/credentials` endpoint).") bgp_measurements: Optional[StrictBool] = Field(default=True, description="Set to `true` to enable bgp measurements.", alias="bgpMeasurements") use_public_bgp: Optional[StrictBool] = Field(default=True, description="Indicate if all available public BGP monitors should be used, when ommited defaults to `bgpMeasurements` value.", alias="usePublicBgp") monitors: Optional[List[Monitor]] = Field(default=None, description="Contains list of enabled BGP monitors.") subinterval: Optional[TestSubInterval] = None agents: Optional[List[AgentResponse]] = Field(default=None, description="Contains list of agents.") - __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "authType", "agentInterfaces", "bandwidthMeasurements", "clientCertificate", "contentRegex", "customHeaders", "desiredStatusCode", "downloadLimit", "dnsOverride", "httpTargetTime", "httpTimeLimit", "httpVersion", "includeHeaders", "mtuMeasurements", "networkMeasurements", "numPathTraces", "oAuth", "password", "pathTraceMode", "probeMode", "protocol", "sslVersion", "sslVersionId", "url", "useNtlm", "userAgent", "username", "verifyCertificate", "allowUnsafeLegacyRenegotiation", "followRedirects", "fixedPacketRate", "overrideAgentProxy", "overrideProxyId", "collectProxyNetworkData", "emulatedDeviceId", "targetTime", "timeLimit", "transactionScript", "blockDomains", "disableScreenshot", "allowMicAndCamera", "allowGeolocation", "browserLanguage", "pageLoadingStrategy", "credentials", "bgpMeasurements", "usePublicBgp", "monitors", "subinterval", "agents"] + __properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "authType", "agentInterfaces", "bandwidthMeasurements", "clientCertificate", "contentRegex", "customHeaders", "desiredStatusCode", "downloadLimit", "dnsOverride", "httpTargetTime", "httpTimeLimit", "httpVersion", "includeHeaders", "mtuMeasurements", "networkMeasurements", "numPathTraces", "oAuth", "password", "pathTraceMode", "probeMode", "protocol", "sslVersion", "sslVersionId", "url", "useNtlm", "userAgent", "username", "verifyCertificate", "allowUnsafeLegacyRenegotiation", "followRedirects", "fixedPacketRate", "overrideAgentProxy", "overrideProxyId", "collectProxyNetworkData", "emulatedDeviceId", "targetTime", "timeLimit", "transactionScript", "blockDomains", "disableScreenshot", "allowMicAndCamera", "allowGeolocation", "browserLanguage", "pageLoadingStrategy", "randomizedStartTime", "credentials", "bgpMeasurements", "usePublicBgp", "monitors", "subinterval", "agents"] model_config = ConfigDict( populate_by_name=True, @@ -297,6 +298,7 @@ class WebTransactionTestResponse(BaseModel): "allowGeolocation": obj.get("allowGeolocation") if obj.get("allowGeolocation") is not None else False, "browserLanguage": obj.get("browserLanguage"), "pageLoadingStrategy": obj.get("pageLoadingStrategy"), + "randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False, "credentials": obj.get("credentials"), "bgpMeasurements": obj.get("bgpMeasurements") if obj.get("bgpMeasurements") is not None else True, "usePublicBgp": obj.get("usePublicBgp") if obj.get("usePublicBgp") is not None else True, diff --git a/thousandeyes-sdk-tests/test/test_agent_to_agent_tests_api.py b/thousandeyes-sdk-tests/test/test_agent_to_agent_tests_api.py index 61946776..88ea2929 100644 --- a/thousandeyes-sdk-tests/test/test_agent_to_agent_tests_api.py +++ b/thousandeyes-sdk-tests/test/test_agent_to_agent_tests_api.py @@ -82,6 +82,7 @@ class TestAgentToAgentTestsApi(unittest.TestCase): "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", "port" : 49153, + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "targetAgentId" : "2954", "interval" : 60, @@ -200,6 +201,7 @@ class TestAgentToAgentTestsApi(unittest.TestCase): "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", "port" : 49153, + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "targetAgentId" : "2954", "interval" : 60, @@ -345,6 +347,7 @@ class TestAgentToAgentTestsApi(unittest.TestCase): "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", "port" : 49153, + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "targetAgentId" : "2954", "interval" : 60, @@ -424,6 +427,7 @@ class TestAgentToAgentTestsApi(unittest.TestCase): "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", "port" : 49153, + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "targetAgentId" : "2954", "interval" : 60, @@ -470,6 +474,7 @@ class TestAgentToAgentTestsApi(unittest.TestCase): "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", "port" : 49153, + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "targetAgentId" : "2954", "interval" : 60, @@ -547,6 +552,7 @@ class TestAgentToAgentTestsApi(unittest.TestCase): "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", "port" : 49153, + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "targetAgentId" : "2954", "interval" : 60, @@ -665,6 +671,7 @@ class TestAgentToAgentTestsApi(unittest.TestCase): "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", "port" : 49153, + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "targetAgentId" : "2954", "interval" : 60, diff --git a/thousandeyes-sdk-tests/test/test_agent_to_server_tests_api.py b/thousandeyes-sdk-tests/test/test_agent_to_server_tests_api.py index 66234192..29b45c56 100644 --- a/thousandeyes-sdk-tests/test/test_agent_to_server_tests_api.py +++ b/thousandeyes-sdk-tests/test/test_agent_to_server_tests_api.py @@ -83,6 +83,7 @@ class TestAgentToServerTestsApi(unittest.TestCase): "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", "port" : 49153, + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, "testId" : "281474976710706", @@ -203,6 +204,7 @@ class TestAgentToServerTestsApi(unittest.TestCase): "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", "port" : 49153, + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, "testId" : "281474976710706", @@ -350,6 +352,7 @@ class TestAgentToServerTestsApi(unittest.TestCase): "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", "port" : 49153, + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, "testId" : "281474976710706", @@ -431,6 +434,7 @@ class TestAgentToServerTestsApi(unittest.TestCase): "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", "port" : 49153, + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, "testId" : "281474976710706", @@ -479,6 +483,7 @@ class TestAgentToServerTestsApi(unittest.TestCase): "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", "port" : 49153, + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, "testId" : "281474976710706", @@ -558,6 +563,7 @@ class TestAgentToServerTestsApi(unittest.TestCase): "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", "port" : 49153, + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, "testId" : "281474976710706", @@ -678,6 +684,7 @@ class TestAgentToServerTestsApi(unittest.TestCase): "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", "port" : 49153, + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, "testId" : "281474976710706", diff --git a/thousandeyes-sdk-tests/test/test_api_tests_api.py b/thousandeyes-sdk-tests/test/test_api_tests_api.py index 3a288094..569d1093 100644 --- a/thousandeyes-sdk-tests/test/test_api_tests_api.py +++ b/thousandeyes-sdk-tests/test/test_api_tests_api.py @@ -69,13 +69,18 @@ class TestAPITestsApi(unittest.TestCase): "name" : "myTestName", "value" : "tests[0].name" } ], + "clientId" : "client-id", + "tokenUrl" : "https://id.cisco.com/oauth2/default/v1/token", "method" : "get", "body" : "body", "url" : "https://api.thousandeyes.com/v7/status", "password" : "basic_pw123", "bearerToken" : "abcd-1234-...", + "scope" : "read, write, deploy", "name" : "Step 1", "waitTimeMs" : 0, + "clientAuthentication" : "basic-auth-header", + "clientSecret" : "client-secret", "assertions" : [ { "name" : "status-code", "value" : "200", @@ -103,13 +108,18 @@ class TestAPITestsApi(unittest.TestCase): "name" : "myTestName", "value" : "tests[0].name" } ], + "clientId" : "client-id", + "tokenUrl" : "https://id.cisco.com/oauth2/default/v1/token", "method" : "get", "body" : "body", "url" : "https://api.thousandeyes.com/v7/status", "password" : "basic_pw123", "bearerToken" : "abcd-1234-...", + "scope" : "read, write, deploy", "name" : "Step 1", "waitTimeMs" : 0, + "clientAuthentication" : "basic-auth-header", + "clientSecret" : "client-secret", "assertions" : [ { "name" : "status-code", "value" : "200", @@ -158,6 +168,7 @@ class TestAPITestsApi(unittest.TestCase): "timeLimit" : 19, "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, "testId" : "281474976710706", @@ -253,13 +264,18 @@ class TestAPITestsApi(unittest.TestCase): "name" : "myTestName", "value" : "tests[0].name" } ], + "clientId" : "client-id", + "tokenUrl" : "https://id.cisco.com/oauth2/default/v1/token", "method" : "get", "body" : "body", "url" : "https://api.thousandeyes.com/v7/status", "password" : "basic_pw123", "bearerToken" : "abcd-1234-...", + "scope" : "read, write, deploy", "name" : "Step 1", "waitTimeMs" : 0, + "clientAuthentication" : "basic-auth-header", + "clientSecret" : "client-secret", "assertions" : [ { "name" : "status-code", "value" : "200", @@ -287,13 +303,18 @@ class TestAPITestsApi(unittest.TestCase): "name" : "myTestName", "value" : "tests[0].name" } ], + "clientId" : "client-id", + "tokenUrl" : "https://id.cisco.com/oauth2/default/v1/token", "method" : "get", "body" : "body", "url" : "https://api.thousandeyes.com/v7/status", "password" : "basic_pw123", "bearerToken" : "abcd-1234-...", + "scope" : "read, write, deploy", "name" : "Step 1", "waitTimeMs" : 0, + "clientAuthentication" : "basic-auth-header", + "clientSecret" : "client-secret", "assertions" : [ { "name" : "status-code", "value" : "200", @@ -368,6 +389,7 @@ class TestAPITestsApi(unittest.TestCase): "timeLimit" : 19, "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, "testId" : "281474976710706", @@ -476,13 +498,18 @@ class TestAPITestsApi(unittest.TestCase): "name" : "myTestName", "value" : "tests[0].name" } ], + "clientId" : "client-id", + "tokenUrl" : "https://id.cisco.com/oauth2/default/v1/token", "method" : "get", "body" : "body", "url" : "https://api.thousandeyes.com/v7/status", "password" : "basic_pw123", "bearerToken" : "abcd-1234-...", + "scope" : "read, write, deploy", "name" : "Step 1", "waitTimeMs" : 0, + "clientAuthentication" : "basic-auth-header", + "clientSecret" : "client-secret", "assertions" : [ { "name" : "status-code", "value" : "200", @@ -510,13 +537,18 @@ class TestAPITestsApi(unittest.TestCase): "name" : "myTestName", "value" : "tests[0].name" } ], + "clientId" : "client-id", + "tokenUrl" : "https://id.cisco.com/oauth2/default/v1/token", "method" : "get", "body" : "body", "url" : "https://api.thousandeyes.com/v7/status", "password" : "basic_pw123", "bearerToken" : "abcd-1234-...", + "scope" : "read, write, deploy", "name" : "Step 1", "waitTimeMs" : 0, + "clientAuthentication" : "basic-auth-header", + "clientSecret" : "client-secret", "assertions" : [ { "name" : "status-code", "value" : "200", @@ -591,6 +623,7 @@ class TestAPITestsApi(unittest.TestCase): "timeLimit" : 19, "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, "testId" : "281474976710706", @@ -666,13 +699,18 @@ class TestAPITestsApi(unittest.TestCase): "name" : "myTestName", "value" : "tests[0].name" } ], + "clientId" : "client-id", + "tokenUrl" : "https://id.cisco.com/oauth2/default/v1/token", "method" : "get", "body" : "body", "url" : "https://api.thousandeyes.com/v7/status", "password" : "basic_pw123", "bearerToken" : "abcd-1234-...", + "scope" : "read, write, deploy", "name" : "Step 1", "waitTimeMs" : 0, + "clientAuthentication" : "basic-auth-header", + "clientSecret" : "client-secret", "assertions" : [ { "name" : "status-code", "value" : "200", @@ -700,13 +738,18 @@ class TestAPITestsApi(unittest.TestCase): "name" : "myTestName", "value" : "tests[0].name" } ], + "clientId" : "client-id", + "tokenUrl" : "https://id.cisco.com/oauth2/default/v1/token", "method" : "get", "body" : "body", "url" : "https://api.thousandeyes.com/v7/status", "password" : "basic_pw123", "bearerToken" : "abcd-1234-...", + "scope" : "read, write, deploy", "name" : "Step 1", "waitTimeMs" : 0, + "clientAuthentication" : "basic-auth-header", + "clientSecret" : "client-secret", "assertions" : [ { "name" : "status-code", "value" : "200", @@ -747,6 +790,7 @@ class TestAPITestsApi(unittest.TestCase): "timeLimit" : 19, "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, "testId" : "281474976710706", @@ -789,13 +833,18 @@ class TestAPITestsApi(unittest.TestCase): "name" : "myTestName", "value" : "tests[0].name" } ], + "clientId" : "client-id", + "tokenUrl" : "https://id.cisco.com/oauth2/default/v1/token", "method" : "get", "body" : "body", "url" : "https://api.thousandeyes.com/v7/status", "password" : "basic_pw123", "bearerToken" : "abcd-1234-...", + "scope" : "read, write, deploy", "name" : "Step 1", "waitTimeMs" : 0, + "clientAuthentication" : "basic-auth-header", + "clientSecret" : "client-secret", "assertions" : [ { "name" : "status-code", "value" : "200", @@ -823,13 +872,18 @@ class TestAPITestsApi(unittest.TestCase): "name" : "myTestName", "value" : "tests[0].name" } ], + "clientId" : "client-id", + "tokenUrl" : "https://id.cisco.com/oauth2/default/v1/token", "method" : "get", "body" : "body", "url" : "https://api.thousandeyes.com/v7/status", "password" : "basic_pw123", "bearerToken" : "abcd-1234-...", + "scope" : "read, write, deploy", "name" : "Step 1", "waitTimeMs" : 0, + "clientAuthentication" : "basic-auth-header", + "clientSecret" : "client-secret", "assertions" : [ { "name" : "status-code", "value" : "200", @@ -870,6 +924,7 @@ class TestAPITestsApi(unittest.TestCase): "timeLimit" : 19, "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, "testId" : "281474976710706", @@ -936,13 +991,18 @@ class TestAPITestsApi(unittest.TestCase): "name" : "myTestName", "value" : "tests[0].name" } ], + "clientId" : "client-id", + "tokenUrl" : "https://id.cisco.com/oauth2/default/v1/token", "method" : "get", "body" : "body", "url" : "https://api.thousandeyes.com/v7/status", "password" : "basic_pw123", "bearerToken" : "abcd-1234-...", + "scope" : "read, write, deploy", "name" : "Step 1", "waitTimeMs" : 0, + "clientAuthentication" : "basic-auth-header", + "clientSecret" : "client-secret", "assertions" : [ { "name" : "status-code", "value" : "200", @@ -970,13 +1030,18 @@ class TestAPITestsApi(unittest.TestCase): "name" : "myTestName", "value" : "tests[0].name" } ], + "clientId" : "client-id", + "tokenUrl" : "https://id.cisco.com/oauth2/default/v1/token", "method" : "get", "body" : "body", "url" : "https://api.thousandeyes.com/v7/status", "password" : "basic_pw123", "bearerToken" : "abcd-1234-...", + "scope" : "read, write, deploy", "name" : "Step 1", "waitTimeMs" : 0, + "clientAuthentication" : "basic-auth-header", + "clientSecret" : "client-secret", "assertions" : [ { "name" : "status-code", "value" : "200", @@ -1025,6 +1090,7 @@ class TestAPITestsApi(unittest.TestCase): "timeLimit" : 19, "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, "testId" : "281474976710706", @@ -1120,13 +1186,18 @@ class TestAPITestsApi(unittest.TestCase): "name" : "myTestName", "value" : "tests[0].name" } ], + "clientId" : "client-id", + "tokenUrl" : "https://id.cisco.com/oauth2/default/v1/token", "method" : "get", "body" : "body", "url" : "https://api.thousandeyes.com/v7/status", "password" : "basic_pw123", "bearerToken" : "abcd-1234-...", + "scope" : "read, write, deploy", "name" : "Step 1", "waitTimeMs" : 0, + "clientAuthentication" : "basic-auth-header", + "clientSecret" : "client-secret", "assertions" : [ { "name" : "status-code", "value" : "200", @@ -1154,13 +1225,18 @@ class TestAPITestsApi(unittest.TestCase): "name" : "myTestName", "value" : "tests[0].name" } ], + "clientId" : "client-id", + "tokenUrl" : "https://id.cisco.com/oauth2/default/v1/token", "method" : "get", "body" : "body", "url" : "https://api.thousandeyes.com/v7/status", "password" : "basic_pw123", "bearerToken" : "abcd-1234-...", + "scope" : "read, write, deploy", "name" : "Step 1", "waitTimeMs" : 0, + "clientAuthentication" : "basic-auth-header", + "clientSecret" : "client-secret", "assertions" : [ { "name" : "status-code", "value" : "200", @@ -1235,6 +1311,7 @@ class TestAPITestsApi(unittest.TestCase): "timeLimit" : 19, "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, "testId" : "281474976710706", diff --git a/thousandeyes-sdk-tests/test/test_dns_server_tests_api.py b/thousandeyes-sdk-tests/test/test_dns_server_tests_api.py index 9bc26bee..5b938a81 100644 --- a/thousandeyes-sdk-tests/test/test_dns_server_tests_api.py +++ b/thousandeyes-sdk-tests/test/test_dns_server_tests_api.py @@ -83,6 +83,7 @@ class TestDNSServerTestsApi(unittest.TestCase): } ], "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", + "randomizedStartTime" : false, "domain" : "www.thousandeyes.com", "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, @@ -208,6 +209,7 @@ class TestDNSServerTestsApi(unittest.TestCase): } ], "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", + "randomizedStartTime" : false, "domain" : "www.thousandeyes.com", "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, @@ -360,6 +362,7 @@ class TestDNSServerTestsApi(unittest.TestCase): } ], "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", + "randomizedStartTime" : false, "domain" : "www.thousandeyes.com", "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, @@ -446,6 +449,7 @@ class TestDNSServerTestsApi(unittest.TestCase): "networkMeasurements" : true, "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", + "randomizedStartTime" : false, "domain" : "www.thousandeyes.com", "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, @@ -499,6 +503,7 @@ class TestDNSServerTestsApi(unittest.TestCase): "networkMeasurements" : true, "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", + "randomizedStartTime" : false, "domain" : "www.thousandeyes.com", "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, @@ -577,6 +582,7 @@ class TestDNSServerTestsApi(unittest.TestCase): } ], "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", + "randomizedStartTime" : false, "domain" : "www.thousandeyes.com", "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, @@ -702,6 +708,7 @@ class TestDNSServerTestsApi(unittest.TestCase): } ], "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", + "randomizedStartTime" : false, "domain" : "www.thousandeyes.com", "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, diff --git a/thousandeyes-sdk-tests/test/test_dns_trace_tests_api.py b/thousandeyes-sdk-tests/test/test_dns_trace_tests_api.py index ff99d888..3d4adfcc 100644 --- a/thousandeyes-sdk-tests/test/test_dns_trace_tests_api.py +++ b/thousandeyes-sdk-tests/test/test_dns_trace_tests_api.py @@ -67,6 +67,7 @@ class TestDNSTraceTestsApi(unittest.TestCase): } ], "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", + "randomizedStartTime" : false, "domain" : "www.thousandeyes.com", "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, @@ -172,6 +173,7 @@ class TestDNSTraceTestsApi(unittest.TestCase): } ], "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", + "randomizedStartTime" : false, "domain" : "www.thousandeyes.com", "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, @@ -290,6 +292,7 @@ class TestDNSTraceTestsApi(unittest.TestCase): } ], "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", + "randomizedStartTime" : false, "domain" : "www.thousandeyes.com", "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, @@ -342,6 +345,7 @@ class TestDNSTraceTestsApi(unittest.TestCase): "enabled" : true, "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", + "randomizedStartTime" : false, "domain" : "www.thousandeyes.com", "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, @@ -376,6 +380,7 @@ class TestDNSTraceTestsApi(unittest.TestCase): "enabled" : true, "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", + "randomizedStartTime" : false, "domain" : "www.thousandeyes.com", "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, @@ -441,6 +446,7 @@ class TestDNSTraceTestsApi(unittest.TestCase): } ], "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", + "randomizedStartTime" : false, "domain" : "www.thousandeyes.com", "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, @@ -546,6 +552,7 @@ class TestDNSTraceTestsApi(unittest.TestCase): } ], "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", + "randomizedStartTime" : false, "domain" : "www.thousandeyes.com", "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, diff --git a/thousandeyes-sdk-tests/test/test_dnssec_tests_api.py b/thousandeyes-sdk-tests/test/test_dnssec_tests_api.py index 633f76b8..80e34e39 100644 --- a/thousandeyes-sdk-tests/test/test_dnssec_tests_api.py +++ b/thousandeyes-sdk-tests/test/test_dnssec_tests_api.py @@ -66,6 +66,7 @@ class TestDNSSECTestsApi(unittest.TestCase): } ], "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", + "randomizedStartTime" : false, "domain" : "www.thousandeyes.com", "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, @@ -170,6 +171,7 @@ class TestDNSSECTestsApi(unittest.TestCase): } ], "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", + "randomizedStartTime" : false, "domain" : "www.thousandeyes.com", "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, @@ -287,6 +289,7 @@ class TestDNSSECTestsApi(unittest.TestCase): } ], "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", + "randomizedStartTime" : false, "domain" : "www.thousandeyes.com", "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, @@ -338,6 +341,7 @@ class TestDNSSECTestsApi(unittest.TestCase): "enabled" : true, "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", + "randomizedStartTime" : false, "domain" : "www.thousandeyes.com", "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, @@ -371,6 +375,7 @@ class TestDNSSECTestsApi(unittest.TestCase): "enabled" : true, "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", + "randomizedStartTime" : false, "domain" : "www.thousandeyes.com", "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, @@ -435,6 +440,7 @@ class TestDNSSECTestsApi(unittest.TestCase): } ], "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", + "randomizedStartTime" : false, "domain" : "www.thousandeyes.com", "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, @@ -539,6 +545,7 @@ class TestDNSSECTestsApi(unittest.TestCase): } ], "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", + "randomizedStartTime" : false, "domain" : "www.thousandeyes.com", "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, diff --git a/thousandeyes-sdk-tests/test/test_ftp_server_tests_api.py b/thousandeyes-sdk-tests/test/test_ftp_server_tests_api.py index 22c166d8..34a13e9d 100644 --- a/thousandeyes-sdk-tests/test/test_ftp_server_tests_api.py +++ b/thousandeyes-sdk-tests/test/test_ftp_server_tests_api.py @@ -85,6 +85,7 @@ class TestFTPServerTestsApi(unittest.TestCase): } ], "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", + "randomizedStartTime" : false, "ftpTimeLimit" : 10, "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, @@ -208,6 +209,7 @@ class TestFTPServerTestsApi(unittest.TestCase): } ], "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", + "randomizedStartTime" : false, "ftpTimeLimit" : 10, "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, @@ -358,6 +360,7 @@ class TestFTPServerTestsApi(unittest.TestCase): } ], "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", + "randomizedStartTime" : false, "ftpTimeLimit" : 10, "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, @@ -442,6 +445,7 @@ class TestFTPServerTestsApi(unittest.TestCase): "url" : "www.thousandeyes.com", "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", + "randomizedStartTime" : false, "ftpTimeLimit" : 10, "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, @@ -493,6 +497,7 @@ class TestFTPServerTestsApi(unittest.TestCase): "url" : "www.thousandeyes.com", "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", + "randomizedStartTime" : false, "ftpTimeLimit" : 10, "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, @@ -575,6 +580,7 @@ class TestFTPServerTestsApi(unittest.TestCase): } ], "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", + "randomizedStartTime" : false, "ftpTimeLimit" : 10, "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, @@ -698,6 +704,7 @@ class TestFTPServerTestsApi(unittest.TestCase): } ], "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", + "randomizedStartTime" : false, "ftpTimeLimit" : 10, "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, diff --git a/thousandeyes-sdk-tests/test/test_http_server_tests_api.py b/thousandeyes-sdk-tests/test/test_http_server_tests_api.py index 251f4e04..136dea77 100644 --- a/thousandeyes-sdk-tests/test/test_http_server_tests_api.py +++ b/thousandeyes-sdk-tests/test/test_http_server_tests_api.py @@ -79,6 +79,7 @@ class TestHTTPServerTestsApi(unittest.TestCase): "ipAddress" : "192.1.1.0" }, "labels" : [ "9842", "1283" ], + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, "sharedWithAccounts" : [ "1234", "12345" ], @@ -199,6 +200,7 @@ class TestHTTPServerTestsApi(unittest.TestCase): "name" : "Artem label", "isBuiltin" : false } ], + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, "sharedWithAccounts" : [ { @@ -392,6 +394,7 @@ class TestHTTPServerTestsApi(unittest.TestCase): "name" : "Artem label", "isBuiltin" : false } ], + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, "sharedWithAccounts" : [ { @@ -573,6 +576,7 @@ class TestHTTPServerTestsApi(unittest.TestCase): "agentId" : "2954", "ipAddress" : "192.1.1.0" }, + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, "overrideProxyId" : "281474976710706", @@ -667,6 +671,7 @@ class TestHTTPServerTestsApi(unittest.TestCase): "agentId" : "2954", "ipAddress" : "192.1.1.0" }, + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, "overrideProxyId" : "281474976710706", @@ -784,6 +789,7 @@ class TestHTTPServerTestsApi(unittest.TestCase): "ipAddress" : "192.1.1.0" }, "labels" : [ "9842", "1283" ], + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, "sharedWithAccounts" : [ "1234", "12345" ], @@ -904,6 +910,7 @@ class TestHTTPServerTestsApi(unittest.TestCase): "name" : "Artem label", "isBuiltin" : false } ], + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, "sharedWithAccounts" : [ { diff --git a/thousandeyes-sdk-tests/test/test_page_load_tests_api.py b/thousandeyes-sdk-tests/test/test_page_load_tests_api.py index b18dec74..2ffaca98 100644 --- a/thousandeyes-sdk-tests/test/test_page_load_tests_api.py +++ b/thousandeyes-sdk-tests/test/test_page_load_tests_api.py @@ -83,6 +83,7 @@ class TestPageLoadTestsApi(unittest.TestCase): }, "labels" : [ "9842", "1283" ], "httpInterval" : 120, + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, "emulatedDeviceId" : "2", @@ -211,6 +212,7 @@ class TestPageLoadTestsApi(unittest.TestCase): "isBuiltin" : false } ], "httpInterval" : 120, + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, "emulatedDeviceId" : "2", @@ -412,6 +414,7 @@ class TestPageLoadTestsApi(unittest.TestCase): "isBuiltin" : false } ], "httpInterval" : 120, + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, "emulatedDeviceId" : "2", @@ -601,6 +604,7 @@ class TestPageLoadTestsApi(unittest.TestCase): "ipAddress" : "192.1.1.0" }, "httpInterval" : 120, + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, "emulatedDeviceId" : "2", @@ -703,6 +707,7 @@ class TestPageLoadTestsApi(unittest.TestCase): "ipAddress" : "192.1.1.0" }, "httpInterval" : 120, + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, "emulatedDeviceId" : "2", @@ -828,6 +833,7 @@ class TestPageLoadTestsApi(unittest.TestCase): }, "labels" : [ "9842", "1283" ], "httpInterval" : 120, + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, "emulatedDeviceId" : "2", @@ -956,6 +962,7 @@ class TestPageLoadTestsApi(unittest.TestCase): "isBuiltin" : false } ], "httpInterval" : 120, + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, "emulatedDeviceId" : "2", diff --git a/thousandeyes-sdk-tests/test/test_sip_server_tests_api.py b/thousandeyes-sdk-tests/test/test_sip_server_tests_api.py index d76606a6..df4f1211 100644 --- a/thousandeyes-sdk-tests/test/test_sip_server_tests_api.py +++ b/thousandeyes-sdk-tests/test/test_sip_server_tests_api.py @@ -88,6 +88,7 @@ class TestSIPServerTestsApi(unittest.TestCase): } ], "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "sipTimeLimit" : 5, "interval" : 60, @@ -222,6 +223,7 @@ class TestSIPServerTestsApi(unittest.TestCase): } ], "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", + "randomizedStartTime" : false, "port" : 49153, "modifiedDate" : "2022-07-17T22:00:54Z", "sipTimeLimit" : 5, @@ -371,6 +373,7 @@ class TestSIPServerTestsApi(unittest.TestCase): } ], "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", + "randomizedStartTime" : false, "port" : 49153, "modifiedDate" : "2022-07-17T22:00:54Z", "sipTimeLimit" : 5, @@ -454,6 +457,7 @@ class TestSIPServerTestsApi(unittest.TestCase): "networkMeasurements" : true, "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", + "randomizedStartTime" : false, "port" : 49153, "modifiedDate" : "2022-07-17T22:00:54Z", "sipTimeLimit" : 5, @@ -504,6 +508,7 @@ class TestSIPServerTestsApi(unittest.TestCase): "networkMeasurements" : true, "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", + "randomizedStartTime" : false, "port" : 49153, "modifiedDate" : "2022-07-17T22:00:54Z", "sipTimeLimit" : 5, @@ -589,6 +594,7 @@ class TestSIPServerTestsApi(unittest.TestCase): } ], "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "sipTimeLimit" : 5, "interval" : 60, @@ -723,6 +729,7 @@ class TestSIPServerTestsApi(unittest.TestCase): } ], "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", + "randomizedStartTime" : false, "port" : 49153, "modifiedDate" : "2022-07-17T22:00:54Z", "sipTimeLimit" : 5, diff --git a/thousandeyes-sdk-tests/test/test_voice_tests_api.py b/thousandeyes-sdk-tests/test/test_voice_tests_api.py index c35e1b3e..cca90f6f 100644 --- a/thousandeyes-sdk-tests/test/test_voice_tests_api.py +++ b/thousandeyes-sdk-tests/test/test_voice_tests_api.py @@ -78,6 +78,7 @@ class TestVoiceTestsApi(unittest.TestCase): "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", "port" : 1024, + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "targetAgentId" : "281474976710706", "interval" : 60, @@ -206,6 +207,7 @@ class TestVoiceTestsApi(unittest.TestCase): "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", "port" : 1024, + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "targetAgentId" : "281474976710706", "interval" : 60, @@ -347,6 +349,7 @@ class TestVoiceTestsApi(unittest.TestCase): "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", "port" : 1024, + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "targetAgentId" : "281474976710706", "interval" : 60, @@ -422,6 +425,7 @@ class TestVoiceTestsApi(unittest.TestCase): "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", "port" : 1024, + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "targetAgentId" : "281474976710706", "interval" : 60, @@ -464,6 +468,7 @@ class TestVoiceTestsApi(unittest.TestCase): "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", "port" : 1024, + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "targetAgentId" : "281474976710706", "interval" : 60, @@ -537,6 +542,7 @@ class TestVoiceTestsApi(unittest.TestCase): "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", "port" : 1024, + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "targetAgentId" : "281474976710706", "interval" : 60, @@ -665,6 +671,7 @@ class TestVoiceTestsApi(unittest.TestCase): "createdDate" : "2022-07-17T22:00:54Z", "createdBy" : "user@user.com", "port" : 1024, + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "targetAgentId" : "281474976710706", "interval" : 60, diff --git a/thousandeyes-sdk-tests/test/test_web_transaction_tests_api.py b/thousandeyes-sdk-tests/test/test_web_transaction_tests_api.py index 2e66c72b..14e6a33b 100644 --- a/thousandeyes-sdk-tests/test/test_web_transaction_tests_api.py +++ b/thousandeyes-sdk-tests/test/test_web_transaction_tests_api.py @@ -82,6 +82,7 @@ class TestWebTransactionTestsApi(unittest.TestCase): "ipAddress" : "192.1.1.0" }, "labels" : [ "9842", "1283" ], + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, "emulatedDeviceId" : "2", @@ -211,6 +212,7 @@ class TestWebTransactionTestsApi(unittest.TestCase): "name" : "Artem label", "isBuiltin" : false } ], + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, "emulatedDeviceId" : "2", @@ -413,6 +415,7 @@ class TestWebTransactionTestsApi(unittest.TestCase): "name" : "Artem label", "isBuiltin" : false } ], + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, "emulatedDeviceId" : "2", @@ -603,6 +606,7 @@ class TestWebTransactionTestsApi(unittest.TestCase): "agentId" : "2954", "ipAddress" : "192.1.1.0" }, + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, "emulatedDeviceId" : "2", @@ -705,6 +709,7 @@ class TestWebTransactionTestsApi(unittest.TestCase): "agentId" : "2954", "ipAddress" : "192.1.1.0" }, + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, "emulatedDeviceId" : "2", @@ -830,6 +835,7 @@ class TestWebTransactionTestsApi(unittest.TestCase): "ipAddress" : "192.1.1.0" }, "labels" : [ "9842", "1283" ], + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, "emulatedDeviceId" : "2", @@ -959,6 +965,7 @@ class TestWebTransactionTestsApi(unittest.TestCase): "name" : "Artem label", "isBuiltin" : false } ], + "randomizedStartTime" : false, "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, "emulatedDeviceId" : "2", diff --git a/thousandeyes-sdk-usage/README.md b/thousandeyes-sdk-usage/README.md index 6fdc948f..db34f2ad 100644 --- a/thousandeyes-sdk-usage/README.md +++ b/thousandeyes-sdk-usage/README.md @@ -17,7 +17,7 @@ Refer to the Usage API operations for detailed usage instructions and optional p This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: 7.0.28 +- API version: 7.0.29 - Generator version: 7.6.0 - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator