Skip to content

Commit

Permalink
v3.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugeny committed Jan 23, 2023
1 parent da3213e commit d28028b
Show file tree
Hide file tree
Showing 522 changed files with 45,735 additions and 195 deletions.
11 changes: 0 additions & 11 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -918,15 +918,4 @@ setup.cfg
setup.py
test-requirements.txt
test/__init__.py
test/test_cloud_bucket_costs.py
test/test_cloud_mount_authorization.py
test/test_cloud_storage_costs.py
test/test_cost.py
test/test_get_cloud_account_costs_response.py
test/test_get_cloud_account_volume_sizes_response.py
test/test_image_upload_request.py
test/test_media_root_update.py
test/test_storage_node_partial_update.py
test/test_storage_node_update.py
test/test_updated_file.py
tox.ini
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

- API version: 2
- Python 2.7 and 3.4+
- Latest build: 3.6.0
- Latest build: 3.6.1

## Installation & Usage

Expand Down
2 changes: 1 addition & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
</section>
<footer>
<p>
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-->
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-->
</p>
<p>Maintained by <a href="https://github.com/elements-storage">elements-storage</a> on GitHub.</p>
<p><small>Hosted on GitHub Pages &mdash; Theme by <a href="https://github.com/orderedlist">orderedlist</a></small></p>
Expand Down
1 change: 1 addition & 0 deletions docs/CloudMountAuthorization.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Name | Type | Description | Notes
**token** | **str, none_type** | | [optional]
**tenant** | **str, none_type** | | [optional]
**subscription** | **str, none_type** | | [optional]
**expiry** | **int, none_type** | | [optional]

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

Expand Down
2 changes: 0 additions & 2 deletions docs/ElementsGroup.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ Name | Type | Description | Notes
**name** | **str** | |
**members** | **[int]** | |
**permissions** | **[str, none_type]** | | [optional]
**ancillary_path** | **str, none_type** | | [optional] [readonly]
**ancillary_path_read_only** | **str, none_type** | | [optional] [readonly]
**ldap_dn** | **str, none_type** | | [optional]
**unix_groupname** | **str, none_type** | | [optional]
**gid** | **int, none_type** | | [optional]
Expand Down
2 changes: 0 additions & 2 deletions docs/ElementsGroupDetail.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ Name | Type | Description | Notes
**effective_permissions** | **[str, none_type]** | | [readonly]
**name** | **str** | |
**permissions** | **[str, none_type]** | | [optional]
**ancillary_path** | **str, none_type** | | [optional] [readonly]
**ancillary_path_read_only** | **str, none_type** | | [optional] [readonly]
**members** | [**[ElementsUserReference]**](ElementsUserReference.md) | | [optional]
**ldap** | **bool, date, datetime, dict, float, int, list, str, none_type** | | [optional]
**ldap_dn** | **str, none_type** | | [optional]
Expand Down
2 changes: 0 additions & 2 deletions docs/ElementsGroupReference.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ Name | Type | Description | Notes
**permissions** | **[str, none_type]** | | [optional] [readonly]
**members_preview** | [**[MemberPreview]**](MemberPreview.md) | | [optional] [readonly]
**effective_permissions** | **[str, none_type]** | | [optional] [readonly]
**ancillary_path** | **str, none_type** | | [optional] [readonly]
**ancillary_path_read_only** | **str, none_type** | | [optional] [readonly]
**name** | **str** | | [optional] [readonly]
**ldap_dn** | **str, none_type** | | [optional] [readonly]
**unix_groupname** | **str, none_type** | | [optional] [readonly]
Expand Down
2 changes: 0 additions & 2 deletions docs/ElementsUser.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ Name | Type | Description | Notes
**sync_id** | **str** | | [readonly]
**totp_enabled** | **bool** | | [readonly]
**username** | **str** | |
**ancillary_path** | **str, none_type** | | [optional] [readonly]
**ancillary_path_read_only** | **str, none_type** | | [optional] [readonly]
**allow_changing_password** | **bool** | | [optional]
**allow_wan_login** | **bool** | | [optional]
**avatar** | **str, none_type** | | [optional]
Expand Down
2 changes: 0 additions & 2 deletions docs/ElementsUserDetail.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ Name | Type | Description | Notes
**sync_id** | **str** | | [readonly]
**username** | **str** | |
**groups** | **[int]** | |
**ancillary_path** | **str, none_type** | | [optional] [readonly]
**ancillary_path_read_only** | **str, none_type** | | [optional] [readonly]
**allow_changing_password** | **bool** | | [optional]
**allow_wan_login** | **bool** | | [optional]
**avatar** | **str, none_type** | | [optional]
Expand Down
2 changes: 0 additions & 2 deletions docs/ElementsUserReference.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **int** | |
**ancillary_path** | **str, none_type** | | [optional] [readonly]
**ancillary_path_read_only** | **str, none_type** | | [optional] [readonly]
**allow_changing_password** | **bool** | | [optional] [readonly]
**allow_wan_login** | **bool** | | [optional] [readonly]
**allowed_fs_paths** | **[str, none_type], none_type** | | [optional] [readonly]
Expand Down
10 changes: 9 additions & 1 deletion docs/StorageApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -2245,11 +2245,15 @@ with elements_sdk.ApiClient(configuration) as api_client:
ordering = "ordering_example" # str | Which field to use when ordering the results. (optional)
limit = 1 # int | Number of results to return per page. (optional)
offset = 1 # int | The initial index from which to return the results. (optional)
full_path = "full_path_example" # str | (optional)
resolve_access_for = 1 # int | (optional)
include_endpoints = True # bool | (optional)
include_quotas = True # bool | (optional)

