graphiant-sdk 25.8.1__py3-none-any.whl → 25.9.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- graphiant_sdk/__init__.py +3468 -1164
- graphiant_sdk/api/__init__.py +16 -1
- graphiant_sdk/api/default_api.py +9805 -15424
- graphiant_sdk/api_client.py +9 -2
- graphiant_sdk/configuration.py +1 -1
- graphiant_sdk/models/__init__.py +1158 -21
- graphiant_sdk/models/v1_backbone_health_device_device_id_post200_response.py +3 -3
- graphiant_sdk/models/v1_bwtracker_enterprise_details_post200_response_bwusage_details.py +2 -11
- graphiant_sdk/models/v1_devices_device_id_config_put_request_edge_interfaces_value_interface.py +2 -6
- graphiant_sdk/models/v1_devices_running_version_post200_response_versions_inner.py +3 -3
- graphiant_sdk/models/v1_devices_upgrade_schedule_put_request.py +4 -14
- graphiant_sdk/models/v1_edges_hardware_assigned_get200_response_edges_summary_inner_upgrade_summary.py +5 -17
- graphiant_sdk/models/v1_edges_hardware_assigned_get200_response_edges_summary_inner_upgrade_summary_schedule.py +3 -3
- graphiant_sdk/models/v1_global_site_lists_id_sites_get200_response_entries_inner.py +3 -3
- graphiant_sdk/models/v1_groups_id_members_get200_response_users_inner.py +1 -7
- graphiant_sdk/models/v1_groups_id_members_post_request.py +3 -5
- graphiant_sdk/models/v1_software_auto_upgrade_default_get200_response.py +7 -7
- graphiant_sdk/models/v1_software_releases_summary_get200_response_summaries_inner.py +1 -6
- graphiant_sdk/models/v1_troubleshooting_device_device_id_post200_response.py +3 -3
- graphiant_sdk/models/v2_assistant_add_to_conversation_post200_response.py +2 -4
- graphiant_sdk/models/v2_assistant_get_conversations_post200_response.py +3 -5
- graphiant_sdk/models/v2_assistant_get_conversations_post200_response_conversation_list_inner.py +3 -5
- {graphiant_sdk-25.8.1.dist-info → graphiant_sdk-25.9.1.dist-info}/METADATA +9 -20
- {graphiant_sdk-25.8.1.dist-info → graphiant_sdk-25.9.1.dist-info}/RECORD +27 -27
- {graphiant_sdk-25.8.1.dist-info → graphiant_sdk-25.9.1.dist-info}/WHEEL +0 -0
- {graphiant_sdk-25.8.1.dist-info → graphiant_sdk-25.9.1.dist-info}/licenses/LICENSE +0 -0
- {graphiant_sdk-25.8.1.dist-info → graphiant_sdk-25.9.1.dist-info}/top_level.txt +0 -0
|
@@ -25,7 +25,7 @@ from graphiant_sdk.models.v1_backbone_health_device_device_id_post200_response_d
|
|
|
25
25
|
from graphiant_sdk.models.v1_backbone_health_device_device_id_post200_response_issues_inner import V1BackboneHealthDeviceDeviceIdPost200ResponseIssuesInner
|
|
26
26
|
from graphiant_sdk.models.v1_backbone_health_device_device_id_post200_response_qoe_matrix import V1BackboneHealthDeviceDeviceIdPost200ResponseQoeMatrix
|
|
27
27
|
from graphiant_sdk.models.v1_backbone_health_device_device_id_post200_response_system_plane import V1BackboneHealthDeviceDeviceIdPost200ResponseSystemPlane
|
|
28
|
-
from graphiant_sdk.models.
|
|
28
|
+
from graphiant_sdk.models.v1_edges_hardware_assigned_get200_response_edges_summary_inner_upgrade_summary_running_version import V1EdgesHardwareAssignedGet200ResponseEdgesSummaryInnerUpgradeSummaryRunningVersion
|
|
29
29
|
from typing import Optional, Set
|
|
30
30
|
from typing_extensions import Self
|
|
31
31
|
|
|
@@ -40,7 +40,7 @@ class V1BackboneHealthDeviceDeviceIdPost200Response(BaseModel):
|
|
|
40
40
|
role: Optional[StrictStr] = None
|
|
41
41
|
status: Optional[StrictStr] = None
|
|
42
42
|
sw_version: Optional[StrictStr] = Field(default=None, alias="swVersion")
|
|
43
|
-
sw_version_v2: Optional[
|
|
43
|
+
sw_version_v2: Optional[V1EdgesHardwareAssignedGet200ResponseEdgesSummaryInnerUpgradeSummaryRunningVersion] = Field(default=None, alias="swVersionV2")
|
|
44
44
|
system_plane: Optional[V1BackboneHealthDeviceDeviceIdPost200ResponseSystemPlane] = Field(default=None, alias="systemPlane")
|
|
45
45
|
up_since_ts: Optional[V1AlarmHistoryGet200ResponseHistoryInnerTime] = Field(default=None, alias="upSinceTs")
|
|
46
46
|
__properties: ClassVar[List[str]] = ["controlPlane", "dataPlane", "issues", "qoeMatrix", "role", "status", "swVersion", "swVersionV2", "systemPlane", "upSinceTs"]
|
|
@@ -128,7 +128,7 @@ class V1BackboneHealthDeviceDeviceIdPost200Response(BaseModel):
|
|
|
128
128
|
"role": obj.get("role"),
|
|
129
129
|
"status": obj.get("status"),
|
|
130
130
|
"swVersion": obj.get("swVersion"),
|
|
131
|
-
"swVersionV2":
|
|
131
|
+
"swVersionV2": V1EdgesHardwareAssignedGet200ResponseEdgesSummaryInnerUpgradeSummaryRunningVersion.from_dict(obj["swVersionV2"]) if obj.get("swVersionV2") is not None else None,
|
|
132
132
|
"systemPlane": V1BackboneHealthDeviceDeviceIdPost200ResponseSystemPlane.from_dict(obj["systemPlane"]) if obj.get("systemPlane") is not None else None,
|
|
133
133
|
"upSinceTs": V1AlarmHistoryGet200ResponseHistoryInnerTime.from_dict(obj["upSinceTs"]) if obj.get("upSinceTs") is not None else None
|
|
134
134
|
})
|
|
@@ -30,8 +30,7 @@ class V1BwtrackerEnterpriseDetailsPost200ResponseBwusageDetails(BaseModel):
|
|
|
30
30
|
""" # noqa: E501
|
|
31
31
|
bwusage_region: Optional[List[V1BwtrackerEnterpriseDetailsPost200ResponseBwusageDetailsBwusageRegionInner]] = Field(default=None, alias="bwusageRegion")
|
|
32
32
|
bwusage_site: Optional[List[V1BwtrackerEnterpriseDetailsPost200ResponseBwusageDetailsBwusageSiteInner]] = Field(default=None, alias="bwusageSite")
|
|
33
|
-
|
|
34
|
-
__properties: ClassVar[List[str]] = ["bwusageRegion", "bwusageSite", "bwusageSiteGateway"]
|
|
33
|
+
__properties: ClassVar[List[str]] = ["bwusageRegion", "bwusageSite"]
|
|
35
34
|
|
|
36
35
|
model_config = ConfigDict(
|
|
37
36
|
populate_by_name=True,
|
|
@@ -86,13 +85,6 @@ class V1BwtrackerEnterpriseDetailsPost200ResponseBwusageDetails(BaseModel):
|
|
|
86
85
|
if _item_bwusage_site:
|
|
87
86
|
_items.append(_item_bwusage_site.to_dict())
|
|
88
87
|
_dict['bwusageSite'] = _items
|
|
89
|
-
# override the default output from pydantic by calling `to_dict()` of each item in bwusage_site_gateway (list)
|
|
90
|
-
_items = []
|
|
91
|
-
if self.bwusage_site_gateway:
|
|
92
|
-
for _item_bwusage_site_gateway in self.bwusage_site_gateway:
|
|
93
|
-
if _item_bwusage_site_gateway:
|
|
94
|
-
_items.append(_item_bwusage_site_gateway.to_dict())
|
|
95
|
-
_dict['bwusageSiteGateway'] = _items
|
|
96
88
|
return _dict
|
|
97
89
|
|
|
98
90
|
@classmethod
|
|
@@ -106,8 +98,7 @@ class V1BwtrackerEnterpriseDetailsPost200ResponseBwusageDetails(BaseModel):
|
|
|
106
98
|
|
|
107
99
|
_obj = cls.model_validate({
|
|
108
100
|
"bwusageRegion": [V1BwtrackerEnterpriseDetailsPost200ResponseBwusageDetailsBwusageRegionInner.from_dict(_item) for _item in obj["bwusageRegion"]] if obj.get("bwusageRegion") is not None else None,
|
|
109
|
-
"bwusageSite": [V1BwtrackerEnterpriseDetailsPost200ResponseBwusageDetailsBwusageSiteInner.from_dict(_item) for _item in obj["bwusageSite"]] if obj.get("bwusageSite") is not None else None
|
|
110
|
-
"bwusageSiteGateway": [V1BwtrackerEnterpriseDetailsPost200ResponseBwusageDetailsBwusageSiteInner.from_dict(_item) for _item in obj["bwusageSiteGateway"]] if obj.get("bwusageSiteGateway") is not None else None
|
|
101
|
+
"bwusageSite": [V1BwtrackerEnterpriseDetailsPost200ResponseBwusageDetailsBwusageSiteInner.from_dict(_item) for _item in obj["bwusageSite"]] if obj.get("bwusageSite") is not None else None
|
|
111
102
|
})
|
|
112
103
|
return _obj
|
|
113
104
|
|
graphiant_sdk/models/v1_devices_device_id_config_put_request_edge_interfaces_value_interface.py
CHANGED
|
@@ -17,7 +17,7 @@ import pprint
|
|
|
17
17
|
import re # noqa: F401
|
|
18
18
|
import json
|
|
19
19
|
|
|
20
|
-
from pydantic import BaseModel, ConfigDict, Field, StrictBool,
|
|
20
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr
|
|
21
21
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
22
22
|
from typing_extensions import Annotated
|
|
23
23
|
from graphiant_sdk.models.v1_devices_device_id_config_put_request_core_interfaces_value_interface_gw_gw import V1DevicesDeviceIdConfigPutRequestCoreInterfacesValueInterfaceGwGw
|
|
@@ -36,7 +36,6 @@ class V1DevicesDeviceIdConfigPutRequestEdgeInterfacesValueInterface(BaseModel):
|
|
|
36
36
|
alias: Optional[StrictStr] = None
|
|
37
37
|
circuit: Optional[StrictStr] = None
|
|
38
38
|
description: Optional[StrictStr] = None
|
|
39
|
-
duplex: Optional[StrictStr] = None
|
|
40
39
|
ipsec: Optional[V1DevicesDeviceIdConfigPutRequestCoreInterfacesValueInterfaceIpsec] = None
|
|
41
40
|
ipv4: Optional[V1DevicesDeviceIdConfigPutRequestCoreInterfacesValueInterfaceGwGw] = None
|
|
42
41
|
ipv6: Optional[V1DevicesDeviceIdConfigPutRequestCoreInterfacesValueInterfaceGwGw] = None
|
|
@@ -45,14 +44,13 @@ class V1DevicesDeviceIdConfigPutRequestEdgeInterfacesValueInterface(BaseModel):
|
|
|
45
44
|
loopback: Optional[StrictBool] = None
|
|
46
45
|
max_transmission_unit: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, alias="maxTransmissionUnit")
|
|
47
46
|
security_zone: Optional[StrictStr] = Field(default=None, alias="securityZone")
|
|
48
|
-
speed: Optional[StrictInt] = None
|
|
49
47
|
subinterfaces: Optional[Dict[str, V1DevicesDeviceIdConfigPutRequestEdgeInterfacesValueInterfaceSubinterfacesValue]] = None
|
|
50
48
|
tcp_mss: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, alias="tcpMss")
|
|
51
49
|
tcp_mss_v4: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, alias="tcpMssV4")
|
|
52
50
|
tcp_mss_v6: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, alias="tcpMssV6")
|
|
53
51
|
v4_tcp_mss: Optional[V1DevicesDeviceIdConfigPutRequestEdgeInterfacesValueInterfaceSubinterfacesValueInterfaceV4TcpMss] = Field(default=None, alias="v4TcpMss")
|
|
54
52
|
v6_tcp_mss: Optional[V1DevicesDeviceIdConfigPutRequestEdgeInterfacesValueInterfaceSubinterfacesValueInterfaceV6TcpMss] = Field(default=None, alias="v6TcpMss")
|
|
55
|
-
__properties: ClassVar[List[str]] = ["adminStatus", "alias", "circuit", "description", "
|
|
53
|
+
__properties: ClassVar[List[str]] = ["adminStatus", "alias", "circuit", "description", "ipsec", "ipv4", "ipv6", "lan", "lldpEnabled", "loopback", "maxTransmissionUnit", "securityZone", "subinterfaces", "tcpMss", "tcpMssV4", "tcpMssV6", "v4TcpMss", "v6TcpMss"]
|
|
56
54
|
|
|
57
55
|
model_config = ConfigDict(
|
|
58
56
|
populate_by_name=True,
|
|
@@ -131,7 +129,6 @@ class V1DevicesDeviceIdConfigPutRequestEdgeInterfacesValueInterface(BaseModel):
|
|
|
131
129
|
"alias": obj.get("alias"),
|
|
132
130
|
"circuit": obj.get("circuit"),
|
|
133
131
|
"description": obj.get("description"),
|
|
134
|
-
"duplex": obj.get("duplex"),
|
|
135
132
|
"ipsec": V1DevicesDeviceIdConfigPutRequestCoreInterfacesValueInterfaceIpsec.from_dict(obj["ipsec"]) if obj.get("ipsec") is not None else None,
|
|
136
133
|
"ipv4": V1DevicesDeviceIdConfigPutRequestCoreInterfacesValueInterfaceGwGw.from_dict(obj["ipv4"]) if obj.get("ipv4") is not None else None,
|
|
137
134
|
"ipv6": V1DevicesDeviceIdConfigPutRequestCoreInterfacesValueInterfaceGwGw.from_dict(obj["ipv6"]) if obj.get("ipv6") is not None else None,
|
|
@@ -140,7 +137,6 @@ class V1DevicesDeviceIdConfigPutRequestEdgeInterfacesValueInterface(BaseModel):
|
|
|
140
137
|
"loopback": obj.get("loopback"),
|
|
141
138
|
"maxTransmissionUnit": obj.get("maxTransmissionUnit"),
|
|
142
139
|
"securityZone": obj.get("securityZone"),
|
|
143
|
-
"speed": obj.get("speed"),
|
|
144
140
|
"subinterfaces": dict(
|
|
145
141
|
(_k, V1DevicesDeviceIdConfigPutRequestEdgeInterfacesValueInterfaceSubinterfacesValue.from_dict(_v))
|
|
146
142
|
for _k, _v in obj["subinterfaces"].items()
|
|
@@ -19,7 +19,7 @@ import json
|
|
|
19
19
|
|
|
20
20
|
from pydantic import BaseModel, ConfigDict, Field, StrictInt
|
|
21
21
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
22
|
-
from graphiant_sdk.models.
|
|
22
|
+
from graphiant_sdk.models.v1_edges_hardware_assigned_get200_response_edges_summary_inner_upgrade_summary_running_version import V1EdgesHardwareAssignedGet200ResponseEdgesSummaryInnerUpgradeSummaryRunningVersion
|
|
23
23
|
from typing import Optional, Set
|
|
24
24
|
from typing_extensions import Self
|
|
25
25
|
|
|
@@ -28,7 +28,7 @@ class V1DevicesRunningVersionPost200ResponseVersionsInner(BaseModel):
|
|
|
28
28
|
V1DevicesRunningVersionPost200ResponseVersionsInner
|
|
29
29
|
""" # noqa: E501
|
|
30
30
|
device_id: Optional[StrictInt] = Field(default=None, alias="deviceId")
|
|
31
|
-
version: Optional[
|
|
31
|
+
version: Optional[V1EdgesHardwareAssignedGet200ResponseEdgesSummaryInnerUpgradeSummaryRunningVersion] = None
|
|
32
32
|
__properties: ClassVar[List[str]] = ["deviceId", "version"]
|
|
33
33
|
|
|
34
34
|
model_config = ConfigDict(
|
|
@@ -86,7 +86,7 @@ class V1DevicesRunningVersionPost200ResponseVersionsInner(BaseModel):
|
|
|
86
86
|
|
|
87
87
|
_obj = cls.model_validate({
|
|
88
88
|
"deviceId": obj.get("deviceId"),
|
|
89
|
-
"version":
|
|
89
|
+
"version": V1EdgesHardwareAssignedGet200ResponseEdgesSummaryInnerUpgradeSummaryRunningVersion.from_dict(obj["version"]) if obj.get("version") is not None else None
|
|
90
90
|
})
|
|
91
91
|
return _obj
|
|
92
92
|
|
|
@@ -20,8 +20,7 @@ import json
|
|
|
20
20
|
from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr
|
|
21
21
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
22
22
|
from graphiant_sdk.models.v1_alarm_history_get200_response_history_inner_time import V1AlarmHistoryGet200ResponseHistoryInnerTime
|
|
23
|
-
from graphiant_sdk.models.
|
|
24
|
-
from graphiant_sdk.models.v1_edges_hardware_assigned_get200_response_edges_summary_inner_upgrade_summary_last_running_version import V1EdgesHardwareAssignedGet200ResponseEdgesSummaryInnerUpgradeSummaryLastRunningVersion
|
|
23
|
+
from graphiant_sdk.models.v1_edges_hardware_assigned_get200_response_edges_summary_inner_upgrade_summary_running_version import V1EdgesHardwareAssignedGet200ResponseEdgesSummaryInnerUpgradeSummaryRunningVersion
|
|
25
24
|
from typing import Optional, Set
|
|
26
25
|
from typing_extensions import Self
|
|
27
26
|
|
|
@@ -31,10 +30,9 @@ class V1DevicesUpgradeSchedulePutRequest(BaseModel):
|
|
|
31
30
|
""" # noqa: E501
|
|
32
31
|
action: Optional[StrictStr] = None
|
|
33
32
|
device_ids: Optional[List[StrictInt]] = Field(default=None, alias="deviceIds")
|
|
34
|
-
device_versions: Optional[List[V1DevicesRunningVersionPost200ResponseVersionsInner]] = Field(default=None, alias="deviceVersions")
|
|
35
33
|
ts: Optional[V1AlarmHistoryGet200ResponseHistoryInnerTime] = None
|
|
36
|
-
version: Optional[
|
|
37
|
-
__properties: ClassVar[List[str]] = ["action", "deviceIds", "
|
|
34
|
+
version: Optional[V1EdgesHardwareAssignedGet200ResponseEdgesSummaryInnerUpgradeSummaryRunningVersion] = None
|
|
35
|
+
__properties: ClassVar[List[str]] = ["action", "deviceIds", "ts", "version"]
|
|
38
36
|
|
|
39
37
|
model_config = ConfigDict(
|
|
40
38
|
populate_by_name=True,
|
|
@@ -75,13 +73,6 @@ class V1DevicesUpgradeSchedulePutRequest(BaseModel):
|
|
|
75
73
|
exclude=excluded_fields,
|
|
76
74
|
exclude_none=True,
|
|
77
75
|
)
|
|
78
|
-
# override the default output from pydantic by calling `to_dict()` of each item in device_versions (list)
|
|
79
|
-
_items = []
|
|
80
|
-
if self.device_versions:
|
|
81
|
-
for _item_device_versions in self.device_versions:
|
|
82
|
-
if _item_device_versions:
|
|
83
|
-
_items.append(_item_device_versions.to_dict())
|
|
84
|
-
_dict['deviceVersions'] = _items
|
|
85
76
|
# override the default output from pydantic by calling `to_dict()` of ts
|
|
86
77
|
if self.ts:
|
|
87
78
|
_dict['ts'] = self.ts.to_dict()
|
|
@@ -102,9 +93,8 @@ class V1DevicesUpgradeSchedulePutRequest(BaseModel):
|
|
|
102
93
|
_obj = cls.model_validate({
|
|
103
94
|
"action": obj.get("action"),
|
|
104
95
|
"deviceIds": obj.get("deviceIds"),
|
|
105
|
-
"deviceVersions": [V1DevicesRunningVersionPost200ResponseVersionsInner.from_dict(_item) for _item in obj["deviceVersions"]] if obj.get("deviceVersions") is not None else None,
|
|
106
96
|
"ts": V1AlarmHistoryGet200ResponseHistoryInnerTime.from_dict(obj["ts"]) if obj.get("ts") is not None else None,
|
|
107
|
-
"version":
|
|
97
|
+
"version": V1EdgesHardwareAssignedGet200ResponseEdgesSummaryInnerUpgradeSummaryRunningVersion.from_dict(obj["version"]) if obj.get("version") is not None else None
|
|
108
98
|
})
|
|
109
99
|
return _obj
|
|
110
100
|
|
|
@@ -17,10 +17,10 @@ import pprint
|
|
|
17
17
|
import re # noqa: F401
|
|
18
18
|
import json
|
|
19
19
|
|
|
20
|
-
from pydantic import BaseModel, ConfigDict, Field,
|
|
20
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr
|
|
21
21
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
22
22
|
from graphiant_sdk.models.v1_alarm_history_get200_response_history_inner_time import V1AlarmHistoryGet200ResponseHistoryInnerTime
|
|
23
|
-
from graphiant_sdk.models.
|
|
23
|
+
from graphiant_sdk.models.v1_edges_hardware_assigned_get200_response_edges_summary_inner_upgrade_summary_running_version import V1EdgesHardwareAssignedGet200ResponseEdgesSummaryInnerUpgradeSummaryRunningVersion
|
|
24
24
|
from graphiant_sdk.models.v1_edges_hardware_assigned_get200_response_edges_summary_inner_upgrade_summary_schedule import V1EdgesHardwareAssignedGet200ResponseEdgesSummaryInnerUpgradeSummarySchedule
|
|
25
25
|
from typing import Optional, Set
|
|
26
26
|
from typing_extensions import Self
|
|
@@ -30,15 +30,12 @@ class V1EdgesHardwareAssignedGet200ResponseEdgesSummaryInnerUpgradeSummary(BaseM
|
|
|
30
30
|
V1EdgesHardwareAssignedGet200ResponseEdgesSummaryInnerUpgradeSummary
|
|
31
31
|
""" # noqa: E501
|
|
32
32
|
device_id: Optional[StrictInt] = Field(default=None, alias="deviceId")
|
|
33
|
-
end_of_life: Optional[StrictBool] = Field(default=None, alias="endOfLife")
|
|
34
33
|
last_discovered_ts: Optional[V1AlarmHistoryGet200ResponseHistoryInnerTime] = Field(default=None, alias="lastDiscoveredTs")
|
|
35
|
-
last_running_version: Optional[V1EdgesHardwareAssignedGet200ResponseEdgesSummaryInnerUpgradeSummaryLastRunningVersion] = Field(default=None, alias="lastRunningVersion")
|
|
36
34
|
last_upgrade_ts: Optional[V1AlarmHistoryGet200ResponseHistoryInnerTime] = Field(default=None, alias="lastUpgradeTs")
|
|
37
|
-
|
|
38
|
-
running_version: Optional[V1EdgesHardwareAssignedGet200ResponseEdgesSummaryInnerUpgradeSummaryLastRunningVersion] = Field(default=None, alias="runningVersion")
|
|
35
|
+
running_version: Optional[V1EdgesHardwareAssignedGet200ResponseEdgesSummaryInnerUpgradeSummaryRunningVersion] = Field(default=None, alias="runningVersion")
|
|
39
36
|
schedule: Optional[V1EdgesHardwareAssignedGet200ResponseEdgesSummaryInnerUpgradeSummarySchedule] = None
|
|
40
37
|
status: Optional[StrictStr] = None
|
|
41
|
-
__properties: ClassVar[List[str]] = ["deviceId", "
|
|
38
|
+
__properties: ClassVar[List[str]] = ["deviceId", "lastDiscoveredTs", "lastUpgradeTs", "runningVersion", "schedule", "status"]
|
|
42
39
|
|
|
43
40
|
model_config = ConfigDict(
|
|
44
41
|
populate_by_name=True,
|
|
@@ -82,15 +79,9 @@ class V1EdgesHardwareAssignedGet200ResponseEdgesSummaryInnerUpgradeSummary(BaseM
|
|
|
82
79
|
# override the default output from pydantic by calling `to_dict()` of last_discovered_ts
|
|
83
80
|
if self.last_discovered_ts:
|
|
84
81
|
_dict['lastDiscoveredTs'] = self.last_discovered_ts.to_dict()
|
|
85
|
-
# override the default output from pydantic by calling `to_dict()` of last_running_version
|
|
86
|
-
if self.last_running_version:
|
|
87
|
-
_dict['lastRunningVersion'] = self.last_running_version.to_dict()
|
|
88
82
|
# override the default output from pydantic by calling `to_dict()` of last_upgrade_ts
|
|
89
83
|
if self.last_upgrade_ts:
|
|
90
84
|
_dict['lastUpgradeTs'] = self.last_upgrade_ts.to_dict()
|
|
91
|
-
# override the default output from pydantic by calling `to_dict()` of ready_for_activation_version
|
|
92
|
-
if self.ready_for_activation_version:
|
|
93
|
-
_dict['readyForActivationVersion'] = self.ready_for_activation_version.to_dict()
|
|
94
85
|
# override the default output from pydantic by calling `to_dict()` of running_version
|
|
95
86
|
if self.running_version:
|
|
96
87
|
_dict['runningVersion'] = self.running_version.to_dict()
|
|
@@ -110,12 +101,9 @@ class V1EdgesHardwareAssignedGet200ResponseEdgesSummaryInnerUpgradeSummary(BaseM
|
|
|
110
101
|
|
|
111
102
|
_obj = cls.model_validate({
|
|
112
103
|
"deviceId": obj.get("deviceId"),
|
|
113
|
-
"endOfLife": obj.get("endOfLife"),
|
|
114
104
|
"lastDiscoveredTs": V1AlarmHistoryGet200ResponseHistoryInnerTime.from_dict(obj["lastDiscoveredTs"]) if obj.get("lastDiscoveredTs") is not None else None,
|
|
115
|
-
"lastRunningVersion": V1EdgesHardwareAssignedGet200ResponseEdgesSummaryInnerUpgradeSummaryLastRunningVersion.from_dict(obj["lastRunningVersion"]) if obj.get("lastRunningVersion") is not None else None,
|
|
116
105
|
"lastUpgradeTs": V1AlarmHistoryGet200ResponseHistoryInnerTime.from_dict(obj["lastUpgradeTs"]) if obj.get("lastUpgradeTs") is not None else None,
|
|
117
|
-
"
|
|
118
|
-
"runningVersion": V1EdgesHardwareAssignedGet200ResponseEdgesSummaryInnerUpgradeSummaryLastRunningVersion.from_dict(obj["runningVersion"]) if obj.get("runningVersion") is not None else None,
|
|
106
|
+
"runningVersion": V1EdgesHardwareAssignedGet200ResponseEdgesSummaryInnerUpgradeSummaryRunningVersion.from_dict(obj["runningVersion"]) if obj.get("runningVersion") is not None else None,
|
|
119
107
|
"schedule": V1EdgesHardwareAssignedGet200ResponseEdgesSummaryInnerUpgradeSummarySchedule.from_dict(obj["schedule"]) if obj.get("schedule") is not None else None,
|
|
120
108
|
"status": obj.get("status")
|
|
121
109
|
})
|
|
@@ -21,7 +21,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr
|
|
|
21
21
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
22
22
|
from typing_extensions import Annotated
|
|
23
23
|
from graphiant_sdk.models.v1_alarm_history_get200_response_history_inner_time import V1AlarmHistoryGet200ResponseHistoryInnerTime
|
|
24
|
-
from graphiant_sdk.models.
|
|
24
|
+
from graphiant_sdk.models.v1_edges_hardware_assigned_get200_response_edges_summary_inner_upgrade_summary_running_version import V1EdgesHardwareAssignedGet200ResponseEdgesSummaryInnerUpgradeSummaryRunningVersion
|
|
25
25
|
from typing import Optional, Set
|
|
26
26
|
from typing_extensions import Self
|
|
27
27
|
|
|
@@ -35,7 +35,7 @@ class V1EdgesHardwareAssignedGet200ResponseEdgesSummaryInnerUpgradeSummarySchedu
|
|
|
35
35
|
failure_reason: Optional[StrictStr] = Field(default=None, alias="failureReason")
|
|
36
36
|
state: Optional[StrictStr] = None
|
|
37
37
|
ts: Optional[V1AlarmHistoryGet200ResponseHistoryInnerTime] = None
|
|
38
|
-
version: Optional[
|
|
38
|
+
version: Optional[V1EdgesHardwareAssignedGet200ResponseEdgesSummaryInnerUpgradeSummaryRunningVersion] = None
|
|
39
39
|
__properties: ClassVar[List[str]] = ["action", "deviceId", "downloadProgress", "failureReason", "state", "ts", "version"]
|
|
40
40
|
|
|
41
41
|
model_config = ConfigDict(
|
|
@@ -101,7 +101,7 @@ class V1EdgesHardwareAssignedGet200ResponseEdgesSummaryInnerUpgradeSummarySchedu
|
|
|
101
101
|
"failureReason": obj.get("failureReason"),
|
|
102
102
|
"state": obj.get("state"),
|
|
103
103
|
"ts": V1AlarmHistoryGet200ResponseHistoryInnerTime.from_dict(obj["ts"]) if obj.get("ts") is not None else None,
|
|
104
|
-
"version":
|
|
104
|
+
"version": V1EdgesHardwareAssignedGet200ResponseEdgesSummaryInnerUpgradeSummaryRunningVersion.from_dict(obj["version"]) if obj.get("version") is not None else None
|
|
105
105
|
})
|
|
106
106
|
return _obj
|
|
107
107
|
|
|
@@ -20,7 +20,7 @@ import json
|
|
|
20
20
|
from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr
|
|
21
21
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
22
22
|
from graphiant_sdk.models.v1_alarm_history_get200_response_history_inner_time import V1AlarmHistoryGet200ResponseHistoryInnerTime
|
|
23
|
-
from graphiant_sdk.models.
|
|
23
|
+
from graphiant_sdk.models.v1_global_site_lists_id_sites_get200_response_entries_inner_tag_inner import V1GlobalSiteListsIdSitesGet200ResponseEntriesInnerTagInner
|
|
24
24
|
from typing import Optional, Set
|
|
25
25
|
from typing_extensions import Self
|
|
26
26
|
|
|
@@ -31,7 +31,7 @@ class V1GlobalSiteListsIdSitesGet200ResponseEntriesInner(BaseModel):
|
|
|
31
31
|
created_at: Optional[V1AlarmHistoryGet200ResponseHistoryInnerTime] = Field(default=None, alias="createdAt")
|
|
32
32
|
edge_references: Optional[StrictInt] = Field(default=None, alias="edgeReferences")
|
|
33
33
|
site_name: Optional[StrictStr] = Field(default=None, alias="siteName")
|
|
34
|
-
tag: Optional[List[
|
|
34
|
+
tag: Optional[List[V1GlobalSiteListsIdSitesGet200ResponseEntriesInnerTagInner]] = None
|
|
35
35
|
__properties: ClassVar[List[str]] = ["createdAt", "edgeReferences", "siteName", "tag"]
|
|
36
36
|
|
|
37
37
|
model_config = ConfigDict(
|
|
@@ -98,7 +98,7 @@ class V1GlobalSiteListsIdSitesGet200ResponseEntriesInner(BaseModel):
|
|
|
98
98
|
"createdAt": V1AlarmHistoryGet200ResponseHistoryInnerTime.from_dict(obj["createdAt"]) if obj.get("createdAt") is not None else None,
|
|
99
99
|
"edgeReferences": obj.get("edgeReferences"),
|
|
100
100
|
"siteName": obj.get("siteName"),
|
|
101
|
-
"tag": [
|
|
101
|
+
"tag": [V1GlobalSiteListsIdSitesGet200ResponseEntriesInnerTagInner.from_dict(_item) for _item in obj["tag"]] if obj.get("tag") is not None else None
|
|
102
102
|
})
|
|
103
103
|
return _obj
|
|
104
104
|
|
|
@@ -19,7 +19,6 @@ import json
|
|
|
19
19
|
|
|
20
20
|
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr
|
|
21
21
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
22
|
-
from graphiant_sdk.models.v1_alarm_history_get200_response_history_inner_time import V1AlarmHistoryGet200ResponseHistoryInnerTime
|
|
23
22
|
from typing import Optional, Set
|
|
24
23
|
from typing_extensions import Self
|
|
25
24
|
|
|
@@ -30,14 +29,13 @@ class V1GroupsIdMembersGet200ResponseUsersInner(BaseModel):
|
|
|
30
29
|
email: Optional[StrictStr] = None
|
|
31
30
|
enterprise_id: Optional[StrictInt] = Field(default=None, alias="enterpriseId")
|
|
32
31
|
first_name: Optional[StrictStr] = Field(default=None, alias="firstName")
|
|
33
|
-
last_active_at: Optional[V1AlarmHistoryGet200ResponseHistoryInnerTime] = Field(default=None, alias="lastActiveAt")
|
|
34
32
|
last_name: Optional[StrictStr] = Field(default=None, alias="lastName")
|
|
35
33
|
mfa_factor: Optional[StrictStr] = Field(default=None, alias="mfaFactor")
|
|
36
34
|
phone_number: Optional[StrictStr] = Field(default=None, alias="phoneNumber")
|
|
37
35
|
time_zone: Optional[StrictStr] = Field(default=None, alias="timeZone")
|
|
38
36
|
user_id: Optional[StrictStr] = Field(default=None, alias="userId")
|
|
39
37
|
verified: Optional[StrictBool] = None
|
|
40
|
-
__properties: ClassVar[List[str]] = ["email", "enterpriseId", "firstName", "
|
|
38
|
+
__properties: ClassVar[List[str]] = ["email", "enterpriseId", "firstName", "lastName", "mfaFactor", "phoneNumber", "timeZone", "userId", "verified"]
|
|
41
39
|
|
|
42
40
|
model_config = ConfigDict(
|
|
43
41
|
populate_by_name=True,
|
|
@@ -78,9 +76,6 @@ class V1GroupsIdMembersGet200ResponseUsersInner(BaseModel):
|
|
|
78
76
|
exclude=excluded_fields,
|
|
79
77
|
exclude_none=True,
|
|
80
78
|
)
|
|
81
|
-
# override the default output from pydantic by calling `to_dict()` of last_active_at
|
|
82
|
-
if self.last_active_at:
|
|
83
|
-
_dict['lastActiveAt'] = self.last_active_at.to_dict()
|
|
84
79
|
return _dict
|
|
85
80
|
|
|
86
81
|
@classmethod
|
|
@@ -96,7 +91,6 @@ class V1GroupsIdMembersGet200ResponseUsersInner(BaseModel):
|
|
|
96
91
|
"email": obj.get("email"),
|
|
97
92
|
"enterpriseId": obj.get("enterpriseId"),
|
|
98
93
|
"firstName": obj.get("firstName"),
|
|
99
|
-
"lastActiveAt": V1AlarmHistoryGet200ResponseHistoryInnerTime.from_dict(obj["lastActiveAt"]) if obj.get("lastActiveAt") is not None else None,
|
|
100
94
|
"lastName": obj.get("lastName"),
|
|
101
95
|
"mfaFactor": obj.get("mfaFactor"),
|
|
102
96
|
"phoneNumber": obj.get("phoneNumber"),
|
|
@@ -17,7 +17,7 @@ import pprint
|
|
|
17
17
|
import re # noqa: F401
|
|
18
18
|
import json
|
|
19
19
|
|
|
20
|
-
from pydantic import BaseModel, ConfigDict, Field,
|
|
20
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictStr
|
|
21
21
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
22
22
|
from typing import Optional, Set
|
|
23
23
|
from typing_extensions import Self
|
|
@@ -27,8 +27,7 @@ class V1GroupsIdMembersPostRequest(BaseModel):
|
|
|
27
27
|
V1GroupsIdMembersPostRequest
|
|
28
28
|
""" # noqa: E501
|
|
29
29
|
member_ids: Optional[List[StrictStr]] = Field(default=None, alias="memberIds")
|
|
30
|
-
|
|
31
|
-
__properties: ClassVar[List[str]] = ["memberIds", "replaceExisting"]
|
|
30
|
+
__properties: ClassVar[List[str]] = ["memberIds"]
|
|
32
31
|
|
|
33
32
|
model_config = ConfigDict(
|
|
34
33
|
populate_by_name=True,
|
|
@@ -81,8 +80,7 @@ class V1GroupsIdMembersPostRequest(BaseModel):
|
|
|
81
80
|
return cls.model_validate(obj)
|
|
82
81
|
|
|
83
82
|
_obj = cls.model_validate({
|
|
84
|
-
"memberIds": obj.get("memberIds")
|
|
85
|
-
"replaceExisting": obj.get("replaceExisting")
|
|
83
|
+
"memberIds": obj.get("memberIds")
|
|
86
84
|
})
|
|
87
85
|
return _obj
|
|
88
86
|
|
|
@@ -19,7 +19,7 @@ import json
|
|
|
19
19
|
|
|
20
20
|
from pydantic import BaseModel, ConfigDict, StrictStr
|
|
21
21
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
22
|
-
from graphiant_sdk.models.
|
|
22
|
+
from graphiant_sdk.models.v1_software_auto_upgrade_default_get200_response_details import V1SoftwareAutoUpgradeDefaultGet200ResponseDetails
|
|
23
23
|
from typing import Optional, Set
|
|
24
24
|
from typing_extensions import Self
|
|
25
25
|
|
|
@@ -27,9 +27,9 @@ class V1SoftwareAutoUpgradeDefaultGet200Response(BaseModel):
|
|
|
27
27
|
"""
|
|
28
28
|
V1SoftwareAutoUpgradeDefaultGet200Response
|
|
29
29
|
""" # noqa: E501
|
|
30
|
-
|
|
30
|
+
details: Optional[V1SoftwareAutoUpgradeDefaultGet200ResponseDetails] = None
|
|
31
31
|
release: Optional[StrictStr] = None
|
|
32
|
-
__properties: ClassVar[List[str]] = ["
|
|
32
|
+
__properties: ClassVar[List[str]] = ["details", "release"]
|
|
33
33
|
|
|
34
34
|
model_config = ConfigDict(
|
|
35
35
|
populate_by_name=True,
|
|
@@ -70,9 +70,9 @@ class V1SoftwareAutoUpgradeDefaultGet200Response(BaseModel):
|
|
|
70
70
|
exclude=excluded_fields,
|
|
71
71
|
exclude_none=True,
|
|
72
72
|
)
|
|
73
|
-
# override the default output from pydantic by calling `to_dict()` of
|
|
74
|
-
if self.
|
|
75
|
-
_dict['
|
|
73
|
+
# override the default output from pydantic by calling `to_dict()` of details
|
|
74
|
+
if self.details:
|
|
75
|
+
_dict['details'] = self.details.to_dict()
|
|
76
76
|
return _dict
|
|
77
77
|
|
|
78
78
|
@classmethod
|
|
@@ -85,7 +85,7 @@ class V1SoftwareAutoUpgradeDefaultGet200Response(BaseModel):
|
|
|
85
85
|
return cls.model_validate(obj)
|
|
86
86
|
|
|
87
87
|
_obj = cls.model_validate({
|
|
88
|
-
"
|
|
88
|
+
"details": V1SoftwareAutoUpgradeDefaultGet200ResponseDetails.from_dict(obj["details"]) if obj.get("details") is not None else None,
|
|
89
89
|
"release": obj.get("release")
|
|
90
90
|
})
|
|
91
91
|
return _obj
|
|
@@ -28,12 +28,11 @@ class V1SoftwareReleasesSummaryGet200ResponseSummariesInner(BaseModel):
|
|
|
28
28
|
"""
|
|
29
29
|
V1SoftwareReleasesSummaryGet200ResponseSummariesInner
|
|
30
30
|
""" # noqa: E501
|
|
31
|
-
eos_ts: Optional[V1AlarmHistoryGet200ResponseHistoryInnerTime] = Field(default=None, alias="eosTs")
|
|
32
31
|
key: Optional[V1SoftwareReleasesSummaryGet200ResponseSummariesInnerKey] = None
|
|
33
32
|
name: Optional[StrictStr] = None
|
|
34
33
|
release: Optional[StrictStr] = None
|
|
35
34
|
release_ts: Optional[V1AlarmHistoryGet200ResponseHistoryInnerTime] = Field(default=None, alias="releaseTs")
|
|
36
|
-
__properties: ClassVar[List[str]] = ["
|
|
35
|
+
__properties: ClassVar[List[str]] = ["key", "name", "release", "releaseTs"]
|
|
37
36
|
|
|
38
37
|
model_config = ConfigDict(
|
|
39
38
|
populate_by_name=True,
|
|
@@ -74,9 +73,6 @@ class V1SoftwareReleasesSummaryGet200ResponseSummariesInner(BaseModel):
|
|
|
74
73
|
exclude=excluded_fields,
|
|
75
74
|
exclude_none=True,
|
|
76
75
|
)
|
|
77
|
-
# override the default output from pydantic by calling `to_dict()` of eos_ts
|
|
78
|
-
if self.eos_ts:
|
|
79
|
-
_dict['eosTs'] = self.eos_ts.to_dict()
|
|
80
76
|
# override the default output from pydantic by calling `to_dict()` of key
|
|
81
77
|
if self.key:
|
|
82
78
|
_dict['key'] = self.key.to_dict()
|
|
@@ -95,7 +91,6 @@ class V1SoftwareReleasesSummaryGet200ResponseSummariesInner(BaseModel):
|
|
|
95
91
|
return cls.model_validate(obj)
|
|
96
92
|
|
|
97
93
|
_obj = cls.model_validate({
|
|
98
|
-
"eosTs": V1AlarmHistoryGet200ResponseHistoryInnerTime.from_dict(obj["eosTs"]) if obj.get("eosTs") is not None else None,
|
|
99
94
|
"key": V1SoftwareReleasesSummaryGet200ResponseSummariesInnerKey.from_dict(obj["key"]) if obj.get("key") is not None else None,
|
|
100
95
|
"name": obj.get("name"),
|
|
101
96
|
"release": obj.get("release"),
|
|
@@ -22,7 +22,7 @@ from typing import Any, ClassVar, Dict, List, Optional
|
|
|
22
22
|
from graphiant_sdk.models.v1_alarm_history_get200_response_history_inner_time import V1AlarmHistoryGet200ResponseHistoryInnerTime
|
|
23
23
|
from graphiant_sdk.models.v1_backbone_health_device_device_id_post200_response_data_plane import V1BackboneHealthDeviceDeviceIdPost200ResponseDataPlane
|
|
24
24
|
from graphiant_sdk.models.v1_backbone_health_device_device_id_post200_response_issues_inner import V1BackboneHealthDeviceDeviceIdPost200ResponseIssuesInner
|
|
25
|
-
from graphiant_sdk.models.
|
|
25
|
+
from graphiant_sdk.models.v1_edges_hardware_assigned_get200_response_edges_summary_inner_upgrade_summary_running_version import V1EdgesHardwareAssignedGet200ResponseEdgesSummaryInnerUpgradeSummaryRunningVersion
|
|
26
26
|
from graphiant_sdk.models.v1_troubleshooting_device_device_id_post200_response_control_plane import V1TroubleshootingDeviceDeviceIdPost200ResponseControlPlane
|
|
27
27
|
from graphiant_sdk.models.v1_troubleshooting_device_device_id_post200_response_system_plane import V1TroubleshootingDeviceDeviceIdPost200ResponseSystemPlane
|
|
28
28
|
from typing import Optional, Set
|
|
@@ -40,7 +40,7 @@ class V1TroubleshootingDeviceDeviceIdPost200Response(BaseModel):
|
|
|
40
40
|
lifecycle_status: Optional[StrictStr] = Field(default=None, alias="lifecycleStatus")
|
|
41
41
|
status: Optional[StrictStr] = None
|
|
42
42
|
sw_version: Optional[StrictStr] = Field(default=None, alias="swVersion")
|
|
43
|
-
sw_version_v2: Optional[
|
|
43
|
+
sw_version_v2: Optional[V1EdgesHardwareAssignedGet200ResponseEdgesSummaryInnerUpgradeSummaryRunningVersion] = Field(default=None, alias="swVersionV2")
|
|
44
44
|
system_plane: Optional[V1TroubleshootingDeviceDeviceIdPost200ResponseSystemPlane] = Field(default=None, alias="systemPlane")
|
|
45
45
|
up_since_ts: Optional[V1AlarmHistoryGet200ResponseHistoryInnerTime] = Field(default=None, alias="upSinceTs")
|
|
46
46
|
__properties: ClassVar[List[str]] = ["MaintenanceMode", "colrActive", "controlPlane", "dataPlane", "issues", "lifecycleStatus", "status", "swVersion", "swVersionV2", "systemPlane", "upSinceTs"]
|
|
@@ -126,7 +126,7 @@ class V1TroubleshootingDeviceDeviceIdPost200Response(BaseModel):
|
|
|
126
126
|
"lifecycleStatus": obj.get("lifecycleStatus"),
|
|
127
127
|
"status": obj.get("status"),
|
|
128
128
|
"swVersion": obj.get("swVersion"),
|
|
129
|
-
"swVersionV2":
|
|
129
|
+
"swVersionV2": V1EdgesHardwareAssignedGet200ResponseEdgesSummaryInnerUpgradeSummaryRunningVersion.from_dict(obj["swVersionV2"]) if obj.get("swVersionV2") is not None else None,
|
|
130
130
|
"systemPlane": V1TroubleshootingDeviceDeviceIdPost200ResponseSystemPlane.from_dict(obj["systemPlane"]) if obj.get("systemPlane") is not None else None,
|
|
131
131
|
"upSinceTs": V1AlarmHistoryGet200ResponseHistoryInnerTime.from_dict(obj["upSinceTs"]) if obj.get("upSinceTs") is not None else None
|
|
132
132
|
})
|
|
@@ -36,8 +36,7 @@ class V2AssistantAddToConversationPost200Response(BaseModel):
|
|
|
36
36
|
response_text: Optional[StrictStr] = Field(default=None, alias="responseText")
|
|
37
37
|
response_timestamp: Optional[StrictInt] = Field(default=None, alias="responseTimestamp")
|
|
38
38
|
response_type: Optional[StrictStr] = Field(default=None, alias="responseType")
|
|
39
|
-
|
|
40
|
-
__properties: ClassVar[List[str]] = ["conversationId", "dataframeDictionary", "originalQuestion", "responseId", "responseLanguage", "responseText", "responseTimestamp", "responseType", "visualizationSummary"]
|
|
39
|
+
__properties: ClassVar[List[str]] = ["conversationId", "dataframeDictionary", "originalQuestion", "responseId", "responseLanguage", "responseText", "responseTimestamp", "responseType"]
|
|
41
40
|
|
|
42
41
|
model_config = ConfigDict(
|
|
43
42
|
populate_by_name=True,
|
|
@@ -107,8 +106,7 @@ class V2AssistantAddToConversationPost200Response(BaseModel):
|
|
|
107
106
|
"responseLanguage": obj.get("responseLanguage"),
|
|
108
107
|
"responseText": obj.get("responseText"),
|
|
109
108
|
"responseTimestamp": obj.get("responseTimestamp"),
|
|
110
|
-
"responseType": obj.get("responseType")
|
|
111
|
-
"visualizationSummary": obj.get("visualizationSummary")
|
|
109
|
+
"responseType": obj.get("responseType")
|
|
112
110
|
})
|
|
113
111
|
return _obj
|
|
114
112
|
|
|
@@ -17,7 +17,7 @@ import pprint
|
|
|
17
17
|
import re # noqa: F401
|
|
18
18
|
import json
|
|
19
19
|
|
|
20
|
-
from pydantic import BaseModel, ConfigDict, Field
|
|
20
|
+
from pydantic import BaseModel, ConfigDict, Field
|
|
21
21
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
22
22
|
from graphiant_sdk.models.v2_assistant_get_conversations_post200_response_conversation_list_inner import V2AssistantGetConversationsPost200ResponseConversationListInner
|
|
23
23
|
from typing import Optional, Set
|
|
@@ -28,8 +28,7 @@ class V2AssistantGetConversationsPost200Response(BaseModel):
|
|
|
28
28
|
V2AssistantGetConversationsPost200Response
|
|
29
29
|
""" # noqa: E501
|
|
30
30
|
conversation_list: Optional[List[V2AssistantGetConversationsPost200ResponseConversationListInner]] = Field(default=None, alias="conversationList")
|
|
31
|
-
|
|
32
|
-
__properties: ClassVar[List[str]] = ["conversationList", "enableContextHistory"]
|
|
31
|
+
__properties: ClassVar[List[str]] = ["conversationList"]
|
|
33
32
|
|
|
34
33
|
model_config = ConfigDict(
|
|
35
34
|
populate_by_name=True,
|
|
@@ -89,8 +88,7 @@ class V2AssistantGetConversationsPost200Response(BaseModel):
|
|
|
89
88
|
return cls.model_validate(obj)
|
|
90
89
|
|
|
91
90
|
_obj = cls.model_validate({
|
|
92
|
-
"conversationList": [V2AssistantGetConversationsPost200ResponseConversationListInner.from_dict(_item) for _item in obj["conversationList"]] if obj.get("conversationList") is not None else None
|
|
93
|
-
"enableContextHistory": obj.get("enableContextHistory")
|
|
91
|
+
"conversationList": [V2AssistantGetConversationsPost200ResponseConversationListInner.from_dict(_item) for _item in obj["conversationList"]] if obj.get("conversationList") is not None else None
|
|
94
92
|
})
|
|
95
93
|
return _obj
|
|
96
94
|
|
graphiant_sdk/models/v2_assistant_get_conversations_post200_response_conversation_list_inner.py
CHANGED
|
@@ -17,7 +17,7 @@ import pprint
|
|
|
17
17
|
import re # noqa: F401
|
|
18
18
|
import json
|
|
19
19
|
|
|
20
|
-
from pydantic import BaseModel, ConfigDict, Field,
|
|
20
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr
|
|
21
21
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
22
22
|
from typing import Optional, Set
|
|
23
23
|
from typing_extensions import Self
|
|
@@ -29,8 +29,7 @@ class V2AssistantGetConversationsPost200ResponseConversationListInner(BaseModel)
|
|
|
29
29
|
conversation_header: Optional[StrictStr] = Field(default=None, alias="conversationHeader")
|
|
30
30
|
conversation_id: Optional[StrictStr] = Field(default=None, alias="conversationId")
|
|
31
31
|
conversation_recent_timestamp: Optional[StrictInt] = Field(default=None, alias="conversationRecentTimestamp")
|
|
32
|
-
|
|
33
|
-
__properties: ClassVar[List[str]] = ["conversationHeader", "conversationId", "conversationRecentTimestamp", "enableContextHistory"]
|
|
32
|
+
__properties: ClassVar[List[str]] = ["conversationHeader", "conversationId", "conversationRecentTimestamp"]
|
|
34
33
|
|
|
35
34
|
model_config = ConfigDict(
|
|
36
35
|
populate_by_name=True,
|
|
@@ -85,8 +84,7 @@ class V2AssistantGetConversationsPost200ResponseConversationListInner(BaseModel)
|
|
|
85
84
|
_obj = cls.model_validate({
|
|
86
85
|
"conversationHeader": obj.get("conversationHeader"),
|
|
87
86
|
"conversationId": obj.get("conversationId"),
|
|
88
|
-
"conversationRecentTimestamp": obj.get("conversationRecentTimestamp")
|
|
89
|
-
"enableContextHistory": obj.get("enableContextHistory")
|
|
87
|
+
"conversationRecentTimestamp": obj.get("conversationRecentTimestamp")
|
|
90
88
|
})
|
|
91
89
|
return _obj
|
|
92
90
|
|
|
@@ -1,34 +1,23 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: graphiant_sdk
|
|
3
|
-
Version: 25.
|
|
4
|
-
Summary:
|
|
3
|
+
Version: 25.9.1
|
|
4
|
+
Summary: Graphiant APIs
|
|
5
5
|
Home-page: https://www.graphiant.com
|
|
6
6
|
Author: Graphiant Inc
|
|
7
|
-
Author-email:
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
Classifier: Programming Language :: Python :: 3
|
|
12
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
13
|
-
Classifier: Operating System :: OS Independent
|
|
7
|
+
Author-email: OpenAPI Generator Community <team@openapitools.org>
|
|
8
|
+
Project-URL: Repository, https://github.com/Graphiant-Inc/graphiant-sdk-python
|
|
9
|
+
Keywords: OpenAPI,OpenAPI-Generator,Graphiant APIs
|
|
10
|
+
Requires-Python: >=3.9
|
|
14
11
|
Description-Content-Type: text/markdown
|
|
15
12
|
License-File: LICENSE
|
|
16
13
|
Requires-Dist: urllib3<3.0.0,>=2.1.0
|
|
17
14
|
Requires-Dist: python-dateutil>=2.8.2
|
|
18
15
|
Requires-Dist: pydantic>=2
|
|
19
16
|
Requires-Dist: typing-extensions>=4.7.1
|
|
17
|
+
Requires-Dist: lazy-imports<2,>=1
|
|
20
18
|
Dynamic: author
|
|
21
|
-
Dynamic: author-email
|
|
22
|
-
Dynamic: classifier
|
|
23
|
-
Dynamic: description
|
|
24
|
-
Dynamic: description-content-type
|
|
25
19
|
Dynamic: home-page
|
|
26
|
-
Dynamic: keywords
|
|
27
|
-
Dynamic: license
|
|
28
20
|
Dynamic: license-file
|
|
29
|
-
Dynamic: project-url
|
|
30
|
-
Dynamic: requires-dist
|
|
31
|
-
Dynamic: summary
|
|
32
21
|
|
|
33
22
|
# Graphiant SDK Python
|
|
34
23
|
|
|
@@ -289,12 +278,12 @@ brew install openapi-generator # macOS
|
|
|
289
278
|
|
|
290
279
|
# Generate SDK
|
|
291
280
|
openapi-generator generate \
|
|
292
|
-
-i graphiant_api_docs_v25.
|
|
281
|
+
-i graphiant_api_docs_v25.9.1.json \
|
|
293
282
|
-g python \
|
|
294
283
|
--git-user-id Graphiant-Inc \
|
|
295
284
|
--git-repo-id graphiant-sdk-python \
|
|
296
285
|
--package-name graphiant_sdk \
|
|
297
|
-
--additional-properties=packageVersion=25.
|
|
286
|
+
--additional-properties=packageVersion=25.9.1
|
|
298
287
|
```
|
|
299
288
|
|
|
300
289
|
> **Note**: Latest API documentation can be downloaded from the Graphiant portal under "Support Hub" > "Developer Tools".
|