Skip to content

Commit d28028b

Browse files
committed
v3.6.1
1 parent da3213e commit d28028b

File tree

522 files changed

+45735
-195
lines changed

Some content is hidden

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

522 files changed

+45735
-195
lines changed

.openapi-generator/FILES

-11
Original file line numberDiff line numberDiff line change
@@ -918,15 +918,4 @@ setup.cfg
918918
setup.py
919919
test-requirements.txt
920920
test/__init__.py
921-
test/test_cloud_bucket_costs.py
922-
test/test_cloud_mount_authorization.py
923-
test/test_cloud_storage_costs.py
924-
test/test_cost.py
925-
test/test_get_cloud_account_costs_response.py
926-
test/test_get_cloud_account_volume_sizes_response.py
927-
test/test_image_upload_request.py
928-
test/test_media_root_update.py
929-
test/test_storage_node_partial_update.py
930-
test/test_storage_node_update.py
931-
test/test_updated_file.py
932921
tox.ini

README.md

+1-1
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.6.0
5+
- Latest build: 3.6.1
66

77
## Installation & Usage
88

_layouts/default.html

+1-1
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.6.0'>3.6.0</a> &#183; <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-->
30+
Releases: <a href='/'>Latest</a> &#183; <!--VERSIONS-START--><a href='/versions/3.6.1'>3.6.1</a> &#183; <a href='/versions/3.6.0'>3.6.0</a> &#183; <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/CloudMountAuthorization.md

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Name | Type | Description | Notes
1212
**token** | **str, none_type** | | [optional]
1313
**tenant** | **str, none_type** | | [optional]
1414
**subscription** | **str, none_type** | | [optional]
15+
**expiry** | **int, none_type** | | [optional]
1516