# example passing only required values which don't have defaults set
# and optional values
try:
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)
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)
pprint(api_response)
except elements_sdk.ApiException as e:
print("Exception when calling StorageApi->get_my_workspaces: %s\n" % e)
Expand All @@ -2273,6 +2277,10 @@ Name | Type | Description | Notes
**ordering** | **str**| Which field to use when ordering the results. | [optional]
**limit** | **int**| Number of results to return per page. | [optional]
**offset** | **int**| The initial index from which to return the results. | [optional]
**full_path** | **str**| | [optional]
**resolve_access_for** | **int**| | [optional]
**include_endpoints** | **bool**| | [optional]
**include_quotas** | **bool**| | [optional]

### Return type

Expand Down
1 change: 0 additions & 1 deletion docs/Volume.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ Name | Type | Description | Notes
**fs_properties** | [**FSProperties**](FSProperties.md) | | [optional]
**status** | [**VolumeStatus**](VolumeStatus.md) | | [optional]
**cloud_account** | **int, none_type** | | [optional]
**name** | **str, none_type** | | [optional] [readonly]

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

Expand Down
1 change: 0 additions & 1 deletion docs/VolumeMini.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ Name | Type | Description | Notes
**display_name** | **str** | | [optional]
**visual_tag** | **str, none_type** | | [optional]
**type** | **str** | | [optional]
**name** | **str, none_type** | | [optional] [readonly]

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

Expand Down
1 change: 0 additions & 1 deletion docs/VolumeMiniReference.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ Name | Type | Description | Notes
**display_name** | **str** | | [optional] [readonly]
**visual_tag** | **str, none_type** | | [optional] [readonly]
**type** | **str** | | [optional] [readonly]
**name** | **str, none_type** | | [optional] [readonly]

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

Expand Down
1 change: 0 additions & 1 deletion docs/VolumeReference.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ Name | Type | Description | Notes
**backend** | [**Backend**](Backend.md) | | [optional]
**status** | [**VolumeStatus**](VolumeStatus.md) | | [optional]
**cloud_account** | **int, none_type** | | [optional] [readonly]
**name** | **str, none_type** | | [optional] [readonly]

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

Expand Down
2 changes: 1 addition & 1 deletion elements_sdk/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"""


__version__ = "3.6.0"
__version__ = "3.6.1"

# import ApiClient
from elements_sdk.api_client import ApiClient
Expand Down
24 changes: 24 additions & 0 deletions elements_sdk/api/storage_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -2135,6 +2135,10 @@ def __init__(self, api_client=None):
'ordering',
'limit',
'offset',
'full_path',
'resolve_access_for',
'include_endpoints',
'include_quotas',
],
'required': [],
'nullable': [
Expand Down Expand Up @@ -2176,6 +2180,14 @@ def __init__(self, api_client=None):
(int,),
'offset':
(int,),
'full_path':
(str,),
'resolve_access_for':
(int,),
'include_endpoints':
(bool,),
'include_quotas':
(bool,),
},
'attribute_map': {
'is_template': 'is_template',
Expand All @@ -2191,6 +2203,10 @@ def __init__(self, api_client=None):
'ordering': 'ordering',
'limit': 'limit',
'offset': 'offset',
'full_path': 'full_path',
'resolve_access_for': 'resolve_access_for',
'include_endpoints': 'include_endpoints',
'include_quotas': 'include_quotas',
},
'location_map': {
'is_template': 'query',
Expand All @@ -2206,6 +2222,10 @@ def __init__(self, api_client=None):
'ordering': 'query',
'limit': 'query',
'offset': 'query',
'full_path': 'query',
'resolve_access_for': 'query',
'include_endpoints': 'query',
'include_quotas': 'query',
},
'collection_format_map': {
}
Expand Down Expand Up @@ -7065,6 +7085,10 @@ def get_my_workspaces(
ordering (str): Which field to use when ordering the results.. [optional]
limit (int): Number of results to return per page.. [optional]
offset (int): The initial index from which to return the results.. [optional]
full_path (str): [optional]
resolve_access_for (int): [optional]
include_endpoints (bool): [optional]
include_quotas (bool): [optional]
_return_http_data_only (bool): response data without head status
code and headers. Default is True.
_preload_content (bool): if False, the urllib3.HTTPResponse object
Expand Down
2 changes: 1 addition & 1 deletion elements_sdk/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
self.default_headers[header_name] = header_value
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'OpenAPI-Generator/3.6.0/python'
self.user_agent = 'OpenAPI-Generator/3.6.1/python'

def __enter__(self):
return self
Expand Down
2 changes: 1 addition & 1 deletion elements_sdk/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ def to_debug_report(self):
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: 2\n"\
"SDK Package Version: 3.6.0".\
"SDK Package Version: 3.6.1".\
format(env=sys.platform, pyversion=sys.version)

def get_host_settings(self):
Expand Down
4 changes: 4 additions & 0 deletions elements_sdk/model/cloud_mount_authorization.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ def openapi_types():
'token': (str, none_type,), # noqa: E501
'tenant': (str, none_type,), # noqa: E501
'subscription': (str, none_type,), # noqa: E501
'expiry': (int, none_type,), # noqa: E501
}

@cached_property
Expand All @@ -124,6 +125,7 @@ def discriminator():
'token': 'token', # noqa: E501
'tenant': 'tenant', # noqa: E501
'subscription': 'subscription', # noqa: E501
'expiry': 'expiry', # noqa: E501
}

read_only_vars = {
Expand Down Expand Up @@ -176,6 +178,7 @@ def _from_openapi_data(cls, secret, *args, **xkwargs): # noqa: E501
token (str, none_type): [optional] # noqa: E501
tenant (str, none_type): [optional] # noqa: E501
subscription (str, none_type): [optional] # noqa: E501
expiry (int, none_type): [optional] # noqa: E501
"""

