Skip to content

Commit

Permalink
[GitHub Bot] Generated python SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
API Team committed Oct 25, 2024
1 parent cafc4e6 commit 6f22943
Show file tree
Hide file tree
Showing 38 changed files with 108 additions and 32 deletions.
2 changes: 1 addition & 1 deletion thousandeyes-sdk-administrative/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.25
- API version: 7.0.26
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

Expand Down
2 changes: 1 addition & 1 deletion thousandeyes-sdk-agents/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.25
- API version: 7.0.26
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

Expand Down
2 changes: 1 addition & 1 deletion thousandeyes-sdk-alerts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.25
- API version: 7.0.26
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

Expand Down
2 changes: 1 addition & 1 deletion thousandeyes-sdk-bgp-monitors/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.25
- API version: 7.0.26
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

Expand Down
2 changes: 1 addition & 1 deletion thousandeyes-sdk-credentials/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.25
- API version: 7.0.26
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

Expand Down
2 changes: 1 addition & 1 deletion thousandeyes-sdk-dashboards/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.25
- API version: 7.0.26
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

Expand Down
2 changes: 1 addition & 1 deletion thousandeyes-sdk-emulation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.25
- API version: 7.0.26
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

Expand Down
2 changes: 1 addition & 1 deletion thousandeyes-sdk-endpoint-agents/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.25
- API version: 7.0.26
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

Expand Down
2 changes: 1 addition & 1 deletion thousandeyes-sdk-endpoint-instant-tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.25
- API version: 7.0.26
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

Expand Down
2 changes: 1 addition & 1 deletion thousandeyes-sdk-endpoint-labels/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.25
- API version: 7.0.26
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

