[GitHub Bot] Generated python SDK

This commit is contained in:
API Team 2025-07-17 13:08:18 +00:00
parent b2a190c19c
commit 12468e90c6
26 changed files with 64 additions and 41 deletions

View File

@ -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.53
- API version: 7.0.54
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

View File

@ -5,7 +5,7 @@ Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 7.0.53
- API version: 7.0.54
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

View File

@ -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.53
- API version: 7.0.54
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

View File

@ -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.53
- API version: 7.0.54
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

View File

@ -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.53
- API version: 7.0.54
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

View File

@ -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.53
- API version: 7.0.54
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

View File

@ -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.53
- API version: 7.0.54
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

View File

@ -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.53
- API version: 7.0.54
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

View File

@ -9,6 +9,7 @@ Name | Type | Description | Notes
**agent_name** | **List[str]** | Returns only agents with the given name. This is an exact match only. | [optional]
**computer_name** | **List[str]** | Returns only agents with the given computer name. This is an exact match only. | [optional]
**username** | **List[str]** | Returns only agents that have at least one user with a name. starting with the provided string. This is a case-insensitive prefix match. | [optional]
**user_principal_name** | **List[str]** | Returns only agents that have at least one user principal name, starting with one of the provided strings. This is a case-insensitive prefix match. User principle name is the user login name in an Internet-style format, typically used in Active Directory environments. | [optional]
**platform** | [**List[Platform]**](Platform.md) | Filter on the platform on which the agent is running. | [optional]
**os_version** | **List[str]** | Case-insensitive prefix filter on the OS version. | [optional]
**location_country_iso** | **List[str]** | Filter using the ISO country code of the location. | [optional]

View File

@ -6,6 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**user_name** | **str** | |
**user_principal_name** | **str** | | [optional]
## Example

View File

