Skip to content

Commit cd9f833

Browse files
committed
v3.5.4
1 parent 3297708 commit cd9f833

File tree

478 files changed

+44633
-10
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

478 files changed

+44633
-10
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
- API version: 2
44
- Python 2.7 and 3.4+
5-
- Latest build: 3.5.3
5+
- Latest build: 3.5.4
66

77
## Installation & Usage
88

_layouts/default.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
</section>
2828
<footer>
2929
<p>
30-
Releases: <a href='/'>Latest</a> &#183; <!--VERSIONS-START--><a href='/versions/3.5.3'>3.5.3</a> &#183; <a href='/versions/3.5.2'>3.5.2</a> &#183; <a href='/versions/3.5.1'>3.5.1</a> &#183; <a href='/versions/3.5.0'>3.5.0</a> &#183; <a href='/versions/3.4.0'>3.4.0</a> &#183; <a href='/versions/3.3.2'>3.3.2</a> &#183; <a href='/versions/3.3.1'>3.3.1</a> &#183; <a href='/versions/3.3.0'>3.3.0</a> &#183; <a href='/versions/3.2.0'>3.2.0</a> &#183; <a href='/versions/3.0.4'>3.0.4</a><!--VERSIONS-END-->
30+
Releases: <a href='/'>Latest</a> &#183; <!--VERSIONS-START--><a href='/versions/3.5.4'>3.5.4</a> &#183; <a href='/versions/3.5.3'>3.5.3</a> &#183; <a href='/versions/3.5.2'>3.5.2</a> &#183; <a href='/versions/3.5.1'>3.5.1</a> &#183; <a href='/versions/3.5.0'>3.5.0</a> &#183; <a href='/versions/3.4.0'>3.4.0</a> &#183; <a href='/versions/3.3.2'>3.3.2</a> &#183; <a href='/versions/3.3.1'>3.3.1</a> &#183; <a href='/versions/3.3.0'>3.3.0</a> &#183; <a href='/versions/3.2.0'>3.2.0</a> &#183; <a href='/versions/3.0.4'>3.0.4</a><!--VERSIONS-END-->
3131
</p>
3232
<p>Maintained by <a href="https://github.com/elements-storage">elements-storage</a> on GitHub.</p>
3333
<p><small>Hosted on GitHub Pages &mdash; Theme by <a href="https://github.com/orderedlist">orderedlist</a></small></p>

docs/StorageApi.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1446,12 +1446,20 @@ configuration.api_key['Bearer'] = 'Bearer your-api-token-here'
14461446
with elements_sdk.ApiClient(configuration) as api_client:
14471447
api_instance = storage_api.StorageApi(api_client)
14481448
id = 1 # int | A unique integer value identifying this workspace.
1449+
delete_content = True # bool | (optional)
14491450

14501451
# example passing only required values which don't have defaults set
14511452
try:
14521453
api_instance.delete_workspace(id)
14531454
except elements_sdk.ApiException as e:
14541455
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)
14551463
```
14561464

14571465

@@ -1460,6 +1468,7 @@ with elements_sdk.ApiClient(configuration) as api_client:
14601468
Name | Type | Description | Notes
14611469
------------- | ------------- | ------------- | -------------
14621470
**id** | **int**| A unique integer value identifying this workspace. |
1471+
**delete_content** | **bool**| | [optional]
14631472

14641473
### Return type
14651474

docs/VolumeStatus.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
8-
**online** | **bool** | |
8+
**online** | **bool, none_type** | |
99
**size_total** | **int, none_type** | |
1010
**size_used** | **int, none_type** | |
1111
**size_free** | **int, none_type** | |

elements_sdk/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"""
1111

1212

13-
__version__ = "3.5.3"
13+
__version__ = "3.5.4"
1414

1515
# import ApiClient
1616
from elements_sdk.api_client import ApiClient

elements_sdk/api/storage_api.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1185,6 +1185,7 @@ def __init__(self, api_client=None):
11851185
params_map={
11861186
'all': [
11871187
'id',
1188+
'delete_content',
11881189
],
11891190
'required': [
11901191
'id',
@@ -1204,12 +1205,16 @@ def __init__(self, api_client=None):
12041205
'openapi_types': {
12051206
'id':
12061207
(int,),
1208+
'delete_content':
1209+
(bool,),
12071210
},
12081211
'attribute_map': {
12091212
'id': 'id',
1213+
'delete_content': 'delete_content',
12101214
},
12111215
'location_map': {
12121216
'id': 'path',
1217+
'delete_content': 'query',
12131218
},
12141219
'collection_format_map': {
12151220
}
@@ -5897,6 +5902,7 @@ def delete_workspace(
58975902
id (int): A unique integer value identifying this workspace.
58985903
58995904
Keyword Args:
5905+
delete_content (bool): [optional]
59005906
_return_http_data_only (bool): response data without head status
59015907
code and headers. Default is True.
59025908
_preload_content (bool): if False, the urllib3.HTTPResponse object

elements_sdk/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
7676
self.default_headers[header_name] = header_value
7777
self.cookie = cookie
7878
# Set default User-Agent.
79-
self.user_agent = 'OpenAPI-Generator/3.5.3/python'
79+
self.user_agent = 'OpenAPI-Generator/3.5.4/python'
8080

8181
def __enter__(self):
8282
return self

elements_sdk/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ def to_debug_report(self):
409409
"OS: {env}\n"\
410410
"Python Version: {pyversion}\n"\
411411
"Version of the API: 2\n"\
412-
"SDK Package Version: 3.5.3".\
412+
"SDK Package Version: 3.5.4".\
413413
format(env=sys.platform, pyversion=sys.version)
414414

415415
def get_host_settings(self):

elements_sdk/model/volume_status.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def openapi_types():
9191
"""
9292
lazy_import()
9393
return {
94-
'online': (bool,), # noqa: E501
94+
'online': (bool, none_type,), # noqa: E501
9595
'size_total': (int, none_type,), # noqa: E501
9696
'size_used': (int, none_type,), # noqa: E501
9797
'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
126126
"""VolumeStatus - a model defined in OpenAPI
127127
128128
Args:
129-
online (bool):
129+
online (bool, none_type):
130130
size_total (int, none_type):
131131
size_used (int, none_type):
132132
size_free (int, none_type):
@@ -222,7 +222,7 @@ def __init__(self, online, size_total, size_used, size_free, *args, **xkwargs):
222222
"""VolumeStatus - a model defined in OpenAPI
223223
224224
Args:
225-
online (bool):
225+
online (bool, none_type):
226226
size_total (int, none_type):
227227
size_used (int, none_type):
228228
size_free (int, none_type):

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
from setuptools import setup, find_packages # noqa: H301
1212

1313
NAME = "elements-sdk"
14-
VERSION = "3.5.3"
14+
VERSION = "3.5.4"
1515
# To install the library, run the following
1616
#
1717
# python setup.py install

0 commit comments

Comments
 (0)