Skip to content

Commit b9976c6

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

File tree

39 files changed

+61
-47
lines changed

39 files changed

+61
-47
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.26
15+
- API version: 7.0.27
1616
- Generator version: 7.6.0
1717
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
1818

thousandeyes-sdk-administrative/docs/AccountGroupDetail.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ Name | Type | Description | Notes
99
**account_group_name** | **str** | Account group name | [optional]
1010
**is_current_account_group** | **bool** | Indicates whether the requested aid is the context of the current account. | [optional]
1111
**is_default_account_group** | **bool** | Indicates whether the aid is the default one for the requesting user. | [optional]
12-
**organization_name** | **str** | (Optional) Indicates whether the aid is the default one for the requesting user. | [optional]
12+
**organization_name** | **str** | (Optional) The name of the organization associated with the account group. | [optional]
13+
**org_id** | **str** | (Optional) The ID for the organization associated with the account group. | [optional]
1314
**users** | [**List[UserAccountGroup]**](UserAccountGroup.md) | | [optional]
1415
**links** | [**SelfLinks**](SelfLinks.md) | | [optional]
1516
**agents** | [**List[EnterpriseAgent]**](EnterpriseAgent.md) | | [optional]

thousandeyes-sdk-administrative/docs/AccountGroupInfo.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ Name | Type | Description | Notes
99
**account_group_name** | **str** | Account group name | [optional]
1010
**is_current_account_group** | **bool** | Indicates whether the requested aid is the context of the current account. | [optional]
1111
**is_default_account_group** | **bool** | Indicates whether the aid is the default one for the requesting user. | [optional]
12-
**organization_name** | **str** | (Optional) Indicates whether the aid is the default one for the requesting user. | [optional]
12+
**organization_name** | **str** | (Optional) The name of the organization associated with the account group. | [optional]
13+
**org_id** | **str** | (Optional) The ID for the organization associated with the account group. | [optional]
1314

1415
## Example
1516

thousandeyes-sdk-administrative/docs/CreatedAccountGroup.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ Name | Type | Description | Notes
99
**account_group_name** | **str** | Account group name | [optional]
1010
**is_current_account_group** | **bool** | Indicates whether the requested aid is the context of the current account. | [optional]
1111
**is_default_account_group** | **bool** | Indicates whether the aid is the default one for the requesting user. | [optional]
12-
**organization_name** | **str** | (Optional) Indicates whether the aid is the default one for the requesting user. | [optional]
12+
**organization_name** | **str** | (Optional) The name of the organization associated with the account group. | [optional]
13+
**org_id** | **str** | (Optional) The ID for the organization associated with the account group. | [optional]
1314
**users** | [**List[UserAccountGroup]**](UserAccountGroup.md) | | [optional]
1415
**links** | [**SelfLinks**](SelfLinks.md) | | [optional]
1516

thousandeyes-sdk-administrative/src/thousandeyes_sdk/administrative/models/account_group_detail.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,13 @@ class AccountGroupDetail(BaseModel):
3232
account_group_name: Optional[StrictStr] = Field(default=None, description="Account group name", alias="accountGroupName")
3333
is_current_account_group: Optional[StrictBool] = Field(default=None, description="Indicates whether the requested aid is the context of the current account.", alias="isCurrentAccountGroup")
3434
is_default_account_group: Optional[StrictBool] = Field(default=None, description="Indicates whether the aid is the default one for the requesting user.", alias="isDefaultAccountGroup")
35-
organization_name: Optional[StrictStr] = Field(default=None, description="(Optional) Indicates whether the aid is the default one for the requesting user.", alias="organizationName")
35+
organization_name: Optional[StrictStr] = Field(default=None, description="(Optional) The name of the organization associated with the account group.", alias="organizationName")
36+
org_id: Optional[StrictStr] = Field(default=None, description="(Optional) The ID for the organization associated with the account group.", alias="orgId")
3637
users: Optional[List[UserAccountGroup]] = None
3738
links: Optional[SelfLinks] = Field(default=None, alias="_links")
3839
agents: Optional[List[EnterpriseAgent]] = None
3940
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")
40-
__properties: ClassVar[List[str]] = ["aid", "accountGroupName", "isCurrentAccountGroup", "isDefaultAccountGroup", "organizationName", "users", "_links", "agents", "accountToken"]
41+
__properties: ClassVar[List[str]] = ["aid", "accountGroupName", "isCurrentAccountGroup", "isDefaultAccountGroup", "organizationName", "orgId", "users", "_links", "agents", "accountToken"]
4142

