diff --git a/thousandeyes-sdk-administrative/README.md b/thousandeyes-sdk-administrative/README.md index 99d9d649..6d1c655d 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.26 +- API version: 7.0.28 - Generator version: 7.6.0 - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator diff --git a/thousandeyes-sdk-administrative/docs/AccountGroupDetail.md b/thousandeyes-sdk-administrative/docs/AccountGroupDetail.md index 970ceaf3..55fa12dc 100644 --- a/thousandeyes-sdk-administrative/docs/AccountGroupDetail.md +++ b/thousandeyes-sdk-administrative/docs/AccountGroupDetail.md @@ -9,7 +9,8 @@ Name | Type | Description | Notes **account_group_name** | **str** | Account group name | [optional] **is_current_account_group** | **bool** | Indicates whether the requested aid is the context of the current account. | [optional] **is_default_account_group** | **bool** | Indicates whether the aid is the default one for the requesting user. | [optional] -**organization_name** | **str** | (Optional) Indicates whether the aid is the default one for the requesting user. | [optional] +**organization_name** | **str** | (Optional) The name of the organization associated with the account group. | [optional] +**org_id** | **str** | (Optional) The ID for the organization associated with the account group. | [optional] **users** | [**List[UserAccountGroup]**](UserAccountGroup.md) | | [optional] **links** | [**SelfLinks**](SelfLinks.md) | | [optional] **agents** | [**List[EnterpriseAgent]**](EnterpriseAgent.md) | | [optional] diff --git a/thousandeyes-sdk-administrative/docs/AccountGroupInfo.md b/thousandeyes-sdk-administrative/docs/AccountGroupInfo.md index 72992dd1..106aee05 100644 --- a/thousandeyes-sdk-administrative/docs/AccountGroupInfo.md +++ b/thousandeyes-sdk-administrative/docs/AccountGroupInfo.md @@ -9,7 +9,8 @@ Name | Type | Description | Notes **account_group_name** | **str** | Account group name | [optional] **is_current_account_group** | **bool** | Indicates whether the requested aid is the context of the current account. | [optional] **is_default_account_group** | **bool** | Indicates whether the aid is the default one for the requesting user. | [optional] -**organization_name** | **str** | (Optional) Indicates whether the aid is the default one for the requesting user. | [optional] +**organization_name** | **str** | (Optional) The name of the organization associated with the account group. | [optional] +**org_id** | **str** | (Optional) The ID for the organization associated with the account group. | [optional] ## Example diff --git a/thousandeyes-sdk-administrative/docs/CreatedAccountGroup.md b/thousandeyes-sdk-administrative/docs/CreatedAccountGroup.md index 08b29488..d7a296d2 100644 --- a/thousandeyes-sdk-administrative/docs/CreatedAccountGroup.md +++ b/thousandeyes-sdk-administrative/docs/CreatedAccountGroup.md @@ -9,7 +9,8 @@ Name | Type | Description | Notes **account_group_name** | **str** | Account group name | [optional] **is_current_account_group** | **bool** | Indicates whether the requested aid is the context of the current account. | [optional] **is_default_account_group** | **bool** | Indicates whether the aid is the default one for the requesting user. | [optional] -**organization_name** | **str** | (Optional) Indicates whether the aid is the default one for the requesting user. | [optional] +**organization_name** | **str** | (Optional) The name of the organization associated with the account group. | [optional] +**org_id** | **str** | (Optional) The ID for the organization associated with the account group. | [optional] **users** | [**List[UserAccountGroup]**](UserAccountGroup.md) | | [optional] **links** | [**SelfLinks**](SelfLinks.md) | | [optional] diff --git a/thousandeyes-sdk-administrative/src/thousandeyes_sdk/administrative/models/account_group_detail.py b/thousandeyes-sdk-administrative/src/thousandeyes_sdk/administrative/models/account_group_detail.py index 0e2a2001..63ea7d05 100644 --- a/thousandeyes-sdk-administrative/src/thousandeyes_sdk/administrative/models/account_group_detail.py +++ b/thousandeyes-sdk-administrative/src/thousandeyes_sdk/administrative/models/account_group_detail.py @@ -32,12 +32,13 @@ class AccountGroupDetail(BaseModel): account_group_name: Optional[StrictStr] = Field(default=None, description="Account group name", alias="accountGroupName") is_current_account_group: Optional[StrictBool] = Field(default=None, description="Indicates whether the requested aid is the context of the current account.", alias="isCurrentAccountGroup") is_default_account_group: Optional[StrictBool] = Field(default=None, description="Indicates whether the aid is the default one for the requesting user.", alias="isDefaultAccountGroup") - organization_name: Optional[StrictStr] = Field(default=None, description="(Optional) Indicates whether the aid is the default one for the requesting user.", alias="organizationName") + organization_name: Optional[StrictStr] = Field(default=None, description="(Optional) The name of the organization associated with the account group.", alias="organizationName") + org_id: Optional[StrictStr] = Field(default=None, description="(Optional) The ID for the organization associated with the account group.", alias="orgId") users: Optional[List[UserAccountGroup]] = None links: Optional[SelfLinks] = Field(default=None, alias="_links") agents: Optional[List[EnterpriseAgent]] = None account_token: Optional[StrictStr] = Field(default=None, description="The account group token is an alphanumeric string used to bind an Enterprise Agent to a specific account group. This token is not a password that must be kept secret. You can retrieve your `AccountGroupToken` from the `/account-groups/{id}` endpoint.", alias="accountToken") - __properties: ClassVar[List[str]] = ["aid", "accountGroupName", "isCurrentAccountGroup", "isDefaultAccountGroup", "organizationName", "users", "_links", "agents", "accountToken"] + __properties: ClassVar[List[str]] = ["aid", "accountGroupName", "isCurrentAccountGroup", "isDefaultAccountGroup", "organizationName", "orgId", "users", "_links", "agents", "accountToken"] model_config = ConfigDict( populate_by_name=True, @@ -113,6 +114,7 @@ class AccountGroupDetail(BaseModel): "isCurrentAccountGroup": obj.get("isCurrentAccountGroup"), "isDefaultAccountGroup": obj.get("isDefaultAccountGroup"), "organizationName": obj.get("organizationName"), + "orgId": obj.get("orgId"), "users": [UserAccountGroup.from_dict(_item) for _item in obj["users"]] if obj.get("users") is not None else None, "_links": SelfLinks.from_dict(obj["_links"]) if obj.get("_links") is not None else None, "agents": [EnterpriseAgent.from_dict(_item) for _item in obj["agents"]] if obj.get("agents") is not None else None, diff --git a/thousandeyes-sdk-administrative/src/thousandeyes_sdk/administrative/models/account_group_info.py b/thousandeyes-sdk-administrative/src/thousandeyes_sdk/administrative/models/account_group_info.py index 290fa6f9..b004d421 100644 --- a/thousandeyes-sdk-administrative/src/thousandeyes_sdk/administrative/models/account_group_info.py +++ b/thousandeyes-sdk-administrative/src/thousandeyes_sdk/administrative/models/account_group_info.py @@ -29,8 +29,9 @@ class AccountGroupInfo(BaseModel): account_group_name: Optional[StrictStr] = Field(default=None, description="Account group name", alias="accountGroupName") is_current_account_group: Optional[StrictBool] = Field(default=None, description="Indicates whether the requested aid is the context of the current account.", alias="isCurrentAccountGroup") is_default_account_group: Optional[StrictBool] = Field(default=None, description="Indicates whether the aid is the default one for the requesting user.", alias="isDefaultAccountGroup") - organization_name: Optional[StrictStr] = Field(default=None, description="(Optional) Indicates whether the aid is the default one for the requesting user.", alias="organizationName") - __properties: ClassVar[List[str]] = ["aid", "accountGroupName", "isCurrentAccountGroup", "isDefaultAccountGroup", "organizationName"] + organization_name: Optional[StrictStr] = Field(default=None, description="(Optional) The name of the organization associated with the account group.", alias="organizationName") + org_id: Optional[StrictStr] = Field(default=None, description="(Optional) The ID for the organization associated with the account group.", alias="orgId") + __properties: ClassVar[List[str]] = ["aid", "accountGroupName", "isCurrentAccountGroup", "isDefaultAccountGroup", "organizationName", "orgId"] model_config = ConfigDict( populate_by_name=True, @@ -88,7 +89,8 @@ class AccountGroupInfo(BaseModel): "accountGroupName": obj.get("accountGroupName"), "isCurrentAccountGroup": obj.get("isCurrentAccountGroup"), "isDefaultAccountGroup": obj.get("isDefaultAccountGroup"), - "organizationName": obj.get("organizationName") + "organizationName": obj.get("organizationName"), + "orgId": obj.get("orgId") }) return _obj diff --git a/thousandeyes-sdk-administrative/src/thousandeyes_sdk/administrative/models/created_account_group.py b/thousandeyes-sdk-administrative/src/thousandeyes_sdk/administrative/models/created_account_group.py index 32ce881a..1c324a8a 100644 --- a/thousandeyes-sdk-administrative/src/thousandeyes_sdk/administrative/models/created_account_group.py +++ b/thousandeyes-sdk-administrative/src/thousandeyes_sdk/administrative/models/created_account_group.py @@ -31,10 +31,11 @@ class CreatedAccountGroup(BaseModel): account_group_name: Optional[StrictStr] = Field(default=None, description="Account group name", alias="accountGroupName") is_current_account_group: Optional[StrictBool] = Field(default=None, description="Indicates whether the requested aid is the context of the current account.", alias="isCurrentAccountGroup") is_default_account_group: Optional[StrictBool] = Field(default=None, description="Indicates whether the aid is the default one for the requesting user.", alias="isDefaultAccountGroup") - organization_name: Optional[StrictStr] = Field(default=None, description="(Optional) Indicates whether the aid is the default one for the requesting user.", alias="organizationName") + organization_name: Optional[StrictStr] = Field(default=None, description="(Optional) The name of the organization associated with the account group.", alias="organizationName") + org_id: Optional[StrictStr] = Field(default=None, description="(Optional) The ID for the organization associated with the account group.", alias="orgId") users: Optional[List[UserAccountGroup]] = None links: Optional[SelfLinks] = Field(default=None, alias="_links") - __properties: ClassVar[List[str]] = ["aid", "accountGroupName", "isCurrentAccountGroup", "isDefaultAccountGroup", "organizationName", "users", "_links"] + __properties: ClassVar[List[str]] = ["aid", "accountGroupName", "isCurrentAccountGroup", "isDefaultAccountGroup", "organizationName", "orgId", "users", "_links"] model_config = ConfigDict( populate_by_name=True, @@ -103,6 +104,7 @@ class CreatedAccountGroup(BaseModel): "isCurrentAccountGroup": obj.get("isCurrentAccountGroup"), "isDefaultAccountGroup": obj.get("isDefaultAccountGroup"), "organizationName": obj.get("organizationName"), + "orgId": obj.get("orgId"), "users": [UserAccountGroup.from_dict(_item) for _item in obj["users"]] if obj.get("users") is not None else None, "_links": SelfLinks.from_dict(obj["_links"]) if obj.get("_links") is not None else None }) diff --git a/thousandeyes-sdk-administrative/test/test_account_groups_api.py b/thousandeyes-sdk-administrative/test/test_account_groups_api.py index 8b3a80c0..ef062392 100644 --- a/thousandeyes-sdk-administrative/test/test_account_groups_api.py +++ b/thousandeyes-sdk-administrative/test/test_account_groups_api.py @@ -59,6 +59,7 @@ class TestAccountGroupsApi(unittest.TestCase): "accountGroupName" : "Account A", "isDefaultAccountGroup" : true, "aid" : "1234", + "orgId" : "12345", "users" : [ { "uid" : "235", "lastLogin" : "2022-07-17T22:00:54Z", @@ -127,6 +128,7 @@ class TestAccountGroupsApi(unittest.TestCase): "isDefaultAccountGroup" : true, "accountToken" : "6j052y4vfgyuhefghue", "aid" : "1234", + "orgId" : "12345", "users" : [ { "uid" : "235", "lastLogin" : "2022-07-17T22:00:54Z", @@ -345,13 +347,15 @@ class TestAccountGroupsApi(unittest.TestCase): "organizationName" : "organizationName", "accountGroupName" : "Account A", "isDefaultAccountGroup" : true, - "aid" : "1234" + "aid" : "1234", + "orgId" : "12345" }, { "isCurrentAccountGroup" : true, "organizationName" : "organizationName", "accountGroupName" : "Account A", "isDefaultAccountGroup" : true, - "aid" : "1234" + "aid" : "1234", + "orgId" : "12345" } ] }""" @@ -391,6 +395,7 @@ class TestAccountGroupsApi(unittest.TestCase): "isDefaultAccountGroup" : true, "accountToken" : "6j052y4vfgyuhefghue", "aid" : "1234", + "orgId" : "12345", "users" : [ { "uid" : "235", "lastLogin" : "2022-07-17T22:00:54Z", diff --git a/thousandeyes-sdk-agents/README.md b/thousandeyes-sdk-agents/README.md index 44f3e1a1..e2533c5d 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.26 +- API version: 7.0.28 - Generator version: 7.6.0 - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator diff --git a/thousandeyes-sdk-alerts/README.md b/thousandeyes-sdk-alerts/README.md index f7135dc0..cf9f8cfe 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.26 +- API version: 7.0.28 - Generator version: 7.6.0 - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator diff --git a/thousandeyes-sdk-bgp-monitors/README.md b/thousandeyes-sdk-bgp-monitors/README.md index ca9b059f..c81f5894 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.26 +- API version: 7.0.28 - 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 3e0fe8d1..729fa96b 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.26 +- API version: 7.0.28 - 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 cb53c9e9..f3e0e808 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.26 +- API version: 7.0.28 - Generator version: 7.6.0 - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator diff --git a/thousandeyes-sdk-dashboards/src/thousandeyes_sdk/dashboards/models/api_widget_fixed_y_scale_prefix.py b/thousandeyes-sdk-dashboards/src/thousandeyes_sdk/dashboards/models/api_widget_fixed_y_scale_prefix.py index bb6cd851..685eb5b7 100644 --- a/thousandeyes-sdk-dashboards/src/thousandeyes_sdk/dashboards/models/api_widget_fixed_y_scale_prefix.py +++ b/thousandeyes-sdk-dashboards/src/thousandeyes_sdk/dashboards/models/api_widget_fixed_y_scale_prefix.py @@ -28,6 +28,9 @@ class ApiWidgetFixedYScalePrefix(str, Enum): KBPS = 'Kbps' MBPS = 'Mbps' GBPS = 'Gbps' + KBITPS = 'Kbitps' + MBITPS = 'Mbitps' + GBITPS = 'Gbitps' KPPS = 'Kpps' MPPS = 'Mpps' GPPS = 'Gpps' diff --git a/thousandeyes-sdk-dashboards/src/thousandeyes_sdk/dashboards/models/dashboard_metric.py b/thousandeyes-sdk-dashboards/src/thousandeyes_sdk/dashboards/models/dashboard_metric.py index 4f424897..5c7bea44 100644 --- a/thousandeyes-sdk-dashboards/src/thousandeyes_sdk/dashboards/models/dashboard_metric.py +++ b/thousandeyes-sdk-dashboards/src/thousandeyes_sdk/dashboards/models/dashboard_metric.py @@ -244,10 +244,14 @@ class DashboardMetric(str, Enum): CLOUD_NATIVE_MONITORING_MINUS_ACCEPTED_TOTAL_THROUGHPUT = 'CLOUD_NATIVE_MONITORING-ACCEPTED_TOTAL_THROUGHPUT' CLOUD_NATIVE_MONITORING_MINUS_ACCEPTED_OUTBOUND_THROUGHPUT = 'CLOUD_NATIVE_MONITORING-ACCEPTED_OUTBOUND_THROUGHPUT' CLOUD_NATIVE_MONITORING_MINUS_ACCEPTED_INBOUND_THROUGHPUT = 'CLOUD_NATIVE_MONITORING-ACCEPTED_INBOUND_THROUGHPUT' + CLOUD_NATIVE_MONITORING_MINUS_ACCEPTED_INTERNAL_THROUGHPUT = 'CLOUD_NATIVE_MONITORING-ACCEPTED_INTERNAL_THROUGHPUT' CLOUD_NATIVE_MONITORING_MINUS_REJECTED_TOTAL_THROUGHPUT = 'CLOUD_NATIVE_MONITORING-REJECTED_TOTAL_THROUGHPUT' CLOUD_NATIVE_MONITORING_MINUS_REJECTED_OUTBOUND_THROUGHPUT = 'CLOUD_NATIVE_MONITORING-REJECTED_OUTBOUND_THROUGHPUT' CLOUD_NATIVE_MONITORING_MINUS_REJECTED_INBOUND_THROUGHPUT = 'CLOUD_NATIVE_MONITORING-REJECTED_INBOUND_THROUGHPUT' + CLOUD_NATIVE_MONITORING_MINUS_REJECTED_INTERNAL_THROUGHPUT = 'CLOUD_NATIVE_MONITORING-REJECTED_INTERNAL_THROUGHPUT' + CLOUD_NATIVE_MONITORING_MINUS_TOTAL_CONNECTION_RATE = 'CLOUD_NATIVE_MONITORING-TOTAL_CONNECTION_RATE' CLOUD_NATIVE_MONITORING_MINUS_CONNECTION_RATE = 'CLOUD_NATIVE_MONITORING-CONNECTION_RATE' + CLOUD_NATIVE_MONITORING_MINUS_INTERNAL_CONNECTION_RATE = 'CLOUD_NATIVE_MONITORING-INTERNAL_CONNECTION_RATE' CLOUD_NATIVE_MONITORING_MINUS_ALL_EVENTS = 'CLOUD_NATIVE_MONITORING-ALL_EVENTS' CLOUD_NATIVE_MONITORING_MINUS_CONFIGURATION_CHANGE_EVENTS = 'CLOUD_NATIVE_MONITORING-CONFIGURATION_CHANGE_EVENTS' CLOUD_NATIVE_MONITORING_MINUS_AUTOSCALING_EVENTS = 'CLOUD_NATIVE_MONITORING-AUTOSCALING_EVENTS' diff --git a/thousandeyes-sdk-dashboards/src/thousandeyes_sdk/dashboards/models/metric_group.py b/thousandeyes-sdk-dashboards/src/thousandeyes_sdk/dashboards/models/metric_group.py index d736efb4..24c8f051 100644 --- a/thousandeyes-sdk-dashboards/src/thousandeyes_sdk/dashboards/models/metric_group.py +++ b/thousandeyes-sdk-dashboards/src/thousandeyes_sdk/dashboards/models/metric_group.py @@ -61,6 +61,8 @@ class MetricGroup(str, Enum): NETWORK_OUTAGES = 'NETWORK_OUTAGES' APPLICATION_OUTAGES = 'APPLICATION_OUTAGES' APPDYNAMICS_SERVICE_HEALTH = 'APPDYNAMICS_SERVICE_HEALTH' + CLOUD_NATIVE_MONITORING_MINUS_TRAFFIC_FLOW = 'CLOUD_NATIVE_MONITORING-TRAFFIC_FLOW' + CLOUD_NATIVE_MONITORING_MINUS_EVENTS = 'CLOUD_NATIVE_MONITORING-EVENTS' UNKNOWN = 'unknown' @classmethod diff --git a/thousandeyes-sdk-dashboards/src/thousandeyes_sdk/dashboards/models/widget_measure_type.py b/thousandeyes-sdk-dashboards/src/thousandeyes_sdk/dashboards/models/widget_measure_type.py index e4984458..c4f3aceb 100644 --- a/thousandeyes-sdk-dashboards/src/thousandeyes_sdk/dashboards/models/widget_measure_type.py +++ b/thousandeyes-sdk-dashboards/src/thousandeyes_sdk/dashboards/models/widget_measure_type.py @@ -35,6 +35,7 @@ class WidgetMeasureType(str, Enum): STDDEV = 'STDDEV' TOTAL = 'TOTAL' VALUES = 'VALUES' + SUM = 'SUM' CLOUD_NATIVE_MONITORING_MINUS_MEAN = 'CLOUD_NATIVE_MONITORING-MEAN' CLOUD_NATIVE_MONITORING_MINUS_SUM = 'CLOUD_NATIVE_MONITORING-SUM' UNKNOWN = 'unknown' diff --git a/thousandeyes-sdk-emulation/README.md b/thousandeyes-sdk-emulation/README.md index 8bd1e3ef..9f1b2cd1 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.26 +- API version: 7.0.28 - 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 50bf893d..cbfbe4b2 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.26 +- API version: 7.0.28 - Generator version: 7.6.0 - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator diff --git a/thousandeyes-sdk-endpoint-instant-tests/.openapi-generator/FILES b/thousandeyes-sdk-endpoint-instant-tests/.openapi-generator/FILES index d4f6ff8e..e224303b 100644 --- a/thousandeyes-sdk-endpoint-instant-tests/.openapi-generator/FILES +++ b/thousandeyes-sdk-endpoint-instant-tests/.openapi-generator/FILES @@ -11,6 +11,7 @@ docs/EndpointHttpServerBaseTest.md docs/EndpointHttpServerInstantTest.md docs/EndpointHttpServerTest.md docs/EndpointInstantTest.md +docs/EndpointIpVersionTemplate.md docs/EndpointRunScheduledInstantTestResult.md docs/EndpointScheduledTestType.md docs/EndpointSpecificAgentsSelectorConfig.md @@ -48,6 +49,7 @@ src/thousandeyes_sdk/endpoint_instant_tests/models/endpoint_http_server_base_tes src/thousandeyes_sdk/endpoint_instant_tests/models/endpoint_http_server_instant_test.py src/thousandeyes_sdk/endpoint_instant_tests/models/endpoint_http_server_test.py src/thousandeyes_sdk/endpoint_instant_tests/models/endpoint_instant_test.py +src/thousandeyes_sdk/endpoint_instant_tests/models/endpoint_ip_version_template.py src/thousandeyes_sdk/endpoint_instant_tests/models/endpoint_run_scheduled_instant_test_result.py src/thousandeyes_sdk/endpoint_instant_tests/models/endpoint_scheduled_test_type.py src/thousandeyes_sdk/endpoint_instant_tests/models/endpoint_specific_agents_selector_config.py diff --git a/thousandeyes-sdk-endpoint-instant-tests/README.md b/thousandeyes-sdk-endpoint-instant-tests/README.md index 1e85dafe..0cdf9d8a 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.26 +- API version: 7.0.28 - Generator version: 7.6.0 - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator @@ -121,6 +121,7 @@ Class | Method | HTTP request | Description - [EndpointHttpServerInstantTest](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-endpoint-instant-tests/docs/EndpointHttpServerInstantTest.md) - [EndpointHttpServerTest](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-endpoint-instant-tests/docs/EndpointHttpServerTest.md) - [EndpointInstantTest](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-endpoint-instant-tests/docs/EndpointInstantTest.md) + - [EndpointIpVersionTemplate](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-endpoint-instant-tests/docs/EndpointIpVersionTemplate.md) - [EndpointRunScheduledInstantTestResult](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-endpoint-instant-tests/docs/EndpointRunScheduledInstantTestResult.md) - [EndpointScheduledTestType](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-endpoint-instant-tests/docs/EndpointScheduledTestType.md) - [EndpointSpecificAgentsSelectorConfig](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-endpoint-instant-tests/docs/EndpointSpecificAgentsSelectorConfig.md) diff --git a/thousandeyes-sdk-endpoint-instant-tests/docs/EndpointAgentToServerTest.md b/thousandeyes-sdk-endpoint-instant-tests/docs/EndpointAgentToServerTest.md index 724d37ab..5b5a7d76 100644 --- a/thousandeyes-sdk-endpoint-instant-tests/docs/EndpointAgentToServerTest.md +++ b/thousandeyes-sdk-endpoint-instant-tests/docs/EndpointAgentToServerTest.md @@ -16,6 +16,7 @@ Name | Type | Description | Notes **modified_date** | **datetime** | UTC last modification date (ISO date-time format). | [optional] [readonly] **network_measurements** | **bool** | Enable or disable network measurements. Set to true to enable or false to disable network measurements. | [optional] [default to True] **protocol** | [**EndpointTestProtocol**](EndpointTestProtocol.md) | | [optional] +**ip_version** | [**EndpointIpVersionTemplate**](EndpointIpVersionTemplate.md) | | [optional] **server** | **str** | Target domain name or IP address. | [optional] **test_id** | **str** | Each test is assigned a unique ID to access test data from other endpoints. | [optional] [readonly] **test_name** | **str** | Name of the test. | [optional] diff --git a/thousandeyes-sdk-endpoint-instant-tests/docs/EndpointHttpServerTest.md b/thousandeyes-sdk-endpoint-instant-tests/docs/EndpointHttpServerTest.md index ef3a3c70..7171170b 100644 --- a/thousandeyes-sdk-endpoint-instant-tests/docs/EndpointHttpServerTest.md +++ b/thousandeyes-sdk-endpoint-instant-tests/docs/EndpointHttpServerTest.md @@ -16,6 +16,7 @@ Name | Type | Description | Notes **modified_date** | **datetime** | UTC last modification date (ISO date-time format). | [optional] [readonly] **network_measurements** | **bool** | Enable or disable network measurements. Set to true to enable or false to disable network measurements. | [optional] [default to True] **protocol** | [**EndpointTestProtocol**](EndpointTestProtocol.md) | | [optional] +**ip_version** | [**EndpointIpVersionTemplate**](EndpointIpVersionTemplate.md) | | [optional] **server** | **str** | Target domain name or IP address. | [optional] **test_id** | **str** | Each test is assigned a unique ID to access test data from other endpoints. | [optional] [readonly] **test_name** | **str** | Name of the test. | [optional] diff --git a/thousandeyes-sdk-endpoint-instant-tests/docs/EndpointIpVersionTemplate.md b/thousandeyes-sdk-endpoint-instant-tests/docs/EndpointIpVersionTemplate.md new file mode 100644 index 00000000..bd754245 --- /dev/null +++ b/thousandeyes-sdk-endpoint-instant-tests/docs/EndpointIpVersionTemplate.md @@ -0,0 +1,12 @@ +# EndpointIpVersionTemplate + +IP version the test should use for network tests. + +## 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-endpoint-instant-tests/docs/EndpointTest.md b/thousandeyes-sdk-endpoint-instant-tests/docs/EndpointTest.md index 18020bba..f6ac1aec 100644 --- a/thousandeyes-sdk-endpoint-instant-tests/docs/EndpointTest.md +++ b/thousandeyes-sdk-endpoint-instant-tests/docs/EndpointTest.md @@ -16,6 +16,7 @@ Name | Type | Description | Notes **modified_date** | **datetime** | UTC last modification date (ISO date-time format). | [optional] [readonly] **network_measurements** | **bool** | Enable or disable network measurements. Set to true to enable or false to disable network measurements. | [optional] [default to True] **protocol** | [**EndpointTestProtocol**](EndpointTestProtocol.md) | | [optional] +**ip_version** | [**EndpointIpVersionTemplate**](EndpointIpVersionTemplate.md) | | [optional] **server** | **str** | Target domain name or IP address. | [optional] **test_id** | **str** | Each test is assigned a unique ID to access test data from other endpoints. | [optional] [readonly] **test_name** | **str** | Name of the test. | [optional] diff --git a/thousandeyes-sdk-endpoint-instant-tests/src/thousandeyes_sdk/endpoint_instant_tests/__init__.py b/thousandeyes-sdk-endpoint-instant-tests/src/thousandeyes_sdk/endpoint_instant_tests/__init__.py index bd904312..bfac7485 100644 --- a/thousandeyes-sdk-endpoint-instant-tests/src/thousandeyes_sdk/endpoint_instant_tests/__init__.py +++ b/thousandeyes-sdk-endpoint-instant-tests/src/thousandeyes_sdk/endpoint_instant_tests/__init__.py @@ -29,6 +29,7 @@ from thousandeyes_sdk.endpoint_instant_tests.models.endpoint_http_server_base_te from thousandeyes_sdk.endpoint_instant_tests.models.endpoint_http_server_instant_test import EndpointHttpServerInstantTest from thousandeyes_sdk.endpoint_instant_tests.models.endpoint_http_server_test import EndpointHttpServerTest from thousandeyes_sdk.endpoint_instant_tests.models.endpoint_instant_test import EndpointInstantTest +from thousandeyes_sdk.endpoint_instant_tests.models.endpoint_ip_version_template import EndpointIpVersionTemplate from thousandeyes_sdk.endpoint_instant_tests.models.endpoint_run_scheduled_instant_test_result import EndpointRunScheduledInstantTestResult from thousandeyes_sdk.endpoint_instant_tests.models.endpoint_scheduled_test_type import EndpointScheduledTestType from thousandeyes_sdk.endpoint_instant_tests.models.endpoint_specific_agents_selector_config import EndpointSpecificAgentsSelectorConfig diff --git a/thousandeyes-sdk-endpoint-instant-tests/src/thousandeyes_sdk/endpoint_instant_tests/models/__init__.py b/thousandeyes-sdk-endpoint-instant-tests/src/thousandeyes_sdk/endpoint_instant_tests/models/__init__.py index 4c82d9e9..864d8bb5 100644 --- a/thousandeyes-sdk-endpoint-instant-tests/src/thousandeyes_sdk/endpoint_instant_tests/models/__init__.py +++ b/thousandeyes-sdk-endpoint-instant-tests/src/thousandeyes_sdk/endpoint_instant_tests/models/__init__.py @@ -22,6 +22,7 @@ from thousandeyes_sdk.endpoint_instant_tests.models.endpoint_http_server_base_te from thousandeyes_sdk.endpoint_instant_tests.models.endpoint_http_server_instant_test import EndpointHttpServerInstantTest from thousandeyes_sdk.endpoint_instant_tests.models.endpoint_http_server_test import EndpointHttpServerTest from thousandeyes_sdk.endpoint_instant_tests.models.endpoint_instant_test import EndpointInstantTest +from thousandeyes_sdk.endpoint_instant_tests.models.endpoint_ip_version_template import EndpointIpVersionTemplate from thousandeyes_sdk.endpoint_instant_tests.models.endpoint_run_scheduled_instant_test_result import EndpointRunScheduledInstantTestResult from thousandeyes_sdk.endpoint_instant_tests.models.endpoint_scheduled_test_type import EndpointScheduledTestType from thousandeyes_sdk.endpoint_instant_tests.models.endpoint_specific_agents_selector_config import EndpointSpecificAgentsSelectorConfig diff --git a/thousandeyes-sdk-endpoint-instant-tests/src/thousandeyes_sdk/endpoint_instant_tests/models/endpoint_agent_to_server_test.py b/thousandeyes-sdk-endpoint-instant-tests/src/thousandeyes_sdk/endpoint_instant_tests/models/endpoint_agent_to_server_test.py index 38f8cdbf..2f218834 100644 --- a/thousandeyes-sdk-endpoint-instant-tests/src/thousandeyes_sdk/endpoint_instant_tests/models/endpoint_agent_to_server_test.py +++ b/thousandeyes-sdk-endpoint-instant-tests/src/thousandeyes_sdk/endpoint_instant_tests/models/endpoint_agent_to_server_test.py @@ -21,6 +21,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, Strict from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated from thousandeyes_sdk.endpoint_instant_tests.models.endpoint_agent_selector_config import EndpointAgentSelectorConfig +from thousandeyes_sdk.endpoint_instant_tests.models.endpoint_ip_version_template import EndpointIpVersionTemplate from thousandeyes_sdk.endpoint_instant_tests.models.endpoint_test_links import EndpointTestLinks from thousandeyes_sdk.endpoint_instant_tests.models.endpoint_test_protocol import EndpointTestProtocol from thousandeyes_sdk.endpoint_instant_tests.models.test_interval import TestInterval @@ -44,6 +45,7 @@ class EndpointAgentToServerTest(BaseModel): modified_date: Optional[datetime] = Field(default=None, description="UTC last modification date (ISO date-time format).", alias="modifiedDate") network_measurements: Optional[StrictBool] = Field(default=True, description="Enable or disable network measurements. Set to true to enable or false to disable network measurements.", alias="networkMeasurements") protocol: Optional[EndpointTestProtocol] = None + ip_version: Optional[EndpointIpVersionTemplate] = Field(default=None, alias="ipVersion") server: Optional[StrictStr] = Field(default=None, description="Target domain name or IP address.") test_id: Optional[StrictStr] = Field(default=None, description="Each test is assigned a unique ID to access test data from other endpoints.", alias="testId") test_name: Optional[StrictStr] = Field(default=None, description="Name of the test.", alias="testName") @@ -51,7 +53,7 @@ class EndpointAgentToServerTest(BaseModel): tcp_probe_mode: Optional[TestProbeModeResponse] = Field(default=None, alias="tcpProbeMode") port: Optional[StrictInt] = Field(default=443, description="Port number.") labels: Optional[List[TestLabel]] = None - __properties: ClassVar[List[str]] = ["aid", "_links", "agentSelectorConfig", "createdDate", "interval", "isEnabled", "isSavedEvent", "hasPathTraceInSession", "modifiedDate", "networkMeasurements", "protocol", "server", "testId", "testName", "type", "tcpProbeMode", "port", "labels"] + __properties: ClassVar[List[str]] = ["aid", "_links", "agentSelectorConfig", "createdDate", "interval", "isEnabled", "isSavedEvent", "hasPathTraceInSession", "modifiedDate", "networkMeasurements", "protocol", "ipVersion", "server", "testId", "testName", "type", "tcpProbeMode", "port", "labels"] @field_validator('type') def type_validate_regular_expression(cls, value): @@ -148,6 +150,7 @@ class EndpointAgentToServerTest(BaseModel): "modifiedDate": obj.get("modifiedDate"), "networkMeasurements": obj.get("networkMeasurements") if obj.get("networkMeasurements") is not None else True, "protocol": obj.get("protocol"), + "ipVersion": obj.get("ipVersion"), "server": obj.get("server"), "testId": obj.get("testId"), "testName": obj.get("testName"), diff --git a/thousandeyes-sdk-endpoint-instant-tests/src/thousandeyes_sdk/endpoint_instant_tests/models/endpoint_http_server_test.py b/thousandeyes-sdk-endpoint-instant-tests/src/thousandeyes_sdk/endpoint_instant_tests/models/endpoint_http_server_test.py index 63447d72..3e59e1d3 100644 --- a/thousandeyes-sdk-endpoint-instant-tests/src/thousandeyes_sdk/endpoint_instant_tests/models/endpoint_http_server_test.py +++ b/thousandeyes-sdk-endpoint-instant-tests/src/thousandeyes_sdk/endpoint_instant_tests/models/endpoint_http_server_test.py @@ -21,6 +21,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, Strict from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated from thousandeyes_sdk.endpoint_instant_tests.models.endpoint_agent_selector_config import EndpointAgentSelectorConfig +from thousandeyes_sdk.endpoint_instant_tests.models.endpoint_ip_version_template import EndpointIpVersionTemplate from thousandeyes_sdk.endpoint_instant_tests.models.endpoint_test_auth_type import EndpointTestAuthType from thousandeyes_sdk.endpoint_instant_tests.models.endpoint_test_links import EndpointTestLinks from thousandeyes_sdk.endpoint_instant_tests.models.endpoint_test_protocol import EndpointTestProtocol @@ -46,6 +47,7 @@ class EndpointHttpServerTest(BaseModel): modified_date: Optional[datetime] = Field(default=None, description="UTC last modification date (ISO date-time format).", alias="modifiedDate") network_measurements: Optional[StrictBool] = Field(default=True, description="Enable or disable network measurements. Set to true to enable or false to disable network measurements.", alias="networkMeasurements") protocol: Optional[EndpointTestProtocol] = None + ip_version: Optional[EndpointIpVersionTemplate] = Field(default=None, alias="ipVersion") server: Optional[StrictStr] = Field(default=None, description="Target domain name or IP address.") test_id: Optional[StrictStr] = Field(default=None, description="Each test is assigned a unique ID to access test data from other endpoints.", alias="testId") test_name: Optional[StrictStr] = Field(default=None, description="Name of the test.", alias="testName") @@ -64,7 +66,7 @@ class EndpointHttpServerTest(BaseModel): ssl_version: Optional[StrictStr] = Field(default=None, description="Reflects the verbose SSL protocol version used by a test.", alias="sslVersion") use_ntlm: Optional[StrictBool] = Field(default=None, description="Set to true to use NTLM, false to use Basic Authentication. Requires username and password to be set.", alias="useNtlm") labels: Optional[List[TestLabel]] = None - __properties: ClassVar[List[str]] = ["aid", "_links", "agentSelectorConfig", "createdDate", "interval", "isEnabled", "isSavedEvent", "hasPathTraceInSession", "modifiedDate", "networkMeasurements", "protocol", "server", "testId", "testName", "type", "tcpProbeMode", "port", "authType", "httpTimeLimit", "username", "sslVersionId", "verifyCertificate", "url", "followRedirects", "httpTargetTime", "httpVersion", "sslVersion", "useNtlm", "labels"] + __properties: ClassVar[List[str]] = ["aid", "_links", "agentSelectorConfig", "createdDate", "interval", "isEnabled", "isSavedEvent", "hasPathTraceInSession", "modifiedDate", "networkMeasurements", "protocol", "ipVersion", "server", "testId", "testName", "type", "tcpProbeMode", "port", "authType", "httpTimeLimit", "username", "sslVersionId", "verifyCertificate", "url", "followRedirects", "httpTargetTime", "httpVersion", "sslVersion", "useNtlm", "labels"] @field_validator('type') def type_validate_regular_expression(cls, value): @@ -163,6 +165,7 @@ class EndpointHttpServerTest(BaseModel): "modifiedDate": obj.get("modifiedDate"), "networkMeasurements": obj.get("networkMeasurements") if obj.get("networkMeasurements") is not None else True, "protocol": obj.get("protocol"), + "ipVersion": obj.get("ipVersion"), "server": obj.get("server"), "testId": obj.get("testId"), "testName": obj.get("testName"), diff --git a/thousandeyes-sdk-endpoint-instant-tests/src/thousandeyes_sdk/endpoint_instant_tests/models/endpoint_ip_version_template.py b/thousandeyes-sdk-endpoint-instant-tests/src/thousandeyes_sdk/endpoint_instant_tests/models/endpoint_ip_version_template.py new file mode 100644 index 00000000..6928970c --- /dev/null +++ b/thousandeyes-sdk-endpoint-instant-tests/src/thousandeyes_sdk/endpoint_instant_tests/models/endpoint_ip_version_template.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Endpoint Instant Scheduled Tests API + + You can create and execute a new endpoint instant scheduled test within ThousandEyes using this API. The test parameters are specified in the `POST` data. The following applies to the Endpoint Instant Scheduled Tests API: * To initiate the creation and execution of an instant scheduled test, the user must possess the `Edit endpoint tests` permission. * Upon successful creation of an instant scheduled test, the API responds with an HTTP/201 CREATED status code and return the test definition. * It's important to note that the response does not include the results of the instant scheduled test. To retrieve test results, users can utilize the Endpoint Test Data endpoints. The URLs for these API test data endpoints are provided within the test definition output when an instant scheduled test is created. + + 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 EndpointIpVersionTemplate(str, Enum): + """ + IP version the test should use for network tests. + """ + + """ + allowed enum values + """ + V4_ONLY = 'V4_ONLY' + V6_ONLY = 'V6_ONLY' + V6_PREFER = 'V6_PREFER' + OS_DEFAULT = 'OS_DEFAULT' + UNKNOWN = 'unknown' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of EndpointIpVersionTemplate 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-endpoint-instant-tests/src/thousandeyes_sdk/endpoint_instant_tests/models/endpoint_test.py b/thousandeyes-sdk-endpoint-instant-tests/src/thousandeyes_sdk/endpoint_instant_tests/models/endpoint_test.py index 9c96cc35..055100bb 100644 --- a/thousandeyes-sdk-endpoint-instant-tests/src/thousandeyes_sdk/endpoint_instant_tests/models/endpoint_test.py +++ b/thousandeyes-sdk-endpoint-instant-tests/src/thousandeyes_sdk/endpoint_instant_tests/models/endpoint_test.py @@ -20,6 +20,7 @@ from datetime import datetime from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr from typing import Any, ClassVar, Dict, List, Optional from thousandeyes_sdk.endpoint_instant_tests.models.endpoint_agent_selector_config import EndpointAgentSelectorConfig +from thousandeyes_sdk.endpoint_instant_tests.models.endpoint_ip_version_template import EndpointIpVersionTemplate from thousandeyes_sdk.endpoint_instant_tests.models.endpoint_scheduled_test_type import EndpointScheduledTestType from thousandeyes_sdk.endpoint_instant_tests.models.endpoint_test_links import EndpointTestLinks from thousandeyes_sdk.endpoint_instant_tests.models.endpoint_test_protocol import EndpointTestProtocol @@ -43,13 +44,14 @@ class EndpointTest(BaseModel): modified_date: Optional[datetime] = Field(default=None, description="UTC last modification date (ISO date-time format).", alias="modifiedDate") network_measurements: Optional[StrictBool] = Field(default=True, description="Enable or disable network measurements. Set to true to enable or false to disable network measurements.", alias="networkMeasurements") protocol: Optional[EndpointTestProtocol] = None + ip_version: Optional[EndpointIpVersionTemplate] = Field(default=None, alias="ipVersion") server: Optional[StrictStr] = Field(default=None, description="Target domain name or IP address.") test_id: Optional[StrictStr] = Field(default=None, description="Each test is assigned a unique ID to access test data from other endpoints.", alias="testId") test_name: Optional[StrictStr] = Field(default=None, description="Name of the test.", alias="testName") type: EndpointScheduledTestType tcp_probe_mode: Optional[TestProbeModeResponse] = Field(default=None, alias="tcpProbeMode") port: Optional[StrictInt] = Field(default=443, description="Port number.") - __properties: ClassVar[List[str]] = ["aid", "_links", "agentSelectorConfig", "createdDate", "interval", "isEnabled", "isSavedEvent", "hasPathTraceInSession", "modifiedDate", "networkMeasurements", "protocol", "server", "testId", "testName", "type", "tcpProbeMode", "port"] + __properties: ClassVar[List[str]] = ["aid", "_links", "agentSelectorConfig", "createdDate", "interval", "isEnabled", "isSavedEvent", "hasPathTraceInSession", "modifiedDate", "networkMeasurements", "protocol", "ipVersion", "server", "testId", "testName", "type", "tcpProbeMode", "port"] model_config = ConfigDict( populate_by_name=True, @@ -128,6 +130,7 @@ class EndpointTest(BaseModel): "modifiedDate": obj.get("modifiedDate"), "networkMeasurements": obj.get("networkMeasurements") if obj.get("networkMeasurements") is not None else True, "protocol": obj.get("protocol"), + "ipVersion": obj.get("ipVersion"), "server": obj.get("server"), "testId": obj.get("testId"), "testName": obj.get("testName"), diff --git a/thousandeyes-sdk-endpoint-instant-tests/test/test_agent_to_server_endpoint_instant_scheduled_tests_api.py b/thousandeyes-sdk-endpoint-instant-tests/test/test_agent_to_server_endpoint_instant_scheduled_tests_api.py index 78cd5088..77d3f189 100644 --- a/thousandeyes-sdk-endpoint-instant-tests/test/test_agent_to_server_endpoint_instant_scheduled_tests_api.py +++ b/thousandeyes-sdk-endpoint-instant-tests/test/test_agent_to_server_endpoint_instant_scheduled_tests_api.py @@ -80,6 +80,7 @@ class TestAgentToServerEndpointInstantScheduledTestsApi(unittest.TestCase): } ], "protocol" : "icmp", "createdDate" : "2022-07-17T22:00:54Z", + "ipVersion" : "V4_ONLY", "port" : 443, "isEnabled" : true, "modifiedDate" : "2022-07-17T22:00:54Z", diff --git a/thousandeyes-sdk-endpoint-instant-tests/test/test_http_server_endpoint_instant_scheduled_tests_api.py b/thousandeyes-sdk-endpoint-instant-tests/test/test_http_server_endpoint_instant_scheduled_tests_api.py index f92f915a..a09cc100 100644 --- a/thousandeyes-sdk-endpoint-instant-tests/test/test_http_server_endpoint_instant_scheduled_tests_api.py +++ b/thousandeyes-sdk-endpoint-instant-tests/test/test_http_server_endpoint_instant_scheduled_tests_api.py @@ -101,6 +101,7 @@ class TestHTTPServerEndpointInstantScheduledTestsApi(unittest.TestCase): "isBuiltin" : false } ], "createdDate" : "2022-07-17T22:00:54Z", + "ipVersion" : "V4_ONLY", "port" : 443, "isEnabled" : true, "modifiedDate" : "2022-07-17T22:00:54Z", diff --git a/thousandeyes-sdk-endpoint-labels/README.md b/thousandeyes-sdk-endpoint-labels/README.md index 95a57ea3..57ff5ec0 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.26 +- API version: 7.0.28 - Generator version: 7.6.0 - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator diff --git a/thousandeyes-sdk-endpoint-test-results/.openapi-generator/FILES b/thousandeyes-sdk-endpoint-test-results/.openapi-generator/FILES index 31fcb051..b49795c2 100644 --- a/thousandeyes-sdk-endpoint-test-results/.openapi-generator/FILES +++ b/thousandeyes-sdk-endpoint-test-results/.openapi-generator/FILES @@ -20,6 +20,7 @@ docs/EndpointBrowser.md docs/EndpointHttpDataPointScore.md docs/EndpointHttpServerBaseTest.md docs/EndpointHttpServerTest.md +docs/EndpointIpVersionTemplate.md docs/EndpointNetworkTopologyResultRequest.md docs/EndpointNetworkTopologyResultRequestFilter.md docs/EndpointPathTrace.md @@ -173,6 +174,7 @@ src/thousandeyes_sdk/endpoint_test_results/models/endpoint_browser.py src/thousandeyes_sdk/endpoint_test_results/models/endpoint_http_data_point_score.py src/thousandeyes_sdk/endpoint_test_results/models/endpoint_http_server_base_test.py src/thousandeyes_sdk/endpoint_test_results/models/endpoint_http_server_test.py +src/thousandeyes_sdk/endpoint_test_results/models/endpoint_ip_version_template.py src/thousandeyes_sdk/endpoint_test_results/models/endpoint_network_topology_result_request.py src/thousandeyes_sdk/endpoint_test_results/models/endpoint_network_topology_result_request_filter.py src/thousandeyes_sdk/endpoint_test_results/models/endpoint_path_trace.py diff --git a/thousandeyes-sdk-endpoint-test-results/README.md b/thousandeyes-sdk-endpoint-test-results/README.md index 230cc150..acca54f1 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.26 +- API version: 7.0.28 - Generator version: 7.6.0 - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator @@ -140,6 +140,7 @@ Class | Method | HTTP request | Description - [EndpointHttpDataPointScore](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-endpoint-test-results/docs/EndpointHttpDataPointScore.md) - [EndpointHttpServerBaseTest](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-endpoint-test-results/docs/EndpointHttpServerBaseTest.md) - [EndpointHttpServerTest](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-endpoint-test-results/docs/EndpointHttpServerTest.md) + - [EndpointIpVersionTemplate](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-endpoint-test-results/docs/EndpointIpVersionTemplate.md) - [EndpointNetworkTopologyResultRequest](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-endpoint-test-results/docs/EndpointNetworkTopologyResultRequest.md) - [EndpointNetworkTopologyResultRequestFilter](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-endpoint-test-results/docs/EndpointNetworkTopologyResultRequestFilter.md) - [EndpointPathTrace](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-endpoint-test-results/docs/EndpointPathTrace.md) diff --git a/thousandeyes-sdk-endpoint-test-results/docs/DynamicTest.md b/thousandeyes-sdk-endpoint-test-results/docs/DynamicTest.md index aa5ecd22..453ceae6 100644 --- a/thousandeyes-sdk-endpoint-test-results/docs/DynamicTest.md +++ b/thousandeyes-sdk-endpoint-test-results/docs/DynamicTest.md @@ -18,6 +18,7 @@ Name | Type | Description | Notes **modified_date** | **datetime** | UTC last modification date (ISO date-time format). | [optional] [readonly] **network_measurements** | **bool** | Enable or disable network measurements. Set to true to enable or false to disable network measurements. | [optional] [default to True] **protocol** | [**EndpointTestProtocol**](EndpointTestProtocol.md) | | [optional] +**ip_version** | [**EndpointIpVersionTemplate**](EndpointIpVersionTemplate.md) | | [optional] **tcp_probe_mode** | [**TestProbeModeResponse**](TestProbeModeResponse.md) | | [optional] **test_id** | **str** | Each test is assigned a unique ID; this is used to access test information and results from other endpoints. | [optional] [readonly] **test_name** | **str** | Name of the test. | [optional] diff --git a/thousandeyes-sdk-endpoint-test-results/docs/EndpointAgentToServerTest.md b/thousandeyes-sdk-endpoint-test-results/docs/EndpointAgentToServerTest.md index aa743dd2..61099ac7 100644 --- a/thousandeyes-sdk-endpoint-test-results/docs/EndpointAgentToServerTest.md +++ b/thousandeyes-sdk-endpoint-test-results/docs/EndpointAgentToServerTest.md @@ -16,6 +16,7 @@ Name | Type | Description | Notes **modified_date** | **datetime** | UTC last modification date (ISO date-time format). | [optional] [readonly] **network_measurements** | **bool** | Enable or disable network measurements. Set to true to enable or false to disable network measurements. | [optional] [default to True] **protocol** | [**EndpointTestProtocol**](EndpointTestProtocol.md) | | [optional] +**ip_version** | [**EndpointIpVersionTemplate**](EndpointIpVersionTemplate.md) | | [optional] **server** | **str** | Target domain name or IP address. | [optional] **test_id** | **str** | Each test is assigned a unique ID to access test data from other endpoints. | [optional] [readonly] **test_name** | **str** | Name of the test. | [optional] diff --git a/thousandeyes-sdk-endpoint-test-results/docs/EndpointHttpServerTest.md b/thousandeyes-sdk-endpoint-test-results/docs/EndpointHttpServerTest.md index d4344548..0ecc7a9c 100644 --- a/thousandeyes-sdk-endpoint-test-results/docs/EndpointHttpServerTest.md +++ b/thousandeyes-sdk-endpoint-test-results/docs/EndpointHttpServerTest.md @@ -16,6 +16,7 @@ Name | Type | Description | Notes **modified_date** | **datetime** | UTC last modification date (ISO date-time format). | [optional] [readonly] **network_measurements** | **bool** | Enable or disable network measurements. Set to true to enable or false to disable network measurements. | [optional] [default to True] **protocol** | [**EndpointTestProtocol**](EndpointTestProtocol.md) | | [optional] +**ip_version** | [**EndpointIpVersionTemplate**](EndpointIpVersionTemplate.md) | | [optional] **server** | **str** | Target domain name or IP address. | [optional] **test_id** | **str** | Each test is assigned a unique ID to access test data from other endpoints. | [optional] [readonly] **test_name** | **str** | Name of the test. | [optional] diff --git a/thousandeyes-sdk-endpoint-test-results/docs/EndpointIpVersionTemplate.md b/thousandeyes-sdk-endpoint-test-results/docs/EndpointIpVersionTemplate.md new file mode 100644 index 00000000..bd754245 --- /dev/null +++ b/thousandeyes-sdk-endpoint-test-results/docs/EndpointIpVersionTemplate.md @@ -0,0 +1,12 @@ +# EndpointIpVersionTemplate + +IP version the test should use for network tests. + +## 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-endpoint-test-results/docs/EndpointScheduledTest.md b/thousandeyes-sdk-endpoint-test-results/docs/EndpointScheduledTest.md index fc5816bb..c7df46ec 100644 --- a/thousandeyes-sdk-endpoint-test-results/docs/EndpointScheduledTest.md +++ b/thousandeyes-sdk-endpoint-test-results/docs/EndpointScheduledTest.md @@ -16,6 +16,7 @@ Name | Type | Description | Notes **modified_date** | **datetime** | UTC last modification date (ISO date-time format). | [optional] [readonly] **network_measurements** | **bool** | Enable or disable network measurements. Set to true to enable or false to disable network measurements. | [optional] [default to True] **protocol** | [**EndpointTestProtocol**](EndpointTestProtocol.md) | | [optional] +**ip_version** | [**EndpointIpVersionTemplate**](EndpointIpVersionTemplate.md) | | [optional] **server** | **str** | Target domain name or IP address. | [optional] **test_id** | **str** | Each test is assigned a unique ID to access test data from other endpoints. | [optional] [readonly] **test_name** | **str** | Name of the test. | [optional] diff --git a/thousandeyes-sdk-endpoint-test-results/docs/EndpointTest.md b/thousandeyes-sdk-endpoint-test-results/docs/EndpointTest.md index f75b3475..9a281d7d 100644 --- a/thousandeyes-sdk-endpoint-test-results/docs/EndpointTest.md +++ b/thousandeyes-sdk-endpoint-test-results/docs/EndpointTest.md @@ -16,6 +16,7 @@ Name | Type | Description | Notes **modified_date** | **datetime** | UTC last modification date (ISO date-time format). | [optional] [readonly] **network_measurements** | **bool** | Enable or disable network measurements. Set to true to enable or false to disable network measurements. | [optional] [default to True] **protocol** | [**EndpointTestProtocol**](EndpointTestProtocol.md) | | [optional] +**ip_version** | [**EndpointIpVersionTemplate**](EndpointIpVersionTemplate.md) | | [optional] **server** | **str** | Target domain name or IP address. | [optional] **test_id** | **str** | Each test is assigned a unique ID to access test data from other endpoints. | [optional] [readonly] **test_name** | **str** | Name of the test. | [optional] diff --git a/thousandeyes-sdk-endpoint-test-results/src/thousandeyes_sdk/endpoint_test_results/__init__.py b/thousandeyes-sdk-endpoint-test-results/src/thousandeyes_sdk/endpoint_test_results/__init__.py index b1698df0..f21a84ae 100644 --- a/thousandeyes-sdk-endpoint-test-results/src/thousandeyes_sdk/endpoint_test_results/__init__.py +++ b/thousandeyes-sdk-endpoint-test-results/src/thousandeyes_sdk/endpoint_test_results/__init__.py @@ -41,6 +41,7 @@ from thousandeyes_sdk.endpoint_test_results.models.endpoint_browser import Endpo from thousandeyes_sdk.endpoint_test_results.models.endpoint_http_data_point_score import EndpointHttpDataPointScore from thousandeyes_sdk.endpoint_test_results.models.endpoint_http_server_base_test import EndpointHttpServerBaseTest from thousandeyes_sdk.endpoint_test_results.models.endpoint_http_server_test import EndpointHttpServerTest +from thousandeyes_sdk.endpoint_test_results.models.endpoint_ip_version_template import EndpointIpVersionTemplate from thousandeyes_sdk.endpoint_test_results.models.endpoint_network_topology_result_request import EndpointNetworkTopologyResultRequest from thousandeyes_sdk.endpoint_test_results.models.endpoint_network_topology_result_request_filter import EndpointNetworkTopologyResultRequestFilter from thousandeyes_sdk.endpoint_test_results.models.endpoint_path_trace import EndpointPathTrace diff --git a/thousandeyes-sdk-endpoint-test-results/src/thousandeyes_sdk/endpoint_test_results/models/__init__.py b/thousandeyes-sdk-endpoint-test-results/src/thousandeyes_sdk/endpoint_test_results/models/__init__.py index 49b421c1..2de0f5bc 100644 --- a/thousandeyes-sdk-endpoint-test-results/src/thousandeyes_sdk/endpoint_test_results/models/__init__.py +++ b/thousandeyes-sdk-endpoint-test-results/src/thousandeyes_sdk/endpoint_test_results/models/__init__.py @@ -32,6 +32,7 @@ from thousandeyes_sdk.endpoint_test_results.models.endpoint_browser import Endpo from thousandeyes_sdk.endpoint_test_results.models.endpoint_http_data_point_score import EndpointHttpDataPointScore from thousandeyes_sdk.endpoint_test_results.models.endpoint_http_server_base_test import EndpointHttpServerBaseTest from thousandeyes_sdk.endpoint_test_results.models.endpoint_http_server_test import EndpointHttpServerTest +from thousandeyes_sdk.endpoint_test_results.models.endpoint_ip_version_template import EndpointIpVersionTemplate from thousandeyes_sdk.endpoint_test_results.models.endpoint_network_topology_result_request import EndpointNetworkTopologyResultRequest from thousandeyes_sdk.endpoint_test_results.models.endpoint_network_topology_result_request_filter import EndpointNetworkTopologyResultRequestFilter from thousandeyes_sdk.endpoint_test_results.models.endpoint_path_trace import EndpointPathTrace diff --git a/thousandeyes-sdk-endpoint-test-results/src/thousandeyes_sdk/endpoint_test_results/models/dynamic_test.py b/thousandeyes-sdk-endpoint-test-results/src/thousandeyes_sdk/endpoint_test_results/models/dynamic_test.py index 15a13a2a..947028ef 100644 --- a/thousandeyes-sdk-endpoint-test-results/src/thousandeyes_sdk/endpoint_test_results/models/dynamic_test.py +++ b/thousandeyes-sdk-endpoint-test-results/src/thousandeyes_sdk/endpoint_test_results/models/dynamic_test.py @@ -21,6 +21,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr from typing import Any, ClassVar, Dict, List, Optional from thousandeyes_sdk.endpoint_test_results.models.dynamic_test_links import DynamicTestLinks from thousandeyes_sdk.endpoint_test_results.models.endpoint_agent_selector_config import EndpointAgentSelectorConfig +from thousandeyes_sdk.endpoint_test_results.models.endpoint_ip_version_template import EndpointIpVersionTemplate from thousandeyes_sdk.endpoint_test_results.models.endpoint_test_protocol import EndpointTestProtocol from thousandeyes_sdk.endpoint_test_results.models.test_interval import TestInterval from thousandeyes_sdk.endpoint_test_results.models.test_label import TestLabel @@ -45,11 +46,12 @@ class DynamicTest(BaseModel): modified_date: Optional[datetime] = Field(default=None, description="UTC last modification date (ISO date-time format).", alias="modifiedDate") network_measurements: Optional[StrictBool] = Field(default=True, description="Enable or disable network measurements. Set to true to enable or false to disable network measurements.", alias="networkMeasurements") protocol: Optional[EndpointTestProtocol] = None + ip_version: Optional[EndpointIpVersionTemplate] = Field(default=None, alias="ipVersion") tcp_probe_mode: Optional[TestProbeModeResponse] = Field(default=None, alias="tcpProbeMode") test_id: Optional[StrictStr] = Field(default=None, description="Each test is assigned a unique ID; this is used to access test information and results from other endpoints.", alias="testId") test_name: Optional[StrictStr] = Field(default=None, description="Name of the test.", alias="testName") labels: Optional[List[TestLabel]] = None - __properties: ClassVar[List[str]] = ["aid", "_links", "agentSelectorConfig", "application", "createdDate", "interval", "isEnabled", "hasPathTraceInSession", "hasPing", "hasTraceroute", "modifiedDate", "networkMeasurements", "protocol", "tcpProbeMode", "testId", "testName", "labels"] + __properties: ClassVar[List[str]] = ["aid", "_links", "agentSelectorConfig", "application", "createdDate", "interval", "isEnabled", "hasPathTraceInSession", "hasPing", "hasTraceroute", "modifiedDate", "networkMeasurements", "protocol", "ipVersion", "tcpProbeMode", "testId", "testName", "labels"] model_config = ConfigDict( populate_by_name=True, @@ -137,6 +139,7 @@ class DynamicTest(BaseModel): "modifiedDate": obj.get("modifiedDate"), "networkMeasurements": obj.get("networkMeasurements") if obj.get("networkMeasurements") is not None else True, "protocol": obj.get("protocol"), + "ipVersion": obj.get("ipVersion"), "tcpProbeMode": obj.get("tcpProbeMode"), "testId": obj.get("testId"), "testName": obj.get("testName"), diff --git a/thousandeyes-sdk-endpoint-test-results/src/thousandeyes_sdk/endpoint_test_results/models/endpoint_agent_to_server_test.py b/thousandeyes-sdk-endpoint-test-results/src/thousandeyes_sdk/endpoint_test_results/models/endpoint_agent_to_server_test.py index 51cf3512..c6a356e3 100644 --- a/thousandeyes-sdk-endpoint-test-results/src/thousandeyes_sdk/endpoint_test_results/models/endpoint_agent_to_server_test.py +++ b/thousandeyes-sdk-endpoint-test-results/src/thousandeyes_sdk/endpoint_test_results/models/endpoint_agent_to_server_test.py @@ -21,6 +21,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, Strict from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated from thousandeyes_sdk.endpoint_test_results.models.endpoint_agent_selector_config import EndpointAgentSelectorConfig +from thousandeyes_sdk.endpoint_test_results.models.endpoint_ip_version_template import EndpointIpVersionTemplate from thousandeyes_sdk.endpoint_test_results.models.endpoint_test_links import EndpointTestLinks from thousandeyes_sdk.endpoint_test_results.models.endpoint_test_protocol import EndpointTestProtocol from thousandeyes_sdk.endpoint_test_results.models.test_interval import TestInterval @@ -44,6 +45,7 @@ class EndpointAgentToServerTest(BaseModel): modified_date: Optional[datetime] = Field(default=None, description="UTC last modification date (ISO date-time format).", alias="modifiedDate") network_measurements: Optional[StrictBool] = Field(default=True, description="Enable or disable network measurements. Set to true to enable or false to disable network measurements.", alias="networkMeasurements") protocol: Optional[EndpointTestProtocol] = None + ip_version: Optional[EndpointIpVersionTemplate] = Field(default=None, alias="ipVersion") server: Optional[StrictStr] = Field(default=None, description="Target domain name or IP address.") test_id: Optional[StrictStr] = Field(default=None, description="Each test is assigned a unique ID to access test data from other endpoints.", alias="testId") test_name: Optional[StrictStr] = Field(default=None, description="Name of the test.", alias="testName") @@ -51,7 +53,7 @@ class EndpointAgentToServerTest(BaseModel): tcp_probe_mode: Optional[TestProbeModeResponse] = Field(default=None, alias="tcpProbeMode") port: Optional[StrictInt] = Field(default=443, description="Port number.") labels: Optional[List[TestLabel]] = None - __properties: ClassVar[List[str]] = ["aid", "_links", "agentSelectorConfig", "createdDate", "interval", "isEnabled", "isSavedEvent", "hasPathTraceInSession", "modifiedDate", "networkMeasurements", "protocol", "server", "testId", "testName", "type", "tcpProbeMode", "port", "labels"] + __properties: ClassVar[List[str]] = ["aid", "_links", "agentSelectorConfig", "createdDate", "interval", "isEnabled", "isSavedEvent", "hasPathTraceInSession", "modifiedDate", "networkMeasurements", "protocol", "ipVersion", "server", "testId", "testName", "type", "tcpProbeMode", "port", "labels"] @field_validator('type') def type_validate_regular_expression(cls, value): @@ -148,6 +150,7 @@ class EndpointAgentToServerTest(BaseModel): "modifiedDate": obj.get("modifiedDate"), "networkMeasurements": obj.get("networkMeasurements") if obj.get("networkMeasurements") is not None else True, "protocol": obj.get("protocol"), + "ipVersion": obj.get("ipVersion"), "server": obj.get("server"), "testId": obj.get("testId"), "testName": obj.get("testName"), diff --git a/thousandeyes-sdk-endpoint-test-results/src/thousandeyes_sdk/endpoint_test_results/models/endpoint_http_server_test.py b/thousandeyes-sdk-endpoint-test-results/src/thousandeyes_sdk/endpoint_test_results/models/endpoint_http_server_test.py index ce391fba..ab2c9b83 100644 --- a/thousandeyes-sdk-endpoint-test-results/src/thousandeyes_sdk/endpoint_test_results/models/endpoint_http_server_test.py +++ b/thousandeyes-sdk-endpoint-test-results/src/thousandeyes_sdk/endpoint_test_results/models/endpoint_http_server_test.py @@ -21,6 +21,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, Strict from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated from thousandeyes_sdk.endpoint_test_results.models.endpoint_agent_selector_config import EndpointAgentSelectorConfig +from thousandeyes_sdk.endpoint_test_results.models.endpoint_ip_version_template import EndpointIpVersionTemplate from thousandeyes_sdk.endpoint_test_results.models.endpoint_test_auth_type import EndpointTestAuthType from thousandeyes_sdk.endpoint_test_results.models.endpoint_test_links import EndpointTestLinks from thousandeyes_sdk.endpoint_test_results.models.endpoint_test_protocol import EndpointTestProtocol @@ -46,6 +47,7 @@ class EndpointHttpServerTest(BaseModel): modified_date: Optional[datetime] = Field(default=None, description="UTC last modification date (ISO date-time format).", alias="modifiedDate") network_measurements: Optional[StrictBool] = Field(default=True, description="Enable or disable network measurements. Set to true to enable or false to disable network measurements.", alias="networkMeasurements") protocol: Optional[EndpointTestProtocol] = None + ip_version: Optional[EndpointIpVersionTemplate] = Field(default=None, alias="ipVersion") server: Optional[StrictStr] = Field(default=None, description="Target domain name or IP address.") test_id: Optional[StrictStr] = Field(default=None, description="Each test is assigned a unique ID to access test data from other endpoints.", alias="testId") test_name: Optional[StrictStr] = Field(default=None, description="Name of the test.", alias="testName") @@ -64,7 +66,7 @@ class EndpointHttpServerTest(BaseModel): ssl_version: Optional[StrictStr] = Field(default=None, description="Reflects the verbose SSL protocol version used by a test.", alias="sslVersion") use_ntlm: Optional[StrictBool] = Field(default=None, description="Set to true to use NTLM, false to use Basic Authentication. Requires username and password to be set.", alias="useNtlm") labels: Optional[List[TestLabel]] = None - __properties: ClassVar[List[str]] = ["aid", "_links", "agentSelectorConfig", "createdDate", "interval", "isEnabled", "isSavedEvent", "hasPathTraceInSession", "modifiedDate", "networkMeasurements", "protocol", "server", "testId", "testName", "type", "tcpProbeMode", "port", "authType", "httpTimeLimit", "username", "sslVersionId", "verifyCertificate", "url", "followRedirects", "httpTargetTime", "httpVersion", "sslVersion", "useNtlm", "labels"] + __properties: ClassVar[List[str]] = ["aid", "_links", "agentSelectorConfig", "createdDate", "interval", "isEnabled", "isSavedEvent", "hasPathTraceInSession", "modifiedDate", "networkMeasurements", "protocol", "ipVersion", "server", "testId", "testName", "type", "tcpProbeMode", "port", "authType", "httpTimeLimit", "username", "sslVersionId", "verifyCertificate", "url", "followRedirects", "httpTargetTime", "httpVersion", "sslVersion", "useNtlm", "labels"] @field_validator('type') def type_validate_regular_expression(cls, value): @@ -163,6 +165,7 @@ class EndpointHttpServerTest(BaseModel): "modifiedDate": obj.get("modifiedDate"), "networkMeasurements": obj.get("networkMeasurements") if obj.get("networkMeasurements") is not None else True, "protocol": obj.get("protocol"), + "ipVersion": obj.get("ipVersion"), "server": obj.get("server"), "testId": obj.get("testId"), "testName": obj.get("testName"), diff --git a/thousandeyes-sdk-endpoint-test-results/src/thousandeyes_sdk/endpoint_test_results/models/endpoint_ip_version_template.py b/thousandeyes-sdk-endpoint-test-results/src/thousandeyes_sdk/endpoint_test_results/models/endpoint_ip_version_template.py new file mode 100644 index 00000000..4dce3e89 --- /dev/null +++ b/thousandeyes-sdk-endpoint-test-results/src/thousandeyes_sdk/endpoint_test_results/models/endpoint_ip_version_template.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Endpoint Test Results API + + Retrieve results for scheduled and dynamic tests on endpoint agents. + + 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 EndpointIpVersionTemplate(str, Enum): + """ + IP version the test should use for network tests. + """ + + """ + allowed enum values + """ + V4_ONLY = 'V4_ONLY' + V6_ONLY = 'V6_ONLY' + V6_PREFER = 'V6_PREFER' + OS_DEFAULT = 'OS_DEFAULT' + UNKNOWN = 'unknown' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of EndpointIpVersionTemplate 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-endpoint-test-results/src/thousandeyes_sdk/endpoint_test_results/models/endpoint_test.py b/thousandeyes-sdk-endpoint-test-results/src/thousandeyes_sdk/endpoint_test_results/models/endpoint_test.py index b4412bba..29fa43d7 100644 --- a/thousandeyes-sdk-endpoint-test-results/src/thousandeyes_sdk/endpoint_test_results/models/endpoint_test.py +++ b/thousandeyes-sdk-endpoint-test-results/src/thousandeyes_sdk/endpoint_test_results/models/endpoint_test.py @@ -20,6 +20,7 @@ from datetime import datetime from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr from typing import Any, ClassVar, Dict, List, Optional from thousandeyes_sdk.endpoint_test_results.models.endpoint_agent_selector_config import EndpointAgentSelectorConfig +from thousandeyes_sdk.endpoint_test_results.models.endpoint_ip_version_template import EndpointIpVersionTemplate from thousandeyes_sdk.endpoint_test_results.models.endpoint_scheduled_test_type import EndpointScheduledTestType from thousandeyes_sdk.endpoint_test_results.models.endpoint_test_links import EndpointTestLinks from thousandeyes_sdk.endpoint_test_results.models.endpoint_test_protocol import EndpointTestProtocol @@ -43,13 +44,14 @@ class EndpointTest(BaseModel): modified_date: Optional[datetime] = Field(default=None, description="UTC last modification date (ISO date-time format).", alias="modifiedDate") network_measurements: Optional[StrictBool] = Field(default=True, description="Enable or disable network measurements. Set to true to enable or false to disable network measurements.", alias="networkMeasurements") protocol: Optional[EndpointTestProtocol] = None + ip_version: Optional[EndpointIpVersionTemplate] = Field(default=None, alias="ipVersion") server: Optional[StrictStr] = Field(default=None, description="Target domain name or IP address.") test_id: Optional[StrictStr] = Field(default=None, description="Each test is assigned a unique ID to access test data from other endpoints.", alias="testId") test_name: Optional[StrictStr] = Field(default=None, description="Name of the test.", alias="testName") type: EndpointScheduledTestType tcp_probe_mode: Optional[TestProbeModeResponse] = Field(default=None, alias="tcpProbeMode") port: Optional[StrictInt] = Field(default=443, description="Port number.") - __properties: ClassVar[List[str]] = ["aid", "_links", "agentSelectorConfig", "createdDate", "interval", "isEnabled", "isSavedEvent", "hasPathTraceInSession", "modifiedDate", "networkMeasurements", "protocol", "server", "testId", "testName", "type", "tcpProbeMode", "port"] + __properties: ClassVar[List[str]] = ["aid", "_links", "agentSelectorConfig", "createdDate", "interval", "isEnabled", "isSavedEvent", "hasPathTraceInSession", "modifiedDate", "networkMeasurements", "protocol", "ipVersion", "server", "testId", "testName", "type", "tcpProbeMode", "port"] model_config = ConfigDict( populate_by_name=True, @@ -128,6 +130,7 @@ class EndpointTest(BaseModel): "modifiedDate": obj.get("modifiedDate"), "networkMeasurements": obj.get("networkMeasurements") if obj.get("networkMeasurements") is not None else True, "protocol": obj.get("protocol"), + "ipVersion": obj.get("ipVersion"), "server": obj.get("server"), "testId": obj.get("testId"), "testName": obj.get("testName"), diff --git a/thousandeyes-sdk-endpoint-test-results/test/test_http_server_endpoint_scheduled_test_results_api.py b/thousandeyes-sdk-endpoint-test-results/test/test_http_server_endpoint_scheduled_test_results_api.py index 6e954491..455691d6 100644 --- a/thousandeyes-sdk-endpoint-test-results/test/test_http_server_endpoint_scheduled_test_results_api.py +++ b/thousandeyes-sdk-endpoint-test-results/test/test_http_server_endpoint_scheduled_test_results_api.py @@ -76,6 +76,7 @@ class TestHTTPServerEndpointScheduledTestResultsApi(unittest.TestCase): "isBuiltin" : false } ], "createdDate" : "2022-07-17T22:00:54Z", + "ipVersion" : "V4_ONLY", "port" : 443, "isEnabled" : true, "modifiedDate" : "2022-07-17T22:00:54Z", diff --git a/thousandeyes-sdk-endpoint-test-results/test/test_network_dynamic_endpoint_test_results_api.py b/thousandeyes-sdk-endpoint-test-results/test/test_network_dynamic_endpoint_test_results_api.py index acdde4da..b9f7aaad 100644 --- a/thousandeyes-sdk-endpoint-test-results/test/test_network_dynamic_endpoint_test_results_api.py +++ b/thousandeyes-sdk-endpoint-test-results/test/test_network_dynamic_endpoint_test_results_api.py @@ -95,6 +95,7 @@ class TestNetworkDynamicEndpointTestResultsApi(unittest.TestCase): } ], "protocol" : "icmp", "createdDate" : "2022-07-17T22:00:54Z", + "ipVersion" : "V4_ONLY", "application" : "webex", "hasTraceroute" : true, "isEnabled" : true, @@ -370,6 +371,7 @@ class TestNetworkDynamicEndpointTestResultsApi(unittest.TestCase): } ], "protocol" : "icmp", "createdDate" : "2022-07-17T22:00:54Z", + "ipVersion" : "V4_ONLY", "application" : "webex", "hasTraceroute" : true, "isEnabled" : true, @@ -822,6 +824,7 @@ class TestNetworkDynamicEndpointTestResultsApi(unittest.TestCase): } ], "protocol" : "icmp", "createdDate" : "2022-07-17T22:00:54Z", + "ipVersion" : "V4_ONLY", "application" : "webex", "hasTraceroute" : true, "isEnabled" : true, diff --git a/thousandeyes-sdk-endpoint-test-results/test/test_network_endpoint_scheduled_test_results_api.py b/thousandeyes-sdk-endpoint-test-results/test/test_network_endpoint_scheduled_test_results_api.py index 56147a58..cab7b941 100644 --- a/thousandeyes-sdk-endpoint-test-results/test/test_network_endpoint_scheduled_test_results_api.py +++ b/thousandeyes-sdk-endpoint-test-results/test/test_network_endpoint_scheduled_test_results_api.py @@ -96,6 +96,7 @@ class TestNetworkEndpointScheduledTestResultsApi(unittest.TestCase): } ], "protocol" : "icmp", "createdDate" : "2022-07-17T22:00:54Z", + "ipVersion" : "V4_ONLY", "port" : 443, "isEnabled" : true, "modifiedDate" : "2022-07-17T22:00:54Z", @@ -591,6 +592,7 @@ class TestNetworkEndpointScheduledTestResultsApi(unittest.TestCase): } ], "protocol" : "icmp", "createdDate" : "2022-07-17T22:00:54Z", + "ipVersion" : "V4_ONLY", "port" : 443, "isEnabled" : true, "modifiedDate" : "2022-07-17T22:00:54Z", @@ -1024,6 +1026,7 @@ class TestNetworkEndpointScheduledTestResultsApi(unittest.TestCase): } ], "protocol" : "icmp", "createdDate" : "2022-07-17T22:00:54Z", + "ipVersion" : "V4_ONLY", "port" : 443, "isEnabled" : true, "modifiedDate" : "2022-07-17T22:00:54Z", 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 25e97a76..a8ba6a95 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.26.98" + "version" : "7.0.28.98" }, "creator" : { "name" : "ThousandEyes Endpoint Agent", - "version" : "7.0.26" + "version" : "7.0.28" }, "entries" : [ { "pageref" : "page_1", diff --git a/thousandeyes-sdk-endpoint-tests/.openapi-generator/FILES b/thousandeyes-sdk-endpoint-tests/.openapi-generator/FILES index 0da7ad99..4f745ad8 100644 --- a/thousandeyes-sdk-endpoint-tests/.openapi-generator/FILES +++ b/thousandeyes-sdk-endpoint-tests/.openapi-generator/FILES @@ -23,6 +23,7 @@ docs/EndpointHttpServerTestRequest.md docs/EndpointHttpServerTests.md docs/EndpointHttpTestUpdate.md docs/EndpointInstantTest.md +docs/EndpointIpVersionTemplate.md docs/EndpointNetworkTestUpdate.md docs/EndpointScheduledTestType.md docs/EndpointScheduledTestsApi.md @@ -76,6 +77,7 @@ src/thousandeyes_sdk/endpoint_tests/models/endpoint_http_server_test_request.py src/thousandeyes_sdk/endpoint_tests/models/endpoint_http_server_tests.py src/thousandeyes_sdk/endpoint_tests/models/endpoint_http_test_update.py src/thousandeyes_sdk/endpoint_tests/models/endpoint_instant_test.py +src/thousandeyes_sdk/endpoint_tests/models/endpoint_ip_version_template.py src/thousandeyes_sdk/endpoint_tests/models/endpoint_network_test_update.py src/thousandeyes_sdk/endpoint_tests/models/endpoint_scheduled_test_type.py src/thousandeyes_sdk/endpoint_tests/models/endpoint_specific_agents_selector_config.py diff --git a/thousandeyes-sdk-endpoint-tests/README.md b/thousandeyes-sdk-endpoint-tests/README.md index f77f72d4..f24ace91 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.26 +- API version: 7.0.28 - Generator version: 7.6.0 - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator @@ -137,6 +137,7 @@ Class | Method | HTTP request | Description - [EndpointHttpServerTests](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-endpoint-tests/docs/EndpointHttpServerTests.md) - [EndpointHttpTestUpdate](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-endpoint-tests/docs/EndpointHttpTestUpdate.md) - [EndpointInstantTest](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-endpoint-tests/docs/EndpointInstantTest.md) + - [EndpointIpVersionTemplate](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-endpoint-tests/docs/EndpointIpVersionTemplate.md) - [EndpointNetworkTestUpdate](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-endpoint-tests/docs/EndpointNetworkTestUpdate.md) - [EndpointScheduledTestType](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-endpoint-tests/docs/EndpointScheduledTestType.md) - [EndpointSpecificAgentsSelectorConfig](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-endpoint-tests/docs/EndpointSpecificAgentsSelectorConfig.md) diff --git a/thousandeyes-sdk-endpoint-tests/docs/DynamicTest.md b/thousandeyes-sdk-endpoint-tests/docs/DynamicTest.md index 4059e1fb..8c948289 100644 --- a/thousandeyes-sdk-endpoint-tests/docs/DynamicTest.md +++ b/thousandeyes-sdk-endpoint-tests/docs/DynamicTest.md @@ -18,6 +18,7 @@ Name | Type | Description | Notes **modified_date** | **datetime** | UTC last modification date (ISO date-time format). | [optional] [readonly] **network_measurements** | **bool** | Enable or disable network measurements. Set to true to enable or false to disable network measurements. | [optional] [default to True] **protocol** | [**EndpointTestProtocol**](EndpointTestProtocol.md) | | [optional] +**ip_version** | [**EndpointIpVersionTemplate**](EndpointIpVersionTemplate.md) | | [optional] **tcp_probe_mode** | [**TestProbeModeResponse**](TestProbeModeResponse.md) | | [optional] **test_id** | **str** | Each test is assigned a unique ID; this is used to access test information and results from other endpoints. | [optional] [readonly] **test_name** | **str** | Name of the test. | [optional] diff --git a/thousandeyes-sdk-endpoint-tests/docs/EndpointAgentToServerTest.md b/thousandeyes-sdk-endpoint-tests/docs/EndpointAgentToServerTest.md index 0c516808..e5399168 100644 --- a/thousandeyes-sdk-endpoint-tests/docs/EndpointAgentToServerTest.md +++ b/thousandeyes-sdk-endpoint-tests/docs/EndpointAgentToServerTest.md @@ -16,6 +16,7 @@ Name | Type | Description | Notes **modified_date** | **datetime** | UTC last modification date (ISO date-time format). | [optional] [readonly] **network_measurements** | **bool** | Enable or disable network measurements. Set to true to enable or false to disable network measurements. | [optional] [default to True] **protocol** | [**EndpointTestProtocol**](EndpointTestProtocol.md) | | [optional] +**ip_version** | [**EndpointIpVersionTemplate**](EndpointIpVersionTemplate.md) | | [optional] **server** | **str** | Target domain name or IP address. | [optional] **test_id** | **str** | Each test is assigned a unique ID to access test data from other endpoints. | [optional] [readonly] **test_name** | **str** | Name of the test. | [optional] diff --git a/thousandeyes-sdk-endpoint-tests/docs/EndpointHttpServerTest.md b/thousandeyes-sdk-endpoint-tests/docs/EndpointHttpServerTest.md index 506eb6a1..750237f1 100644 --- a/thousandeyes-sdk-endpoint-tests/docs/EndpointHttpServerTest.md +++ b/thousandeyes-sdk-endpoint-tests/docs/EndpointHttpServerTest.md @@ -16,6 +16,7 @@ Name | Type | Description | Notes **modified_date** | **datetime** | UTC last modification date (ISO date-time format). | [optional] [readonly] **network_measurements** | **bool** | Enable or disable network measurements. Set to true to enable or false to disable network measurements. | [optional] [default to True] **protocol** | [**EndpointTestProtocol**](EndpointTestProtocol.md) | | [optional] +**ip_version** | [**EndpointIpVersionTemplate**](EndpointIpVersionTemplate.md) | | [optional] **server** | **str** | Target domain name or IP address. | [optional] **test_id** | **str** | Each test is assigned a unique ID to access test data from other endpoints. | [optional] [readonly] **test_name** | **str** | Name of the test. | [optional] diff --git a/thousandeyes-sdk-endpoint-tests/docs/EndpointIpVersionTemplate.md b/thousandeyes-sdk-endpoint-tests/docs/EndpointIpVersionTemplate.md new file mode 100644 index 00000000..bd754245 --- /dev/null +++ b/thousandeyes-sdk-endpoint-tests/docs/EndpointIpVersionTemplate.md @@ -0,0 +1,12 @@ +# EndpointIpVersionTemplate + +IP version the test should use for network tests. + +## 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-endpoint-tests/docs/EndpointTest.md b/thousandeyes-sdk-endpoint-tests/docs/EndpointTest.md index 40e83ffd..43facf39 100644 --- a/thousandeyes-sdk-endpoint-tests/docs/EndpointTest.md +++ b/thousandeyes-sdk-endpoint-tests/docs/EndpointTest.md @@ -16,6 +16,7 @@ Name | Type | Description | Notes **modified_date** | **datetime** | UTC last modification date (ISO date-time format). | [optional] [readonly] **network_measurements** | **bool** | Enable or disable network measurements. Set to true to enable or false to disable network measurements. | [optional] [default to True] **protocol** | [**EndpointTestProtocol**](EndpointTestProtocol.md) | | [optional] +**ip_version** | [**EndpointIpVersionTemplate**](EndpointIpVersionTemplate.md) | | [optional] **server** | **str** | Target domain name or IP address. | [optional] **test_id** | **str** | Each test is assigned a unique ID to access test data from other endpoints. | [optional] [readonly] **test_name** | **str** | Name of the test. | [optional] diff --git a/thousandeyes-sdk-endpoint-tests/src/thousandeyes_sdk/endpoint_tests/__init__.py b/thousandeyes-sdk-endpoint-tests/src/thousandeyes_sdk/endpoint_tests/__init__.py index 59e103cf..7e217341 100644 --- a/thousandeyes-sdk-endpoint-tests/src/thousandeyes_sdk/endpoint_tests/__init__.py +++ b/thousandeyes-sdk-endpoint-tests/src/thousandeyes_sdk/endpoint_tests/__init__.py @@ -41,6 +41,7 @@ from thousandeyes_sdk.endpoint_tests.models.endpoint_http_server_test_request im from thousandeyes_sdk.endpoint_tests.models.endpoint_http_server_tests import EndpointHttpServerTests from thousandeyes_sdk.endpoint_tests.models.endpoint_http_test_update import EndpointHttpTestUpdate from thousandeyes_sdk.endpoint_tests.models.endpoint_instant_test import EndpointInstantTest +from thousandeyes_sdk.endpoint_tests.models.endpoint_ip_version_template import EndpointIpVersionTemplate from thousandeyes_sdk.endpoint_tests.models.endpoint_network_test_update import EndpointNetworkTestUpdate from thousandeyes_sdk.endpoint_tests.models.endpoint_scheduled_test_type import EndpointScheduledTestType from thousandeyes_sdk.endpoint_tests.models.endpoint_specific_agents_selector_config import EndpointSpecificAgentsSelectorConfig diff --git a/thousandeyes-sdk-endpoint-tests/src/thousandeyes_sdk/endpoint_tests/models/__init__.py b/thousandeyes-sdk-endpoint-tests/src/thousandeyes_sdk/endpoint_tests/models/__init__.py index aab4f67c..107dd4e1 100644 --- a/thousandeyes-sdk-endpoint-tests/src/thousandeyes_sdk/endpoint_tests/models/__init__.py +++ b/thousandeyes-sdk-endpoint-tests/src/thousandeyes_sdk/endpoint_tests/models/__init__.py @@ -33,6 +33,7 @@ from thousandeyes_sdk.endpoint_tests.models.endpoint_http_server_test_request im from thousandeyes_sdk.endpoint_tests.models.endpoint_http_server_tests import EndpointHttpServerTests from thousandeyes_sdk.endpoint_tests.models.endpoint_http_test_update import EndpointHttpTestUpdate from thousandeyes_sdk.endpoint_tests.models.endpoint_instant_test import EndpointInstantTest +from thousandeyes_sdk.endpoint_tests.models.endpoint_ip_version_template import EndpointIpVersionTemplate from thousandeyes_sdk.endpoint_tests.models.endpoint_network_test_update import EndpointNetworkTestUpdate from thousandeyes_sdk.endpoint_tests.models.endpoint_scheduled_test_type import EndpointScheduledTestType from thousandeyes_sdk.endpoint_tests.models.endpoint_specific_agents_selector_config import EndpointSpecificAgentsSelectorConfig diff --git a/thousandeyes-sdk-endpoint-tests/src/thousandeyes_sdk/endpoint_tests/models/dynamic_test.py b/thousandeyes-sdk-endpoint-tests/src/thousandeyes_sdk/endpoint_tests/models/dynamic_test.py index 6dd0aa98..ae4d573c 100644 --- a/thousandeyes-sdk-endpoint-tests/src/thousandeyes_sdk/endpoint_tests/models/dynamic_test.py +++ b/thousandeyes-sdk-endpoint-tests/src/thousandeyes_sdk/endpoint_tests/models/dynamic_test.py @@ -21,6 +21,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr from typing import Any, ClassVar, Dict, List, Optional from thousandeyes_sdk.endpoint_tests.models.dynamic_test_links import DynamicTestLinks from thousandeyes_sdk.endpoint_tests.models.endpoint_agent_selector_config import EndpointAgentSelectorConfig +from thousandeyes_sdk.endpoint_tests.models.endpoint_ip_version_template import EndpointIpVersionTemplate from thousandeyes_sdk.endpoint_tests.models.endpoint_test_protocol import EndpointTestProtocol from thousandeyes_sdk.endpoint_tests.models.test_interval import TestInterval from thousandeyes_sdk.endpoint_tests.models.test_label import TestLabel @@ -45,11 +46,12 @@ class DynamicTest(BaseModel): modified_date: Optional[datetime] = Field(default=None, description="UTC last modification date (ISO date-time format).", alias="modifiedDate") network_measurements: Optional[StrictBool] = Field(default=True, description="Enable or disable network measurements. Set to true to enable or false to disable network measurements.", alias="networkMeasurements") protocol: Optional[EndpointTestProtocol] = None + ip_version: Optional[EndpointIpVersionTemplate] = Field(default=None, alias="ipVersion") tcp_probe_mode: Optional[TestProbeModeResponse] = Field(default=None, alias="tcpProbeMode") test_id: Optional[StrictStr] = Field(default=None, description="Each test is assigned a unique ID; this is used to access test information and results from other endpoints.", alias="testId") test_name: Optional[StrictStr] = Field(default=None, description="Name of the test.", alias="testName") labels: Optional[List[TestLabel]] = None - __properties: ClassVar[List[str]] = ["aid", "_links", "agentSelectorConfig", "application", "createdDate", "interval", "isEnabled", "hasPathTraceInSession", "hasPing", "hasTraceroute", "modifiedDate", "networkMeasurements", "protocol", "tcpProbeMode", "testId", "testName", "labels"] + __properties: ClassVar[List[str]] = ["aid", "_links", "agentSelectorConfig", "application", "createdDate", "interval", "isEnabled", "hasPathTraceInSession", "hasPing", "hasTraceroute", "modifiedDate", "networkMeasurements", "protocol", "ipVersion", "tcpProbeMode", "testId", "testName", "labels"] model_config = ConfigDict( populate_by_name=True, @@ -137,6 +139,7 @@ class DynamicTest(BaseModel): "modifiedDate": obj.get("modifiedDate"), "networkMeasurements": obj.get("networkMeasurements") if obj.get("networkMeasurements") is not None else True, "protocol": obj.get("protocol"), + "ipVersion": obj.get("ipVersion"), "tcpProbeMode": obj.get("tcpProbeMode"), "testId": obj.get("testId"), "testName": obj.get("testName"), diff --git a/thousandeyes-sdk-endpoint-tests/src/thousandeyes_sdk/endpoint_tests/models/endpoint_agent_to_server_test.py b/thousandeyes-sdk-endpoint-tests/src/thousandeyes_sdk/endpoint_tests/models/endpoint_agent_to_server_test.py index d2f829f7..d129297f 100644 --- a/thousandeyes-sdk-endpoint-tests/src/thousandeyes_sdk/endpoint_tests/models/endpoint_agent_to_server_test.py +++ b/thousandeyes-sdk-endpoint-tests/src/thousandeyes_sdk/endpoint_tests/models/endpoint_agent_to_server_test.py @@ -21,6 +21,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, Strict from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated from thousandeyes_sdk.endpoint_tests.models.endpoint_agent_selector_config import EndpointAgentSelectorConfig +from thousandeyes_sdk.endpoint_tests.models.endpoint_ip_version_template import EndpointIpVersionTemplate from thousandeyes_sdk.endpoint_tests.models.endpoint_test_links import EndpointTestLinks from thousandeyes_sdk.endpoint_tests.models.endpoint_test_protocol import EndpointTestProtocol from thousandeyes_sdk.endpoint_tests.models.test_interval import TestInterval @@ -44,6 +45,7 @@ class EndpointAgentToServerTest(BaseModel): modified_date: Optional[datetime] = Field(default=None, description="UTC last modification date (ISO date-time format).", alias="modifiedDate") network_measurements: Optional[StrictBool] = Field(default=True, description="Enable or disable network measurements. Set to true to enable or false to disable network measurements.", alias="networkMeasurements") protocol: Optional[EndpointTestProtocol] = None + ip_version: Optional[EndpointIpVersionTemplate] = Field(default=None, alias="ipVersion") server: Optional[StrictStr] = Field(default=None, description="Target domain name or IP address.") test_id: Optional[StrictStr] = Field(default=None, description="Each test is assigned a unique ID to access test data from other endpoints.", alias="testId") test_name: Optional[StrictStr] = Field(default=None, description="Name of the test.", alias="testName") @@ -51,7 +53,7 @@ class EndpointAgentToServerTest(BaseModel): tcp_probe_mode: Optional[TestProbeModeResponse] = Field(default=None, alias="tcpProbeMode") port: Optional[StrictInt] = Field(default=443, description="Port number.") labels: Optional[List[TestLabel]] = None - __properties: ClassVar[List[str]] = ["aid", "_links", "agentSelectorConfig", "createdDate", "interval", "isEnabled", "isSavedEvent", "hasPathTraceInSession", "modifiedDate", "networkMeasurements", "protocol", "server", "testId", "testName", "type", "tcpProbeMode", "port", "labels"] + __properties: ClassVar[List[str]] = ["aid", "_links", "agentSelectorConfig", "createdDate", "interval", "isEnabled", "isSavedEvent", "hasPathTraceInSession", "modifiedDate", "networkMeasurements", "protocol", "ipVersion", "server", "testId", "testName", "type", "tcpProbeMode", "port", "labels"] @field_validator('type') def type_validate_regular_expression(cls, value): @@ -148,6 +150,7 @@ class EndpointAgentToServerTest(BaseModel): "modifiedDate": obj.get("modifiedDate"), "networkMeasurements": obj.get("networkMeasurements") if obj.get("networkMeasurements") is not None else True, "protocol": obj.get("protocol"), + "ipVersion": obj.get("ipVersion"), "server": obj.get("server"), "testId": obj.get("testId"), "testName": obj.get("testName"), diff --git a/thousandeyes-sdk-endpoint-tests/src/thousandeyes_sdk/endpoint_tests/models/endpoint_http_server_test.py b/thousandeyes-sdk-endpoint-tests/src/thousandeyes_sdk/endpoint_tests/models/endpoint_http_server_test.py index 67a01825..6714d30a 100644 --- a/thousandeyes-sdk-endpoint-tests/src/thousandeyes_sdk/endpoint_tests/models/endpoint_http_server_test.py +++ b/thousandeyes-sdk-endpoint-tests/src/thousandeyes_sdk/endpoint_tests/models/endpoint_http_server_test.py @@ -21,6 +21,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, Strict from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated from thousandeyes_sdk.endpoint_tests.models.endpoint_agent_selector_config import EndpointAgentSelectorConfig +from thousandeyes_sdk.endpoint_tests.models.endpoint_ip_version_template import EndpointIpVersionTemplate from thousandeyes_sdk.endpoint_tests.models.endpoint_test_auth_type import EndpointTestAuthType from thousandeyes_sdk.endpoint_tests.models.endpoint_test_links import EndpointTestLinks from thousandeyes_sdk.endpoint_tests.models.endpoint_test_protocol import EndpointTestProtocol @@ -46,6 +47,7 @@ class EndpointHttpServerTest(BaseModel): modified_date: Optional[datetime] = Field(default=None, description="UTC last modification date (ISO date-time format).", alias="modifiedDate") network_measurements: Optional[StrictBool] = Field(default=True, description="Enable or disable network measurements. Set to true to enable or false to disable network measurements.", alias="networkMeasurements") protocol: Optional[EndpointTestProtocol] = None + ip_version: Optional[EndpointIpVersionTemplate] = Field(default=None, alias="ipVersion") server: Optional[StrictStr] = Field(default=None, description="Target domain name or IP address.") test_id: Optional[StrictStr] = Field(default=None, description="Each test is assigned a unique ID to access test data from other endpoints.", alias="testId") test_name: Optional[StrictStr] = Field(default=None, description="Name of the test.", alias="testName") @@ -64,7 +66,7 @@ class EndpointHttpServerTest(BaseModel): ssl_version: Optional[StrictStr] = Field(default=None, description="Reflects the verbose SSL protocol version used by a test.", alias="sslVersion") use_ntlm: Optional[StrictBool] = Field(default=None, description="Set to true to use NTLM, false to use Basic Authentication. Requires username and password to be set.", alias="useNtlm") labels: Optional[List[TestLabel]] = None - __properties: ClassVar[List[str]] = ["aid", "_links", "agentSelectorConfig", "createdDate", "interval", "isEnabled", "isSavedEvent", "hasPathTraceInSession", "modifiedDate", "networkMeasurements", "protocol", "server", "testId", "testName", "type", "tcpProbeMode", "port", "authType", "httpTimeLimit", "username", "sslVersionId", "verifyCertificate", "url", "followRedirects", "httpTargetTime", "httpVersion", "sslVersion", "useNtlm", "labels"] + __properties: ClassVar[List[str]] = ["aid", "_links", "agentSelectorConfig", "createdDate", "interval", "isEnabled", "isSavedEvent", "hasPathTraceInSession", "modifiedDate", "networkMeasurements", "protocol", "ipVersion", "server", "testId", "testName", "type", "tcpProbeMode", "port", "authType", "httpTimeLimit", "username", "sslVersionId", "verifyCertificate", "url", "followRedirects", "httpTargetTime", "httpVersion", "sslVersion", "useNtlm", "labels"] @field_validator('type') def type_validate_regular_expression(cls, value): @@ -163,6 +165,7 @@ class EndpointHttpServerTest(BaseModel): "modifiedDate": obj.get("modifiedDate"), "networkMeasurements": obj.get("networkMeasurements") if obj.get("networkMeasurements") is not None else True, "protocol": obj.get("protocol"), + "ipVersion": obj.get("ipVersion"), "server": obj.get("server"), "testId": obj.get("testId"), "testName": obj.get("testName"), diff --git a/thousandeyes-sdk-endpoint-tests/src/thousandeyes_sdk/endpoint_tests/models/endpoint_ip_version_template.py b/thousandeyes-sdk-endpoint-tests/src/thousandeyes_sdk/endpoint_tests/models/endpoint_ip_version_template.py new file mode 100644 index 00000000..d5ff6bec --- /dev/null +++ b/thousandeyes-sdk-endpoint-tests/src/thousandeyes_sdk/endpoint_tests/models/endpoint_ip_version_template.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Endpoint Tests API + + Manage endpoint agent dynamic and scheduled tests using the Endpoint Tests API. + + 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 EndpointIpVersionTemplate(str, Enum): + """ + IP version the test should use for network tests. + """ + + """ + allowed enum values + """ + V4_ONLY = 'V4_ONLY' + V6_ONLY = 'V6_ONLY' + V6_PREFER = 'V6_PREFER' + OS_DEFAULT = 'OS_DEFAULT' + UNKNOWN = 'unknown' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of EndpointIpVersionTemplate 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-endpoint-tests/src/thousandeyes_sdk/endpoint_tests/models/endpoint_test.py b/thousandeyes-sdk-endpoint-tests/src/thousandeyes_sdk/endpoint_tests/models/endpoint_test.py index a4163ffe..d6860899 100644 --- a/thousandeyes-sdk-endpoint-tests/src/thousandeyes_sdk/endpoint_tests/models/endpoint_test.py +++ b/thousandeyes-sdk-endpoint-tests/src/thousandeyes_sdk/endpoint_tests/models/endpoint_test.py @@ -20,6 +20,7 @@ from datetime import datetime from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr from typing import Any, ClassVar, Dict, List, Optional from thousandeyes_sdk.endpoint_tests.models.endpoint_agent_selector_config import EndpointAgentSelectorConfig +from thousandeyes_sdk.endpoint_tests.models.endpoint_ip_version_template import EndpointIpVersionTemplate from thousandeyes_sdk.endpoint_tests.models.endpoint_scheduled_test_type import EndpointScheduledTestType from thousandeyes_sdk.endpoint_tests.models.endpoint_test_links import EndpointTestLinks from thousandeyes_sdk.endpoint_tests.models.endpoint_test_protocol import EndpointTestProtocol @@ -43,13 +44,14 @@ class EndpointTest(BaseModel): modified_date: Optional[datetime] = Field(default=None, description="UTC last modification date (ISO date-time format).", alias="modifiedDate") network_measurements: Optional[StrictBool] = Field(default=True, description="Enable or disable network measurements. Set to true to enable or false to disable network measurements.", alias="networkMeasurements") protocol: Optional[EndpointTestProtocol] = None + ip_version: Optional[EndpointIpVersionTemplate] = Field(default=None, alias="ipVersion") server: Optional[StrictStr] = Field(default=None, description="Target domain name or IP address.") test_id: Optional[StrictStr] = Field(default=None, description="Each test is assigned a unique ID to access test data from other endpoints.", alias="testId") test_name: Optional[StrictStr] = Field(default=None, description="Name of the test.", alias="testName") type: EndpointScheduledTestType tcp_probe_mode: Optional[TestProbeModeResponse] = Field(default=None, alias="tcpProbeMode") port: Optional[StrictInt] = Field(default=443, description="Port number.") - __properties: ClassVar[List[str]] = ["aid", "_links", "agentSelectorConfig", "createdDate", "interval", "isEnabled", "isSavedEvent", "hasPathTraceInSession", "modifiedDate", "networkMeasurements", "protocol", "server", "testId", "testName", "type", "tcpProbeMode", "port"] + __properties: ClassVar[List[str]] = ["aid", "_links", "agentSelectorConfig", "createdDate", "interval", "isEnabled", "isSavedEvent", "hasPathTraceInSession", "modifiedDate", "networkMeasurements", "protocol", "ipVersion", "server", "testId", "testName", "type", "tcpProbeMode", "port"] model_config = ConfigDict( populate_by_name=True, @@ -128,6 +130,7 @@ class EndpointTest(BaseModel): "modifiedDate": obj.get("modifiedDate"), "networkMeasurements": obj.get("networkMeasurements") if obj.get("networkMeasurements") is not None else True, "protocol": obj.get("protocol"), + "ipVersion": obj.get("ipVersion"), "server": obj.get("server"), "testId": obj.get("testId"), "testName": obj.get("testName"), diff --git a/thousandeyes-sdk-endpoint-tests/test/test_agent_to_server_endpoint_dynamic_tests_api.py b/thousandeyes-sdk-endpoint-tests/test/test_agent_to_server_endpoint_dynamic_tests_api.py index 5d881159..b9cfb1f3 100644 --- a/thousandeyes-sdk-endpoint-tests/test/test_agent_to_server_endpoint_dynamic_tests_api.py +++ b/thousandeyes-sdk-endpoint-tests/test/test_agent_to_server_endpoint_dynamic_tests_api.py @@ -81,6 +81,7 @@ class TestAgentToServerEndpointDynamicTestsApi(unittest.TestCase): } ], "protocol" : "icmp", "createdDate" : "2022-07-17T22:00:54Z", + "ipVersion" : "V4_ONLY", "application" : "webex", "hasTraceroute" : true, "isEnabled" : true, @@ -140,6 +141,7 @@ class TestAgentToServerEndpointDynamicTestsApi(unittest.TestCase): } ], "protocol" : "icmp", "createdDate" : "2022-07-17T22:00:54Z", + "ipVersion" : "V4_ONLY", "application" : "webex", "hasTraceroute" : true, "isEnabled" : true, @@ -196,6 +198,7 @@ class TestAgentToServerEndpointDynamicTestsApi(unittest.TestCase): } ], "protocol" : "icmp", "createdDate" : "2022-07-17T22:00:54Z", + "ipVersion" : "V4_ONLY", "application" : "webex", "hasTraceroute" : true, "isEnabled" : true, @@ -241,6 +244,7 @@ class TestAgentToServerEndpointDynamicTestsApi(unittest.TestCase): } ], "protocol" : "icmp", "createdDate" : "2022-07-17T22:00:54Z", + "ipVersion" : "V4_ONLY", "application" : "webex", "hasTraceroute" : true, "isEnabled" : true, @@ -322,6 +326,7 @@ class TestAgentToServerEndpointDynamicTestsApi(unittest.TestCase): } ], "protocol" : "icmp", "createdDate" : "2022-07-17T22:00:54Z", + "ipVersion" : "V4_ONLY", "application" : "webex", "hasTraceroute" : true, "isEnabled" : true, diff --git a/thousandeyes-sdk-endpoint-tests/test/test_agent_to_server_endpoint_scheduled_tests_api.py b/thousandeyes-sdk-endpoint-tests/test/test_agent_to_server_endpoint_scheduled_tests_api.py index 39d5cf32..634df758 100644 --- a/thousandeyes-sdk-endpoint-tests/test/test_agent_to_server_endpoint_scheduled_tests_api.py +++ b/thousandeyes-sdk-endpoint-tests/test/test_agent_to_server_endpoint_scheduled_tests_api.py @@ -82,6 +82,7 @@ class TestAgentToServerEndpointScheduledTestsApi(unittest.TestCase): } ], "protocol" : "icmp", "createdDate" : "2022-07-17T22:00:54Z", + "ipVersion" : "V4_ONLY", "port" : 443, "isEnabled" : true, "modifiedDate" : "2022-07-17T22:00:54Z", @@ -142,6 +143,7 @@ class TestAgentToServerEndpointScheduledTestsApi(unittest.TestCase): } ], "protocol" : "icmp", "createdDate" : "2022-07-17T22:00:54Z", + "ipVersion" : "V4_ONLY", "port" : 443, "isEnabled" : true, "modifiedDate" : "2022-07-17T22:00:54Z", @@ -199,6 +201,7 @@ class TestAgentToServerEndpointScheduledTestsApi(unittest.TestCase): } ], "protocol" : "icmp", "createdDate" : "2022-07-17T22:00:54Z", + "ipVersion" : "V4_ONLY", "port" : 443, "isEnabled" : true, "modifiedDate" : "2022-07-17T22:00:54Z", @@ -245,6 +248,7 @@ class TestAgentToServerEndpointScheduledTestsApi(unittest.TestCase): } ], "protocol" : "icmp", "createdDate" : "2022-07-17T22:00:54Z", + "ipVersion" : "V4_ONLY", "port" : 443, "isEnabled" : true, "modifiedDate" : "2022-07-17T22:00:54Z", @@ -328,6 +332,7 @@ class TestAgentToServerEndpointScheduledTestsApi(unittest.TestCase): } ], "protocol" : "icmp", "createdDate" : "2022-07-17T22:00:54Z", + "ipVersion" : "V4_ONLY", "port" : 443, "isEnabled" : true, "modifiedDate" : "2022-07-17T22:00:54Z", diff --git a/thousandeyes-sdk-endpoint-tests/test/test_endpoint_scheduled_tests_api.py b/thousandeyes-sdk-endpoint-tests/test/test_endpoint_scheduled_tests_api.py index 80603676..f0ad5084 100644 --- a/thousandeyes-sdk-endpoint-tests/test/test_endpoint_scheduled_tests_api.py +++ b/thousandeyes-sdk-endpoint-tests/test/test_endpoint_scheduled_tests_api.py @@ -58,6 +58,7 @@ class TestEndpointScheduledTestsApi(unittest.TestCase): "tcpProbeMode" : "auto", "protocol" : "icmp", "createdDate" : "2022-07-17T22:00:54Z", + "ipVersion" : "V4_ONLY", "port" : 443, "isEnabled" : true, "modifiedDate" : "2022-07-17T22:00:54Z", @@ -95,6 +96,7 @@ class TestEndpointScheduledTestsApi(unittest.TestCase): "tcpProbeMode" : "auto", "protocol" : "icmp", "createdDate" : "2022-07-17T22:00:54Z", + "ipVersion" : "V4_ONLY", "port" : 443, "isEnabled" : true, "modifiedDate" : "2022-07-17T22:00:54Z", diff --git a/thousandeyes-sdk-endpoint-tests/test/test_http_server_endpoint_scheduled_tests_api.py b/thousandeyes-sdk-endpoint-tests/test/test_http_server_endpoint_scheduled_tests_api.py index a42c935b..2d18321c 100644 --- a/thousandeyes-sdk-endpoint-tests/test/test_http_server_endpoint_scheduled_tests_api.py +++ b/thousandeyes-sdk-endpoint-tests/test/test_http_server_endpoint_scheduled_tests_api.py @@ -102,6 +102,7 @@ class TestHTTPServerEndpointScheduledTestsApi(unittest.TestCase): "isBuiltin" : false } ], "createdDate" : "2022-07-17T22:00:54Z", + "ipVersion" : "V4_ONLY", "port" : 443, "isEnabled" : true, "modifiedDate" : "2022-07-17T22:00:54Z", @@ -173,6 +174,7 @@ class TestHTTPServerEndpointScheduledTestsApi(unittest.TestCase): "isBuiltin" : false } ], "createdDate" : "2022-07-17T22:00:54Z", + "ipVersion" : "V4_ONLY", "port" : 443, "isEnabled" : true, "modifiedDate" : "2022-07-17T22:00:54Z", @@ -241,6 +243,7 @@ class TestHTTPServerEndpointScheduledTestsApi(unittest.TestCase): "isBuiltin" : false } ], "createdDate" : "2022-07-17T22:00:54Z", + "ipVersion" : "V4_ONLY", "port" : 443, "isEnabled" : true, "modifiedDate" : "2022-07-17T22:00:54Z", @@ -298,6 +301,7 @@ class TestHTTPServerEndpointScheduledTestsApi(unittest.TestCase): "isBuiltin" : false } ], "createdDate" : "2022-07-17T22:00:54Z", + "ipVersion" : "V4_ONLY", "port" : 443, "isEnabled" : true, "modifiedDate" : "2022-07-17T22:00:54Z", @@ -391,6 +395,7 @@ class TestHTTPServerEndpointScheduledTestsApi(unittest.TestCase): "isBuiltin" : false } ], "createdDate" : "2022-07-17T22:00:54Z", + "ipVersion" : "V4_ONLY", "port" : 443, "isEnabled" : true, "modifiedDate" : "2022-07-17T22:00:54Z", diff --git a/thousandeyes-sdk-event-detection/README.md b/thousandeyes-sdk-event-detection/README.md index fd58e3a8..a84da254 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.26 +- API version: 7.0.28 - Generator version: 7.6.0 - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator diff --git a/thousandeyes-sdk-instant-tests/README.md b/thousandeyes-sdk-instant-tests/README.md index d3abda19..318070d4 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.26 +- API version: 7.0.28 - Generator version: 7.6.0 - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator diff --git a/thousandeyes-sdk-internet-insights/README.md b/thousandeyes-sdk-internet-insights/README.md index b59b314d..d891db76 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.26 +- API version: 7.0.28 - 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 24a85337..9d7a7d14 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.26 +- API version: 7.0.28 - 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 1652fe3e..283b64cd 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.26 +- API version: 7.0.28 - Generator version: 7.6.0 - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator diff --git a/thousandeyes-sdk-streaming/docs/DataModelVersion.md b/thousandeyes-sdk-streaming/docs/DataModelVersion.md index f353cef5..a782fb3c 100644 --- a/thousandeyes-sdk-streaming/docs/DataModelVersion.md +++ b/thousandeyes-sdk-streaming/docs/DataModelVersion.md @@ -1,6 +1,6 @@ # DataModelVersion -The version of the data model used in the data stream. When using `v1`: - The `signal` cannot be `trace`. Default: `v2` +The version of the data model used in the data stream. When using `v1`: - The `signal` cannot be `trace`. ## Properties diff --git a/thousandeyes-sdk-streaming/docs/EndpointType.md b/thousandeyes-sdk-streaming/docs/EndpointType.md index 60337e35..63f3400a 100644 --- a/thousandeyes-sdk-streaming/docs/EndpointType.md +++ b/thousandeyes-sdk-streaming/docs/EndpointType.md @@ -1,6 +1,6 @@ # EndpointType -The type of connection used to send data to the endpoint. Default: `grpc` **Note**: When using the `splunk-hec` 'type', the `EndpointType` must be `http`. +The type of connection used to send data to the endpoint. **Note**: When using the `splunk-hec` 'type', the `EndpointType` must be `http`. ## Properties diff --git a/thousandeyes-sdk-streaming/docs/ExporterConfigSplunkHec.md b/thousandeyes-sdk-streaming/docs/ExporterConfigSplunkHec.md index 90394d33..b22fb4e1 100644 --- a/thousandeyes-sdk-streaming/docs/ExporterConfigSplunkHec.md +++ b/thousandeyes-sdk-streaming/docs/ExporterConfigSplunkHec.md @@ -7,8 +7,8 @@ Splunk HEC configuration. This can only be configured when the `type` is `splunk Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **token** | **str** | The Splunk HEC `token`. This is a required field. | [optional] -**source** | **str** | The Splunk HEC `source`. This field is optional. Default: `ThousandEyesOTel` | [optional] [default to 'ThousandEyesOTel'] -**source_type** | **str** | The Splunk HEC `sourceType`. This field is optional. Default: `ThousandEyesOTel` | [optional] [default to 'ThousandEyesOTel'] +**source** | **str** | The Splunk HEC `source`. This field is optional. | [optional] [default to 'ThousandEyesOTel'] +**source_type** | **str** | The Splunk HEC `sourceType`. This field is optional. | [optional] [default to 'ThousandEyesOTel'] **index** | **str** | The name of the Splunk HEC index where the event data will be stored. This field is optional. | [optional] ## Example diff --git a/thousandeyes-sdk-streaming/docs/Signal.md b/thousandeyes-sdk-streaming/docs/Signal.md index 32a515cf..dc7a74a8 100644 --- a/thousandeyes-sdk-streaming/docs/Signal.md +++ b/thousandeyes-sdk-streaming/docs/Signal.md @@ -1,6 +1,6 @@ # Signal -The OpenTelemetry signal of the stream integration. When using `trace`: - `dataModelVersion` must be `v2`. Default: `metric` +The OpenTelemetry signal of the stream integration. When using `trace`: - `dataModelVersion` must be `v2`. ## Properties diff --git a/thousandeyes-sdk-streaming/docs/TestMatchDomain.md b/thousandeyes-sdk-streaming/docs/TestMatchDomain.md index 9c6620e2..686dbe1d 100644 --- a/thousandeyes-sdk-streaming/docs/TestMatchDomain.md +++ b/thousandeyes-sdk-streaming/docs/TestMatchDomain.md @@ -1,6 +1,6 @@ # TestMatchDomain -The domain of the test to match. +The domain of the test to match. `cea` - Cloud and Enterprise Agent `endpoint` - Endpoint Agent ## Properties diff --git a/thousandeyes-sdk-streaming/src/thousandeyes_sdk/streaming/models/data_model_version.py b/thousandeyes-sdk-streaming/src/thousandeyes_sdk/streaming/models/data_model_version.py index 288e197a..9fad54e5 100644 --- a/thousandeyes-sdk-streaming/src/thousandeyes_sdk/streaming/models/data_model_version.py +++ b/thousandeyes-sdk-streaming/src/thousandeyes_sdk/streaming/models/data_model_version.py @@ -19,7 +19,7 @@ from typing_extensions import Self class DataModelVersion(str, Enum): """ - The version of the data model used in the data stream. When using `v1`: - The `signal` cannot be `trace`. Default: `v2` + The version of the data model used in the data stream. When using `v1`: - The `signal` cannot be `trace`. """ """ diff --git a/thousandeyes-sdk-streaming/src/thousandeyes_sdk/streaming/models/endpoint_type.py b/thousandeyes-sdk-streaming/src/thousandeyes_sdk/streaming/models/endpoint_type.py index 87d7538d..c21582e1 100644 --- a/thousandeyes-sdk-streaming/src/thousandeyes_sdk/streaming/models/endpoint_type.py +++ b/thousandeyes-sdk-streaming/src/thousandeyes_sdk/streaming/models/endpoint_type.py @@ -19,7 +19,7 @@ from typing_extensions import Self class EndpointType(str, Enum): """ - The type of connection used to send data to the endpoint. Default: `grpc` **Note**: When using the `splunk-hec` 'type', the `EndpointType` must be `http`. + The type of connection used to send data to the endpoint. **Note**: When using the `splunk-hec` 'type', the `EndpointType` must be `http`. """ """ diff --git a/thousandeyes-sdk-streaming/src/thousandeyes_sdk/streaming/models/exporter_config_splunk_hec.py b/thousandeyes-sdk-streaming/src/thousandeyes_sdk/streaming/models/exporter_config_splunk_hec.py index a7573200..8c46fe01 100644 --- a/thousandeyes-sdk-streaming/src/thousandeyes_sdk/streaming/models/exporter_config_splunk_hec.py +++ b/thousandeyes-sdk-streaming/src/thousandeyes_sdk/streaming/models/exporter_config_splunk_hec.py @@ -26,8 +26,8 @@ class ExporterConfigSplunkHec(BaseModel): Splunk HEC configuration. This can only be configured when the `type` is `splunk-hec`. """ # noqa: E501 token: Optional[StrictStr] = Field(default=None, description="The Splunk HEC `token`. This is a required field.") - source: Optional[StrictStr] = Field(default='ThousandEyesOTel', description="The Splunk HEC `source`. This field is optional. Default: `ThousandEyesOTel`") - source_type: Optional[StrictStr] = Field(default='ThousandEyesOTel', description="The Splunk HEC `sourceType`. This field is optional. Default: `ThousandEyesOTel`", alias="sourceType") + source: Optional[StrictStr] = Field(default='ThousandEyesOTel', description="The Splunk HEC `source`. This field is optional.") + source_type: Optional[StrictStr] = Field(default='ThousandEyesOTel', description="The Splunk HEC `sourceType`. This field is optional.", alias="sourceType") index: Optional[StrictStr] = Field(default=None, description="The name of the Splunk HEC index where the event data will be stored. This field is optional.") __properties: ClassVar[List[str]] = ["token", "source", "sourceType", "index"] diff --git a/thousandeyes-sdk-streaming/src/thousandeyes_sdk/streaming/models/signal.py b/thousandeyes-sdk-streaming/src/thousandeyes_sdk/streaming/models/signal.py index 5735babb..a0da7f3e 100644 --- a/thousandeyes-sdk-streaming/src/thousandeyes_sdk/streaming/models/signal.py +++ b/thousandeyes-sdk-streaming/src/thousandeyes_sdk/streaming/models/signal.py @@ -19,7 +19,7 @@ from typing_extensions import Self class Signal(str, Enum): """ - The OpenTelemetry signal of the stream integration. When using `trace`: - `dataModelVersion` must be `v2`. Default: `metric` + The OpenTelemetry signal of the stream integration. When using `trace`: - `dataModelVersion` must be `v2`. """ """ diff --git a/thousandeyes-sdk-streaming/src/thousandeyes_sdk/streaming/models/test_match_domain.py b/thousandeyes-sdk-streaming/src/thousandeyes_sdk/streaming/models/test_match_domain.py index bf82ee0f..220a41e7 100644 --- a/thousandeyes-sdk-streaming/src/thousandeyes_sdk/streaming/models/test_match_domain.py +++ b/thousandeyes-sdk-streaming/src/thousandeyes_sdk/streaming/models/test_match_domain.py @@ -19,7 +19,7 @@ from typing_extensions import Self class TestMatchDomain(str, Enum): """ - The domain of the test to match. + The domain of the test to match. `cea` - Cloud and Enterprise Agent `endpoint` - Endpoint Agent """ """ diff --git a/thousandeyes-sdk-tags/README.md b/thousandeyes-sdk-tags/README.md index 4178cb89..6aa69cef 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.26 +- API version: 7.0.28 - Generator version: 7.6.0 - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator diff --git a/thousandeyes-sdk-test-results/README.md b/thousandeyes-sdk-test-results/README.md index 60782398..a7c39c83 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.26 +- API version: 7.0.28 - Generator version: 7.6.0 - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator diff --git a/thousandeyes-sdk-tests/README.md b/thousandeyes-sdk-tests/README.md index d7c983b0..15ab9b72 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.26 +- API version: 7.0.28 - Generator version: 7.6.0 - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator diff --git a/thousandeyes-sdk-usage/README.md b/thousandeyes-sdk-usage/README.md index e8a40603..6fdc948f 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.26 +- API version: 7.0.28 - Generator version: 7.6.0 - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator