Skip to content

Commit d0cf54b

Browse files
mpragosa-teAPI Team
andauthored
[GitHub Bot] Generated python SDK (#90)
Co-authored-by: API Team <[email protected]>
1 parent 6648b46 commit d0cf54b

File tree

42 files changed

+316
-36
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+316
-36
lines changed

thousandeyes-sdk-administrative/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ This API provides the following operations to manage your organization:
1212

1313
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
1414

15-
- API version: 7.0.32
15+
- API version: 7.0.34
1616
- Generator version: 7.6.0
1717
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
1818

thousandeyes-sdk-agents/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Manage all agents available to your account in ThousandEyes, including both Clou
55

66
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
77

8-
- API version: 7.0.32
8+
- API version: 7.0.34
99
- Generator version: 7.6.0
1010
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
1111

thousandeyes-sdk-alerts/.openapi-generator/FILES

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,14 @@ docs/AlertMetricDetail.md
1111
docs/AlertNotification.md
1212
docs/AlertRoundsViolationMode.md
1313
docs/AlertRulesApi.md
14+
docs/AlertSimpleTest.md
1415
docs/AlertSuppressionWindow.md
1516
docs/AlertSuppressionWindowDetail.md
1617
docs/AlertSuppressionWindowRequest.md
1718
docs/AlertSuppressionWindowState.md
1819
docs/AlertSuppressionWindows.md
1920
docs/AlertSuppressionWindowsApi.md
21+
docs/AlertTestType.md
2022
docs/AlertType.md
2123
docs/Alerts.md
2224
docs/AlertsApi.md
@@ -76,11 +78,13 @@ src/thousandeyes_sdk/alerts/models/alert_meta.py
7678
src/thousandeyes_sdk/alerts/models/alert_metric_detail.py
7779
src/thousandeyes_sdk/alerts/models/alert_notification.py
7880
src/thousandeyes_sdk/alerts/models/alert_rounds_violation_mode.py
81+
src/thousandeyes_sdk/alerts/models/alert_simple_test.py
7982
src/thousandeyes_sdk/alerts/models/alert_suppression_window.py
8083
src/thousandeyes_sdk/alerts/models/alert_suppression_window_detail.py
8184
src/thousandeyes_sdk/alerts/models/alert_suppression_window_request.py
8285
src/thousandeyes_sdk/alerts/models/alert_suppression_window_state.py
8386
src/thousandeyes_sdk/alerts/models/alert_suppression_windows.py
87+
src/thousandeyes_sdk/alerts/models/alert_test_type.py
8488
src/thousandeyes_sdk/alerts/models/alert_type.py
8589
src/thousandeyes_sdk/alerts/models/alerts.py
8690
src/thousandeyes_sdk/alerts/models/base_alert.py

thousandeyes-sdk-alerts/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ For more information about the alerts, see [Alerts](https://docs.thousandeyes.co
1212

1313
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
1414

15-
- API version: 7.0.32
15+
- API version: 7.0.34
1616
- Generator version: 7.6.0
1717
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
1818

@@ -129,11 +129,13 @@ Class | Method | HTTP request | Description
129129
- [AlertMetricDetail](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-alerts/docs/AlertMetricDetail.md)
130130
- [AlertNotification](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-alerts/docs/AlertNotification.md)
131131
- [AlertRoundsViolationMode](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-alerts/docs/AlertRoundsViolationMode.md)
132+
- [AlertSimpleTest](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-alerts/docs/AlertSimpleTest.md)
132133
- [AlertSuppressionWindow](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-alerts/docs/AlertSuppressionWindow.md)
133134
- [AlertSuppressionWindowDetail](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-alerts/docs/AlertSuppressionWindowDetail.md)
134135
- [AlertSuppressionWindowRequest](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-alerts/docs/AlertSuppressionWindowRequest.md)
135136
- [AlertSuppressionWindowState](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-alerts/docs/AlertSuppressionWindowState.md)
136137
- [AlertSuppressionWindows](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-alerts/docs/AlertSuppressionWindows.md)
138+
- [AlertTestType](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-alerts/docs/AlertTestType.md)
137139
- [AlertType](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-alerts/docs/AlertType.md)
138140
- [Alerts](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-alerts/docs/Alerts.md)
139141
- [BaseAlert](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-alerts/docs/BaseAlert.md)
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# AlertSimpleTest
2+
3+
Each test includes additional fields depending on its `type`. Refer `/tests/{type}` endpoint to know the set of fields returned by a given `type`.
4+
5+
## Properties
6+
7+
Name | Type | Description | Notes
8+
------------ | ------------- | ------------- | -------------
9+
**interval** | [**TestInterval**](TestInterval.md) | | [optional]
10+
**alerts_enabled** | **bool** | Indicates if alerts are enabled. | [optional]
11+
**enabled** | **bool** | Test is enabled. | [optional] [default to True]
12+
**created_by** | **str** | User that created the test. | [optional] [readonly]
13+
**created_date** | **datetime** | UTC created date (ISO date-time format). | [optional] [readonly]
14+
**description** | **str** | A description of the test. | [optional]
15+
**live_share** | **bool** | Indicates if the test is shared with the account group. | [optional] [readonly]
16+
**modified_by** | **str** | User that modified the test. | [optional] [readonly]
17+
**modified_date** | **datetime** | UTC last modification date (ISO date-time format). | [optional] [readonly]
18+
**saved_event** | **bool** | Indicates if the test is a saved event. | [optional] [readonly]
19+
**test_id** | **str** | Each test is assigned an unique ID; this is used to access test information and results from other endpoints. | [optional] [readonly]
20+
**test_name** | **str** | The name of the test. Test name must be unique. | [optional]
21+
**type** | [**AlertTestType**](AlertTestType.md) | | [optional]
22+
**links** | [**TestLinks**](TestLinks.md) | | [optional]
23+
24+
## Example
25+
26+
```python
27+
from thousandeyes_sdk.alerts.models.alert_simple_test import AlertSimpleTest
28+
29+
# TODO update the JSON string below
30+
json = "{}"
31+
# create an instance of AlertSimpleTest from a JSON string
32+
alert_simple_test_instance = AlertSimpleTest.from_json(json)
33+
# print the JSON string representation of the object
34+
print(AlertSimpleTest.to_json())
35+
36+
# convert the object into a dict
37+
alert_simple_test_dict = alert_simple_test_instance.to_dict()
38+
# create an instance of AlertSimpleTest from a dict
39+
alert_simple_test_from_dict = AlertSimpleTest.from_dict(alert_simple_test_dict)
40+
```
41+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
42+
43+
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# AlertTestType
2+
3+
Valid Alert Types for which to return test links.
4+
5+
## Properties
6+
7+
Name | Type | Description | Notes
8+
------------ | ------------- | ------------- | -------------
9+
10+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
11+
12+

thousandeyes-sdk-alerts/docs/RuleDetail.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Name | Type | Description | Notes
2222
**sensitivity_level** | [**SensitivityLevel**](SensitivityLevel.md) | | [optional]
2323
**severity** | [**Severity**](Severity.md) | | [optional]
2424
**notifications** | [**AlertNotification**](AlertNotification.md) | | [optional]
25-
**tests** | [**List[SimpleTest]**](SimpleTest.md) | | [optional] [readonly]
25+
**tests** | [**List[AlertSimpleTest]**](AlertSimpleTest.md) | | [optional] [readonly]
2626
**links** | [**SelfLinks**](SelfLinks.md) | | [optional]
2727

2828
## Example

thousandeyes-sdk-alerts/src/thousandeyes_sdk/alerts/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,13 @@
2929
from thousandeyes_sdk.alerts.models.alert_metric_detail import AlertMetricDetail
3030
from thousandeyes_sdk.alerts.models.alert_notification import AlertNotification
3131
from thousandeyes_sdk.alerts.models.alert_rounds_violation_mode import AlertRoundsViolationMode
32+
from thousandeyes_sdk.alerts.models.alert_simple_test import AlertSimpleTest
3233
from thousandeyes_sdk.alerts.models.alert_suppression_window import AlertSuppressionWindow
3334
from thousandeyes_sdk.alerts.models.alert_suppression_window_detail import AlertSuppressionWindowDetail
3435
from thousandeyes_sdk.alerts.models.alert_suppression_window_request import AlertSuppressionWindowRequest
3536
from thousandeyes_sdk.alerts.models.alert_suppression_window_state import AlertSuppressionWindowState
3637
from thousandeyes_sdk.alerts.models.alert_suppression_windows import AlertSuppressionWindows
38+
from thousandeyes_sdk.alerts.models.alert_test_type import AlertTestType
3739
from thousandeyes_sdk.alerts.models.alert_type import AlertType
3840
from thousandeyes_sdk.alerts.models.alerts import Alerts
3941
from thousandeyes_sdk.alerts.models.base_alert import BaseAlert

thousandeyes-sdk-alerts/src/thousandeyes_sdk/alerts/models/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,13 @@
2222
from thousandeyes_sdk.alerts.models.alert_metric_detail import AlertMetricDetail
2323
from thousandeyes_sdk.alerts.models.alert_notification import AlertNotification
2424
from thousandeyes_sdk.alerts.models.alert_rounds_violation_mode import AlertRoundsViolationMode
25+
from thousandeyes_sdk.alerts.models.alert_simple_test import AlertSimpleTest
2526
from thousandeyes_sdk.alerts.models.alert_suppression_window import AlertSuppressionWindow
2627
from thousandeyes_sdk.alerts.models.alert_suppression_window_detail import AlertSuppressionWindowDetail
2728
from thousandeyes_sdk.alerts.models.alert_suppression_window_request import AlertSuppressionWindowRequest
2829
from thousandeyes_sdk.alerts.models.alert_suppression_window_state import AlertSuppressionWindowState
2930
from thousandeyes_sdk.alerts.models.alert_suppression_windows import AlertSuppressionWindows
31+
from thousandeyes_sdk.alerts.models.alert_test_type import AlertTestType
3032
from thousandeyes_sdk.alerts.models.alert_type import AlertType
3133
from thousandeyes_sdk.alerts.models.alerts import Alerts
3234
from thousandeyes_sdk.alerts.models.base_alert import BaseAlert

thousandeyes-sdk-alerts/src/thousandeyes_sdk/alerts/models/alert_group_type.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ class AlertGroupType(str, Enum):
2525
"""
2626
allowed enum values
2727
"""
28+
BGP = 'bgp'
2829
BROWSER_MINUS_SESSION = 'browser-session'
2930
CLOUD_MINUS_ENTERPRISE = 'cloud-enterprise'
3031
ENDPOINT = 'endpoint'

0 commit comments

Comments
 (0)