Expand Down
2 changes: 1 addition & 1 deletion thousandeyes-sdk-endpoint-test-results/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.25
- API version: 7.0.26
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -380,11 +380,11 @@ def test_get_real_user_test_page_results_models_validation(self) -> None:
"log" : {
"browser" : {
"name" : "Google Chrome",
"version" : "7.0.25.98"
"version" : "7.0.26.98"
},
"creator" : {
"name" : "ThousandEyes Endpoint Agent",
"version" : "7.0.25"
"version" : "7.0.26"
},
"entries" : [ {
"pageref" : "page_1",
Expand Down
2 changes: 1 addition & 1 deletion thousandeyes-sdk-endpoint-tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.25
- API version: 7.0.26
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

Expand Down
2 changes: 1 addition & 1 deletion thousandeyes-sdk-event-detection/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.25
- API version: 7.0.26
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

Expand Down
2 changes: 1 addition & 1 deletion thousandeyes-sdk-instant-tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.25
- API version: 7.0.26
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

Expand Down
2 changes: 1 addition & 1 deletion thousandeyes-sdk-internet-insights/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.25
- API version: 7.0.26
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

Expand Down
2 changes: 1 addition & 1 deletion thousandeyes-sdk-snapshots/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.25
- API version: 7.0.26
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

Expand Down
2 changes: 1 addition & 1 deletion thousandeyes-sdk-snapshots/docs/TestSnapshotsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Method | HTTP request | Description
Create test snapshot

This operation creates a test snapshot based on the properties provided in the POST data. * To use this endpoint, you need the `Create snapshot shares` permission. * You can create a maximum of 5 snapshots per organization within a 5-minute interval. * Snapshots generated through this operation have a 30-day expiration period. * The time range specified with the `from` and `to` parameters must adhere to one of the following intervals: 1, 2, 4, 6, 12, 24, or 48 hours. * The `endDate` field of the snapshot must be set to the present or a past date. **Note**: This operation does not support the creation of operation Agent snapshots.
This operation creates a test snapshot based on the properties provided in the POST data. * To use this endpoint, you need the `Create snapshot shares` permission. * You can create a maximum of 5 snapshots per organization within a 5-minute interval. * Snapshots generated through this operation have a 30-day expiration period. * The time range specified with the `from` and `to` parameters must adhere to one of the following intervals: 1, 2, 4, 6, 12, 24, or 48 hours. * The `endDate` field of the snapshot must be set to the present or a past date. * Certain regions may not have public snapshots enabled for compliance reasons. In that case you will get a 403 Forbidden as a response. **Note**: This operation does not support the creation of operation Agent snapshots.

### Example

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def create_test_snapshot(
) -> SnapshotResponse:
"""Create test snapshot
This operation creates a test snapshot based on the properties provided in the POST data. * To use this endpoint, you need the `Create snapshot shares` permission. * You can create a maximum of 5 snapshots per organization within a 5-minute interval. * Snapshots generated through this operation have a 30-day expiration period. * The time range specified with the `from` and `to` parameters must adhere to one of the following intervals: 1, 2, 4, 6, 12, 24, or 48 hours. * The `endDate` field of the snapshot must be set to the present or a past date. **Note**: This operation does not support the creation of operation Agent snapshots.
This operation creates a test snapshot based on the properties provided in the POST data. * To use this endpoint, you need the `Create snapshot shares` permission. * You can create a maximum of 5 snapshots per organization within a 5-minute interval. * Snapshots generated through this operation have a 30-day expiration period. * The time range specified with the `from` and `to` parameters must adhere to one of the following intervals: 1, 2, 4, 6, 12, 24, or 48 hours. * The `endDate` field of the snapshot must be set to the present or a past date. * Certain regions may not have public snapshots enabled for compliance reasons. In that case you will get a 403 Forbidden as a response. **Note**: This operation does not support the creation of operation Agent snapshots.
:param test_id: Test ID (required)
:type test_id: str
Expand Down Expand Up @@ -147,7 +147,7 @@ def create_test_snapshot_with_http_info(
) -> ApiResponse[SnapshotResponse]:
"""Create test snapshot
This operation creates a test snapshot based on the properties provided in the POST data. * To use this endpoint, you need the `Create snapshot shares` permission. * You can create a maximum of 5 snapshots per organization within a 5-minute interval. * Snapshots generated through this operation have a 30-day expiration period. * The time range specified with the `from` and `to` parameters must adhere to one of the following intervals: 1, 2, 4, 6, 12, 24, or 48 hours. * The `endDate` field of the snapshot must be set to the present or a past date. **Note**: This operation does not support the creation of operation Agent snapshots.
This operation creates a test snapshot based on the properties provided in the POST data. * To use this endpoint, you need the `Create snapshot shares` permission. * You can create a maximum of 5 snapshots per organization within a 5-minute interval. * Snapshots generated through this operation have a 30-day expiration period. * The time range specified with the `from` and `to` parameters must adhere to one of the following intervals: 1, 2, 4, 6, 12, 24, or 48 hours. * The `endDate` field of the snapshot must be set to the present or a past date. * Certain regions may not have public snapshots enabled for compliance reasons. In that case you will get a 403 Forbidden as a response. **Note**: This operation does not support the creation of operation Agent snapshots.
:param test_id: Test ID (required)
:type test_id: str
Expand Down Expand Up @@ -230,7 +230,7 @@ def create_test_snapshot_without_preload_content(
) -> RESTResponseType:
"""Create test snapshot
This operation creates a test snapshot based on the properties provided in the POST data. * To use this endpoint, you need the `Create snapshot shares` permission. * You can create a maximum of 5 snapshots per organization within a 5-minute interval. * Snapshots generated through this operation have a 30-day expiration period. * The time range specified with the `from` and `to` parameters must adhere to one of the following intervals: 1, 2, 4, 6, 12, 24, or 48 hours. * The `endDate` field of the snapshot must be set to the present or a past date. **Note**: This operation does not support the creation of operation Agent snapshots.
This operation creates a test snapshot based on the properties provided in the POST data. * To use this endpoint, you need the `Create snapshot shares` permission. * You can create a maximum of 5 snapshots per organization within a 5-minute interval. * Snapshots generated through this operation have a 30-day expiration period. * The time range specified with the `from` and `to` parameters must adhere to one of the following intervals: 1, 2, 4, 6, 12, 24, or 48 hours. * The `endDate` field of the snapshot must be set to the present or a past date. * Certain regions may not have public snapshots enabled for compliance reasons. In that case you will get a 403 Forbidden as a response. **Note**: This operation does not support the creation of operation Agent snapshots.
:param test_id: Test ID (required)
:type test_id: str
Expand Down
2 changes: 2 additions & 0 deletions thousandeyes-sdk-streaming/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ docs/Filters.md
docs/FiltersTestTypes.md
docs/GetStreamResponse.md
docs/PutStream.md
docs/Signal.md
docs/Stream.md
docs/StreamLinks.md
docs/StreamResponse.md
Expand Down Expand Up @@ -47,6 +48,7 @@ src/thousandeyes_sdk/streaming/models/filters.py
src/thousandeyes_sdk/streaming/models/filters_test_types.py
src/thousandeyes_sdk/streaming/models/get_stream_response.py
src/thousandeyes_sdk/streaming/models/put_stream.py
src/thousandeyes_sdk/streaming/models/signal.py
src/thousandeyes_sdk/streaming/models/stream.py
src/thousandeyes_sdk/streaming/models/stream_links.py
src/thousandeyes_sdk/streaming/models/stream_response.py
Expand Down
3 changes: 2 additions & 1 deletion thousandeyes-sdk-streaming/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.25
- API version: 7.0.26
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

Expand Down Expand Up @@ -130,6 +130,7 @@ Class | Method | HTTP request | Description
- [FiltersTestTypes](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-streaming/docs/FiltersTestTypes.md)
- [GetStreamResponse](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-streaming/docs/GetStreamResponse.md)
- [PutStream](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-streaming/docs/PutStream.md)
- [Signal](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-streaming/docs/Signal.md)
- [Stream](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-streaming/docs/Stream.md)
- [StreamLinks](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-streaming/docs/StreamLinks.md)
- [StreamResponse](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-streaming/docs/StreamResponse.md)
Expand Down
1 change: 1 addition & 0 deletions thousandeyes-sdk-streaming/docs/CreateStreamResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Name | Type | Description | Notes
**enabled** | **bool** | Flag to enable or disable the stream integration. | [optional]
**links** | [**StreamLinks**](StreamLinks.md) | | [optional]
**type** | [**StreamType**](StreamType.md) | | [optional]
**signal** | [**Signal**](Signal.md) | | [optional]
**endpoint_type** | [**EndpointType**](EndpointType.md) | | [optional]
**stream_endpoint_url** | **str** | The URL ThousandEyes sends data stream to. For a URL to be valid, it needs to: - Be syntactically correct. - Be reachable. - Use the HTTPS protocol. - When using the `grpc` endpointType, streamEndpointUrl cannot contain paths: - Valid . `grpc` - `https://example.com` - Invalid . `grpc` - `https://example.com/collector`. - Valid . `http` - `https://example.com/collector`. - When using the `http` endpointType, the operation must match the exact final full URL (including the path if there is one) to which the metrics will be sent. Examples below: - `https://api.honeycomb.io:443/v1/metrics` - `https://ingest.eu0.signalfx.com/v2/datapoint/otlp` | [optional]
**data_model_version** | [**DataModelVersion**](DataModelVersion.md) | | [optional]
Expand Down
2 changes: 1 addition & 1 deletion thousandeyes-sdk-streaming/docs/DataModelVersion.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# DataModelVersion

The version of the data model used in the data stream. Default: `v2`
The version of the data model used in the data stream. When using `v1`: - The `signal` cannot be `trace`. Default: `v2`

## Properties

Expand Down
1 change: 1 addition & 0 deletions thousandeyes-sdk-streaming/docs/GetStreamResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Name | Type | Description | Notes
**enabled** | **bool** | Flag to enable or disable the stream integration. | [optional]
**links** | [**StreamLinks**](StreamLinks.md) | | [optional]
**type** | [**StreamType**](StreamType.md) | | [optional]
**signal** | [**Signal**](Signal.md) | | [optional]
**endpoint_type** | [**EndpointType**](EndpointType.md) | | [optional]
**stream_endpoint_url** | **str** | The URL ThousandEyes sends data stream to. For a URL to be valid, it needs to: - Be syntactically correct. - Be reachable. - Use the HTTPS protocol. - When using the `grpc` endpointType, streamEndpointUrl cannot contain paths: - Valid . `grpc` - `https://example.com` - Invalid . `grpc` - `https://example.com/collector`. - Valid . `http` - `https://example.com/collector`. - When using the `http` endpointType, the operation must match the exact final full URL (including the path if there is one) to which the metrics will be sent. Examples below: - `https://api.honeycomb.io:443/v1/metrics` - `https://ingest.eu0.signalfx.com/v2/datapoint/otlp` | [optional]
**data_model_version** | [**DataModelVersion**](DataModelVersion.md) | | [optional]
Expand Down
12 changes: 12 additions & 0 deletions thousandeyes-sdk-streaming/docs/Signal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Signal

The OpenTelemetry signal of the stream integration. When using `trace`: - `dataModelVersion` must be `v2`. Default: `metric`

## 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)


1 change: 1 addition & 0 deletions thousandeyes-sdk-streaming/docs/Stream.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Name | Type | Description | Notes
**filters** | [**Filters**](Filters.md) | | [optional]
**exporter_config** | [**ExporterConfig**](ExporterConfig.md) | | [optional]
**type** | [**StreamType**](StreamType.md) | | [optional]
**signal** | [**Signal**](Signal.md) | | [optional]
**endpoint_type** | [**EndpointType**](EndpointType.md) | | [optional]
**stream_endpoint_url** | **str** | The URL ThousandEyes sends data stream to. For a URL to be valid, it needs to: - Be syntactically correct. - Be reachable. - Use the HTTPS protocol. - When using the `grpc` endpointType, streamEndpointUrl cannot contain paths: - Valid . `grpc` - `https://example.com` - Invalid . `grpc` - `https://example.com/collector`. - Valid . `http` - `https://example.com/collector`. - When using the `http` endpointType, the operation must match the exact final full URL (including the path if there is one) to which the metrics will be sent. Examples below: - `https://api.honeycomb.io:443/v1/metrics` - `https://ingest.eu0.signalfx.com/v2/datapoint/otlp` | [optional]
**data_model_version** | [**DataModelVersion**](DataModelVersion.md) | | [optional]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
from thousandeyes_sdk.streaming.models.filters_test_types import FiltersTestTypes
from thousandeyes_sdk.streaming.models.get_stream_response import GetStreamResponse
from thousandeyes_sdk.streaming.models.put_stream import PutStream
from thousandeyes_sdk.streaming.models.signal import Signal
from thousandeyes_sdk.streaming.models.stream import Stream
from thousandeyes_sdk.streaming.models.stream_links import StreamLinks
from thousandeyes_sdk.streaming.models.stream_response import StreamResponse
Expand Down
Loading

0 comments on commit 6f22943

Please sign in to comment.