1617
[[Back to Model list]](../#documentation-for-models) [[Back to API list]](../#documentation-for-api-endpoints) [[Back to README]](../)
1718

docs/ElementsGroup.md

-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ Name | Type | Description | Notes
1111
**name** | **str** | |
1212
**members** | **[int]** | |
1313
**permissions** | **[str, none_type]** | | [optional]
14-
**ancillary_path** | **str, none_type** | | [optional] [readonly]
15-
**ancillary_path_read_only** | **str, none_type** | | [optional] [readonly]
1614
**ldap_dn** | **str, none_type** | | [optional]
1715
**unix_groupname** | **str, none_type** | | [optional]
1816
**gid** | **int, none_type** | | [optional]

docs/ElementsGroupDetail.md

-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ Name | Type | Description | Notes
1010
**effective_permissions** | **[str, none_type]** | | [readonly]
1111
**name** | **str** | |
1212
**permissions** | **[str, none_type]** | | [optional]
13-
**ancillary_path** | **str, none_type** | | [optional] [readonly]
14-
**ancillary_path_read_only** | **str, none_type** | | [optional] [readonly]
1513
**members** | [**[ElementsUserReference]**](ElementsUserReference.md) | | [optional]
1614
**ldap** | **bool, date, datetime, dict, float, int, list, str, none_type** | | [optional]
1715
**ldap_dn** | **str, none_type** | | [optional]

docs/ElementsGroupReference.md

-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ Name | Type | Description | Notes
99
**permissions** | **[str, none_type]** | | [optional] [readonly]
1010
**members_preview** | [**[MemberPreview]**](MemberPreview.md) | | [optional] [readonly]
1111
**effective_permissions** | **[str, none_type]** | | [optional] [readonly]
12-
**ancillary_path** | **str, none_type** | | [optional] [readonly]
13-
**ancillary_path_read_only** | **str, none_type** | | [optional] [readonly]
1412
**name** | **str** | | [optional] [readonly]
1513
**ldap_dn** | **str, none_type** | | [optional] [readonly]
1614
**unix_groupname** | **str, none_type** | | [optional] [readonly]

docs/ElementsUser.md

-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ Name | Type | Description | Notes
1717
**sync_id** | **str** | | [readonly]
1818
**totp_enabled** | **bool** | | [readonly]
1919
**username** | **str** | |
20-
**ancillary_path** | **str, none_type** | | [optional] [readonly]
21-
**ancillary_path_read_only** | **str, none_type** | | [optional] [readonly]
2220
**allow_changing_password** | **bool** | | [optional]
2321
**allow_wan_login** | **bool** | | [optional]
2422
**avatar** | **str, none_type** | | [optional]

docs/ElementsUserDetail.md

-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ Name | Type | Description | Notes
1616
**sync_id** | **str** | | [readonly]
1717
**username** | **str** | |
1818
**groups** | **[int]** | |
19-
**ancillary_path** | **str, none_type** | | [optional] [readonly]
20-
**ancillary_path_read_only** | **str, none_type** | | [optional] [readonly]
2119
**allow_changing_password** | **bool** | | [optional]
2220
**allow_wan_login** | **bool** | | [optional]
2321
**avatar** | **str, none_type** | | [optional]

docs/ElementsUserReference.md

-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
88
**id** | **int** | |
9-
**ancillary_path** | **str, none_type** | | [optional] [readonly]
10-
**ancillary_path_read_only** | **str, none_type** | | [optional] [readonly]
119
**allow_changing_password** | **bool** | | [optional] [readonly]
1210
**allow_wan_login** | **bool** | | [optional] [readonly]
1311
**allowed_fs_paths** | **[str, none_type], none_type** | | [optional] [readonly]

docs/StorageApi.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -2245,11 +2245,15 @@ with elements_sdk.ApiClient(configuration) as api_client:
22452245
ordering = "ordering_example" # str | Which field to use when ordering the results. (optional)
22462246
limit = 1 # int | Number of results to return per page. (optional)
22472247
offset = 1 # int | The initial index from which to return the results. (optional)
2248+
full_path = "full_path_example" # str | (optional)
2249+
resolve_access_for = 1 # int | (optional)
2250+
include_endpoints = True # bool | (optional)
2251+
include_quotas = True # bool | (optional)
22482252

22492253
# example passing only required values which don't have defaults set
22502254
# and optional values
22512255
try:
2252-
api_response = api_instance.get_my_workspaces(is_template=is_template, production=production, volume=volume, home_for=home_for, volume__type=volume__type, production__name=production__name, production__active=production__active, name=name, is_external=is_external, active=active, ordering=ordering, limit=limit, offset=offset)
2256+
api_response = api_instance.get_my_workspaces(is_template=is_template, production=production, volume=volume, home_for=home_for, volume__type=volume__type, production__name=production__name, production__active=production__active, name=name, is_external=is_external, active=active, ordering=ordering, limit=limit, offset=offset, full_path=full_path, resolve_access_for=resolve_access_for, include_endpoints=include_endpoints, include_quotas=include_quotas)
22532257
pprint(api_response)
22542258
except elements_sdk.ApiException as e:
22552259
print("Exception when calling StorageApi->get_my_workspaces: %s\n" % e)
@@ -2273,6 +2277,10 @@ Name | Type | Description | Notes
22732277
**ordering** | **str**| Which field to use when ordering the results. | [optional]
22742278
**limit** | **int**| Number of results to return per page. | [optional]
22752279
**offset** | **int**| The initial index from which to return the results. | [optional]
2280+
**full_path** | **str**| | [optional]
2281+
**resolve_access_for** | **int**| | [optional]
2282+
**include_endpoints** | **bool**| | [optional]
2283+
**include_quotas** | **bool**| | [optional]
22762284

22772285
### Return type
22782286

docs/Volume.md

-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ Name | Type | Description | Notes
2121
**fs_properties** | [**FSProperties**](FSProperties.md) | | [optional]
2222
**status** | [**VolumeStatus**](VolumeStatus.md) | | [optional]
2323
**cloud_account** | **int, none_type** | | [optional]
24-
**name** | **str, none_type** | | [optional] [readonly]
2524

2625
[[Back to Model list]](../#documentation-for-models) [[Back to API list]](../#documentation-for-api-endpoints) [[Back to README]](../)
2726

docs/VolumeMini.md

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ Name | Type | Description | Notes
1010
**display_name** | **str** | | [optional]
1111
**visual_tag** | **str, none_type** | | [optional]
1212
**type** | **str** | | [optional]
13-
**name** | **str, none_type** | | [optional] [readonly]
1413

1514
[[Back to Model list]](../#documentation-for-models) [[Back to API list]](../#documentation-for-api-endpoints) [[Back to README]](../)
1615

docs/VolumeMiniReference.md

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ Name | Type | Description | Notes
1010
**display_name** | **str** | | [optional] [readonly]
1111
**visual_tag** | **str, none_type** | | [optional] [readonly]
1212
**type** | **str** | | [optional] [readonly]
13-
**name** | **str, none_type** | | [optional] [readonly]
1413

1514
[[Back to Model list]](../#documentation-for-models) [[Back to API list]](../#documentation-for-api-endpoints) [[Back to README]](../)
1615

docs/VolumeReference.md

-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ Name | Type | Description | Notes
2121
**backend** | [**Backend**](Backend.md) | | [optional]
2222
**status** | [**VolumeStatus**](VolumeStatus.md) | | [optional]
2323
**cloud_account** | **int, none_type** | | [optional] [readonly]
24-
**name** | **str, none_type** | | [optional] [readonly]
2524

2625
[[Back to Model list]](../#documentation-for-models) [[Back to API list]](../#documentation-for-api-endpoints) [[Back to README]](../)
2726

elements_sdk/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"""
1111

1212

13-
__version__ = "3.6.0"
13+
__version__ = "3.6.1"
1414

1515
# import ApiClient
1616
from elements_sdk.api_client import ApiClient

elements_sdk/api/storage_api.py

+24
Original file line numberDiff line numberDiff line change
@@ -2135,6 +2135,10 @@ def __init__(self, api_client=None):
21352135
'ordering',
21362136
'limit',
21372137
'offset',
2138+
'full_path',
2139+
'resolve_access_for',
2140+
'include_endpoints',
2141+
'include_quotas',
21382142
],
21392143
'required': [],
21402144
'nullable': [
@@ -2176,6 +2180,14 @@ def __init__(self, api_client=None):
21762180
(int,),
21772181
'offset':
21782182
(int,),
2183+
'full_path':
2184+
(str,),
2185+
'resolve_access_for':
2186+
(int,),
2187+
'include_endpoints':
2188+
(bool,),
2189+
'include_quotas':
2190+
(bool,),
21792191
},
21802192
'attribute_map': {
21812193
'is_template': 'is_template',
@@ -2191,6 +2203,10 @@ def __init__(self, api_client=None):
21912203
'ordering': 'ordering',
21922204
'limit': 'limit',
21932205
'offset': 'offset',
2206+
'full_path': 'full_path',
2207+
'resolve_access_for': 'resolve_access_for',
2208+
'include_endpoints': 'include_endpoints',
2209+
'include_quotas': 'include_quotas',
21942210
},
21952211
'location_map': {
21962212
'is_template': 'query',
@@ -2206,6 +2222,10 @@ def __init__(self, api_client=None):
22062222
'ordering': 'query',
22072223
'limit': 'query',
22082224
'offset': 'query',
2225+
'full_path': 'query',
2226+
'resolve_access_for': 'query',
2227+
'include_endpoints': 'query',
2228+
'include_quotas': 'query',
22092229
},
22102230
'collection_format_map': {
22112231
}
@@ -7065,6 +7085,10 @@ def get_my_workspaces(
70657085
ordering (str): Which field to use when ordering the results.. [optional]
70667086
limit (int): Number of results to return per page.. [optional]
70677087
offset (int): The initial index from which to return the results.. [optional]
7088+
full_path (str): [optional]
7089+
resolve_access_for (int): [optional]
7090+
include_endpoints (bool): [optional]
7091+
include_quotas (bool): [optional]
70687092
_return_http_data_only (bool): response data without head status
70697093
code and headers. Default is True.
70707094
_preload_content (bool): if False, the urllib3.HTTPResponse object

elements_sdk/api_client.py

+1-1
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.6.0/python'
79+
self.user_agent = 'OpenAPI-Generator/3.6.1/python'
8080

8181
def __enter__(self):
8282
return self

elements_sdk/configuration.py

+1-1
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.6.0".\
412+
"SDK Package Version: 3.6.1".\
413413
format(env=sys.platform, pyversion=sys.version)
414414

415415
def get_host_settings(self):

elements_sdk/model/cloud_mount_authorization.py

+4
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ def openapi_types():
109109
'token': (str, none_type,), # noqa: E501
110110
'tenant': (str, none_type,), # noqa: E501
111111
'subscription': (str, none_type,), # noqa: E501
112+
'expiry': (int, none_type,), # noqa: E501
112113
}
113114

114115
@cached_property
@@ -124,6 +125,7 @@ def discriminator():
124125
'token': 'token', # noqa: E501
125126
'tenant': 'tenant', # noqa: E501
126127
'subscription': 'subscription', # noqa: E501
128+
'expiry': 'expiry', # noqa: E501
127129
}
128130

129131
read_only_vars = {
@@ -176,6 +178,7 @@ def _from_openapi_data(cls, secret, *args, **xkwargs): # noqa: E501
176178
token (str, none_type): [optional] # noqa: E501
177179
tenant (str, none_type): [optional] # noqa: E501
178180
subscription (str, none_type): [optional] # noqa: E501
181+
expiry (int, none_type): [optional] # noqa: E501
179182
"""
180183

181184
_check_type = xkwargs.pop('_check_type', True)
@@ -269,6 +272,7 @@ def __init__(self, secret, *args, **xkwargs): # noqa: E501
269272
token (str, none_type): [optional] # noqa: E501
270273
tenant (str, none_type): [optional] # noqa: E501
271274
subscription (str, none_type): [optional] # noqa: E501
275+
expiry (int, none_type): [optional] # noqa: E501
272276
"""
273277

274278
_check_type = xkwargs.pop('_check_type', True)

elements_sdk/model/elements_group.py

-18
Original file line numberDiff line numberDiff line change
@@ -66,14 +66,6 @@ class ElementsGroup(ModelNormal):
6666
'max_length': 255,
6767
'min_length': 1,
6868
},
69-
('ancillary_path',): {
70-
'max_length': 1,
71-
'min_length': 1,
72-
},
73-
('ancillary_path_read_only',): {
74-
'max_length': 1,
75-
'min_length': 1,
76-
},
7769
('ldap_dn',): {
7870
'max_length': 255,
7971
},
@@ -115,8 +107,6 @@ def openapi_types():
115107
'name': (str,), # noqa: E501
116108
'members': ([int],), # noqa: E501
117109
'permissions': ([str, none_type],), # noqa: E501
118-
'ancillary_path': (str, none_type,), # noqa: E501
119-
'ancillary_path_read_only': (str, none_type,), # noqa: E501
120110
'ldap_dn': (str, none_type,), # noqa: E501
121111
'unix_groupname': (str, none_type,), # noqa: E501
122112
'gid': (int, none_type,), # noqa: E501
@@ -135,8 +125,6 @@ def discriminator():
135125
'name': 'name', # noqa: E501
136126
'members': 'members', # noqa: E501
137127
'permissions': 'permissions', # noqa: E501
138-
'ancillary_path': 'ancillary_path', # noqa: E501
139-
'ancillary_path_read_only': 'ancillary_path_read_only', # noqa: E501
140128
'ldap_dn': 'ldap_dn', # noqa: E501
141129
'unix_groupname': 'unix_groupname', # noqa: E501
142130
'gid': 'gid', # noqa: E501
@@ -146,8 +134,6 @@ def discriminator():
146134
read_only_vars = {
147135
'members_preview', # noqa: E501
148136
'effective_permissions', # noqa: E501
149-
'ancillary_path', # noqa: E501
150-
'ancillary_path_read_only', # noqa: E501
151137
}
152138

153139
_composed_schemas = {}
@@ -196,8 +182,6 @@ def _from_openapi_data(cls, id, members_preview, effective_permissions, name, me
196182
through its discriminator because we passed in
197183
_visited_composed_classes = (Animal,)
198184
permissions ([str, none_type]): [optional] # noqa: E501
199-
ancillary_path (str, none_type): [optional] # noqa: E501
200-
ancillary_path_read_only (str, none_type): [optional] # noqa: E501
201185
ldap_dn (str, none_type): [optional] # noqa: E501
202186
unix_groupname (str, none_type): [optional] # noqa: E501
203187
gid (int, none_type): [optional] # noqa: E501
@@ -296,8 +280,6 @@ def __init__(self, id, name, members, *args, **xkwargs): # noqa: E501
296280
through its discriminator because we passed in
297281
_visited_composed_classes = (Animal,)
298282
permissions ([str, none_type]): [optional] # noqa: E501
299-
ancillary_path (str, none_type): [optional] # noqa: E501
300-
ancillary_path_read_only (str, none_type): [optional] # noqa: E501
301283
ldap_dn (str, none_type): [optional] # noqa: E501
302284
unix_groupname (str, none_type): [optional] # noqa: E501
303285
gid (int, none_type): [optional] # noqa: E501

0 commit comments

Comments
 (0)