4243
model_config = ConfigDict(
4344
populate_by_name=True,
@@ -113,6 +114,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
113114
"isCurrentAccountGroup": obj.get("isCurrentAccountGroup"),
114115
"isDefaultAccountGroup": obj.get("isDefaultAccountGroup"),
115116
"organizationName": obj.get("organizationName"),
117+
"orgId": obj.get("orgId"),
116118
"users": [UserAccountGroup.from_dict(_item) for _item in obj["users"]] if obj.get("users") is not None else None,
117119
"_links": SelfLinks.from_dict(obj["_links"]) if obj.get("_links") is not None else None,
118120
"agents": [EnterpriseAgent.from_dict(_item) for _item in obj["agents"]] if obj.get("agents") is not None else None,

thousandeyes-sdk-administrative/src/thousandeyes_sdk/administrative/models/account_group_info.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,9 @@ class AccountGroupInfo(BaseModel):
2929
account_group_name: Optional[StrictStr] = Field(default=None, description="Account group name", alias="accountGroupName")
3030
is_current_account_group: Optional[StrictBool] = Field(default=None, description="Indicates whether the requested aid is the context of the current account.", alias="isCurrentAccountGroup")
3131
is_default_account_group: Optional[StrictBool] = Field(default=None, description="Indicates whether the aid is the default one for the requesting user.", alias="isDefaultAccountGroup")
32-
organization_name: Optional[StrictStr] = Field(default=None, description="(Optional) Indicates whether the aid is the default one for the requesting user.", alias="organizationName")
33-
__properties: ClassVar[List[str]] = ["aid", "accountGroupName", "isCurrentAccountGroup", "isDefaultAccountGroup", "organizationName"]
32+
organization_name: Optional[StrictStr] = Field(default=None, description="(Optional) The name of the organization associated with the account group.", alias="organizationName")
33+
org_id: Optional[StrictStr] = Field(default=None, description="(Optional) The ID for the organization associated with the account group.", alias="orgId")
34+
__properties: ClassVar[List[str]] = ["aid", "accountGroupName", "isCurrentAccountGroup", "isDefaultAccountGroup", "organizationName", "orgId"]
3435

3536
model_config = ConfigDict(
3637
populate_by_name=True,
@@ -88,7 +89,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
8889
"accountGroupName": obj.get("accountGroupName"),
8990
"isCurrentAccountGroup": obj.get("isCurrentAccountGroup"),
9091
"isDefaultAccountGroup": obj.get("isDefaultAccountGroup"),
91-
"organizationName": obj.get("organizationName")
92+
"organizationName": obj.get("organizationName"),
93+
"orgId": obj.get("orgId")
9294
})
9395
return _obj
9496