@ -31,13 +31,14 @@ class AgentSearchFilters(BaseModel):
agent_name: Optional[List[StrictStr]] = Field(default=None, description="Returns only agents with the given name. This is an exact match only. ", alias="agentName")
computer_name: Optional[List[StrictStr]] = Field(default=None, description="Returns only agents with the given computer name. This is an exact match only. ", alias="computerName")
username: Optional[List[StrictStr]] = Field(default=None, description="Returns only agents that have at least one user with a name. starting with the provided string. This is a case-insensitive prefix match. ")
user_principal_name: Optional[List[StrictStr]] = Field(default=None, description="Returns only agents that have at least one user principal name, starting with one of the provided strings. This is a case-insensitive prefix match. User principle name is the user login name in an Internet-style format, typically used in Active Directory environments. ", alias="userPrincipalName")
platform: Optional[List[Platform]] = Field(default=None, description="Filter on the platform on which the agent is running. ")
os_version: Optional[List[StrictStr]] = Field(default=None, description="Case-insensitive prefix filter on the OS version.", alias="osVersion")
location_country_iso: Optional[List[StrictStr]] = Field(default=None, description="Filter using the ISO country code of the location. ", alias="locationCountryISO")
location_subdivision1_code: Optional[List[StrictStr]] = Field(default=None, description="Filter using the code for the first level administrative division within the country. In US/Canada this is the State, in UK it's the country e.g. `ENG` ", alias="locationSubdivision1Code")
location_city: Optional[List[StrictStr]] = Field(default=None, description="This is a prefix match on the city name field. The endpoint expects this to contain the name of the city in English. e.g. 'Paris' or '' ", alias="locationCity")
license_type: Optional[List[AgentLicenseType]] = Field(default=None, description="Filter on the agent's license type ", alias="licenseType")
__properties: ClassVar[List[str]] = ["id", "agentName", "computerName", "username", "platform", "osVersion", "locationCountryISO", "locationSubdivision1Code", "locationCity", "licenseType"]
__properties: ClassVar[List[str]] = ["id", "agentName", "computerName", "username", "userPrincipalName", "platform", "osVersion", "locationCountryISO", "locationSubdivision1Code", "locationCity", "licenseType"]
model_config = ConfigDict(
populate_by_name=True,
@ -95,6 +96,7 @@ class AgentSearchFilters(BaseModel):
"agentName": obj.get("agentName"),
"computerName": obj.get("computerName"),
"username": obj.get("username"),
"userPrincipalName": obj.get("userPrincipalName"),
"platform": obj.get("platform"),
"osVersion": obj.get("osVersion"),
"locationCountryISO": obj.get("locationCountryISO"),

View File

@ -17,7 +17,7 @@ import re # noqa: F401
import json
from pydantic import BaseModel, ConfigDict, Field, StrictStr
from typing import Any, ClassVar, Dict, List
from typing import Any, ClassVar, Dict, List, Optional
from typing import Optional, Set
from typing_extensions import Self
@ -26,7 +26,8 @@ class EndpointUserProfile(BaseModel):
EndpointUserProfile
""" # noqa: E501
user_name: StrictStr = Field(alias="userName")
__properties: ClassVar[List[str]] = ["userName"]
user_principal_name: Optional[StrictStr] = Field(default=None, alias="userPrincipalName")
__properties: ClassVar[List[str]] = ["userName", "userPrincipalName"]
model_config = ConfigDict(
populate_by_name=True,
@ -80,7 +81,8 @@ class EndpointUserProfile(BaseModel):
return cls.model_validate(obj)
_obj = cls.model_validate({
"userName": obj.get("userName")
"userName": obj.get("userName"),
"userPrincipalName": obj.get("userPrincipalName")
})
return _obj

View File

@ -59,7 +59,8 @@ class TestEndpointAgentsApi(unittest.TestCase):
"enabled" : true
} ],
"userProfile" : {
"userName" : "joeblogs32"
"userName" : "joeblogs32",
"userPrincipalName" : "joeblogs32@c.com"
}
}, {
"browserExtensions" : [ {
@ -78,7 +79,8 @@ class TestEndpointAgentsApi(unittest.TestCase):
"enabled" : true
} ],
"userProfile" : {
"userName" : "joeblogs32"
"userName" : "joeblogs32",
"userPrincipalName" : "joeblogs32@c.com"
}
} ],
"agentType" : "endpoint",
@ -218,7 +220,8 @@ class TestEndpointAgentsApi(unittest.TestCase):
"enabled" : true
} ],
"userProfile" : {
"userName" : "joeblogs32"
"userName" : "joeblogs32",
"userPrincipalName" : "joeblogs32@c.com"
}
}, {
"browserExtensions" : [ {
@ -237,7 +240,8 @@ class TestEndpointAgentsApi(unittest.TestCase):
"enabled" : true
} ],
"userProfile" : {
"userName" : "joeblogs32"
"userName" : "joeblogs32",
"userPrincipalName" : "joeblogs32@c.com"
}
} ],
"agentType" : "endpoint",
@ -369,6 +373,7 @@ class TestEndpointAgentsApi(unittest.TestCase):
"agentName" : [ "myagent-1234", "myagent-1234" ],
"locationSubdivision1Code" : [ "ENG", "ENG" ],
"id" : [ "861b7557-cd57-4bbb-b648-00bddf88ef49", "861b7557-cd57-4bbb-b648-00bddf88ef49" ],
"userPrincipalName" : [ "picard@c.com" ],
"platform" : [ "mac", "mac" ],
"locationCity" : [ "Paris", "Paris" ],
"username" : [ "picard" ]
@ -429,7 +434,8 @@ class TestEndpointAgentsApi(unittest.TestCase):
"enabled" : true
} ],
"userProfile" : {
"userName" : "joeblogs32"
"userName" : "joeblogs32",
"userPrincipalName" : "joeblogs32@c.com"
}
}, {
"browserExtensions" : [ {
@ -448,7 +454,8 @@ class TestEndpointAgentsApi(unittest.TestCase):
"enabled" : true
} ],
"userProfile" : {
"userName" : "joeblogs32"
"userName" : "joeblogs32",
"userPrincipalName" : "joeblogs32@c.com"
}
} ],
"agentType" : "endpoint",
@ -578,7 +585,8 @@ class TestEndpointAgentsApi(unittest.TestCase):
"enabled" : true
} ],
"userProfile" : {
"userName" : "joeblogs32"
"userName" : "joeblogs32",
"userPrincipalName" : "joeblogs32@c.com"
}
}, {
"browserExtensions" : [ {
@ -597,7 +605,8 @@ class TestEndpointAgentsApi(unittest.TestCase):
"enabled" : true
} ],
"userProfile" : {
"userName" : "joeblogs32"
"userName" : "joeblogs32",
"userPrincipalName" : "joeblogs32@c.com"
}
} ],
"agentType" : "endpoint",
@ -738,7 +747,8 @@ class TestEndpointAgentsApi(unittest.TestCase):
"enabled" : true
} ],
"userProfile" : {
"userName" : "joeblogs32"
"userName" : "joeblogs32",
"userPrincipalName" : "joeblogs32@c.com"
}
}, {
"browserExtensions" : [ {
@ -757,7 +767,8 @@ class TestEndpointAgentsApi(unittest.TestCase):
"enabled" : true
} ],
"userProfile" : {
"userName" : "joeblogs32"
"userName" : "joeblogs32",
"userPrincipalName" : "joeblogs32@c.com"
}
} ],
"agentType" : "endpoint",
@ -921,7 +932,8 @@ class TestEndpointAgentsApi(unittest.TestCase):
"enabled" : true
} ],
"userProfile" : {
"userName" : "joeblogs32"
"userName" : "joeblogs32",
"userPrincipalName" : "joeblogs32@c.com"
}
}, {
"browserExtensions" : [ {
@ -940,7 +952,8 @@ class TestEndpointAgentsApi(unittest.TestCase):
"enabled" : true
} ],
"userProfile" : {
"userName" : "joeblogs32"
"userName" : "joeblogs32",
"userPrincipalName" : "joeblogs32@c.com"
}
} ],
"agentType" : "endpoint",
@ -1070,7 +1083,8 @@ class TestEndpointAgentsApi(unittest.TestCase):
"enabled" : true
} ],
"userProfile" : {
"userName" : "joeblogs32"
"userName" : "joeblogs32",
"userPrincipalName" : "joeblogs32@c.com"
}
}, {
"browserExtensions" : [ {
@ -1089,7 +1103,8 @@ class TestEndpointAgentsApi(unittest.TestCase):
"enabled" : true
} ],
"userProfile" : {
"userName" : "joeblogs32"
"userName" : "joeblogs32",
"userPrincipalName" : "joeblogs32@c.com"
}
} ],
"agentType" : "endpoint",
@ -1263,7 +1278,8 @@ class TestEndpointAgentsApi(unittest.TestCase):
"enabled" : true
} ],
"userProfile" : {
"userName" : "joeblogs32"
"userName" : "joeblogs32",
"userPrincipalName" : "joeblogs32@c.com"
}
}, {
"browserExtensions" : [ {
@ -1282,7 +1298,8 @@ class TestEndpointAgentsApi(unittest.TestCase):
"enabled" : true
} ],
"userProfile" : {
"userName" : "joeblogs32"
"userName" : "joeblogs32",
"userPrincipalName" : "joeblogs32@c.com"
}
} ],
"agentType" : "endpoint",

View File

@ -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.53
- API version: 7.0.54
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

View File

@ -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.53
- API version: 7.0.54
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

View File

@ -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.53
- API version: 7.0.54
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

View File

@ -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.53
- API version: 7.0.54
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

View File

@ -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.53
- API version: 7.0.54
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

View File

@ -6,7 +6,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.53
- API version: 7.0.54
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

View File

@ -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.53
- API version: 7.0.54
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

View File

@ -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.53
- API version: 7.0.54
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

View File

@ -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.53
- API version: 7.0.54
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

View File

@ -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.53
- API version: 7.0.54
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

View File

@ -3,7 +3,7 @@ Get test result metrics for Network and Application Synthetics tests.
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 7.0.53
- API version: 7.0.54
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

View File

@ -4,7 +4,7 @@ This API allows you to list, create, edit, and delete Network and Application Sy
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 7.0.53
- API version: 7.0.54
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

View File

@ -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.53
- API version: 7.0.54
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator