Skip to content

Commit

Permalink
[GitHub Bot] Generated python SDK (#68)
Browse files Browse the repository at this point in the history
Co-authored-by: API Team <api-team@thousandeyes.com>
  • Loading branch information
mpragosa-te and API Team authored Oct 2, 2024
1 parent 8d0c01b commit 71cf7d5
Show file tree
Hide file tree
Showing 24 changed files with 26 additions and 47 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.21
- API version: 7.0.22
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

Expand Down
10 changes: 3 additions & 7 deletions thousandeyes-sdk-administrative/docs/AccountGroupsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **get_account_groups**
> AccountGroups get_account_groups(aid=aid)
> AccountGroups get_account_groups()
List account groups

Expand Down Expand Up @@ -304,11 +304,10 @@ configuration = thousandeyes_sdk.core.Configuration(
with thousandeyes_sdk.administrative.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = thousandeyes_sdk.administrative.AccountGroupsApi(api_client)
aid = '1234' # str | A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response. (optional)

try:
# List account groups
api_response = api_instance.get_account_groups(aid=aid)
api_response = api_instance.get_account_groups()
print("The response of AccountGroupsApi->get_account_groups:\n")
pprint(api_response)
except Exception as e:
Expand All @@ -319,10 +318,7 @@ with thousandeyes_sdk.administrative.ApiClient(configuration) as api_client:

### Parameters


Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**aid** | **str**| A unique identifier associated with your account group. You can retrieve your &#x60;AccountGroupId&#x60; from the &#x60;/account-groups&#x60; endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response. | [optional]
This endpoint does not need any parameter.

### Return type

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -937,7 +937,6 @@ def _get_account_group_serialize(
@validate_call
def get_account_groups(
self,
aid: Annotated[Optional[StrictStr], Field(description="A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
Expand All @@ -955,8 +954,6 @@ def get_account_groups(
Retrieves a list of account groups available to the current user.
:param aid: A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.
:type aid: str
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
Expand All @@ -980,7 +977,6 @@ def get_account_groups(
""" # noqa: E501

_param = self._get_account_groups_serialize(
aid=aid,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
Expand Down Expand Up @@ -1011,7 +1007,6 @@ def get_account_groups(
@validate_call
def get_account_groups_with_http_info(
self,
aid: Annotated[Optional[StrictStr], Field(description="A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
Expand All @@ -1029,8 +1024,6 @@ def get_account_groups_with_http_info(
Retrieves a list of account groups available to the current user.
:param aid: A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.
:type aid: str
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
Expand All @@ -1054,7 +1047,6 @@ def get_account_groups_with_http_info(
""" # noqa: E501

_param = self._get_account_groups_serialize(
aid=aid,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
Expand Down Expand Up @@ -1085,7 +1077,6 @@ def get_account_groups_with_http_info(
@validate_call
def get_account_groups_without_preload_content(
self,
aid: Annotated[Optional[StrictStr], Field(description="A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
Expand All @@ -1103,8 +1094,6 @@ def get_account_groups_without_preload_content(
Retrieves a list of account groups available to the current user.
:param aid: A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.
:type aid: str
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
Expand All @@ -1128,7 +1117,6 @@ def get_account_groups_without_preload_content(
""" # noqa: E501

_param = self._get_account_groups_serialize(
aid=aid,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
Expand All @@ -1153,7 +1141,6 @@ def get_account_groups_without_preload_content(

def _get_account_groups_serialize(
self,
aid,
_request_auth,
_content_type,
_headers,
Expand All @@ -1174,10 +1161,6 @@ def _get_account_groups_serialize(

# process the path parameters
# process the query parameters
if aid is not None:

_query_params.append(('aid', aid))

# process the header parameters
# process the form parameters
# process the body parameter
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.21
- API version: 7.0.22
- 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.21
- API version: 7.0.22
- 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.21
- API version: 7.0.22
- 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.21
- API version: 7.0.22
- 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.21
- API version: 7.0.22
- 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.21
- API version: 7.0.22
- 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.21
- API version: 7.0.22
- 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.21
- API version: 7.0.22
- 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.21
- API version: 7.0.22
- 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.21
- API version: 7.0.22
- 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.21.98"
"version" : "7.0.22.98"
},
"creator" : {
"name" : "ThousandEyes Endpoint Agent",
"version" : "7.0.21"
"version" : "7.0.22"
},
"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.21
- API version: 7.0.22
- 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.21
- API version: 7.0.22
- 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.21
- API version: 7.0.22
- 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.21
- API version: 7.0.22
- 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.21
- API version: 7.0.22
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

Expand Down
2 changes: 1 addition & 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.21
- API version: 7.0.22
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

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

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

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

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

Expand Down

0 comments on commit 71cf7d5

Please sign in to comment.