We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3297708 commit cd9f833Copy full SHA for cd9f833
README.md
@@ -2,7 +2,7 @@
2
3
- API version: 2
4
- Python 2.7 and 3.4+
5
-- Latest build: 3.5.3
+- Latest build: 3.5.4
6
7
## Installation & Usage
8
_layouts/default.html
@@ -27,7 +27,7 @@
27
</section>
28
<footer>
29
<p>
30
- Releases: <a href='/'>Latest</a> · <!--VERSIONS-START--><a href='/versions/3.5.3'>3.5.3</a> · <a href='/versions/3.5.2'>3.5.2</a> · <a href='/versions/3.5.1'>3.5.1</a> · <a href='/versions/3.5.0'>3.5.0</a> · <a href='/versions/3.4.0'>3.4.0</a> · <a href='/versions/3.3.2'>3.3.2</a> · <a href='/versions/3.3.1'>3.3.1</a> · <a href='/versions/3.3.0'>3.3.0</a> · <a href='/versions/3.2.0'>3.2.0</a> · <a href='/versions/3.0.4'>3.0.4</a><!--VERSIONS-END-->
+ Releases: <a href='/'>Latest</a> · <!--VERSIONS-START--><a href='/versions/3.5.4'>3.5.4</a> · <a href='/versions/3.5.3'>3.5.3</a> · <a href='/versions/3.5.2'>3.5.2</a> · <a href='/versions/3.5.1'>3.5.1</a> · <a href='/versions/3.5.0'>3.5.0</a> · <a href='/versions/3.4.0'>3.4.0</a> · <a href='/versions/3.3.2'>3.3.2</a> · <a href='/versions/3.3.1'>3.3.1</a> · <a href='/versions/3.3.0'>3.3.0</a> · <a href='/versions/3.2.0'>3.2.0</a> · <a href='/versions/3.0.4'>3.0.4</a><!--VERSIONS-END-->
31
</p>
32
<p>Maintained by <a href="https://github.com/elements-storage">elements-storage</a> on GitHub.</p>
33
<p><small>Hosted on GitHub Pages — Theme by <a href="https://github.com/orderedlist">orderedlist</a></small></p>
docs/StorageApi.md
@@ -1446,12 +1446,20 @@ configuration.api_key['Bearer'] = 'Bearer your-api-token-here'
1446
with elements_sdk.ApiClient(configuration) as api_client:
1447
api_instance = storage_api.StorageApi(api_client)
1448
id = 1 # int | A unique integer value identifying this workspace.
1449
+ delete_content = True # bool | (optional)
1450
1451
# example passing only required values which don't have defaults set
1452
try:
1453
api_instance.delete_workspace(id)
1454
except elements_sdk.ApiException as e:
1455
print("Exception when calling StorageApi->delete_workspace: %s\n" % e)
1456
+
1457
+ # example passing only required values which don't have defaults set
1458
+ # and optional values
1459
+ try:
1460
+ api_instance.delete_workspace(id, delete_content=delete_content)
1461
+ except elements_sdk.ApiException as e:
1462
+ print("Exception when calling StorageApi->delete_workspace: %s\n" % e)
1463
```
1464
1465
@@ -1460,6 +1468,7 @@ with elements_sdk.ApiClient(configuration) as api_client:
1468
Name | Type | Description | Notes
1469
------------- | ------------- | ------------- | -------------
1470
**id** | **int**| A unique integer value identifying this workspace. |
1471
+ **delete_content** | **bool**| | [optional]
1472
1473
### Return type
1474
docs/VolumeStatus.md
@@ -5,7 +5,7 @@
------------ | ------------- | ------------- | -------------
-**online** | **bool** | |
+**online** | **bool, none_type** | |
9
**size_total** | **int, none_type** | |
10
**size_used** | **int, none_type** | |
11
**size_free** | **int, none_type** | |
elements_sdk/__init__.py
@@ -10,7 +10,7 @@
"""
12
13
-__version__ = "3.5.3"
+__version__ = "3.5.4"
14
15
# import ApiClient
16
from elements_sdk.api_client import ApiClient
elements_sdk/api/storage_api.py
@@ -1185,6 +1185,7 @@ def __init__(self, api_client=None):
1185
params_map={
1186
'all': [
1187
'id',
1188
+ 'delete_content',
1189
],
1190
'required': [
1191
@@ -1204,12 +1205,16 @@ def __init__(self, api_client=None):
1204
1205
'openapi_types': {
1206
'id':
1207
(int,),
1208
+ 'delete_content':
1209
+ (bool,),
1210
},
1211
'attribute_map': {
1212
'id': 'id',
1213
+ 'delete_content': 'delete_content',
1214
1215
'location_map': {
1216
'id': 'path',
1217
+ 'delete_content': 'query',
1218
1219
'collection_format_map': {
1220
}
@@ -5897,6 +5902,7 @@ def delete_workspace(
5897
5902
id (int): A unique integer value identifying this workspace.
5898
5903
5899
5904
Keyword Args:
5905
+ delete_content (bool): [optional]
5900
5906
_return_http_data_only (bool): response data without head status
5901
5907
code and headers. Default is True.
5908
_preload_content (bool): if False, the urllib3.HTTPResponse object
elements_sdk/api_client.py
@@ -76,7 +76,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
76
self.default_headers[header_name] = header_value
77
self.cookie = cookie
78
# Set default User-Agent.
79
- self.user_agent = 'OpenAPI-Generator/3.5.3/python'
+ self.user_agent = 'OpenAPI-Generator/3.5.4/python'
80
81
def __enter__(self):
82
return self
elements_sdk/configuration.py
@@ -409,7 +409,7 @@ def to_debug_report(self):
409
"OS: {env}\n"\
410
"Python Version: {pyversion}\n"\
411
"Version of the API: 2\n"\
412
- "SDK Package Version: 3.5.3".\
+ "SDK Package Version: 3.5.4".\
413
format(env=sys.platform, pyversion=sys.version)
414
415
def get_host_settings(self):
elements_sdk/model/volume_status.py
@@ -91,7 +91,7 @@ def openapi_types():
91
92
lazy_import()
93
return {
94
- 'online': (bool,), # noqa: E501
+ 'online': (bool, none_type,), # noqa: E501
95
'size_total': (int, none_type,), # noqa: E501
96
'size_used': (int, none_type,), # noqa: E501
97
'size_free': (int, none_type,), # noqa: E501
@@ -126,7 +126,7 @@ def _from_openapi_data(cls, online, size_total, size_used, size_free, *args, **x
126
"""VolumeStatus - a model defined in OpenAPI
127
128
Args:
129
- online (bool):
+ online (bool, none_type):
130
size_total (int, none_type):
131
size_used (int, none_type):
132
size_free (int, none_type):
@@ -222,7 +222,7 @@ def __init__(self, online, size_total, size_used, size_free, *args, **xkwargs):
222
223
224
225
226
227
228
setup.py
@@ -11,7 +11,7 @@
from setuptools import setup, find_packages # noqa: H301
NAME = "elements-sdk"
-VERSION = "3.5.3"
+VERSION = "3.5.4"
# To install the library, run the following
#
17
# python setup.py install
0 commit comments