_check_type = xkwargs.pop('_check_type', True)
Expand Down Expand Up @@ -269,6 +272,7 @@ def __init__(self, secret, *args, **xkwargs): # noqa: E501
token (str, none_type): [optional] # noqa: E501
tenant (str, none_type): [optional] # noqa: E501
subscription (str, none_type): [optional] # noqa: E501
expiry (int, none_type): [optional] # noqa: E501
"""

_check_type = xkwargs.pop('_check_type', True)
Expand Down
18 changes: 0 additions & 18 deletions elements_sdk/model/elements_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,6 @@ class ElementsGroup(ModelNormal):
'max_length': 255,
'min_length': 1,
},
('ancillary_path',): {
'max_length': 1,
'min_length': 1,
},
('ancillary_path_read_only',): {
'max_length': 1,
'min_length': 1,
},
('ldap_dn',): {
'max_length': 255,
},
Expand Down Expand Up @@ -115,8 +107,6 @@ def openapi_types():
'name': (str,), # noqa: E501
'members': ([int],), # noqa: E501
'permissions': ([str, none_type],), # noqa: E501
'ancillary_path': (str, none_type,), # noqa: E501
'ancillary_path_read_only': (str, none_type,), # noqa: E501
'ldap_dn': (str, none_type,), # noqa: E501
'unix_groupname': (str, none_type,), # noqa: E501
'gid': (int, none_type,), # noqa: E501
Expand All @@ -135,8 +125,6 @@ def discriminator():
'name': 'name', # noqa: E501
'members': 'members', # noqa: E501
'permissions': 'permissions', # noqa: E501
'ancillary_path': 'ancillary_path', # noqa: E501
'ancillary_path_read_only': 'ancillary_path_read_only', # noqa: E501
'ldap_dn': 'ldap_dn', # noqa: E501
'unix_groupname': 'unix_groupname', # noqa: E501
'gid': 'gid', # noqa: E501
Expand All @@ -146,8 +134,6 @@ def discriminator():
read_only_vars = {
'members_preview', # noqa: E501
'effective_permissions', # noqa: E501
'ancillary_path', # noqa: E501
'ancillary_path_read_only', # noqa: E501
}

_composed_schemas = {}
Expand Down Expand Up @@ -196,8 +182,6 @@ def _from_openapi_data(cls, id, members_preview, effective_permissions, name, me
through its discriminator because we passed in
_visited_composed_classes = (Animal,)
permissions ([str, none_type]): [optional] # noqa: E501
ancillary_path (str, none_type): [optional] # noqa: E501
ancillary_path_read_only (str, none_type): [optional] # noqa: E501
ldap_dn (str, none_type): [optional] # noqa: E501
unix_groupname (str, none_type): [optional] # noqa: E501
gid (int, none_type): [optional] # noqa: E501
Expand Down Expand Up @@ -296,8 +280,6 @@ def __init__(self, id, name, members, *args, **xkwargs): # noqa: E501
through its discriminator because we passed in
_visited_composed_classes = (Animal,)
permissions ([str, none_type]): [optional] # noqa: E501
ancillary_path (str, none_type): [optional] # noqa: E501
ancillary_path_read_only (str, none_type): [optional] # noqa: E501
ldap_dn (str, none_type): [optional] # noqa: E501
unix_groupname (str, none_type): [optional] # noqa: E501
gid (int, none_type): [optional] # noqa: E501
Expand Down
Loading

0 comments on commit d28028b

Please sign in to comment.