thousandeyes-sdk-administrative/src/thousandeyes_sdk/administrative/models/created_account_group.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,11 @@ class CreatedAccountGroup(BaseModel):
3131
account_group_name: Optional[StrictStr] = Field(default=None, description="Account group name", alias="accountGroupName")
3232
is_current_account_group: Optional[StrictBool] = Field(default=None, description="Indicates whether the requested aid is the context of the current account.", alias="isCurrentAccountGroup")
3333
is_default_account_group: Optional[StrictBool] = Field(default=None, description="Indicates whether the aid is the default one for the requesting user.", alias="isDefaultAccountGroup")
34-
organization_name: Optional[StrictStr] = Field(default=None, description="(Optional) Indicates whether the aid is the default one for the requesting user.", alias="organizationName")
34+
organization_name: Optional[StrictStr] = Field(default=None, description="(Optional) The name of the organization associated with the account group.", alias="organizationName")
35+
org_id: Optional[StrictStr] = Field(default=None, description="(Optional) The ID for the organization associated with the account group.", alias="orgId")
3536
users: Optional[List[UserAccountGroup]] = None
3637
links: Optional[SelfLinks] = Field(default=None, alias="_links")
37-
__properties: ClassVar[List[str]] = ["aid", "accountGroupName", "isCurrentAccountGroup", "isDefaultAccountGroup", "organizationName", "users", "_links"]
38+
__properties: ClassVar[List[str]] = ["aid", "accountGroupName", "isCurrentAccountGroup", "isDefaultAccountGroup", "organizationName", "orgId", "users", "_links"]
3839

3940
model_config = ConfigDict(
4041
populate_by_name=True,
@@ -103,6 +104,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
103104
"isCurrentAccountGroup": obj.get("isCurrentAccountGroup"),
104105
"isDefaultAccountGroup": obj.get("isDefaultAccountGroup"),
105106
"organizationName": obj.get("organizationName"),
107+
"orgId": obj.get("orgId"),
106108
"users": [UserAccountGroup.from_dict(_item) for _item in obj["users"]] if obj.get("users") is not None else None,
107109
"_links": SelfLinks.from_dict(obj["_links"]) if obj.get("_links") is not None else None
108110
})

thousandeyes-sdk-administrative/test/test_account_groups_api.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ def test_create_account_group_models_validation(self) -> None:
5959
"accountGroupName" : "Account A",
6060
"isDefaultAccountGroup" : true,
6161
"aid" : "1234",
62+
"orgId" : "12345",
6263
"users" : [ {
6364
"uid" : "235",
6465
"lastLogin" : "2022-07-17T22:00:54Z",
@@ -127,6 +128,7 @@ def test_get_account_group_models_validation(self) -> None:
127128
"isDefaultAccountGroup" : true,
128129
"accountToken" : "6j052y4vfgyuhefghue",
129130
"aid" : "1234",
131+
"orgId" : "12345",
130132
"users" : [ {
131133
"uid" : "235",
132134
"lastLogin" : "2022-07-17T22:00:54Z",
@@ -345,13 +347,15 @@ def test_get_account_groups_models_validation(self) -> None:
345347
"organizationName" : "organizationName",
346348
"accountGroupName" : "Account A",
347349
"isDefaultAccountGroup" : true,
348-
"aid" : "1234"
350+
"aid" : "1234",
351+
"orgId" : "12345"
349352
}, {
350353
"isCurrentAccountGroup" : true,
351354
"organizationName" : "organizationName",
352355
"accountGroupName" : "Account A",
353356
"isDefaultAccountGroup" : true,
354-
"aid" : "1234"
357+
"aid" : "1234",
358+
"orgId" : "12345"
355359
} ]
356360
}"""
357361

@@ -391,6 +395,7 @@ def test_update_account_group_models_validation(self) -> None:
391395
"isDefaultAccountGroup" : true,
392396
"accountToken" : "6j052y4vfgyuhefghue",
393397
"aid" : "1234",
398+
"orgId" : "12345",
394399
"users" : [ {
395400
"uid" : "235",
396401
"lastLogin" : "2022-07-17T22:00:54Z",

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.26
8+
- API version: 7.0.27
99
- Generator version: 7.6.0
1010
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
1111

thousandeyes-sdk-alerts/README.md

Lines changed: 1 addition & 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.26
15+
- API version: 7.0.27
1616
- Generator version: 7.6.0
1717
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
1818

0 commit comments

Comments
 (0)