foxclient 5.2.8__tar.gz → 5.3.2__tar.gz
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.
- foxclient-5.3.2/PKG-INFO +178 -0
- {foxclient-5.2.8 → foxclient-5.3.2}/README.md +3 -3
- foxclient-5.3.2/foxclient/__init__.py +95 -0
- {foxclient-5.2.8 → foxclient-5.3.2}/foxclient/api/device_api.py +31 -31
- {foxclient-5.2.8 → foxclient-5.3.2}/foxclient/api/paste_api.py +1 -1
- {foxclient-5.2.8 → foxclient-5.3.2}/foxclient/api/release_api.py +8 -7
- {foxclient-5.2.8 → foxclient-5.3.2}/foxclient/api/stats_api.py +1 -1
- {foxclient-5.2.8 → foxclient-5.3.2}/foxclient/api_client.py +14 -7
- {foxclient-5.2.8 → foxclient-5.3.2}/foxclient/configuration.py +9 -5
- {foxclient-5.2.8 → foxclient-5.3.2}/foxclient/exceptions.py +1 -1
- {foxclient-5.2.8 → foxclient-5.3.2}/foxclient/models/__init__.py +2 -2
- {foxclient-5.2.8 → foxclient-5.3.2}/foxclient/models/device_response.py +11 -2
- {foxclient-5.2.8 → foxclient-5.3.2}/foxclient/models/global_stats_aggregation_model.py +1 -1
- {foxclient-5.2.8 → foxclient-5.3.2}/foxclient/models/http_validation_error.py +1 -1
- {foxclient-5.2.8 → foxclient-5.3.2}/foxclient/models/list_response_release_response.py +1 -1
- {foxclient-5.2.8 → foxclient-5.3.2}/foxclient/models/list_response_short_device_response.py +1 -1
- {foxclient-5.2.8 → foxclient-5.3.2}/foxclient/models/list_response_short_release_response.py +1 -1
- {foxclient-5.2.8 → foxclient-5.3.2}/foxclient/models/list_response_str.py +1 -1
- {foxclient-5.2.8 → foxclient-5.3.2}/foxclient/models/maintainer_short_model.py +1 -1
- foxclient-5.3.2/foxclient/models/paste_input.py +89 -0
- {foxclient-5.2.8 → foxclient-5.3.2}/foxclient/models/paste_output.py +13 -13
- {foxclient-5.2.8 → foxclient-5.3.2}/foxclient/models/recovery_img_response.py +1 -1
- {foxclient-5.2.8 → foxclient-5.3.2}/foxclient/models/release_groups_response.py +1 -1
- {foxclient-5.2.8 → foxclient-5.3.2}/foxclient/models/release_response.py +14 -4
- {foxclient-5.2.8 → foxclient-5.3.2}/foxclient/models/release_type.py +1 -1
- {foxclient-5.2.8 → foxclient-5.3.2}/foxclient/models/releases_sort.py +1 -1
- {foxclient-5.2.8 → foxclient-5.3.2}/foxclient/models/response_get_releases.py +1 -1
- {foxclient-5.2.8 → foxclient-5.3.2}/foxclient/models/short_device_response.py +12 -3
- {foxclient-5.2.8 → foxclient-5.3.2}/foxclient/models/short_release_response.py +15 -5
- {foxclient-5.2.8 → foxclient-5.3.2}/foxclient/models/validation_error.py +1 -1
- {foxclient-5.2.8 → foxclient-5.3.2}/foxclient/models/validation_error_loc_inner.py +1 -1
- {foxclient-5.2.8 → foxclient-5.3.2}/foxclient/rest.py +2 -2
- foxclient-5.3.2/foxclient.egg-info/PKG-INFO +178 -0
- {foxclient-5.2.8 → foxclient-5.3.2}/pyproject.toml +19 -14
- {foxclient-5.2.8 → foxclient-5.3.2}/setup.py +2 -2
- {foxclient-5.2.8 → foxclient-5.3.2}/test/test_device_api.py +1 -1
- {foxclient-5.2.8 → foxclient-5.3.2}/test/test_device_response.py +3 -1
- {foxclient-5.2.8 → foxclient-5.3.2}/test/test_global_stats_aggregation_model.py +1 -1
- {foxclient-5.2.8 → foxclient-5.3.2}/test/test_http_validation_error.py +1 -1
- {foxclient-5.2.8 → foxclient-5.3.2}/test/test_list_response_release_response.py +5 -1
- {foxclient-5.2.8 → foxclient-5.3.2}/test/test_list_response_short_device_response.py +5 -1
- {foxclient-5.2.8 → foxclient-5.3.2}/test/test_list_response_short_release_response.py +7 -3
- {foxclient-5.2.8 → foxclient-5.3.2}/test/test_list_response_str.py +1 -1
- {foxclient-5.2.8 → foxclient-5.3.2}/test/test_maintainer_short_model.py +1 -1
- {foxclient-5.2.8 → foxclient-5.3.2}/test/test_paste_api.py +1 -1
- {foxclient-5.2.8 → foxclient-5.3.2}/test/test_paste_input.py +3 -7
- {foxclient-5.2.8 → foxclient-5.3.2}/test/test_paste_output.py +6 -5
- {foxclient-5.2.8 → foxclient-5.3.2}/test/test_recovery_img_response.py +1 -1
- {foxclient-5.2.8 → foxclient-5.3.2}/test/test_release_api.py +1 -1
- {foxclient-5.2.8 → foxclient-5.3.2}/test/test_release_groups_response.py +5 -1
- {foxclient-5.2.8 → foxclient-5.3.2}/test/test_release_response.py +4 -1
- {foxclient-5.2.8 → foxclient-5.3.2}/test/test_release_type.py +1 -1
- {foxclient-5.2.8 → foxclient-5.3.2}/test/test_releases_sort.py +1 -1
- {foxclient-5.2.8 → foxclient-5.3.2}/test/test_response_get_releases.py +5 -1
- {foxclient-5.2.8 → foxclient-5.3.2}/test/test_short_device_response.py +3 -1
- {foxclient-5.2.8 → foxclient-5.3.2}/test/test_short_release_response.py +5 -2
- {foxclient-5.2.8 → foxclient-5.3.2}/test/test_stats_api.py +1 -1
- {foxclient-5.2.8 → foxclient-5.3.2}/test/test_validation_error.py +1 -1
- {foxclient-5.2.8 → foxclient-5.3.2}/test/test_validation_error_loc_inner.py +1 -1
- foxclient-5.2.8/PKG-INFO +0 -25
- foxclient-5.2.8/foxclient/__init__.py +0 -57
- foxclient-5.2.8/foxclient/models/paste_input.py +0 -111
- foxclient-5.2.8/foxclient.egg-info/PKG-INFO +0 -25
- {foxclient-5.2.8 → foxclient-5.3.2}/foxclient/api/__init__.py +0 -0
- {foxclient-5.2.8 → foxclient-5.3.2}/foxclient/api_response.py +0 -0
- {foxclient-5.2.8 → foxclient-5.3.2}/foxclient/py.typed +0 -0
- {foxclient-5.2.8 → foxclient-5.3.2}/foxclient.egg-info/SOURCES.txt +0 -0
- {foxclient-5.2.8 → foxclient-5.3.2}/foxclient.egg-info/dependency_links.txt +0 -0
- {foxclient-5.2.8 → foxclient-5.3.2}/foxclient.egg-info/requires.txt +0 -0
- {foxclient-5.2.8 → foxclient-5.3.2}/foxclient.egg-info/top_level.txt +0 -0
- {foxclient-5.2.8 → foxclient-5.3.2}/setup.cfg +0 -0
foxclient-5.3.2/PKG-INFO
ADDED
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: foxclient
|
|
3
|
+
Version: 5.3.2
|
|
4
|
+
Summary: Fox API
|
|
5
|
+
Home-page:
|
|
6
|
+
Author: OpenAPI Generator community
|
|
7
|
+
Author-email: OpenAPI Generator Community <admin@orangefox.tech>
|
|
8
|
+
Project-URL: Repository, https://github.com/GIT_USER_ID/GIT_REPO_ID
|
|
9
|
+
Keywords: OpenAPI,OpenAPI-Generator,Fox API
|
|
10
|
+
Requires-Python: >=3.9
|
|
11
|
+
Description-Content-Type: text/markdown
|
|
12
|
+
Requires-Dist: urllib3<3.0.0,>=2.1.0
|
|
13
|
+
Requires-Dist: python-dateutil>=2.8.2
|
|
14
|
+
Requires-Dist: aiohttp>=3.8.4
|
|
15
|
+
Requires-Dist: aiohttp-retry>=2.8.3
|
|
16
|
+
Requires-Dist: pydantic>=2
|
|
17
|
+
Requires-Dist: typing-extensions>=4.7.1
|
|
18
|
+
Dynamic: author
|
|
19
|
+
|
|
20
|
+
# foxclient
|
|
21
|
+
|
|
22
|
+
Warning: Please add a custom user agent header to your requests.
|
|
23
|
+
This would help us fighting against DDoS attacks in future, while keeping your application's access to the API.
|
|
24
|
+
In future, this may be a mandatory requirement.
|
|
25
|
+
|
|
26
|
+
To reduce the system load, the API endpoints are rate limited.
|
|
27
|
+
The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit.
|
|
28
|
+
|
|
29
|
+
The requests may be logged for analytics and development purposes.
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
33
|
+
|
|
34
|
+
- API version: 5.3.2
|
|
35
|
+
- Package version: 5.3.2
|
|
36
|
+
- Generator version: 7.17.0
|
|
37
|
+
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
|
38
|
+
|
|
39
|
+
## Requirements.
|
|
40
|
+
|
|
41
|
+
Python 3.9+
|
|
42
|
+
|
|
43
|
+
## Installation & Usage
|
|
44
|
+
### pip install
|
|
45
|
+
|
|
46
|
+
If the python package is hosted on a repository, you can install directly using:
|
|
47
|
+
|
|
48
|
+
```sh
|
|
49
|
+
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
|
|
50
|
+
```
|
|
51
|
+
(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git`)
|
|
52
|
+
|
|
53
|
+
Then import the package:
|
|
54
|
+
```python
|
|
55
|
+
import foxclient
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
### Setuptools
|
|
59
|
+
|
|
60
|
+
Install via [Setuptools](http://pypi.python.org/pypi/setuptools).
|
|
61
|
+
|
|
62
|
+
```sh
|
|
63
|
+
python setup.py install --user
|
|
64
|
+
```
|
|
65
|
+
(or `sudo python setup.py install` to install the package for all users)
|
|
66
|
+
|
|
67
|
+
Then import the package:
|
|
68
|
+
```python
|
|
69
|
+
import foxclient
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
### Tests
|
|
73
|
+
|
|
74
|
+
Execute `pytest` to run the tests.
|
|
75
|
+
|
|
76
|
+
## Getting Started
|
|
77
|
+
|
|
78
|
+
Please follow the [installation procedure](#installation--usage) and then run the following:
|
|
79
|
+
|
|
80
|
+
```python
|
|
81
|
+
|
|
82
|
+
import foxclient
|
|
83
|
+
from foxclient.rest import ApiException
|
|
84
|
+
from pprint import pprint
|
|
85
|
+
|
|
86
|
+
# Defining the host is optional and defaults to https://api.orangefox.download
|
|
87
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
88
|
+
configuration = foxclient.Configuration(
|
|
89
|
+
host = "https://api.orangefox.download"
|
|
90
|
+
)
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
# Enter a context with an instance of the API client
|
|
95
|
+
async with foxclient.ApiClient(configuration) as api_client:
|
|
96
|
+
# Create an instance of the API class
|
|
97
|
+
api_instance = foxclient.DeviceApi(api_client)
|
|
98
|
+
device_id = 'device_id_example' # str | (optional)
|
|
99
|
+
id = 'id_example' # str | Filter by Device ID (deprecated) (optional)
|
|
100
|
+
codename = 'codename_example' # str | Not recommended to use when you can (optional)
|
|
101
|
+
|
|
102
|
+
try:
|
|
103
|
+
# Get Device
|
|
104
|
+
api_response = await api_instance.get_device(device_id=device_id, id=id, codename=codename)
|
|
105
|
+
print("The response of DeviceApi->get_device:\n")
|
|
106
|
+
pprint(api_response)
|
|
107
|
+
except ApiException as e:
|
|
108
|
+
print("Exception when calling DeviceApi->get_device: %s\n" % e)
|
|
109
|
+
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
## Documentation for API Endpoints
|
|
113
|
+
|
|
114
|
+
All URIs are relative to *https://api.orangefox.download*
|
|
115
|
+
|
|
116
|
+
Class | Method | HTTP request | Description
|
|
117
|
+
------------ | ------------- | ------------- | -------------
|
|
118
|
+
*DeviceApi* | [**get_device**](docs/DeviceApi.md#get_device) | **GET** /devices/get | Get Device
|
|
119
|
+
*DeviceApi* | [**get_device_deprecated**](docs/DeviceApi.md#get_device_deprecated) | **GET** /devices/{device_id} | Get Device Short
|
|
120
|
+
*DeviceApi* | [**get_devices**](docs/DeviceApi.md#get_devices) | **GET** /devices/ | Get Devices
|
|
121
|
+
*DeviceApi* | [**get_oems**](docs/DeviceApi.md#get_oems) | **GET** /oems/ | Get Oems
|
|
122
|
+
*PasteApi* | [**create_paste_paste_post**](docs/PasteApi.md#create_paste_paste_post) | **POST** /paste/ | Create Paste
|
|
123
|
+
*PasteApi* | [**get_paste_paste_paste_id_get**](docs/PasteApi.md#get_paste_paste_paste_id_get) | **GET** /paste/{paste_id} | Get Paste
|
|
124
|
+
*ReleaseApi* | [**get_release**](docs/ReleaseApi.md#get_release) | **GET** /releases/get | Get Release
|
|
125
|
+
*ReleaseApi* | [**get_release_deprecated**](docs/ReleaseApi.md#get_release_deprecated) | **GET** /releases/{release_id} | Get Release Short
|
|
126
|
+
*ReleaseApi* | [**get_releases**](docs/ReleaseApi.md#get_releases) | **GET** /releases/ | Get Releases
|
|
127
|
+
*ReleaseApi* | [**get_updates_deprecated**](docs/ReleaseApi.md#get_updates_deprecated) | **GET** /updates/{last_known_id} | Get Updates
|
|
128
|
+
*StatsApi* | [**get_public_stats**](docs/StatsApi.md#get_public_stats) | **GET** /stats/ | Public Stats
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
## Documentation For Models
|
|
132
|
+
|
|
133
|
+
- [DeviceResponse](docs/DeviceResponse.md)
|
|
134
|
+
- [GlobalStatsAggregationModel](docs/GlobalStatsAggregationModel.md)
|
|
135
|
+
- [HTTPValidationError](docs/HTTPValidationError.md)
|
|
136
|
+
- [ListResponseReleaseResponse](docs/ListResponseReleaseResponse.md)
|
|
137
|
+
- [ListResponseShortDeviceResponse](docs/ListResponseShortDeviceResponse.md)
|
|
138
|
+
- [ListResponseShortReleaseResponse](docs/ListResponseShortReleaseResponse.md)
|
|
139
|
+
- [ListResponseStr](docs/ListResponseStr.md)
|
|
140
|
+
- [MaintainerShortModel](docs/MaintainerShortModel.md)
|
|
141
|
+
- [PasteInput](docs/PasteInput.md)
|
|
142
|
+
- [PasteOutput](docs/PasteOutput.md)
|
|
143
|
+
- [RecoveryImgResponse](docs/RecoveryImgResponse.md)
|
|
144
|
+
- [ReleaseGroupsResponse](docs/ReleaseGroupsResponse.md)
|
|
145
|
+
- [ReleaseResponse](docs/ReleaseResponse.md)
|
|
146
|
+
- [ReleaseType](docs/ReleaseType.md)
|
|
147
|
+
- [ReleasesSort](docs/ReleasesSort.md)
|
|
148
|
+
- [ResponseGetReleases](docs/ResponseGetReleases.md)
|
|
149
|
+
- [ShortDeviceResponse](docs/ShortDeviceResponse.md)
|
|
150
|
+
- [ShortReleaseResponse](docs/ShortReleaseResponse.md)
|
|
151
|
+
- [ValidationError](docs/ValidationError.md)
|
|
152
|
+
- [ValidationErrorLocInner](docs/ValidationErrorLocInner.md)
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
<a id="documentation-for-authorization"></a>
|
|
156
|
+
## Documentation For Authorization
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
Authentication schemes defined for the API:
|
|
160
|
+
<a id="bearer_auth"></a>
|
|
161
|
+
### bearer_auth
|
|
162
|
+
|
|
163
|
+
- **Type**: Bearer authentication (JWT)
|
|
164
|
+
|
|
165
|
+
<a id="oauth2_password"></a>
|
|
166
|
+
### oauth2_password
|
|
167
|
+
|
|
168
|
+
- **Type**: OAuth
|
|
169
|
+
- **Flow**: password
|
|
170
|
+
- **Authorization URL**:
|
|
171
|
+
- **Scopes**: N/A
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
## Author
|
|
175
|
+
|
|
176
|
+
admin@orangefox.tech
|
|
177
|
+
|
|
178
|
+
|
|
@@ -12,9 +12,9 @@ The requests may be logged for analytics and development purposes.
|
|
|
12
12
|
|
|
13
13
|
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
14
14
|
|
|
15
|
-
- API version: 5.2
|
|
16
|
-
- Package version: 5.2
|
|
17
|
-
- Generator version: 7.
|
|
15
|
+
- API version: 5.3.2
|
|
16
|
+
- Package version: 5.3.2
|
|
17
|
+
- Generator version: 7.17.0
|
|
18
18
|
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
|
19
19
|
|
|
20
20
|
## Requirements.
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
# flake8: noqa
|
|
4
|
+
|
|
5
|
+
"""
|
|
6
|
+
Fox API
|
|
7
|
+
|
|
8
|
+
Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application's access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
9
|
+
|
|
10
|
+
The version of the OpenAPI document: 5.3.2
|
|
11
|
+
Contact: admin@orangefox.tech
|
|
12
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
13
|
+
|
|
14
|
+
Do not edit the class manually.
|
|
15
|
+
""" # noqa: E501
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
__version__ = "5.3.2"
|
|
19
|
+
|
|
20
|
+
# Define package exports
|
|
21
|
+
__all__ = [
|
|
22
|
+
"DeviceApi",
|
|
23
|
+
"PasteApi",
|
|
24
|
+
"ReleaseApi",
|
|
25
|
+
"StatsApi",
|
|
26
|
+
"ApiResponse",
|
|
27
|
+
"ApiClient",
|
|
28
|
+
"Configuration",
|
|
29
|
+
"OpenApiException",
|
|
30
|
+
"ApiTypeError",
|
|
31
|
+
"ApiValueError",
|
|
32
|
+
"ApiKeyError",
|
|
33
|
+
"ApiAttributeError",
|
|
34
|
+
"ApiException",
|
|
35
|
+
"DeviceResponse",
|
|
36
|
+
"GlobalStatsAggregationModel",
|
|
37
|
+
"HTTPValidationError",
|
|
38
|
+
"ListResponseReleaseResponse",
|
|
39
|
+
"ListResponseShortDeviceResponse",
|
|
40
|
+
"ListResponseShortReleaseResponse",
|
|
41
|
+
"ListResponseStr",
|
|
42
|
+
"MaintainerShortModel",
|
|
43
|
+
"PasteInput",
|
|
44
|
+
"PasteOutput",
|
|
45
|
+
"RecoveryImgResponse",
|
|
46
|
+
"ReleaseGroupsResponse",
|
|
47
|
+
"ReleaseResponse",
|
|
48
|
+
"ReleaseType",
|
|
49
|
+
"ReleasesSort",
|
|
50
|
+
"ResponseGetReleases",
|
|
51
|
+
"ShortDeviceResponse",
|
|
52
|
+
"ShortReleaseResponse",
|
|
53
|
+
"ValidationError",
|
|
54
|
+
"ValidationErrorLocInner",
|
|
55
|
+
]
|
|
56
|
+
|
|
57
|
+
# import apis into sdk package
|
|
58
|
+
from foxclient.api.device_api import DeviceApi as DeviceApi
|
|
59
|
+
from foxclient.api.paste_api import PasteApi as PasteApi
|
|
60
|
+
from foxclient.api.release_api import ReleaseApi as ReleaseApi
|
|
61
|
+
from foxclient.api.stats_api import StatsApi as StatsApi
|
|
62
|
+
|
|
63
|
+
# import ApiClient
|
|
64
|
+
from foxclient.api_response import ApiResponse as ApiResponse
|
|
65
|
+
from foxclient.api_client import ApiClient as ApiClient
|
|
66
|
+
from foxclient.configuration import Configuration as Configuration
|
|
67
|
+
from foxclient.exceptions import OpenApiException as OpenApiException
|
|
68
|
+
from foxclient.exceptions import ApiTypeError as ApiTypeError
|
|
69
|
+
from foxclient.exceptions import ApiValueError as ApiValueError
|
|
70
|
+
from foxclient.exceptions import ApiKeyError as ApiKeyError
|
|
71
|
+
from foxclient.exceptions import ApiAttributeError as ApiAttributeError
|
|
72
|
+
from foxclient.exceptions import ApiException as ApiException
|
|
73
|
+
|
|
74
|
+
# import models into sdk package
|
|
75
|
+
from foxclient.models.device_response import DeviceResponse as DeviceResponse
|
|
76
|
+
from foxclient.models.global_stats_aggregation_model import GlobalStatsAggregationModel as GlobalStatsAggregationModel
|
|
77
|
+
from foxclient.models.http_validation_error import HTTPValidationError as HTTPValidationError
|
|
78
|
+
from foxclient.models.list_response_release_response import ListResponseReleaseResponse as ListResponseReleaseResponse
|
|
79
|
+
from foxclient.models.list_response_short_device_response import ListResponseShortDeviceResponse as ListResponseShortDeviceResponse
|
|
80
|
+
from foxclient.models.list_response_short_release_response import ListResponseShortReleaseResponse as ListResponseShortReleaseResponse
|
|
81
|
+
from foxclient.models.list_response_str import ListResponseStr as ListResponseStr
|
|
82
|
+
from foxclient.models.maintainer_short_model import MaintainerShortModel as MaintainerShortModel
|
|
83
|
+
from foxclient.models.paste_input import PasteInput as PasteInput
|
|
84
|
+
from foxclient.models.paste_output import PasteOutput as PasteOutput
|
|
85
|
+
from foxclient.models.recovery_img_response import RecoveryImgResponse as RecoveryImgResponse
|
|
86
|
+
from foxclient.models.release_groups_response import ReleaseGroupsResponse as ReleaseGroupsResponse
|
|
87
|
+
from foxclient.models.release_response import ReleaseResponse as ReleaseResponse
|
|
88
|
+
from foxclient.models.release_type import ReleaseType as ReleaseType
|
|
89
|
+
from foxclient.models.releases_sort import ReleasesSort as ReleasesSort
|
|
90
|
+
from foxclient.models.response_get_releases import ResponseGetReleases as ResponseGetReleases
|
|
91
|
+
from foxclient.models.short_device_response import ShortDeviceResponse as ShortDeviceResponse
|
|
92
|
+
from foxclient.models.short_release_response import ShortReleaseResponse as ShortReleaseResponse
|
|
93
|
+
from foxclient.models.validation_error import ValidationError as ValidationError
|
|
94
|
+
from foxclient.models.validation_error_loc_inner import ValidationErrorLocInner as ValidationErrorLocInner
|
|
95
|
+
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application's access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 5.2
|
|
8
|
+
The version of the OpenAPI document: 5.3.2
|
|
9
9
|
Contact: admin@orangefox.tech
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -620,12 +620,12 @@ class DeviceApi:
|
|
|
620
620
|
async def get_devices(
|
|
621
621
|
self,
|
|
622
622
|
id: Annotated[Optional[List[StrictStr]], Field(description="Filter by Device IDs")] = None,
|
|
623
|
-
id2: Annotated[Optional[List[
|
|
624
|
-
oem_name: Annotated[Optional[List[
|
|
625
|
-
codename: Annotated[Optional[List[
|
|
626
|
-
model_name: Annotated[Optional[List[
|
|
623
|
+
id2: Annotated[Optional[List[StrictStr]], Field(description="Filter by Device IDs (deprecated)")] = None,
|
|
624
|
+
oem_name: Annotated[Optional[List[StrictStr]], Field(description="Filter by OEM names")] = None,
|
|
625
|
+
codename: Annotated[Optional[List[StrictStr]], Field(description="Filter by device codenames")] = None,
|
|
626
|
+
model_name: Annotated[Optional[List[StrictStr]], Field(description="Filter by model names")] = None,
|
|
627
627
|
supported: Annotated[Optional[StrictBool], Field(description="Supported status")] = None,
|
|
628
|
-
maintainer: Annotated[Optional[List[
|
|
628
|
+
maintainer: Annotated[Optional[List[StrictStr]], Field(description="Filter by maintainer ID")] = None,
|
|
629
629
|
freezed: Annotated[Optional[StrictBool], Field(description="Filter by Freezed status")] = None,
|
|
630
630
|
has_releases: Annotated[Optional[StrictBool], Field(description="Filter by has releases status")] = None,
|
|
631
631
|
skip: Annotated[Optional[StrictInt], Field(description="Skip query results")] = None,
|
|
@@ -650,17 +650,17 @@ class DeviceApi:
|
|
|
650
650
|
:param id: Filter by Device IDs
|
|
651
651
|
:type id: List[str]
|
|
652
652
|
:param id2: Filter by Device IDs (deprecated)
|
|
653
|
-
:type id2: List[
|
|
653
|
+
:type id2: List[str]
|
|
654
654
|
:param oem_name: Filter by OEM names
|
|
655
|
-
:type oem_name: List[
|
|
655
|
+
:type oem_name: List[str]
|
|
656
656
|
:param codename: Filter by device codenames
|
|
657
|
-
:type codename: List[
|
|
657
|
+
:type codename: List[str]
|
|
658
658
|
:param model_name: Filter by model names
|
|
659
|
-
:type model_name: List[
|
|
659
|
+
:type model_name: List[str]
|
|
660
660
|
:param supported: Supported status
|
|
661
661
|
:type supported: bool
|
|
662
662
|
:param maintainer: Filter by maintainer ID
|
|
663
|
-
:type maintainer: List[
|
|
663
|
+
:type maintainer: List[str]
|
|
664
664
|
:param freezed: Filter by Freezed status
|
|
665
665
|
:type freezed: bool
|
|
666
666
|
:param has_releases: Filter by has releases status
|
|
@@ -729,12 +729,12 @@ class DeviceApi:
|
|
|
729
729
|
async def get_devices_with_http_info(
|
|
730
730
|
self,
|
|
731
731
|
id: Annotated[Optional[List[StrictStr]], Field(description="Filter by Device IDs")] = None,
|
|
732
|
-
id2: Annotated[Optional[List[
|
|
733
|
-
oem_name: Annotated[Optional[List[
|
|
734
|
-
codename: Annotated[Optional[List[
|
|
735
|
-
model_name: Annotated[Optional[List[
|
|
732
|
+
id2: Annotated[Optional[List[StrictStr]], Field(description="Filter by Device IDs (deprecated)")] = None,
|
|
733
|
+
oem_name: Annotated[Optional[List[StrictStr]], Field(description="Filter by OEM names")] = None,
|
|
734
|
+
codename: Annotated[Optional[List[StrictStr]], Field(description="Filter by device codenames")] = None,
|
|
735
|
+
model_name: Annotated[Optional[List[StrictStr]], Field(description="Filter by model names")] = None,
|
|
736
736
|
supported: Annotated[Optional[StrictBool], Field(description="Supported status")] = None,
|
|
737
|
-
maintainer: Annotated[Optional[List[
|
|
737
|
+
maintainer: Annotated[Optional[List[StrictStr]], Field(description="Filter by maintainer ID")] = None,
|
|
738
738
|
freezed: Annotated[Optional[StrictBool], Field(description="Filter by Freezed status")] = None,
|
|
739
739
|
has_releases: Annotated[Optional[StrictBool], Field(description="Filter by has releases status")] = None,
|
|
740
740
|
skip: Annotated[Optional[StrictInt], Field(description="Skip query results")] = None,
|
|
@@ -759,17 +759,17 @@ class DeviceApi:
|
|
|
759
759
|
:param id: Filter by Device IDs
|
|
760
760
|
:type id: List[str]
|
|
761
761
|
:param id2: Filter by Device IDs (deprecated)
|
|
762
|
-
:type id2: List[
|
|
762
|
+
:type id2: List[str]
|
|
763
763
|
:param oem_name: Filter by OEM names
|
|
764
|
-
:type oem_name: List[
|
|
764
|
+
:type oem_name: List[str]
|
|
765
765
|
:param codename: Filter by device codenames
|
|
766
|
-
:type codename: List[
|
|
766
|
+
:type codename: List[str]
|
|
767
767
|
:param model_name: Filter by model names
|
|
768
|
-
:type model_name: List[
|
|
768
|
+
:type model_name: List[str]
|
|
769
769
|
:param supported: Supported status
|
|
770
770
|
:type supported: bool
|
|
771
771
|
:param maintainer: Filter by maintainer ID
|
|
772
|
-
:type maintainer: List[
|
|
772
|
+
:type maintainer: List[str]
|
|
773
773
|
:param freezed: Filter by Freezed status
|
|
774
774
|
:type freezed: bool
|
|
775
775
|
:param has_releases: Filter by has releases status
|
|
@@ -838,12 +838,12 @@ class DeviceApi:
|
|
|
838
838
|
async def get_devices_without_preload_content(
|
|
839
839
|
self,
|
|
840
840
|
id: Annotated[Optional[List[StrictStr]], Field(description="Filter by Device IDs")] = None,
|
|
841
|
-
id2: Annotated[Optional[List[
|
|
842
|
-
oem_name: Annotated[Optional[List[
|
|
843
|
-
codename: Annotated[Optional[List[
|
|
844
|
-
model_name: Annotated[Optional[List[
|
|
841
|
+
id2: Annotated[Optional[List[StrictStr]], Field(description="Filter by Device IDs (deprecated)")] = None,
|
|
842
|
+
oem_name: Annotated[Optional[List[StrictStr]], Field(description="Filter by OEM names")] = None,
|
|
843
|
+
codename: Annotated[Optional[List[StrictStr]], Field(description="Filter by device codenames")] = None,
|
|
844
|
+
model_name: Annotated[Optional[List[StrictStr]], Field(description="Filter by model names")] = None,
|
|
845
845
|
supported: Annotated[Optional[StrictBool], Field(description="Supported status")] = None,
|
|
846
|
-
maintainer: Annotated[Optional[List[
|
|
846
|
+
maintainer: Annotated[Optional[List[StrictStr]], Field(description="Filter by maintainer ID")] = None,
|
|
847
847
|
freezed: Annotated[Optional[StrictBool], Field(description="Filter by Freezed status")] = None,
|
|
848
848
|
has_releases: Annotated[Optional[StrictBool], Field(description="Filter by has releases status")] = None,
|
|
849
849
|
skip: Annotated[Optional[StrictInt], Field(description="Skip query results")] = None,
|
|
@@ -868,17 +868,17 @@ class DeviceApi:
|
|
|
868
868
|
:param id: Filter by Device IDs
|
|
869
869
|
:type id: List[str]
|
|
870
870
|
:param id2: Filter by Device IDs (deprecated)
|
|
871
|
-
:type id2: List[
|
|
871
|
+
:type id2: List[str]
|
|
872
872
|
:param oem_name: Filter by OEM names
|
|
873
|
-
:type oem_name: List[
|
|
873
|
+
:type oem_name: List[str]
|
|
874
874
|
:param codename: Filter by device codenames
|
|
875
|
-
:type codename: List[
|
|
875
|
+
:type codename: List[str]
|
|
876
876
|
:param model_name: Filter by model names
|
|
877
|
-
:type model_name: List[
|
|
877
|
+
:type model_name: List[str]
|
|
878
878
|
:param supported: Supported status
|
|
879
879
|
:type supported: bool
|
|
880
880
|
:param maintainer: Filter by maintainer ID
|
|
881
|
-
:type maintainer: List[
|
|
881
|
+
:type maintainer: List[str]
|
|
882
882
|
:param freezed: Filter by Freezed status
|
|
883
883
|
:type freezed: bool
|
|
884
884
|
:param has_releases: Filter by has releases status
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application's access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 5.2
|
|
8
|
+
The version of the OpenAPI document: 5.3.2
|
|
9
9
|
Contact: admin@orangefox.tech
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application's access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 5.2
|
|
8
|
+
The version of the OpenAPI document: 5.3.2
|
|
9
9
|
Contact: admin@orangefox.tech
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -20,6 +20,7 @@ from typing_extensions import Annotated
|
|
|
20
20
|
from pydantic import Field, StrictBool, StrictInt, StrictStr
|
|
21
21
|
from typing import List, Optional
|
|
22
22
|
from typing_extensions import Annotated
|
|
23
|
+
from uuid import UUID
|
|
23
24
|
from foxclient.models.list_response_short_release_response import ListResponseShortReleaseResponse
|
|
24
25
|
from foxclient.models.release_response import ReleaseResponse
|
|
25
26
|
from foxclient.models.release_type import ReleaseType
|
|
@@ -49,7 +50,7 @@ class ReleaseApi:
|
|
|
49
50
|
self,
|
|
50
51
|
release_id: Annotated[Optional[StrictStr], Field(description="Release ID")] = None,
|
|
51
52
|
id: Annotated[Optional[StrictStr], Field(description="Release ID (deprecated)")] = None,
|
|
52
|
-
build_id: Annotated[Optional[
|
|
53
|
+
build_id: Annotated[Optional[UUID], Field(description="Build ID, `ro.build.fox_id` prop")] = None,
|
|
53
54
|
filename: Optional[StrictStr] = None,
|
|
54
55
|
_request_timeout: Union[
|
|
55
56
|
None,
|
|
@@ -129,7 +130,7 @@ class ReleaseApi:
|
|
|
129
130
|
self,
|
|
130
131
|
release_id: Annotated[Optional[StrictStr], Field(description="Release ID")] = None,
|
|
131
132
|
id: Annotated[Optional[StrictStr], Field(description="Release ID (deprecated)")] = None,
|
|
132
|
-
build_id: Annotated[Optional[
|
|
133
|
+
build_id: Annotated[Optional[UUID], Field(description="Build ID, `ro.build.fox_id` prop")] = None,
|
|
133
134
|
filename: Optional[StrictStr] = None,
|
|
134
135
|
_request_timeout: Union[
|
|
135
136
|
None,
|
|
@@ -209,7 +210,7 @@ class ReleaseApi:
|
|
|
209
210
|
self,
|
|
210
211
|
release_id: Annotated[Optional[StrictStr], Field(description="Release ID")] = None,
|
|
211
212
|
id: Annotated[Optional[StrictStr], Field(description="Release ID (deprecated)")] = None,
|
|
212
|
-
build_id: Annotated[Optional[
|
|
213
|
+
build_id: Annotated[Optional[UUID], Field(description="Build ID, `ro.build.fox_id` prop")] = None,
|
|
213
214
|
filename: Optional[StrictStr] = None,
|
|
214
215
|
_request_timeout: Union[
|
|
215
216
|
None,
|
|
@@ -631,7 +632,7 @@ class ReleaseApi:
|
|
|
631
632
|
self,
|
|
632
633
|
id: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Filter by Release IDs")] = None,
|
|
633
634
|
id2: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Filter by Release IDs (deprecated)")] = None,
|
|
634
|
-
build_id: Annotated[Optional[List[
|
|
635
|
+
build_id: Annotated[Optional[List[UUID]], Field(description="Filter by Build IDs")] = None,
|
|
635
636
|
device_id: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Filter by Device IDs")] = None,
|
|
636
637
|
maintainer_id: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Filter by Maintainer IDs")] = None,
|
|
637
638
|
codename: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Filter by device codenames")] = None,
|
|
@@ -760,7 +761,7 @@ class ReleaseApi:
|
|
|
760
761
|
self,
|
|
761
762
|
id: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Filter by Release IDs")] = None,
|
|
762
763
|
id2: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Filter by Release IDs (deprecated)")] = None,
|
|
763
|
-
build_id: Annotated[Optional[List[
|
|
764
|
+
build_id: Annotated[Optional[List[UUID]], Field(description="Filter by Build IDs")] = None,
|
|
764
765
|
device_id: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Filter by Device IDs")] = None,
|
|
765
766
|
maintainer_id: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Filter by Maintainer IDs")] = None,
|
|
766
767
|
codename: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Filter by device codenames")] = None,
|
|
@@ -889,7 +890,7 @@ class ReleaseApi:
|
|
|
889
890
|
self,
|
|
890
891
|
id: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Filter by Release IDs")] = None,
|
|
891
892
|
id2: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Filter by Release IDs (deprecated)")] = None,
|
|
892
|
-
build_id: Annotated[Optional[List[
|
|
893
|
+
build_id: Annotated[Optional[List[UUID]], Field(description="Filter by Build IDs")] = None,
|
|
893
894
|
device_id: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Filter by Device IDs")] = None,
|
|
894
895
|
maintainer_id: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Filter by Maintainer IDs")] = None,
|
|
895
896
|
codename: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Filter by device codenames")] = None,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application's access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 5.2
|
|
8
|
+
The version of the OpenAPI document: 5.3.2
|
|
9
9
|
Contact: admin@orangefox.tech
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application's access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 5.2
|
|
8
|
+
The version of the OpenAPI document: 5.3.2
|
|
9
9
|
Contact: admin@orangefox.tech
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -22,6 +22,7 @@ import mimetypes
|
|
|
22
22
|
import os
|
|
23
23
|
import re
|
|
24
24
|
import tempfile
|
|
25
|
+
import uuid
|
|
25
26
|
|
|
26
27
|
from urllib.parse import quote
|
|
27
28
|
from typing import Tuple, Optional, List, Dict, Union
|
|
@@ -91,7 +92,7 @@ class ApiClient:
|
|
|
91
92
|
self.default_headers[header_name] = header_value
|
|
92
93
|
self.cookie = cookie
|
|
93
94
|
# Set default User-Agent.
|
|
94
|
-
self.user_agent = 'OpenAPI-Generator/5.2
|
|
95
|
+
self.user_agent = 'OpenAPI-Generator/5.3.2/python'
|
|
95
96
|
self.client_side_validation = configuration.client_side_validation
|
|
96
97
|
|
|
97
98
|
async def __aenter__(self):
|
|
@@ -360,6 +361,8 @@ class ApiClient:
|
|
|
360
361
|
return obj.get_secret_value()
|
|
361
362
|
elif isinstance(obj, self.PRIMITIVE_TYPES):
|
|
362
363
|
return obj
|
|
364
|
+
elif isinstance(obj, uuid.UUID):
|
|
365
|
+
return str(obj)
|
|
363
366
|
elif isinstance(obj, list):
|
|
364
367
|
return [
|
|
365
368
|
self.sanitize_for_serialization(sub_obj) for sub_obj in obj
|
|
@@ -386,6 +389,10 @@ class ApiClient:
|
|
|
386
389
|
else:
|
|
387
390
|
obj_dict = obj.__dict__
|
|
388
391
|
|
|
392
|
+
if isinstance(obj_dict, list):
|
|
393
|
+
# here we handle instances that can either be a list or something else, and only became a real list by calling to_dict()
|
|
394
|
+
return self.sanitize_for_serialization(obj_dict)
|
|
395
|
+
|
|
389
396
|
return {
|
|
390
397
|
key: self.sanitize_for_serialization(val)
|
|
391
398
|
for key, val in obj_dict.items()
|
|
@@ -408,7 +415,7 @@ class ApiClient:
|
|
|
408
415
|
data = json.loads(response_text)
|
|
409
416
|
except ValueError:
|
|
410
417
|
data = response_text
|
|
411
|
-
elif re.match(r'^application/(json|[\w
|
|
418
|
+
elif re.match(r'^application/(json|[\w!#$&.+\-^_]+\+json)\s*(;|$)', content_type, re.IGNORECASE):
|
|
412
419
|
if response_text == "":
|
|
413
420
|
data = ""
|
|
414
421
|
else:
|
|
@@ -457,13 +464,13 @@ class ApiClient:
|
|
|
457
464
|
|
|
458
465
|
if klass in self.PRIMITIVE_TYPES:
|
|
459
466
|
return self.__deserialize_primitive(data, klass)
|
|
460
|
-
elif klass
|
|
467
|
+
elif klass is object:
|
|
461
468
|
return self.__deserialize_object(data)
|
|
462
|
-
elif klass
|
|
469
|
+
elif klass is datetime.date:
|
|
463
470
|
return self.__deserialize_date(data)
|
|
464
|
-
elif klass
|
|
471
|
+
elif klass is datetime.datetime:
|
|
465
472
|
return self.__deserialize_datetime(data)
|
|
466
|
-
elif klass
|
|
473
|
+
elif klass is decimal.Decimal:
|
|
467
474
|
return decimal.Decimal(data)
|
|
468
475
|
elif issubclass(klass, Enum):
|
|
469
476
|
return self.__deserialize_enum(data, klass)
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application's access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 5.2
|
|
8
|
+
The version of the OpenAPI document: 5.3.2
|
|
9
9
|
Contact: admin@orangefox.tech
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -164,6 +164,8 @@ class Configuration:
|
|
|
164
164
|
:param retries: Number of retries for API requests.
|
|
165
165
|
:param ca_cert_data: verify the peer using concatenated CA certificate data
|
|
166
166
|
in PEM (str) or DER (bytes) format.
|
|
167
|
+
:param cert_file: the path to a client certificate file, for mTLS.
|
|
168
|
+
:param key_file: the path to a client key file, for mTLS.
|
|
167
169
|
|
|
168
170
|
:Example:
|
|
169
171
|
"""
|
|
@@ -186,6 +188,8 @@ class Configuration:
|
|
|
186
188
|
ssl_ca_cert: Optional[str]=None,
|
|
187
189
|
retries: Optional[int] = None,
|
|
188
190
|
ca_cert_data: Optional[Union[str, bytes]] = None,
|
|
191
|
+
cert_file: Optional[str]=None,
|
|
192
|
+
key_file: Optional[str]=None,
|
|
189
193
|
*,
|
|
190
194
|
debug: Optional[bool] = None,
|
|
191
195
|
) -> None:
|
|
@@ -267,10 +271,10 @@ class Configuration:
|
|
|
267
271
|
"""Set this to verify the peer using PEM (str) or DER (bytes)
|
|
268
272
|
certificate data.
|
|
269
273
|
"""
|
|
270
|
-
self.cert_file =
|
|
274
|
+
self.cert_file = cert_file
|
|
271
275
|
"""client certificate file
|
|
272
276
|
"""
|
|
273
|
-
self.key_file =
|
|
277
|
+
self.key_file = key_file
|
|
274
278
|
"""client key file
|
|
275
279
|
"""
|
|
276
280
|
self.assert_hostname = None
|
|
@@ -515,8 +519,8 @@ class Configuration:
|
|
|
515
519
|
return "Python SDK Debug Report:\n"\
|
|
516
520
|
"OS: {env}\n"\
|
|
517
521
|
"Python Version: {pyversion}\n"\
|
|
518
|
-
"Version of the API: 5.2
|
|
519
|
-
"SDK Package Version: 5.2
|
|
522
|
+
"Version of the API: 5.3.2\n"\
|
|
523
|
+
"SDK Package Version: 5.3.2".\
|
|
520
524
|
format(env=sys.platform, pyversion=sys.version)
|
|
521
525
|
|
|
522
526
|
def get_host_settings(self) -> List[HostSetting]:
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application's access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 5.2
|
|
8
|
+
The version of the OpenAPI document: 5.3.2
|
|
9
9
|
Contact: admin@orangefox.tech
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|