diff --git a/docs/README.md b/docs/README.md index 0c914db..b6c4cec 100644 --- a/docs/README.md +++ b/docs/README.md @@ -324,6 +324,7 @@ Class | Method | HTTP request | Description - [UpdateBillingAccountBody](docs/UpdateBillingAccountBody.md) - [UpdatePrivateVMImageResponse](docs/UpdatePrivateVMImageResponse.md) - [UpdateSecurityGroupResponse](docs/UpdateSecurityGroupResponse.md) + - [UpdateVMMetadataBody](docs/UpdateVMMetadataBody.md) - [UpdateVMMetadataResponse](docs/UpdateVMMetadataResponse.md) - [UserPermission](docs/UserPermission.md) - [V1PrivateImage](docs/V1PrivateImage.md) diff --git a/docs/docs/UpdateVMMetadataBody.md b/docs/docs/UpdateVMMetadataBody.md new file mode 100644 index 0000000..ae6a6bb --- /dev/null +++ b/docs/docs/UpdateVMMetadataBody.md @@ -0,0 +1,11 @@ +# UpdateVMMetadataBody + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**merge** | **bool** | | [optional] +**metadata** | **dict(str, str)** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/docs/VirtualMachinesApi.md b/docs/docs/VirtualMachinesApi.md index 56c5e36..20d1aa5 100644 --- a/docs/docs/VirtualMachinesApi.md +++ b/docs/docs/VirtualMachinesApi.md @@ -1169,7 +1169,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **update_vm_metadata** -> UpdateVMMetadataResponse update_vm_metadata(project_id, id, metadata=metadata, merge=merge) +> UpdateVMMetadataResponse update_vm_metadata(project_id, id, update_vm_metadata_body) Update VM metadata @@ -1185,12 +1185,11 @@ from pprint import pprint api_instance = src.cudo_compute.VirtualMachinesApi() project_id = 'project_id_example' # str | id = 'id_example' # str | -metadata = 'metadata_example' # str | This is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18 (optional) -merge = true # bool | (optional) +update_vm_metadata_body = src.cudo_compute.UpdateVMMetadataBody() # UpdateVMMetadataBody | try: # Update VM metadata - api_response = api_instance.update_vm_metadata(project_id, id, metadata=metadata, merge=merge) + api_response = api_instance.update_vm_metadata(project_id, id, update_vm_metadata_body) pprint(api_response) except ApiException as e: print("Exception when calling VirtualMachinesApi->update_vm_metadata: %s\n" % e) @@ -1202,8 +1201,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **project_id** | **str**| | **id** | **str**| | - **metadata** | **str**| This is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18 | [optional] - **merge** | **bool**| | [optional] + **update_vm_metadata_body** | [**UpdateVMMetadataBody**](UpdateVMMetadataBody.md)| | ### Return type diff --git a/docs/src/cudo_compute/__init__.py b/docs/src/cudo_compute/__init__.py index 572a03c..cda0570 100644 --- a/docs/src/cudo_compute/__init__.py +++ b/docs/src/cudo_compute/__init__.py @@ -12,7 +12,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - from __future__ import absolute_import # import apis into sdk package @@ -178,6 +177,7 @@ from src.cudo_compute.models.update_billing_account_body import UpdateBillingAccountBody from src.cudo_compute.models.update_private_vm_image_response import UpdatePrivateVMImageResponse from src.cudo_compute.models.update_security_group_response import UpdateSecurityGroupResponse +from src.cudo_compute.models.update_vm_metadata_body import UpdateVMMetadataBody from src.cudo_compute.models.update_vm_metadata_response import UpdateVMMetadataResponse from src.cudo_compute.models.user_permission import UserPermission from src.cudo_compute.models.v1_private_image import V1PrivateImage diff --git a/docs/src/cudo_compute/api/api_keys_api.py b/docs/src/cudo_compute/api/api_keys_api.py index c33fce9..faeac24 100644 --- a/docs/src/cudo_compute/api/api_keys_api.py +++ b/docs/src/cudo_compute/api/api_keys_api.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - from __future__ import absolute_import import re # noqa: F401 diff --git a/docs/src/cudo_compute/api/billing_api.py b/docs/src/cudo_compute/api/billing_api.py index 4d3b947..6d17314 100644 --- a/docs/src/cudo_compute/api/billing_api.py +++ b/docs/src/cudo_compute/api/billing_api.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - from __future__ import absolute_import import re # noqa: F401 diff --git a/docs/src/cudo_compute/api/data_centers_api.py b/docs/src/cudo_compute/api/data_centers_api.py index 4f6ce5c..e502028 100644 --- a/docs/src/cudo_compute/api/data_centers_api.py +++ b/docs/src/cudo_compute/api/data_centers_api.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - from __future__ import absolute_import import re # noqa: F401 diff --git a/docs/src/cudo_compute/api/disks_api.py b/docs/src/cudo_compute/api/disks_api.py index 5962c89..f947386 100644 --- a/docs/src/cudo_compute/api/disks_api.py +++ b/docs/src/cudo_compute/api/disks_api.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - from __future__ import absolute_import import re # noqa: F401 diff --git a/docs/src/cudo_compute/api/machine_types_api.py b/docs/src/cudo_compute/api/machine_types_api.py index 8f37f85..7bf7953 100644 --- a/docs/src/cudo_compute/api/machine_types_api.py +++ b/docs/src/cudo_compute/api/machine_types_api.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - from __future__ import absolute_import import re # noqa: F401 diff --git a/docs/src/cudo_compute/api/networks_api.py b/docs/src/cudo_compute/api/networks_api.py index a7e7411..18cb629 100644 --- a/docs/src/cudo_compute/api/networks_api.py +++ b/docs/src/cudo_compute/api/networks_api.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - from __future__ import absolute_import import re # noqa: F401 diff --git a/docs/src/cudo_compute/api/object_storage_api.py b/docs/src/cudo_compute/api/object_storage_api.py index 6da36b2..df4a594 100644 --- a/docs/src/cudo_compute/api/object_storage_api.py +++ b/docs/src/cudo_compute/api/object_storage_api.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - from __future__ import absolute_import import re # noqa: F401 diff --git a/docs/src/cudo_compute/api/permissions_api.py b/docs/src/cudo_compute/api/permissions_api.py index 983ba4b..0ac73d0 100644 --- a/docs/src/cudo_compute/api/permissions_api.py +++ b/docs/src/cudo_compute/api/permissions_api.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - from __future__ import absolute_import import re # noqa: F401 diff --git a/docs/src/cudo_compute/api/projects_api.py b/docs/src/cudo_compute/api/projects_api.py index 6dfd1ce..d29b29f 100644 --- a/docs/src/cudo_compute/api/projects_api.py +++ b/docs/src/cudo_compute/api/projects_api.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - from __future__ import absolute_import import re # noqa: F401 diff --git a/docs/src/cudo_compute/api/search_api.py b/docs/src/cudo_compute/api/search_api.py index 524244c..6195a43 100644 --- a/docs/src/cudo_compute/api/search_api.py +++ b/docs/src/cudo_compute/api/search_api.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - from __future__ import absolute_import import re # noqa: F401 diff --git a/docs/src/cudo_compute/api/ssh_keys_api.py b/docs/src/cudo_compute/api/ssh_keys_api.py index a78e7bb..93d9baf 100644 --- a/docs/src/cudo_compute/api/ssh_keys_api.py +++ b/docs/src/cudo_compute/api/ssh_keys_api.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - from __future__ import absolute_import import re # noqa: F401 diff --git a/docs/src/cudo_compute/api/user_api.py b/docs/src/cudo_compute/api/user_api.py index c5081be..1a0335c 100644 --- a/docs/src/cudo_compute/api/user_api.py +++ b/docs/src/cudo_compute/api/user_api.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - from __future__ import absolute_import import re # noqa: F401 diff --git a/docs/src/cudo_compute/api/virtual_machines_api.py b/docs/src/cudo_compute/api/virtual_machines_api.py index 1ec18df..8a5fb20 100644 --- a/docs/src/cudo_compute/api/virtual_machines_api.py +++ b/docs/src/cudo_compute/api/virtual_machines_api.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - from __future__ import absolute_import import re # noqa: F401 @@ -2497,49 +2496,47 @@ def update_private_vm_image_with_http_info(self, project_id, id, **kwargs): # n _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def update_vm_metadata(self, project_id, id, **kwargs): # noqa: E501 + def update_vm_metadata(self, project_id, id, update_vm_metadata_body, **kwargs): # noqa: E501 """Update VM metadata # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_vm_metadata(project_id, id, async_req=True) + >>> thread = api.update_vm_metadata(project_id, id, update_vm_metadata_body, async_req=True) >>> result = thread.get() :param async_req bool :param str project_id: (required) :param str id: (required) - :param str metadata: This is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18 - :param bool merge: + :param UpdateVMMetadataBody update_vm_metadata_body: (required) :return: UpdateVMMetadataResponse If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.update_vm_metadata_with_http_info(project_id, id, **kwargs) # noqa: E501 + return self.update_vm_metadata_with_http_info(project_id, id, update_vm_metadata_body, **kwargs) # noqa: E501 else: - (data) = self.update_vm_metadata_with_http_info(project_id, id, **kwargs) # noqa: E501 + (data) = self.update_vm_metadata_with_http_info(project_id, id, update_vm_metadata_body, **kwargs) # noqa: E501 return data - def update_vm_metadata_with_http_info(self, project_id, id, **kwargs): # noqa: E501 + def update_vm_metadata_with_http_info(self, project_id, id, update_vm_metadata_body, **kwargs): # noqa: E501 """Update VM metadata # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_vm_metadata_with_http_info(project_id, id, async_req=True) + >>> thread = api.update_vm_metadata_with_http_info(project_id, id, update_vm_metadata_body, async_req=True) >>> result = thread.get() :param async_req bool :param str project_id: (required) :param str id: (required) - :param str metadata: This is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18 - :param bool merge: + :param UpdateVMMetadataBody update_vm_metadata_body: (required) :return: UpdateVMMetadataResponse If the method is called asynchronously, returns the request thread. """ - all_params = ['project_id', 'id', 'metadata', 'merge'] # noqa: E501 + all_params = ['project_id', 'id', 'update_vm_metadata_body'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -2562,6 +2559,10 @@ def update_vm_metadata_with_http_info(self, project_id, id, **kwargs): # noqa: if self.api_client.client_side_validation and ('id' not in params or params['id'] is None): # noqa: E501 raise ValueError("Missing the required parameter `id` when calling `update_vm_metadata`") # noqa: E501 + # verify the required parameter 'update_vm_metadata_body' is set + if self.api_client.client_side_validation and ('update_vm_metadata_body' not in params or + params['update_vm_metadata_body'] is None): # noqa: E501 + raise ValueError("Missing the required parameter `update_vm_metadata_body` when calling `update_vm_metadata`") # noqa: E501 collection_formats = {} @@ -2572,10 +2573,6 @@ def update_vm_metadata_with_http_info(self, project_id, id, **kwargs): # noqa: path_params['id'] = params['id'] # noqa: E501 query_params = [] - if 'metadata' in params: - query_params.append(('metadata', params['metadata'])) # noqa: E501 - if 'merge' in params: - query_params.append(('merge', params['merge'])) # noqa: E501 header_params = {} @@ -2583,6 +2580,8 @@ def update_vm_metadata_with_http_info(self, project_id, id, **kwargs): # noqa: local_var_files = {} body_params = None + if 'update_vm_metadata_body' in params: + body_params = params['update_vm_metadata_body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( ['application/json']) # noqa: E501 diff --git a/docs/src/cudo_compute/api_client.py b/docs/src/cudo_compute/api_client.py index cbeb5c9..2afe2c9 100644 --- a/docs/src/cudo_compute/api_client.py +++ b/docs/src/cudo_compute/api_client.py @@ -8,7 +8,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - from __future__ import absolute_import import datetime diff --git a/docs/src/cudo_compute/configuration.py b/docs/src/cudo_compute/configuration.py index 3d9e17f..4e6215b 100644 --- a/docs/src/cudo_compute/configuration.py +++ b/docs/src/cudo_compute/configuration.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - from __future__ import absolute_import import copy diff --git a/docs/src/cudo_compute/models/__init__.py b/docs/src/cudo_compute/models/__init__.py index 3920bd1..5f927b4 100644 --- a/docs/src/cudo_compute/models/__init__.py +++ b/docs/src/cudo_compute/models/__init__.py @@ -11,7 +11,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - from __future__ import absolute_import # import models into model package @@ -159,6 +158,7 @@ from src.cudo_compute.models.update_billing_account_body import UpdateBillingAccountBody from src.cudo_compute.models.update_private_vm_image_response import UpdatePrivateVMImageResponse from src.cudo_compute.models.update_security_group_response import UpdateSecurityGroupResponse +from src.cudo_compute.models.update_vm_metadata_body import UpdateVMMetadataBody from src.cudo_compute.models.update_vm_metadata_response import UpdateVMMetadataResponse from src.cudo_compute.models.user_permission import UserPermission from src.cudo_compute.models.v1_private_image import V1PrivateImage diff --git a/docs/src/cudo_compute/models/body9.py b/docs/src/cudo_compute/models/activate_body.py similarity index 85% rename from docs/src/cudo_compute/models/body9.py rename to docs/src/cudo_compute/models/activate_body.py index f4cdafb..2a01086 100644 --- a/docs/src/cudo_compute/models/body9.py +++ b/docs/src/cudo_compute/models/activate_body.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 @@ -19,7 +18,7 @@ from src.cudo_compute.configuration import Configuration -class Body9(object): +class ActivateBody(object): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -41,7 +40,7 @@ class Body9(object): } def __init__(self, data_center_id=None, _configuration=None): # noqa: E501 - """Body9 - a model defined in Swagger""" # noqa: E501 + """ActivateBody - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() self._configuration = _configuration @@ -54,20 +53,20 @@ def __init__(self, data_center_id=None, _configuration=None): # noqa: E501 @property def data_center_id(self): - """Gets the data_center_id of this Body9. # noqa: E501 + """Gets the data_center_id of this ActivateBody. # noqa: E501 - :return: The data_center_id of this Body9. # noqa: E501 + :return: The data_center_id of this ActivateBody. # noqa: E501 :rtype: str """ return self._data_center_id @data_center_id.setter def data_center_id(self, data_center_id): - """Sets the data_center_id of this Body9. + """Sets the data_center_id of this ActivateBody. - :param data_center_id: The data_center_id of this Body9. # noqa: E501 + :param data_center_id: The data_center_id of this ActivateBody. # noqa: E501 :type: str """ @@ -94,7 +93,7 @@ def to_dict(self): )) else: result[attr] = value - if issubclass(Body9, dict): + if issubclass(ActivateBody, dict): for key, value in self.items(): result[key] = value @@ -110,14 +109,14 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, Body9): + if not isinstance(other, ActivateBody): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" - if not isinstance(other, Body9): + if not isinstance(other, ActivateBody): return True return self.to_dict() != other.to_dict() diff --git a/docs/src/cudo_compute/models/body1.py b/docs/src/cudo_compute/models/add_billing_account_user_permission_body.py similarity index 71% rename from docs/src/cudo_compute/models/body1.py rename to docs/src/cudo_compute/models/add_billing_account_user_permission_body.py index 5999d8e..4fca986 100644 --- a/docs/src/cudo_compute/models/body1.py +++ b/docs/src/cudo_compute/models/add_billing_account_user_permission_body.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 @@ -19,7 +18,7 @@ from src.cudo_compute.configuration import Configuration -class Body1(object): +class AddBillingAccountUserPermissionBody(object): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -47,7 +46,7 @@ class Body1(object): } def __init__(self, data_center_id=None, project_id=None, role=None, user_email=None, _configuration=None): # noqa: E501 - """Body1 - a model defined in Swagger""" # noqa: E501 + """AddBillingAccountUserPermissionBody - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() self._configuration = _configuration @@ -67,20 +66,20 @@ def __init__(self, data_center_id=None, project_id=None, role=None, user_email=N @property def data_center_id(self): - """Gets the data_center_id of this Body1. # noqa: E501 + """Gets the data_center_id of this AddBillingAccountUserPermissionBody. # noqa: E501 - :return: The data_center_id of this Body1. # noqa: E501 + :return: The data_center_id of this AddBillingAccountUserPermissionBody. # noqa: E501 :rtype: str """ return self._data_center_id @data_center_id.setter def data_center_id(self, data_center_id): - """Sets the data_center_id of this Body1. + """Sets the data_center_id of this AddBillingAccountUserPermissionBody. - :param data_center_id: The data_center_id of this Body1. # noqa: E501 + :param data_center_id: The data_center_id of this AddBillingAccountUserPermissionBody. # noqa: E501 :type: str """ @@ -88,20 +87,20 @@ def data_center_id(self, data_center_id): @property def project_id(self): - """Gets the project_id of this Body1. # noqa: E501 + """Gets the project_id of this AddBillingAccountUserPermissionBody. # noqa: E501 - :return: The project_id of this Body1. # noqa: E501 + :return: The project_id of this AddBillingAccountUserPermissionBody. # noqa: E501 :rtype: str """ return self._project_id @project_id.setter def project_id(self, project_id): - """Sets the project_id of this Body1. + """Sets the project_id of this AddBillingAccountUserPermissionBody. - :param project_id: The project_id of this Body1. # noqa: E501 + :param project_id: The project_id of this AddBillingAccountUserPermissionBody. # noqa: E501 :type: str """ @@ -109,20 +108,20 @@ def project_id(self, project_id): @property def role(self): - """Gets the role of this Body1. # noqa: E501 + """Gets the role of this AddBillingAccountUserPermissionBody. # noqa: E501 - :return: The role of this Body1. # noqa: E501 + :return: The role of this AddBillingAccountUserPermissionBody. # noqa: E501 :rtype: Role """ return self._role @role.setter def role(self, role): - """Sets the role of this Body1. + """Sets the role of this AddBillingAccountUserPermissionBody. - :param role: The role of this Body1. # noqa: E501 + :param role: The role of this AddBillingAccountUserPermissionBody. # noqa: E501 :type: Role """ if self._configuration.client_side_validation and role is None: @@ -132,20 +131,20 @@ def role(self, role): @property def user_email(self): - """Gets the user_email of this Body1. # noqa: E501 + """Gets the user_email of this AddBillingAccountUserPermissionBody. # noqa: E501 - :return: The user_email of this Body1. # noqa: E501 + :return: The user_email of this AddBillingAccountUserPermissionBody. # noqa: E501 :rtype: str """ return self._user_email @user_email.setter def user_email(self, user_email): - """Sets the user_email of this Body1. + """Sets the user_email of this AddBillingAccountUserPermissionBody. - :param user_email: The user_email of this Body1. # noqa: E501 + :param user_email: The user_email of this AddBillingAccountUserPermissionBody. # noqa: E501 :type: str """ if self._configuration.client_side_validation and user_email is None: @@ -174,7 +173,7 @@ def to_dict(self): )) else: result[attr] = value - if issubclass(Body1, dict): + if issubclass(AddBillingAccountUserPermissionBody, dict): for key, value in self.items(): result[key] = value @@ -190,14 +189,14 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, Body1): + if not isinstance(other, AddBillingAccountUserPermissionBody): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" - if not isinstance(other, Body1): + if not isinstance(other, AddBillingAccountUserPermissionBody): return True return self.to_dict() != other.to_dict() diff --git a/docs/src/cudo_compute/models/body3.py b/docs/src/cudo_compute/models/add_data_center_user_permission_body.py similarity index 73% rename from docs/src/cudo_compute/models/body3.py rename to docs/src/cudo_compute/models/add_data_center_user_permission_body.py index 5d0f678..b242d7d 100644 --- a/docs/src/cudo_compute/models/body3.py +++ b/docs/src/cudo_compute/models/add_data_center_user_permission_body.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 @@ -19,7 +18,7 @@ from src.cudo_compute.configuration import Configuration -class Body3(object): +class AddDataCenterUserPermissionBody(object): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -47,7 +46,7 @@ class Body3(object): } def __init__(self, billing_account_id=None, project_id=None, role=None, user_email=None, _configuration=None): # noqa: E501 - """Body3 - a model defined in Swagger""" # noqa: E501 + """AddDataCenterUserPermissionBody - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() self._configuration = _configuration @@ -67,20 +66,20 @@ def __init__(self, billing_account_id=None, project_id=None, role=None, user_ema @property def billing_account_id(self): - """Gets the billing_account_id of this Body3. # noqa: E501 + """Gets the billing_account_id of this AddDataCenterUserPermissionBody. # noqa: E501 - :return: The billing_account_id of this Body3. # noqa: E501 + :return: The billing_account_id of this AddDataCenterUserPermissionBody. # noqa: E501 :rtype: str """ return self._billing_account_id @billing_account_id.setter def billing_account_id(self, billing_account_id): - """Sets the billing_account_id of this Body3. + """Sets the billing_account_id of this AddDataCenterUserPermissionBody. - :param billing_account_id: The billing_account_id of this Body3. # noqa: E501 + :param billing_account_id: The billing_account_id of this AddDataCenterUserPermissionBody. # noqa: E501 :type: str """ @@ -88,20 +87,20 @@ def billing_account_id(self, billing_account_id): @property def project_id(self): - """Gets the project_id of this Body3. # noqa: E501 + """Gets the project_id of this AddDataCenterUserPermissionBody. # noqa: E501 - :return: The project_id of this Body3. # noqa: E501 + :return: The project_id of this AddDataCenterUserPermissionBody. # noqa: E501 :rtype: str """ return self._project_id @project_id.setter def project_id(self, project_id): - """Sets the project_id of this Body3. + """Sets the project_id of this AddDataCenterUserPermissionBody. - :param project_id: The project_id of this Body3. # noqa: E501 + :param project_id: The project_id of this AddDataCenterUserPermissionBody. # noqa: E501 :type: str """ @@ -109,20 +108,20 @@ def project_id(self, project_id): @property def role(self): - """Gets the role of this Body3. # noqa: E501 + """Gets the role of this AddDataCenterUserPermissionBody. # noqa: E501 - :return: The role of this Body3. # noqa: E501 + :return: The role of this AddDataCenterUserPermissionBody. # noqa: E501 :rtype: Role """ return self._role @role.setter def role(self, role): - """Sets the role of this Body3. + """Sets the role of this AddDataCenterUserPermissionBody. - :param role: The role of this Body3. # noqa: E501 + :param role: The role of this AddDataCenterUserPermissionBody. # noqa: E501 :type: Role """ if self._configuration.client_side_validation and role is None: @@ -132,20 +131,20 @@ def role(self, role): @property def user_email(self): - """Gets the user_email of this Body3. # noqa: E501 + """Gets the user_email of this AddDataCenterUserPermissionBody. # noqa: E501 - :return: The user_email of this Body3. # noqa: E501 + :return: The user_email of this AddDataCenterUserPermissionBody. # noqa: E501 :rtype: str """ return self._user_email @user_email.setter def user_email(self, user_email): - """Sets the user_email of this Body3. + """Sets the user_email of this AddDataCenterUserPermissionBody. - :param user_email: The user_email of this Body3. # noqa: E501 + :param user_email: The user_email of this AddDataCenterUserPermissionBody. # noqa: E501 :type: str """ if self._configuration.client_side_validation and user_email is None: @@ -174,7 +173,7 @@ def to_dict(self): )) else: result[attr] = value - if issubclass(Body3, dict): + if issubclass(AddDataCenterUserPermissionBody, dict): for key, value in self.items(): result[key] = value @@ -190,14 +189,14 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, Body3): + if not isinstance(other, AddDataCenterUserPermissionBody): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" - if not isinstance(other, Body3): + if not isinstance(other, AddDataCenterUserPermissionBody): return True return self.to_dict() != other.to_dict() diff --git a/docs/src/cudo_compute/models/body5.py b/docs/src/cudo_compute/models/add_project_user_permission_body.py similarity index 74% rename from docs/src/cudo_compute/models/body5.py rename to docs/src/cudo_compute/models/add_project_user_permission_body.py index 66e8287..37e4542 100644 --- a/docs/src/cudo_compute/models/body5.py +++ b/docs/src/cudo_compute/models/add_project_user_permission_body.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 @@ -19,7 +18,7 @@ from src.cudo_compute.configuration import Configuration -class Body5(object): +class AddProjectUserPermissionBody(object): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -47,7 +46,7 @@ class Body5(object): } def __init__(self, billing_account_id=None, data_center_id=None, role=None, user_email=None, _configuration=None): # noqa: E501 - """Body5 - a model defined in Swagger""" # noqa: E501 + """AddProjectUserPermissionBody - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() self._configuration = _configuration @@ -67,20 +66,20 @@ def __init__(self, billing_account_id=None, data_center_id=None, role=None, user @property def billing_account_id(self): - """Gets the billing_account_id of this Body5. # noqa: E501 + """Gets the billing_account_id of this AddProjectUserPermissionBody. # noqa: E501 - :return: The billing_account_id of this Body5. # noqa: E501 + :return: The billing_account_id of this AddProjectUserPermissionBody. # noqa: E501 :rtype: str """ return self._billing_account_id @billing_account_id.setter def billing_account_id(self, billing_account_id): - """Sets the billing_account_id of this Body5. + """Sets the billing_account_id of this AddProjectUserPermissionBody. - :param billing_account_id: The billing_account_id of this Body5. # noqa: E501 + :param billing_account_id: The billing_account_id of this AddProjectUserPermissionBody. # noqa: E501 :type: str """ @@ -88,20 +87,20 @@ def billing_account_id(self, billing_account_id): @property def data_center_id(self): - """Gets the data_center_id of this Body5. # noqa: E501 + """Gets the data_center_id of this AddProjectUserPermissionBody. # noqa: E501 - :return: The data_center_id of this Body5. # noqa: E501 + :return: The data_center_id of this AddProjectUserPermissionBody. # noqa: E501 :rtype: str """ return self._data_center_id @data_center_id.setter def data_center_id(self, data_center_id): - """Sets the data_center_id of this Body5. + """Sets the data_center_id of this AddProjectUserPermissionBody. - :param data_center_id: The data_center_id of this Body5. # noqa: E501 + :param data_center_id: The data_center_id of this AddProjectUserPermissionBody. # noqa: E501 :type: str """ @@ -109,20 +108,20 @@ def data_center_id(self, data_center_id): @property def role(self): - """Gets the role of this Body5. # noqa: E501 + """Gets the role of this AddProjectUserPermissionBody. # noqa: E501 - :return: The role of this Body5. # noqa: E501 + :return: The role of this AddProjectUserPermissionBody. # noqa: E501 :rtype: Role """ return self._role @role.setter def role(self, role): - """Sets the role of this Body5. + """Sets the role of this AddProjectUserPermissionBody. - :param role: The role of this Body5. # noqa: E501 + :param role: The role of this AddProjectUserPermissionBody. # noqa: E501 :type: Role """ if self._configuration.client_side_validation and role is None: @@ -132,20 +131,20 @@ def role(self, role): @property def user_email(self): - """Gets the user_email of this Body5. # noqa: E501 + """Gets the user_email of this AddProjectUserPermissionBody. # noqa: E501 - :return: The user_email of this Body5. # noqa: E501 + :return: The user_email of this AddProjectUserPermissionBody. # noqa: E501 :rtype: str """ return self._user_email @user_email.setter def user_email(self, user_email): - """Sets the user_email of this Body5. + """Sets the user_email of this AddProjectUserPermissionBody. - :param user_email: The user_email of this Body5. # noqa: E501 + :param user_email: The user_email of this AddProjectUserPermissionBody. # noqa: E501 :type: str """ if self._configuration.client_side_validation and user_email is None: @@ -174,7 +173,7 @@ def to_dict(self): )) else: result[attr] = value - if issubclass(Body5, dict): + if issubclass(AddProjectUserPermissionBody, dict): for key, value in self.items(): result[key] = value @@ -190,14 +189,14 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, Body5): + if not isinstance(other, AddProjectUserPermissionBody): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" - if not isinstance(other, Body5): + if not isinstance(other, AddProjectUserPermissionBody): return True return self.to_dict() != other.to_dict() diff --git a/docs/src/cudo_compute/models/any.py b/docs/src/cudo_compute/models/any.py index 27c9563..4c1f613 100644 --- a/docs/src/cudo_compute/models/any.py +++ b/docs/src/cudo_compute/models/any.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/api_key.py b/docs/src/cudo_compute/models/api_key.py index 8484289..c1e641f 100644 --- a/docs/src/cudo_compute/models/api_key.py +++ b/docs/src/cudo_compute/models/api_key.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/attach_security_group_response.py b/docs/src/cudo_compute/models/attach_security_group_response.py index 03d60b9..eb0c745 100644 --- a/docs/src/cudo_compute/models/attach_security_group_response.py +++ b/docs/src/cudo_compute/models/attach_security_group_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/attach_storage_disk_response.py b/docs/src/cudo_compute/models/attach_storage_disk_response.py index bd8f1f2..27c1e05 100644 --- a/docs/src/cudo_compute/models/attach_storage_disk_response.py +++ b/docs/src/cudo_compute/models/attach_storage_disk_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/billing_account.py b/docs/src/cudo_compute/models/billing_account.py index a47f218..4eef6fd 100644 --- a/docs/src/cudo_compute/models/billing_account.py +++ b/docs/src/cudo_compute/models/billing_account.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/billing_account_payment_method.py b/docs/src/cudo_compute/models/billing_account_payment_method.py index 2f5f094..3413dd5 100644 --- a/docs/src/cudo_compute/models/billing_account_payment_method.py +++ b/docs/src/cudo_compute/models/billing_account_payment_method.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/billing_account_payment_methods.py b/docs/src/cudo_compute/models/billing_account_payment_methods.py index 3fd32be..2d2df61 100644 --- a/docs/src/cudo_compute/models/billing_account_payment_methods.py +++ b/docs/src/cudo_compute/models/billing_account_payment_methods.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/billing_account_setup_intent.py b/docs/src/cudo_compute/models/billing_account_setup_intent.py index 0276331..6824892 100644 --- a/docs/src/cudo_compute/models/billing_account_setup_intent.py +++ b/docs/src/cudo_compute/models/billing_account_setup_intent.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/billing_account_spend_row.py b/docs/src/cudo_compute/models/billing_account_spend_row.py index 5728c91..cf03548 100644 --- a/docs/src/cudo_compute/models/billing_account_spend_row.py +++ b/docs/src/cudo_compute/models/billing_account_spend_row.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/cluster.py b/docs/src/cudo_compute/models/cluster.py index a8723de..f100007 100644 --- a/docs/src/cudo_compute/models/cluster.py +++ b/docs/src/cudo_compute/models/cluster.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/connect_vm_response.py b/docs/src/cudo_compute/models/connect_vm_response.py index 89411b7..ee1885b 100644 --- a/docs/src/cudo_compute/models/connect_vm_response.py +++ b/docs/src/cudo_compute/models/connect_vm_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/count_hosts_response.py b/docs/src/cudo_compute/models/count_hosts_response.py index da672b2..7991ae2 100644 --- a/docs/src/cudo_compute/models/count_hosts_response.py +++ b/docs/src/cudo_compute/models/count_hosts_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/count_vms_response.py b/docs/src/cudo_compute/models/count_vms_response.py index bb9d77d..d8f079e 100644 --- a/docs/src/cudo_compute/models/count_vms_response.py +++ b/docs/src/cudo_compute/models/count_vms_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/cpu_model_category.py b/docs/src/cudo_compute/models/cpu_model_category.py index af35136..6c87dd3 100644 --- a/docs/src/cudo_compute/models/cpu_model_category.py +++ b/docs/src/cudo_compute/models/cpu_model_category.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/create_billing_account_request.py b/docs/src/cudo_compute/models/create_billing_account_request.py index 6d96152..9a54bd0 100644 --- a/docs/src/cudo_compute/models/create_billing_account_request.py +++ b/docs/src/cudo_compute/models/create_billing_account_request.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/body7.py b/docs/src/cudo_compute/models/create_disk_snapshot_body.py similarity index 80% rename from docs/src/cudo_compute/models/body7.py rename to docs/src/cudo_compute/models/create_disk_snapshot_body.py index 10f58d2..b1dc500 100644 --- a/docs/src/cudo_compute/models/body7.py +++ b/docs/src/cudo_compute/models/create_disk_snapshot_body.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 @@ -19,7 +18,7 @@ from src.cudo_compute.configuration import Configuration -class Body7(object): +class CreateDiskSnapshotBody(object): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -43,7 +42,7 @@ class Body7(object): } def __init__(self, snapshot_id=None, vm_id=None, _configuration=None): # noqa: E501 - """Body7 - a model defined in Swagger""" # noqa: E501 + """CreateDiskSnapshotBody - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() self._configuration = _configuration @@ -57,20 +56,20 @@ def __init__(self, snapshot_id=None, vm_id=None, _configuration=None): # noqa: @property def snapshot_id(self): - """Gets the snapshot_id of this Body7. # noqa: E501 + """Gets the snapshot_id of this CreateDiskSnapshotBody. # noqa: E501 - :return: The snapshot_id of this Body7. # noqa: E501 + :return: The snapshot_id of this CreateDiskSnapshotBody. # noqa: E501 :rtype: str """ return self._snapshot_id @snapshot_id.setter def snapshot_id(self, snapshot_id): - """Sets the snapshot_id of this Body7. + """Sets the snapshot_id of this CreateDiskSnapshotBody. - :param snapshot_id: The snapshot_id of this Body7. # noqa: E501 + :param snapshot_id: The snapshot_id of this CreateDiskSnapshotBody. # noqa: E501 :type: str """ if self._configuration.client_side_validation and snapshot_id is None: @@ -80,20 +79,20 @@ def snapshot_id(self, snapshot_id): @property def vm_id(self): - """Gets the vm_id of this Body7. # noqa: E501 + """Gets the vm_id of this CreateDiskSnapshotBody. # noqa: E501 - :return: The vm_id of this Body7. # noqa: E501 + :return: The vm_id of this CreateDiskSnapshotBody. # noqa: E501 :rtype: str """ return self._vm_id @vm_id.setter def vm_id(self, vm_id): - """Sets the vm_id of this Body7. + """Sets the vm_id of this CreateDiskSnapshotBody. - :param vm_id: The vm_id of this Body7. # noqa: E501 + :param vm_id: The vm_id of this CreateDiskSnapshotBody. # noqa: E501 :type: str """ if self._configuration.client_side_validation and vm_id is None: @@ -122,7 +121,7 @@ def to_dict(self): )) else: result[attr] = value - if issubclass(Body7, dict): + if issubclass(CreateDiskSnapshotBody, dict): for key, value in self.items(): result[key] = value @@ -138,14 +137,14 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, Body7): + if not isinstance(other, CreateDiskSnapshotBody): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" - if not isinstance(other, Body7): + if not isinstance(other, CreateDiskSnapshotBody): return True return self.to_dict() != other.to_dict() diff --git a/docs/src/cudo_compute/models/create_disk_snapshot_response.py b/docs/src/cudo_compute/models/create_disk_snapshot_response.py index b0ba9bd..85cdc46 100644 --- a/docs/src/cudo_compute/models/create_disk_snapshot_response.py +++ b/docs/src/cudo_compute/models/create_disk_snapshot_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/body8.py b/docs/src/cudo_compute/models/create_network_body.py similarity index 75% rename from docs/src/cudo_compute/models/body8.py rename to docs/src/cudo_compute/models/create_network_body.py index 72e488b..cdbf09c 100644 --- a/docs/src/cudo_compute/models/body8.py +++ b/docs/src/cudo_compute/models/create_network_body.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 @@ -19,7 +18,7 @@ from src.cudo_compute.configuration import Configuration -class Body8(object): +class CreateNetworkBody(object): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -49,7 +48,7 @@ class Body8(object): } def __init__(self, cidr_prefix=None, data_center_id=None, id=None, network_id=None, vrouter_size=None, _configuration=None): # noqa: E501 - """Body8 - a model defined in Swagger""" # noqa: E501 + """CreateNetworkBody - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() self._configuration = _configuration @@ -70,20 +69,20 @@ def __init__(self, cidr_prefix=None, data_center_id=None, id=None, network_id=No @property def cidr_prefix(self): - """Gets the cidr_prefix of this Body8. # noqa: E501 + """Gets the cidr_prefix of this CreateNetworkBody. # noqa: E501 - :return: The cidr_prefix of this Body8. # noqa: E501 + :return: The cidr_prefix of this CreateNetworkBody. # noqa: E501 :rtype: str """ return self._cidr_prefix @cidr_prefix.setter def cidr_prefix(self, cidr_prefix): - """Sets the cidr_prefix of this Body8. + """Sets the cidr_prefix of this CreateNetworkBody. - :param cidr_prefix: The cidr_prefix of this Body8. # noqa: E501 + :param cidr_prefix: The cidr_prefix of this CreateNetworkBody. # noqa: E501 :type: str """ if self._configuration.client_side_validation and cidr_prefix is None: @@ -93,20 +92,20 @@ def cidr_prefix(self, cidr_prefix): @property def data_center_id(self): - """Gets the data_center_id of this Body8. # noqa: E501 + """Gets the data_center_id of this CreateNetworkBody. # noqa: E501 - :return: The data_center_id of this Body8. # noqa: E501 + :return: The data_center_id of this CreateNetworkBody. # noqa: E501 :rtype: str """ return self._data_center_id @data_center_id.setter def data_center_id(self, data_center_id): - """Sets the data_center_id of this Body8. + """Sets the data_center_id of this CreateNetworkBody. - :param data_center_id: The data_center_id of this Body8. # noqa: E501 + :param data_center_id: The data_center_id of this CreateNetworkBody. # noqa: E501 :type: str """ if self._configuration.client_side_validation and data_center_id is None: @@ -116,20 +115,20 @@ def data_center_id(self, data_center_id): @property def id(self): - """Gets the id of this Body8. # noqa: E501 + """Gets the id of this CreateNetworkBody. # noqa: E501 - :return: The id of this Body8. # noqa: E501 + :return: The id of this CreateNetworkBody. # noqa: E501 :rtype: str """ return self._id @id.setter def id(self, id): - """Sets the id of this Body8. + """Sets the id of this CreateNetworkBody. - :param id: The id of this Body8. # noqa: E501 + :param id: The id of this CreateNetworkBody. # noqa: E501 :type: str """ if self._configuration.client_side_validation and id is None: @@ -139,20 +138,20 @@ def id(self, id): @property def network_id(self): - """Gets the network_id of this Body8. # noqa: E501 + """Gets the network_id of this CreateNetworkBody. # noqa: E501 - :return: The network_id of this Body8. # noqa: E501 + :return: The network_id of this CreateNetworkBody. # noqa: E501 :rtype: str """ return self._network_id @network_id.setter def network_id(self, network_id): - """Sets the network_id of this Body8. + """Sets the network_id of this CreateNetworkBody. - :param network_id: The network_id of this Body8. # noqa: E501 + :param network_id: The network_id of this CreateNetworkBody. # noqa: E501 :type: str """ if self._configuration.client_side_validation and network_id is None: @@ -162,20 +161,20 @@ def network_id(self, network_id): @property def vrouter_size(self): - """Gets the vrouter_size of this Body8. # noqa: E501 + """Gets the vrouter_size of this CreateNetworkBody. # noqa: E501 - :return: The vrouter_size of this Body8. # noqa: E501 + :return: The vrouter_size of this CreateNetworkBody. # noqa: E501 :rtype: VRouterSize """ return self._vrouter_size @vrouter_size.setter def vrouter_size(self, vrouter_size): - """Sets the vrouter_size of this Body8. + """Sets the vrouter_size of this CreateNetworkBody. - :param vrouter_size: The vrouter_size of this Body8. # noqa: E501 + :param vrouter_size: The vrouter_size of this CreateNetworkBody. # noqa: E501 :type: VRouterSize """ @@ -202,7 +201,7 @@ def to_dict(self): )) else: result[attr] = value - if issubclass(Body8, dict): + if issubclass(CreateNetworkBody, dict): for key, value in self.items(): result[key] = value @@ -218,14 +217,14 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, Body8): + if not isinstance(other, CreateNetworkBody): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" - if not isinstance(other, Body8): + if not isinstance(other, CreateNetworkBody): return True return self.to_dict() != other.to_dict() diff --git a/docs/src/cudo_compute/models/create_network_response.py b/docs/src/cudo_compute/models/create_network_response.py index ee39a8a..0ccc9c5 100644 --- a/docs/src/cudo_compute/models/create_network_response.py +++ b/docs/src/cudo_compute/models/create_network_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/body10.py b/docs/src/cudo_compute/models/create_object_storage_user_body.py similarity index 82% rename from docs/src/cudo_compute/models/body10.py rename to docs/src/cudo_compute/models/create_object_storage_user_body.py index d4f8463..6fcf828 100644 --- a/docs/src/cudo_compute/models/body10.py +++ b/docs/src/cudo_compute/models/create_object_storage_user_body.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 @@ -19,7 +18,7 @@ from src.cudo_compute.configuration import Configuration -class Body10(object): +class CreateObjectStorageUserBody(object): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -41,7 +40,7 @@ class Body10(object): } def __init__(self, id=None, _configuration=None): # noqa: E501 - """Body10 - a model defined in Swagger""" # noqa: E501 + """CreateObjectStorageUserBody - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() self._configuration = _configuration @@ -54,20 +53,20 @@ def __init__(self, id=None, _configuration=None): # noqa: E501 @property def id(self): - """Gets the id of this Body10. # noqa: E501 + """Gets the id of this CreateObjectStorageUserBody. # noqa: E501 - :return: The id of this Body10. # noqa: E501 + :return: The id of this CreateObjectStorageUserBody. # noqa: E501 :rtype: str """ return self._id @id.setter def id(self, id): - """Sets the id of this Body10. + """Sets the id of this CreateObjectStorageUserBody. - :param id: The id of this Body10. # noqa: E501 + :param id: The id of this CreateObjectStorageUserBody. # noqa: E501 :type: str """ @@ -94,7 +93,7 @@ def to_dict(self): )) else: result[attr] = value - if issubclass(Body10, dict): + if issubclass(CreateObjectStorageUserBody, dict): for key, value in self.items(): result[key] = value @@ -110,14 +109,14 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, Body10): + if not isinstance(other, CreateObjectStorageUserBody): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" - if not isinstance(other, Body10): + if not isinstance(other, CreateObjectStorageUserBody): return True return self.to_dict() != other.to_dict() diff --git a/docs/src/cudo_compute/models/create_private_vm_image_response.py b/docs/src/cudo_compute/models/create_private_vm_image_response.py index c24511c..b5e0221 100644 --- a/docs/src/cudo_compute/models/create_private_vm_image_response.py +++ b/docs/src/cudo_compute/models/create_private_vm_image_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/create_security_group_response.py b/docs/src/cudo_compute/models/create_security_group_response.py index 3f119ee..84b3298 100644 --- a/docs/src/cudo_compute/models/create_security_group_response.py +++ b/docs/src/cudo_compute/models/create_security_group_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/body6.py b/docs/src/cudo_compute/models/create_storage_disk_body.py similarity index 79% rename from docs/src/cudo_compute/models/body6.py rename to docs/src/cudo_compute/models/create_storage_disk_body.py index fb299e2..be27add 100644 --- a/docs/src/cudo_compute/models/body6.py +++ b/docs/src/cudo_compute/models/create_storage_disk_body.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 @@ -19,7 +18,7 @@ from src.cudo_compute.configuration import Configuration -class Body6(object): +class CreateStorageDiskBody(object): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -43,7 +42,7 @@ class Body6(object): } def __init__(self, data_center_id=None, disk=None, _configuration=None): # noqa: E501 - """Body6 - a model defined in Swagger""" # noqa: E501 + """CreateStorageDiskBody - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() self._configuration = _configuration @@ -59,20 +58,20 @@ def __init__(self, data_center_id=None, disk=None, _configuration=None): # noqa @property def data_center_id(self): - """Gets the data_center_id of this Body6. # noqa: E501 + """Gets the data_center_id of this CreateStorageDiskBody. # noqa: E501 - :return: The data_center_id of this Body6. # noqa: E501 + :return: The data_center_id of this CreateStorageDiskBody. # noqa: E501 :rtype: str """ return self._data_center_id @data_center_id.setter def data_center_id(self, data_center_id): - """Sets the data_center_id of this Body6. + """Sets the data_center_id of this CreateStorageDiskBody. - :param data_center_id: The data_center_id of this Body6. # noqa: E501 + :param data_center_id: The data_center_id of this CreateStorageDiskBody. # noqa: E501 :type: str """ @@ -80,20 +79,20 @@ def data_center_id(self, data_center_id): @property def disk(self): - """Gets the disk of this Body6. # noqa: E501 + """Gets the disk of this CreateStorageDiskBody. # noqa: E501 - :return: The disk of this Body6. # noqa: E501 + :return: The disk of this CreateStorageDiskBody. # noqa: E501 :rtype: Disk """ return self._disk @disk.setter def disk(self, disk): - """Sets the disk of this Body6. + """Sets the disk of this CreateStorageDiskBody. - :param disk: The disk of this Body6. # noqa: E501 + :param disk: The disk of this CreateStorageDiskBody. # noqa: E501 :type: Disk """ @@ -120,7 +119,7 @@ def to_dict(self): )) else: result[attr] = value - if issubclass(Body6, dict): + if issubclass(CreateStorageDiskBody, dict): for key, value in self.items(): result[key] = value @@ -136,14 +135,14 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, Body6): + if not isinstance(other, CreateStorageDiskBody): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" - if not isinstance(other, Body6): + if not isinstance(other, CreateStorageDiskBody): return True return self.to_dict() != other.to_dict() diff --git a/docs/src/cudo_compute/models/create_storage_disk_response.py b/docs/src/cudo_compute/models/create_storage_disk_response.py index f6691a6..47ce5e7 100644 --- a/docs/src/cudo_compute/models/create_storage_disk_response.py +++ b/docs/src/cudo_compute/models/create_storage_disk_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/body12.py b/docs/src/cudo_compute/models/create_vm_body.py similarity index 69% rename from docs/src/cudo_compute/models/body12.py rename to docs/src/cudo_compute/models/create_vm_body.py index 6ca5cc0..b4c94f9 100644 --- a/docs/src/cudo_compute/models/body12.py +++ b/docs/src/cudo_compute/models/create_vm_body.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 @@ -19,7 +18,7 @@ from src.cudo_compute.configuration import Configuration -class Body12(object): +class CreateVMBody(object): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -77,7 +76,7 @@ class Body12(object): } def __init__(self, boot_disk=None, boot_disk_image_id=None, cpu_model=None, custom_ssh_keys=None, data_center_id=None, gpu_model=None, gpus=None, machine_type=None, max_price_hr=None, memory_gib=None, metadata=None, nics=None, password=None, security_group_ids=None, ssh_key_source=None, start_script=None, storage_disk_ids=None, vcpus=None, vm_id=None, _configuration=None): # noqa: E501 - """Body12 - a model defined in Swagger""" # noqa: E501 + """CreateVMBody - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() self._configuration = _configuration @@ -142,20 +141,20 @@ def __init__(self, boot_disk=None, boot_disk_image_id=None, cpu_model=None, cust @property def boot_disk(self): - """Gets the boot_disk of this Body12. # noqa: E501 + """Gets the boot_disk of this CreateVMBody. # noqa: E501 - :return: The boot_disk of this Body12. # noqa: E501 + :return: The boot_disk of this CreateVMBody. # noqa: E501 :rtype: Disk """ return self._boot_disk @boot_disk.setter def boot_disk(self, boot_disk): - """Sets the boot_disk of this Body12. + """Sets the boot_disk of this CreateVMBody. - :param boot_disk: The boot_disk of this Body12. # noqa: E501 + :param boot_disk: The boot_disk of this CreateVMBody. # noqa: E501 :type: Disk """ @@ -163,20 +162,20 @@ def boot_disk(self, boot_disk): @property def boot_disk_image_id(self): - """Gets the boot_disk_image_id of this Body12. # noqa: E501 + """Gets the boot_disk_image_id of this CreateVMBody. # noqa: E501 - :return: The boot_disk_image_id of this Body12. # noqa: E501 + :return: The boot_disk_image_id of this CreateVMBody. # noqa: E501 :rtype: str """ return self._boot_disk_image_id @boot_disk_image_id.setter def boot_disk_image_id(self, boot_disk_image_id): - """Sets the boot_disk_image_id of this Body12. + """Sets the boot_disk_image_id of this CreateVMBody. - :param boot_disk_image_id: The boot_disk_image_id of this Body12. # noqa: E501 + :param boot_disk_image_id: The boot_disk_image_id of this CreateVMBody. # noqa: E501 :type: str """ if self._configuration.client_side_validation and boot_disk_image_id is None: @@ -186,20 +185,20 @@ def boot_disk_image_id(self, boot_disk_image_id): @property def cpu_model(self): - """Gets the cpu_model of this Body12. # noqa: E501 + """Gets the cpu_model of this CreateVMBody. # noqa: E501 - :return: The cpu_model of this Body12. # noqa: E501 + :return: The cpu_model of this CreateVMBody. # noqa: E501 :rtype: str """ return self._cpu_model @cpu_model.setter def cpu_model(self, cpu_model): - """Sets the cpu_model of this Body12. + """Sets the cpu_model of this CreateVMBody. - :param cpu_model: The cpu_model of this Body12. # noqa: E501 + :param cpu_model: The cpu_model of this CreateVMBody. # noqa: E501 :type: str """ @@ -207,20 +206,20 @@ def cpu_model(self, cpu_model): @property def custom_ssh_keys(self): - """Gets the custom_ssh_keys of this Body12. # noqa: E501 + """Gets the custom_ssh_keys of this CreateVMBody. # noqa: E501 - :return: The custom_ssh_keys of this Body12. # noqa: E501 + :return: The custom_ssh_keys of this CreateVMBody. # noqa: E501 :rtype: list[str] """ return self._custom_ssh_keys @custom_ssh_keys.setter def custom_ssh_keys(self, custom_ssh_keys): - """Sets the custom_ssh_keys of this Body12. + """Sets the custom_ssh_keys of this CreateVMBody. - :param custom_ssh_keys: The custom_ssh_keys of this Body12. # noqa: E501 + :param custom_ssh_keys: The custom_ssh_keys of this CreateVMBody. # noqa: E501 :type: list[str] """ @@ -228,20 +227,20 @@ def custom_ssh_keys(self, custom_ssh_keys): @property def data_center_id(self): - """Gets the data_center_id of this Body12. # noqa: E501 + """Gets the data_center_id of this CreateVMBody. # noqa: E501 - :return: The data_center_id of this Body12. # noqa: E501 + :return: The data_center_id of this CreateVMBody. # noqa: E501 :rtype: str """ return self._data_center_id @data_center_id.setter def data_center_id(self, data_center_id): - """Sets the data_center_id of this Body12. + """Sets the data_center_id of this CreateVMBody. - :param data_center_id: The data_center_id of this Body12. # noqa: E501 + :param data_center_id: The data_center_id of this CreateVMBody. # noqa: E501 :type: str """ @@ -249,20 +248,20 @@ def data_center_id(self, data_center_id): @property def gpu_model(self): - """Gets the gpu_model of this Body12. # noqa: E501 + """Gets the gpu_model of this CreateVMBody. # noqa: E501 - :return: The gpu_model of this Body12. # noqa: E501 + :return: The gpu_model of this CreateVMBody. # noqa: E501 :rtype: str """ return self._gpu_model @gpu_model.setter def gpu_model(self, gpu_model): - """Sets the gpu_model of this Body12. + """Sets the gpu_model of this CreateVMBody. - :param gpu_model: The gpu_model of this Body12. # noqa: E501 + :param gpu_model: The gpu_model of this CreateVMBody. # noqa: E501 :type: str """ @@ -270,20 +269,20 @@ def gpu_model(self, gpu_model): @property def gpus(self): - """Gets the gpus of this Body12. # noqa: E501 + """Gets the gpus of this CreateVMBody. # noqa: E501 - :return: The gpus of this Body12. # noqa: E501 + :return: The gpus of this CreateVMBody. # noqa: E501 :rtype: int """ return self._gpus @gpus.setter def gpus(self, gpus): - """Sets the gpus of this Body12. + """Sets the gpus of this CreateVMBody. - :param gpus: The gpus of this Body12. # noqa: E501 + :param gpus: The gpus of this CreateVMBody. # noqa: E501 :type: int """ @@ -291,20 +290,20 @@ def gpus(self, gpus): @property def machine_type(self): - """Gets the machine_type of this Body12. # noqa: E501 + """Gets the machine_type of this CreateVMBody. # noqa: E501 - :return: The machine_type of this Body12. # noqa: E501 + :return: The machine_type of this CreateVMBody. # noqa: E501 :rtype: str """ return self._machine_type @machine_type.setter def machine_type(self, machine_type): - """Sets the machine_type of this Body12. + """Sets the machine_type of this CreateVMBody. - :param machine_type: The machine_type of this Body12. # noqa: E501 + :param machine_type: The machine_type of this CreateVMBody. # noqa: E501 :type: str """ @@ -312,20 +311,20 @@ def machine_type(self, machine_type): @property def max_price_hr(self): - """Gets the max_price_hr of this Body12. # noqa: E501 + """Gets the max_price_hr of this CreateVMBody. # noqa: E501 - :return: The max_price_hr of this Body12. # noqa: E501 + :return: The max_price_hr of this CreateVMBody. # noqa: E501 :rtype: Decimal """ return self._max_price_hr @max_price_hr.setter def max_price_hr(self, max_price_hr): - """Sets the max_price_hr of this Body12. + """Sets the max_price_hr of this CreateVMBody. - :param max_price_hr: The max_price_hr of this Body12. # noqa: E501 + :param max_price_hr: The max_price_hr of this CreateVMBody. # noqa: E501 :type: Decimal """ @@ -333,20 +332,20 @@ def max_price_hr(self, max_price_hr): @property def memory_gib(self): - """Gets the memory_gib of this Body12. # noqa: E501 + """Gets the memory_gib of this CreateVMBody. # noqa: E501 - :return: The memory_gib of this Body12. # noqa: E501 + :return: The memory_gib of this CreateVMBody. # noqa: E501 :rtype: int """ return self._memory_gib @memory_gib.setter def memory_gib(self, memory_gib): - """Sets the memory_gib of this Body12. + """Sets the memory_gib of this CreateVMBody. - :param memory_gib: The memory_gib of this Body12. # noqa: E501 + :param memory_gib: The memory_gib of this CreateVMBody. # noqa: E501 :type: int """ @@ -354,20 +353,20 @@ def memory_gib(self, memory_gib): @property def metadata(self): - """Gets the metadata of this Body12. # noqa: E501 + """Gets the metadata of this CreateVMBody. # noqa: E501 - :return: The metadata of this Body12. # noqa: E501 + :return: The metadata of this CreateVMBody. # noqa: E501 :rtype: dict(str, str) """ return self._metadata @metadata.setter def metadata(self, metadata): - """Sets the metadata of this Body12. + """Sets the metadata of this CreateVMBody. - :param metadata: The metadata of this Body12. # noqa: E501 + :param metadata: The metadata of this CreateVMBody. # noqa: E501 :type: dict(str, str) """ @@ -375,20 +374,20 @@ def metadata(self, metadata): @property def nics(self): - """Gets the nics of this Body12. # noqa: E501 + """Gets the nics of this CreateVMBody. # noqa: E501 - :return: The nics of this Body12. # noqa: E501 + :return: The nics of this CreateVMBody. # noqa: E501 :rtype: list[CreateVMRequestNIC] """ return self._nics @nics.setter def nics(self, nics): - """Sets the nics of this Body12. + """Sets the nics of this CreateVMBody. - :param nics: The nics of this Body12. # noqa: E501 + :param nics: The nics of this CreateVMBody. # noqa: E501 :type: list[CreateVMRequestNIC] """ @@ -396,20 +395,20 @@ def nics(self, nics): @property def password(self): - """Gets the password of this Body12. # noqa: E501 + """Gets the password of this CreateVMBody. # noqa: E501 - :return: The password of this Body12. # noqa: E501 + :return: The password of this CreateVMBody. # noqa: E501 :rtype: str """ return self._password @password.setter def password(self, password): - """Sets the password of this Body12. + """Sets the password of this CreateVMBody. - :param password: The password of this Body12. # noqa: E501 + :param password: The password of this CreateVMBody. # noqa: E501 :type: str """ @@ -417,20 +416,20 @@ def password(self, password): @property def security_group_ids(self): - """Gets the security_group_ids of this Body12. # noqa: E501 + """Gets the security_group_ids of this CreateVMBody. # noqa: E501 - :return: The security_group_ids of this Body12. # noqa: E501 + :return: The security_group_ids of this CreateVMBody. # noqa: E501 :rtype: list[str] """ return self._security_group_ids @security_group_ids.setter def security_group_ids(self, security_group_ids): - """Sets the security_group_ids of this Body12. + """Sets the security_group_ids of this CreateVMBody. - :param security_group_ids: The security_group_ids of this Body12. # noqa: E501 + :param security_group_ids: The security_group_ids of this CreateVMBody. # noqa: E501 :type: list[str] """ @@ -438,20 +437,20 @@ def security_group_ids(self, security_group_ids): @property def ssh_key_source(self): - """Gets the ssh_key_source of this Body12. # noqa: E501 + """Gets the ssh_key_source of this CreateVMBody. # noqa: E501 - :return: The ssh_key_source of this Body12. # noqa: E501 + :return: The ssh_key_source of this CreateVMBody. # noqa: E501 :rtype: SshKeySource """ return self._ssh_key_source @ssh_key_source.setter def ssh_key_source(self, ssh_key_source): - """Sets the ssh_key_source of this Body12. + """Sets the ssh_key_source of this CreateVMBody. - :param ssh_key_source: The ssh_key_source of this Body12. # noqa: E501 + :param ssh_key_source: The ssh_key_source of this CreateVMBody. # noqa: E501 :type: SshKeySource """ @@ -459,20 +458,20 @@ def ssh_key_source(self, ssh_key_source): @property def start_script(self): - """Gets the start_script of this Body12. # noqa: E501 + """Gets the start_script of this CreateVMBody. # noqa: E501 - :return: The start_script of this Body12. # noqa: E501 + :return: The start_script of this CreateVMBody. # noqa: E501 :rtype: str """ return self._start_script @start_script.setter def start_script(self, start_script): - """Sets the start_script of this Body12. + """Sets the start_script of this CreateVMBody. - :param start_script: The start_script of this Body12. # noqa: E501 + :param start_script: The start_script of this CreateVMBody. # noqa: E501 :type: str """ @@ -480,20 +479,20 @@ def start_script(self, start_script): @property def storage_disk_ids(self): - """Gets the storage_disk_ids of this Body12. # noqa: E501 + """Gets the storage_disk_ids of this CreateVMBody. # noqa: E501 - :return: The storage_disk_ids of this Body12. # noqa: E501 + :return: The storage_disk_ids of this CreateVMBody. # noqa: E501 :rtype: list[str] """ return self._storage_disk_ids @storage_disk_ids.setter def storage_disk_ids(self, storage_disk_ids): - """Sets the storage_disk_ids of this Body12. + """Sets the storage_disk_ids of this CreateVMBody. - :param storage_disk_ids: The storage_disk_ids of this Body12. # noqa: E501 + :param storage_disk_ids: The storage_disk_ids of this CreateVMBody. # noqa: E501 :type: list[str] """ @@ -501,20 +500,20 @@ def storage_disk_ids(self, storage_disk_ids): @property def vcpus(self): - """Gets the vcpus of this Body12. # noqa: E501 + """Gets the vcpus of this CreateVMBody. # noqa: E501 - :return: The vcpus of this Body12. # noqa: E501 + :return: The vcpus of this CreateVMBody. # noqa: E501 :rtype: int """ return self._vcpus @vcpus.setter def vcpus(self, vcpus): - """Sets the vcpus of this Body12. + """Sets the vcpus of this CreateVMBody. - :param vcpus: The vcpus of this Body12. # noqa: E501 + :param vcpus: The vcpus of this CreateVMBody. # noqa: E501 :type: int """ @@ -522,20 +521,20 @@ def vcpus(self, vcpus): @property def vm_id(self): - """Gets the vm_id of this Body12. # noqa: E501 + """Gets the vm_id of this CreateVMBody. # noqa: E501 - :return: The vm_id of this Body12. # noqa: E501 + :return: The vm_id of this CreateVMBody. # noqa: E501 :rtype: str """ return self._vm_id @vm_id.setter def vm_id(self, vm_id): - """Sets the vm_id of this Body12. + """Sets the vm_id of this CreateVMBody. - :param vm_id: The vm_id of this Body12. # noqa: E501 + :param vm_id: The vm_id of this CreateVMBody. # noqa: E501 :type: str """ if self._configuration.client_side_validation and vm_id is None: @@ -564,7 +563,7 @@ def to_dict(self): )) else: result[attr] = value - if issubclass(Body12, dict): + if issubclass(CreateVMBody, dict): for key, value in self.items(): result[key] = value @@ -580,14 +579,14 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, Body12): + if not isinstance(other, CreateVMBody): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" - if not isinstance(other, Body12): + if not isinstance(other, CreateVMBody): return True return self.to_dict() != other.to_dict() diff --git a/docs/src/cudo_compute/models/create_vm_request_nic.py b/docs/src/cudo_compute/models/create_vm_request_nic.py index 12a2b1c..219821a 100644 --- a/docs/src/cudo_compute/models/create_vm_request_nic.py +++ b/docs/src/cudo_compute/models/create_vm_request_nic.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/create_vm_response.py b/docs/src/cudo_compute/models/create_vm_response.py index 2bd09b5..0a0cbe6 100644 --- a/docs/src/cudo_compute/models/create_vm_response.py +++ b/docs/src/cudo_compute/models/create_vm_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/data_center.py b/docs/src/cudo_compute/models/data_center.py index 03c369a..7f88b16 100644 --- a/docs/src/cudo_compute/models/data_center.py +++ b/docs/src/cudo_compute/models/data_center.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/data_center_category.py b/docs/src/cudo_compute/models/data_center_category.py index 6b9d843..db46e4f 100644 --- a/docs/src/cudo_compute/models/data_center_category.py +++ b/docs/src/cudo_compute/models/data_center_category.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/data_center_revenue_resource.py b/docs/src/cudo_compute/models/data_center_revenue_resource.py index e1bd11a..55ebd79 100644 --- a/docs/src/cudo_compute/models/data_center_revenue_resource.py +++ b/docs/src/cudo_compute/models/data_center_revenue_resource.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/data_center_time_revenue.py b/docs/src/cudo_compute/models/data_center_time_revenue.py index 91e096f..43fc4d3 100644 --- a/docs/src/cudo_compute/models/data_center_time_revenue.py +++ b/docs/src/cudo_compute/models/data_center_time_revenue.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/decimal.py b/docs/src/cudo_compute/models/decimal.py index 103a893..95d8bc4 100644 --- a/docs/src/cudo_compute/models/decimal.py +++ b/docs/src/cudo_compute/models/decimal.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/delete_disk_snapshot_response.py b/docs/src/cudo_compute/models/delete_disk_snapshot_response.py index be433c3..1270204 100644 --- a/docs/src/cudo_compute/models/delete_disk_snapshot_response.py +++ b/docs/src/cudo_compute/models/delete_disk_snapshot_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/delete_network_response.py b/docs/src/cudo_compute/models/delete_network_response.py index a3248d9..a93a5bb 100644 --- a/docs/src/cudo_compute/models/delete_network_response.py +++ b/docs/src/cudo_compute/models/delete_network_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/delete_object_storage_key_response.py b/docs/src/cudo_compute/models/delete_object_storage_key_response.py index bf9b267..cb42718 100644 --- a/docs/src/cudo_compute/models/delete_object_storage_key_response.py +++ b/docs/src/cudo_compute/models/delete_object_storage_key_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/delete_object_storage_user_response.py b/docs/src/cudo_compute/models/delete_object_storage_user_response.py index 4a3eb37..8890e05 100644 --- a/docs/src/cudo_compute/models/delete_object_storage_user_response.py +++ b/docs/src/cudo_compute/models/delete_object_storage_user_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/delete_private_vm_image_response.py b/docs/src/cudo_compute/models/delete_private_vm_image_response.py index a597c90..68211b4 100644 --- a/docs/src/cudo_compute/models/delete_private_vm_image_response.py +++ b/docs/src/cudo_compute/models/delete_private_vm_image_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/delete_security_group_response.py b/docs/src/cudo_compute/models/delete_security_group_response.py index 0c908be..e22a226 100644 --- a/docs/src/cudo_compute/models/delete_security_group_response.py +++ b/docs/src/cudo_compute/models/delete_security_group_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/delete_storage_disk_response.py b/docs/src/cudo_compute/models/delete_storage_disk_response.py index a2b6f19..c05f3c8 100644 --- a/docs/src/cudo_compute/models/delete_storage_disk_response.py +++ b/docs/src/cudo_compute/models/delete_storage_disk_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/detach_security_group_response.py b/docs/src/cudo_compute/models/detach_security_group_response.py index 135cfc9..61a1e44 100644 --- a/docs/src/cudo_compute/models/detach_security_group_response.py +++ b/docs/src/cudo_compute/models/detach_security_group_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/detach_storage_disk_response.py b/docs/src/cudo_compute/models/detach_storage_disk_response.py index 2a274bf..351af33 100644 --- a/docs/src/cudo_compute/models/detach_storage_disk_response.py +++ b/docs/src/cudo_compute/models/detach_storage_disk_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/disk.py b/docs/src/cudo_compute/models/disk.py index 6c7336e..1bfd866 100644 --- a/docs/src/cudo_compute/models/disk.py +++ b/docs/src/cudo_compute/models/disk.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/disk_state.py b/docs/src/cudo_compute/models/disk_state.py index 9ea707d..5c53f8d 100644 --- a/docs/src/cudo_compute/models/disk_state.py +++ b/docs/src/cudo_compute/models/disk_state.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/disk_storage_class.py b/docs/src/cudo_compute/models/disk_storage_class.py index 7124c92..67f1075 100644 --- a/docs/src/cudo_compute/models/disk_storage_class.py +++ b/docs/src/cudo_compute/models/disk_storage_class.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/disk_storage_price_hr.py b/docs/src/cudo_compute/models/disk_storage_price_hr.py index 3ac0845..43991a2 100644 --- a/docs/src/cudo_compute/models/disk_storage_price_hr.py +++ b/docs/src/cudo_compute/models/disk_storage_price_hr.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/disk_type.py b/docs/src/cudo_compute/models/disk_type.py index 1fdacee..3654405 100644 --- a/docs/src/cudo_compute/models/disk_type.py +++ b/docs/src/cudo_compute/models/disk_type.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/generate_api_key_request.py b/docs/src/cudo_compute/models/generate_api_key_request.py index fbc552c..1ed1d38 100644 --- a/docs/src/cudo_compute/models/generate_api_key_request.py +++ b/docs/src/cudo_compute/models/generate_api_key_request.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/get_billing_account_details_response.py b/docs/src/cudo_compute/models/get_billing_account_details_response.py index d9f7bcd..6b5cdd3 100644 --- a/docs/src/cudo_compute/models/get_billing_account_details_response.py +++ b/docs/src/cudo_compute/models/get_billing_account_details_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/get_billing_account_spend_details_response.py b/docs/src/cudo_compute/models/get_billing_account_spend_details_response.py index 0ba954a..6fcc1e2 100644 --- a/docs/src/cudo_compute/models/get_billing_account_spend_details_response.py +++ b/docs/src/cudo_compute/models/get_billing_account_spend_details_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/get_billing_account_stripe_invoices_response.py b/docs/src/cudo_compute/models/get_billing_account_stripe_invoices_response.py index 6cdca58..2d0db87 100644 --- a/docs/src/cudo_compute/models/get_billing_account_stripe_invoices_response.py +++ b/docs/src/cudo_compute/models/get_billing_account_stripe_invoices_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/get_data_center_live_utilization_response.py b/docs/src/cudo_compute/models/get_data_center_live_utilization_response.py index 1670700..ee0aee5 100644 --- a/docs/src/cudo_compute/models/get_data_center_live_utilization_response.py +++ b/docs/src/cudo_compute/models/get_data_center_live_utilization_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/get_data_center_revenue_by_resource_response.py b/docs/src/cudo_compute/models/get_data_center_revenue_by_resource_response.py index 49c19cc..6e43d04 100644 --- a/docs/src/cudo_compute/models/get_data_center_revenue_by_resource_response.py +++ b/docs/src/cudo_compute/models/get_data_center_revenue_by_resource_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/get_data_center_revenue_time_series_response.py b/docs/src/cudo_compute/models/get_data_center_revenue_time_series_response.py index a9dca0d..88414cb 100644 --- a/docs/src/cudo_compute/models/get_data_center_revenue_time_series_response.py +++ b/docs/src/cudo_compute/models/get_data_center_revenue_time_series_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/get_disk_response.py b/docs/src/cudo_compute/models/get_disk_response.py index ed6339a..3ac732d 100644 --- a/docs/src/cudo_compute/models/get_disk_response.py +++ b/docs/src/cudo_compute/models/get_disk_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/get_machine_type_live_utilization_response.py b/docs/src/cudo_compute/models/get_machine_type_live_utilization_response.py index 27e0990..c8b21d2 100644 --- a/docs/src/cudo_compute/models/get_machine_type_live_utilization_response.py +++ b/docs/src/cudo_compute/models/get_machine_type_live_utilization_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/get_machine_type_response.py b/docs/src/cudo_compute/models/get_machine_type_response.py index 48c63d4..edfc573 100644 --- a/docs/src/cudo_compute/models/get_machine_type_response.py +++ b/docs/src/cudo_compute/models/get_machine_type_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/get_network_response.py b/docs/src/cudo_compute/models/get_network_response.py index 56c4d0b..7a381f8 100644 --- a/docs/src/cudo_compute/models/get_network_response.py +++ b/docs/src/cudo_compute/models/get_network_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/get_object_storage_session_key_response.py b/docs/src/cudo_compute/models/get_object_storage_session_key_response.py index eebda97..91e7fd0 100644 --- a/docs/src/cudo_compute/models/get_object_storage_session_key_response.py +++ b/docs/src/cudo_compute/models/get_object_storage_session_key_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/get_private_vm_image_response.py b/docs/src/cudo_compute/models/get_private_vm_image_response.py index a6beed0..64c4590 100644 --- a/docs/src/cudo_compute/models/get_private_vm_image_response.py +++ b/docs/src/cudo_compute/models/get_private_vm_image_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/get_security_group_response.py b/docs/src/cudo_compute/models/get_security_group_response.py index c1b9c94..87221ea 100644 --- a/docs/src/cudo_compute/models/get_security_group_response.py +++ b/docs/src/cudo_compute/models/get_security_group_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/get_vm_response.py b/docs/src/cudo_compute/models/get_vm_response.py index 7103740..c5ea2fb 100644 --- a/docs/src/cudo_compute/models/get_vm_response.py +++ b/docs/src/cudo_compute/models/get_vm_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/gpu_model_category.py b/docs/src/cudo_compute/models/gpu_model_category.py index 782774a..7c285b1 100644 --- a/docs/src/cudo_compute/models/gpu_model_category.py +++ b/docs/src/cudo_compute/models/gpu_model_category.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/host.py b/docs/src/cudo_compute/models/host.py index 76d2f2b..012b2c6 100644 --- a/docs/src/cudo_compute/models/host.py +++ b/docs/src/cudo_compute/models/host.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/host_config_category.py b/docs/src/cudo_compute/models/host_config_category.py index c188202..6224099 100644 --- a/docs/src/cudo_compute/models/host_config_category.py +++ b/docs/src/cudo_compute/models/host_config_category.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/identity_verification_session.py b/docs/src/cudo_compute/models/identity_verification_session.py index ec22bc8..afbbbc3 100644 --- a/docs/src/cudo_compute/models/identity_verification_session.py +++ b/docs/src/cudo_compute/models/identity_verification_session.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/image.py b/docs/src/cudo_compute/models/image.py index ec3641a..e2a0935 100644 --- a/docs/src/cudo_compute/models/image.py +++ b/docs/src/cudo_compute/models/image.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/interval.py b/docs/src/cudo_compute/models/interval.py index 80479dd..039d103 100644 --- a/docs/src/cudo_compute/models/interval.py +++ b/docs/src/cudo_compute/models/interval.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/invoice.py b/docs/src/cudo_compute/models/invoice.py index 1ea97b3..b1e3e21 100644 --- a/docs/src/cudo_compute/models/invoice.py +++ b/docs/src/cudo_compute/models/invoice.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/list_api_keys_response.py b/docs/src/cudo_compute/models/list_api_keys_response.py index 3899d66..b39e705 100644 --- a/docs/src/cudo_compute/models/list_api_keys_response.py +++ b/docs/src/cudo_compute/models/list_api_keys_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/list_billing_accounts_response.py b/docs/src/cudo_compute/models/list_billing_accounts_response.py index e15e82f..f66e430 100644 --- a/docs/src/cudo_compute/models/list_billing_accounts_response.py +++ b/docs/src/cudo_compute/models/list_billing_accounts_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/list_clusters_response.py b/docs/src/cudo_compute/models/list_clusters_response.py index dc6dc36..b0690cb 100644 --- a/docs/src/cudo_compute/models/list_clusters_response.py +++ b/docs/src/cudo_compute/models/list_clusters_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/list_data_centers_response.py b/docs/src/cudo_compute/models/list_data_centers_response.py index ec1e30a..10306c9 100644 --- a/docs/src/cudo_compute/models/list_data_centers_response.py +++ b/docs/src/cudo_compute/models/list_data_centers_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/list_disk_snapshots_response.py b/docs/src/cudo_compute/models/list_disk_snapshots_response.py index 97553ea..93f8dbf 100644 --- a/docs/src/cudo_compute/models/list_disk_snapshots_response.py +++ b/docs/src/cudo_compute/models/list_disk_snapshots_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/list_disks_response.py b/docs/src/cudo_compute/models/list_disks_response.py index 5c2da11..93da568 100644 --- a/docs/src/cudo_compute/models/list_disks_response.py +++ b/docs/src/cudo_compute/models/list_disks_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/list_hosts_response.py b/docs/src/cudo_compute/models/list_hosts_response.py index 151a405..3596f77 100644 --- a/docs/src/cudo_compute/models/list_hosts_response.py +++ b/docs/src/cudo_compute/models/list_hosts_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/list_machine_types_response.py b/docs/src/cudo_compute/models/list_machine_types_response.py index f50cf53..ca7ec3f 100644 --- a/docs/src/cudo_compute/models/list_machine_types_response.py +++ b/docs/src/cudo_compute/models/list_machine_types_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/list_networks_response.py b/docs/src/cudo_compute/models/list_networks_response.py index 20e5ebc..0ecdd88 100644 --- a/docs/src/cudo_compute/models/list_networks_response.py +++ b/docs/src/cudo_compute/models/list_networks_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/list_object_storage_buckets_response.py b/docs/src/cudo_compute/models/list_object_storage_buckets_response.py index 8b2ac7f..89489d0 100644 --- a/docs/src/cudo_compute/models/list_object_storage_buckets_response.py +++ b/docs/src/cudo_compute/models/list_object_storage_buckets_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/list_object_storage_keys_response.py b/docs/src/cudo_compute/models/list_object_storage_keys_response.py index 9c0b9d3..45a83e3 100644 --- a/docs/src/cudo_compute/models/list_object_storage_keys_response.py +++ b/docs/src/cudo_compute/models/list_object_storage_keys_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/list_object_storage_users_response.py b/docs/src/cudo_compute/models/list_object_storage_users_response.py index 1147ea9..70e2975 100644 --- a/docs/src/cudo_compute/models/list_object_storage_users_response.py +++ b/docs/src/cudo_compute/models/list_object_storage_users_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/list_outstanding_stripe_invoices_response.py b/docs/src/cudo_compute/models/list_outstanding_stripe_invoices_response.py index 3331206..ddc8675 100644 --- a/docs/src/cudo_compute/models/list_outstanding_stripe_invoices_response.py +++ b/docs/src/cudo_compute/models/list_outstanding_stripe_invoices_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/list_private_vm_images_response.py b/docs/src/cudo_compute/models/list_private_vm_images_response.py index 7d84748..9ee4634 100644 --- a/docs/src/cudo_compute/models/list_private_vm_images_response.py +++ b/docs/src/cudo_compute/models/list_private_vm_images_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/list_private_vm_images_response_private_image.py b/docs/src/cudo_compute/models/list_private_vm_images_response_private_image.py index bc11323..6606a6b 100644 --- a/docs/src/cudo_compute/models/list_private_vm_images_response_private_image.py +++ b/docs/src/cudo_compute/models/list_private_vm_images_response_private_image.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/list_project_ssh_keys_response.py b/docs/src/cudo_compute/models/list_project_ssh_keys_response.py index c8408a4..7d02e23 100644 --- a/docs/src/cudo_compute/models/list_project_ssh_keys_response.py +++ b/docs/src/cudo_compute/models/list_project_ssh_keys_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/list_projects_response.py b/docs/src/cudo_compute/models/list_projects_response.py index 81d5ac9..c095817 100644 --- a/docs/src/cudo_compute/models/list_projects_response.py +++ b/docs/src/cudo_compute/models/list_projects_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/list_public_vm_images_response.py b/docs/src/cudo_compute/models/list_public_vm_images_response.py index ffcb617..7190ce6 100644 --- a/docs/src/cudo_compute/models/list_public_vm_images_response.py +++ b/docs/src/cudo_compute/models/list_public_vm_images_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/list_regions_response.py b/docs/src/cudo_compute/models/list_regions_response.py index c7d8503..725548a 100644 --- a/docs/src/cudo_compute/models/list_regions_response.py +++ b/docs/src/cudo_compute/models/list_regions_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/list_security_groups_response.py b/docs/src/cudo_compute/models/list_security_groups_response.py index f2409a8..01fce7e 100644 --- a/docs/src/cudo_compute/models/list_security_groups_response.py +++ b/docs/src/cudo_compute/models/list_security_groups_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/list_ssh_keys_response.py b/docs/src/cudo_compute/models/list_ssh_keys_response.py index 9055faa..c6d0590 100644 --- a/docs/src/cudo_compute/models/list_ssh_keys_response.py +++ b/docs/src/cudo_compute/models/list_ssh_keys_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/list_user_permissions_response.py b/docs/src/cudo_compute/models/list_user_permissions_response.py index 5a929bf..4ad1003 100644 --- a/docs/src/cudo_compute/models/list_user_permissions_response.py +++ b/docs/src/cudo_compute/models/list_user_permissions_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/list_vm_data_centers_response.py b/docs/src/cudo_compute/models/list_vm_data_centers_response.py index 6ca5ab2..6de8c8d 100644 --- a/docs/src/cudo_compute/models/list_vm_data_centers_response.py +++ b/docs/src/cudo_compute/models/list_vm_data_centers_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/list_vm_disks_response.py b/docs/src/cudo_compute/models/list_vm_disks_response.py index 16ab589..0217085 100644 --- a/docs/src/cudo_compute/models/list_vm_disks_response.py +++ b/docs/src/cudo_compute/models/list_vm_disks_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/list_vm_machine_types_request.py b/docs/src/cudo_compute/models/list_vm_machine_types_request.py index bcb1be6..654a71e 100644 --- a/docs/src/cudo_compute/models/list_vm_machine_types_request.py +++ b/docs/src/cudo_compute/models/list_vm_machine_types_request.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/list_vm_machine_types_response.py b/docs/src/cudo_compute/models/list_vm_machine_types_response.py index 092a403..3e45736 100644 --- a/docs/src/cudo_compute/models/list_vm_machine_types_response.py +++ b/docs/src/cudo_compute/models/list_vm_machine_types_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/list_vms_response.py b/docs/src/cudo_compute/models/list_vms_response.py index 24c4838..e5b682a 100644 --- a/docs/src/cudo_compute/models/list_vms_response.py +++ b/docs/src/cudo_compute/models/list_vms_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/machine_type.py b/docs/src/cudo_compute/models/machine_type.py index 8d00262..0f6123b 100644 --- a/docs/src/cudo_compute/models/machine_type.py +++ b/docs/src/cudo_compute/models/machine_type.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/monitor_vm_response.py b/docs/src/cudo_compute/models/monitor_vm_response.py index 892c97e..0c57675 100644 --- a/docs/src/cudo_compute/models/monitor_vm_response.py +++ b/docs/src/cudo_compute/models/monitor_vm_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/network.py b/docs/src/cudo_compute/models/network.py index 0fd92a3..be4df1b 100644 --- a/docs/src/cudo_compute/models/network.py +++ b/docs/src/cudo_compute/models/network.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/network_price_hr.py b/docs/src/cudo_compute/models/network_price_hr.py index bc9d62b..6403812 100644 --- a/docs/src/cudo_compute/models/network_price_hr.py +++ b/docs/src/cudo_compute/models/network_price_hr.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/network_state.py b/docs/src/cudo_compute/models/network_state.py index 96bd788..bcf3b4d 100644 --- a/docs/src/cudo_compute/models/network_state.py +++ b/docs/src/cudo_compute/models/network_state.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/object_storage_bucket.py b/docs/src/cudo_compute/models/object_storage_bucket.py index 5fdcede..97042d9 100644 --- a/docs/src/cudo_compute/models/object_storage_bucket.py +++ b/docs/src/cudo_compute/models/object_storage_bucket.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/object_storage_key.py b/docs/src/cudo_compute/models/object_storage_key.py index 96aadfb..04d0ac6 100644 --- a/docs/src/cudo_compute/models/object_storage_key.py +++ b/docs/src/cudo_compute/models/object_storage_key.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/object_storage_user.py b/docs/src/cudo_compute/models/object_storage_user.py index 9137643..f99c461 100644 --- a/docs/src/cudo_compute/models/object_storage_user.py +++ b/docs/src/cudo_compute/models/object_storage_user.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/payment_method_card.py b/docs/src/cudo_compute/models/payment_method_card.py index 64c5e92..fcd2a99 100644 --- a/docs/src/cudo_compute/models/payment_method_card.py +++ b/docs/src/cudo_compute/models/payment_method_card.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/payment_method_paypal.py b/docs/src/cudo_compute/models/payment_method_paypal.py index 9e9673e..1a73e86 100644 --- a/docs/src/cudo_compute/models/payment_method_paypal.py +++ b/docs/src/cudo_compute/models/payment_method_paypal.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/point.py b/docs/src/cudo_compute/models/point.py index b088918..8d5942c 100644 --- a/docs/src/cudo_compute/models/point.py +++ b/docs/src/cudo_compute/models/point.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/profile.py b/docs/src/cudo_compute/models/profile.py index a6b2614..b3e3507 100644 --- a/docs/src/cudo_compute/models/profile.py +++ b/docs/src/cudo_compute/models/profile.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/project.py b/docs/src/cudo_compute/models/project.py index 70bbc46..963c42a 100644 --- a/docs/src/cudo_compute/models/project.py +++ b/docs/src/cudo_compute/models/project.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/protocol.py b/docs/src/cudo_compute/models/protocol.py index 471348a..c6e1db8 100644 --- a/docs/src/cudo_compute/models/protocol.py +++ b/docs/src/cudo_compute/models/protocol.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/reboot_vm_response.py b/docs/src/cudo_compute/models/reboot_vm_response.py index 0cd55f7..11a15e2 100644 --- a/docs/src/cudo_compute/models/reboot_vm_response.py +++ b/docs/src/cudo_compute/models/reboot_vm_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/region.py b/docs/src/cudo_compute/models/region.py index f592bbc..d6daae0 100644 --- a/docs/src/cudo_compute/models/region.py +++ b/docs/src/cudo_compute/models/region.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/remove_billing_account_payment_method_response.py b/docs/src/cudo_compute/models/remove_billing_account_payment_method_response.py index 4ac86fd..bbd2300 100644 --- a/docs/src/cudo_compute/models/remove_billing_account_payment_method_response.py +++ b/docs/src/cudo_compute/models/remove_billing_account_payment_method_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/body2.py b/docs/src/cudo_compute/models/remove_billing_account_user_permission_body.py similarity index 70% rename from docs/src/cudo_compute/models/body2.py rename to docs/src/cudo_compute/models/remove_billing_account_user_permission_body.py index 4765ae7..909ad2a 100644 --- a/docs/src/cudo_compute/models/body2.py +++ b/docs/src/cudo_compute/models/remove_billing_account_user_permission_body.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 @@ -19,7 +18,7 @@ from src.cudo_compute.configuration import Configuration -class Body2(object): +class RemoveBillingAccountUserPermissionBody(object): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -47,7 +46,7 @@ class Body2(object): } def __init__(self, data_center_id=None, project_id=None, role=None, user_id=None, _configuration=None): # noqa: E501 - """Body2 - a model defined in Swagger""" # noqa: E501 + """RemoveBillingAccountUserPermissionBody - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() self._configuration = _configuration @@ -67,20 +66,20 @@ def __init__(self, data_center_id=None, project_id=None, role=None, user_id=None @property def data_center_id(self): - """Gets the data_center_id of this Body2. # noqa: E501 + """Gets the data_center_id of this RemoveBillingAccountUserPermissionBody. # noqa: E501 - :return: The data_center_id of this Body2. # noqa: E501 + :return: The data_center_id of this RemoveBillingAccountUserPermissionBody. # noqa: E501 :rtype: str """ return self._data_center_id @data_center_id.setter def data_center_id(self, data_center_id): - """Sets the data_center_id of this Body2. + """Sets the data_center_id of this RemoveBillingAccountUserPermissionBody. - :param data_center_id: The data_center_id of this Body2. # noqa: E501 + :param data_center_id: The data_center_id of this RemoveBillingAccountUserPermissionBody. # noqa: E501 :type: str """ @@ -88,20 +87,20 @@ def data_center_id(self, data_center_id): @property def project_id(self): - """Gets the project_id of this Body2. # noqa: E501 + """Gets the project_id of this RemoveBillingAccountUserPermissionBody. # noqa: E501 - :return: The project_id of this Body2. # noqa: E501 + :return: The project_id of this RemoveBillingAccountUserPermissionBody. # noqa: E501 :rtype: str """ return self._project_id @project_id.setter def project_id(self, project_id): - """Sets the project_id of this Body2. + """Sets the project_id of this RemoveBillingAccountUserPermissionBody. - :param project_id: The project_id of this Body2. # noqa: E501 + :param project_id: The project_id of this RemoveBillingAccountUserPermissionBody. # noqa: E501 :type: str """ @@ -109,20 +108,20 @@ def project_id(self, project_id): @property def role(self): - """Gets the role of this Body2. # noqa: E501 + """Gets the role of this RemoveBillingAccountUserPermissionBody. # noqa: E501 - :return: The role of this Body2. # noqa: E501 + :return: The role of this RemoveBillingAccountUserPermissionBody. # noqa: E501 :rtype: Role """ return self._role @role.setter def role(self, role): - """Sets the role of this Body2. + """Sets the role of this RemoveBillingAccountUserPermissionBody. - :param role: The role of this Body2. # noqa: E501 + :param role: The role of this RemoveBillingAccountUserPermissionBody. # noqa: E501 :type: Role """ if self._configuration.client_side_validation and role is None: @@ -132,20 +131,20 @@ def role(self, role): @property def user_id(self): - """Gets the user_id of this Body2. # noqa: E501 + """Gets the user_id of this RemoveBillingAccountUserPermissionBody. # noqa: E501 - :return: The user_id of this Body2. # noqa: E501 + :return: The user_id of this RemoveBillingAccountUserPermissionBody. # noqa: E501 :rtype: str """ return self._user_id @user_id.setter def user_id(self, user_id): - """Sets the user_id of this Body2. + """Sets the user_id of this RemoveBillingAccountUserPermissionBody. - :param user_id: The user_id of this Body2. # noqa: E501 + :param user_id: The user_id of this RemoveBillingAccountUserPermissionBody. # noqa: E501 :type: str """ if self._configuration.client_side_validation and user_id is None: @@ -174,7 +173,7 @@ def to_dict(self): )) else: result[attr] = value - if issubclass(Body2, dict): + if issubclass(RemoveBillingAccountUserPermissionBody, dict): for key, value in self.items(): result[key] = value @@ -190,14 +189,14 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, Body2): + if not isinstance(other, RemoveBillingAccountUserPermissionBody): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" - if not isinstance(other, Body2): + if not isinstance(other, RemoveBillingAccountUserPermissionBody): return True return self.to_dict() != other.to_dict() diff --git a/docs/src/cudo_compute/models/body4.py b/docs/src/cudo_compute/models/remove_data_center_user_permission_body.py similarity index 72% rename from docs/src/cudo_compute/models/body4.py rename to docs/src/cudo_compute/models/remove_data_center_user_permission_body.py index 8362d64..65074bb 100644 --- a/docs/src/cudo_compute/models/body4.py +++ b/docs/src/cudo_compute/models/remove_data_center_user_permission_body.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 @@ -19,7 +18,7 @@ from src.cudo_compute.configuration import Configuration -class Body4(object): +class RemoveDataCenterUserPermissionBody(object): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -47,7 +46,7 @@ class Body4(object): } def __init__(self, billing_account_id=None, project_id=None, role=None, user_id=None, _configuration=None): # noqa: E501 - """Body4 - a model defined in Swagger""" # noqa: E501 + """RemoveDataCenterUserPermissionBody - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() self._configuration = _configuration @@ -67,20 +66,20 @@ def __init__(self, billing_account_id=None, project_id=None, role=None, user_id= @property def billing_account_id(self): - """Gets the billing_account_id of this Body4. # noqa: E501 + """Gets the billing_account_id of this RemoveDataCenterUserPermissionBody. # noqa: E501 - :return: The billing_account_id of this Body4. # noqa: E501 + :return: The billing_account_id of this RemoveDataCenterUserPermissionBody. # noqa: E501 :rtype: str """ return self._billing_account_id @billing_account_id.setter def billing_account_id(self, billing_account_id): - """Sets the billing_account_id of this Body4. + """Sets the billing_account_id of this RemoveDataCenterUserPermissionBody. - :param billing_account_id: The billing_account_id of this Body4. # noqa: E501 + :param billing_account_id: The billing_account_id of this RemoveDataCenterUserPermissionBody. # noqa: E501 :type: str """ @@ -88,20 +87,20 @@ def billing_account_id(self, billing_account_id): @property def project_id(self): - """Gets the project_id of this Body4. # noqa: E501 + """Gets the project_id of this RemoveDataCenterUserPermissionBody. # noqa: E501 - :return: The project_id of this Body4. # noqa: E501 + :return: The project_id of this RemoveDataCenterUserPermissionBody. # noqa: E501 :rtype: str """ return self._project_id @project_id.setter def project_id(self, project_id): - """Sets the project_id of this Body4. + """Sets the project_id of this RemoveDataCenterUserPermissionBody. - :param project_id: The project_id of this Body4. # noqa: E501 + :param project_id: The project_id of this RemoveDataCenterUserPermissionBody. # noqa: E501 :type: str """ @@ -109,20 +108,20 @@ def project_id(self, project_id): @property def role(self): - """Gets the role of this Body4. # noqa: E501 + """Gets the role of this RemoveDataCenterUserPermissionBody. # noqa: E501 - :return: The role of this Body4. # noqa: E501 + :return: The role of this RemoveDataCenterUserPermissionBody. # noqa: E501 :rtype: Role """ return self._role @role.setter def role(self, role): - """Sets the role of this Body4. + """Sets the role of this RemoveDataCenterUserPermissionBody. - :param role: The role of this Body4. # noqa: E501 + :param role: The role of this RemoveDataCenterUserPermissionBody. # noqa: E501 :type: Role """ if self._configuration.client_side_validation and role is None: @@ -132,20 +131,20 @@ def role(self, role): @property def user_id(self): - """Gets the user_id of this Body4. # noqa: E501 + """Gets the user_id of this RemoveDataCenterUserPermissionBody. # noqa: E501 - :return: The user_id of this Body4. # noqa: E501 + :return: The user_id of this RemoveDataCenterUserPermissionBody. # noqa: E501 :rtype: str """ return self._user_id @user_id.setter def user_id(self, user_id): - """Sets the user_id of this Body4. + """Sets the user_id of this RemoveDataCenterUserPermissionBody. - :param user_id: The user_id of this Body4. # noqa: E501 + :param user_id: The user_id of this RemoveDataCenterUserPermissionBody. # noqa: E501 :type: str """ if self._configuration.client_side_validation and user_id is None: @@ -174,7 +173,7 @@ def to_dict(self): )) else: result[attr] = value - if issubclass(Body4, dict): + if issubclass(RemoveDataCenterUserPermissionBody, dict): for key, value in self.items(): result[key] = value @@ -190,14 +189,14 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, Body4): + if not isinstance(other, RemoveDataCenterUserPermissionBody): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" - if not isinstance(other, Body4): + if not isinstance(other, RemoveDataCenterUserPermissionBody): return True return self.to_dict() != other.to_dict() diff --git a/docs/src/cudo_compute/models/body11.py b/docs/src/cudo_compute/models/remove_project_user_permission_body.py similarity index 73% rename from docs/src/cudo_compute/models/body11.py rename to docs/src/cudo_compute/models/remove_project_user_permission_body.py index c79aaf3..e570ad4 100644 --- a/docs/src/cudo_compute/models/body11.py +++ b/docs/src/cudo_compute/models/remove_project_user_permission_body.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 @@ -19,7 +18,7 @@ from src.cudo_compute.configuration import Configuration -class Body11(object): +class RemoveProjectUserPermissionBody(object): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -47,7 +46,7 @@ class Body11(object): } def __init__(self, billing_account_id=None, data_center_id=None, role=None, user_id=None, _configuration=None): # noqa: E501 - """Body11 - a model defined in Swagger""" # noqa: E501 + """RemoveProjectUserPermissionBody - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() self._configuration = _configuration @@ -67,20 +66,20 @@ def __init__(self, billing_account_id=None, data_center_id=None, role=None, user @property def billing_account_id(self): - """Gets the billing_account_id of this Body11. # noqa: E501 + """Gets the billing_account_id of this RemoveProjectUserPermissionBody. # noqa: E501 - :return: The billing_account_id of this Body11. # noqa: E501 + :return: The billing_account_id of this RemoveProjectUserPermissionBody. # noqa: E501 :rtype: str """ return self._billing_account_id @billing_account_id.setter def billing_account_id(self, billing_account_id): - """Sets the billing_account_id of this Body11. + """Sets the billing_account_id of this RemoveProjectUserPermissionBody. - :param billing_account_id: The billing_account_id of this Body11. # noqa: E501 + :param billing_account_id: The billing_account_id of this RemoveProjectUserPermissionBody. # noqa: E501 :type: str """ @@ -88,20 +87,20 @@ def billing_account_id(self, billing_account_id): @property def data_center_id(self): - """Gets the data_center_id of this Body11. # noqa: E501 + """Gets the data_center_id of this RemoveProjectUserPermissionBody. # noqa: E501 - :return: The data_center_id of this Body11. # noqa: E501 + :return: The data_center_id of this RemoveProjectUserPermissionBody. # noqa: E501 :rtype: str """ return self._data_center_id @data_center_id.setter def data_center_id(self, data_center_id): - """Sets the data_center_id of this Body11. + """Sets the data_center_id of this RemoveProjectUserPermissionBody. - :param data_center_id: The data_center_id of this Body11. # noqa: E501 + :param data_center_id: The data_center_id of this RemoveProjectUserPermissionBody. # noqa: E501 :type: str """ @@ -109,20 +108,20 @@ def data_center_id(self, data_center_id): @property def role(self): - """Gets the role of this Body11. # noqa: E501 + """Gets the role of this RemoveProjectUserPermissionBody. # noqa: E501 - :return: The role of this Body11. # noqa: E501 + :return: The role of this RemoveProjectUserPermissionBody. # noqa: E501 :rtype: Role """ return self._role @role.setter def role(self, role): - """Sets the role of this Body11. + """Sets the role of this RemoveProjectUserPermissionBody. - :param role: The role of this Body11. # noqa: E501 + :param role: The role of this RemoveProjectUserPermissionBody. # noqa: E501 :type: Role """ if self._configuration.client_side_validation and role is None: @@ -132,20 +131,20 @@ def role(self, role): @property def user_id(self): - """Gets the user_id of this Body11. # noqa: E501 + """Gets the user_id of this RemoveProjectUserPermissionBody. # noqa: E501 - :return: The user_id of this Body11. # noqa: E501 + :return: The user_id of this RemoveProjectUserPermissionBody. # noqa: E501 :rtype: str """ return self._user_id @user_id.setter def user_id(self, user_id): - """Sets the user_id of this Body11. + """Sets the user_id of this RemoveProjectUserPermissionBody. - :param user_id: The user_id of this Body11. # noqa: E501 + :param user_id: The user_id of this RemoveProjectUserPermissionBody. # noqa: E501 :type: str """ if self._configuration.client_side_validation and user_id is None: @@ -174,7 +173,7 @@ def to_dict(self): )) else: result[attr] = value - if issubclass(Body11, dict): + if issubclass(RemoveProjectUserPermissionBody, dict): for key, value in self.items(): result[key] = value @@ -190,14 +189,14 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, Body11): + if not isinstance(other, RemoveProjectUserPermissionBody): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" - if not isinstance(other, Body11): + if not isinstance(other, RemoveProjectUserPermissionBody): return True return self.to_dict() != other.to_dict() diff --git a/docs/src/cudo_compute/models/resize_vm_disk_response.py b/docs/src/cudo_compute/models/resize_vm_disk_response.py index 86b71e1..5980fa0 100644 --- a/docs/src/cudo_compute/models/resize_vm_disk_response.py +++ b/docs/src/cudo_compute/models/resize_vm_disk_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/resize_vm_response.py b/docs/src/cudo_compute/models/resize_vm_response.py index de1fee4..1ebc8bd 100644 --- a/docs/src/cudo_compute/models/resize_vm_response.py +++ b/docs/src/cudo_compute/models/resize_vm_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/revert_disk_response.py b/docs/src/cudo_compute/models/revert_disk_response.py index 2c17ff9..ed0df5a 100644 --- a/docs/src/cudo_compute/models/revert_disk_response.py +++ b/docs/src/cudo_compute/models/revert_disk_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/role.py b/docs/src/cudo_compute/models/role.py index 40bcc55..80f9101 100644 --- a/docs/src/cudo_compute/models/role.py +++ b/docs/src/cudo_compute/models/role.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/rule.py b/docs/src/cudo_compute/models/rule.py index 553c4ce..7519ffa 100644 --- a/docs/src/cudo_compute/models/rule.py +++ b/docs/src/cudo_compute/models/rule.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/rule_type.py b/docs/src/cudo_compute/models/rule_type.py index 7c8c4e9..f28bed5 100644 --- a/docs/src/cudo_compute/models/rule_type.py +++ b/docs/src/cudo_compute/models/rule_type.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/security_group.py b/docs/src/cudo_compute/models/security_group.py index 79f2a1f..9a40a75 100644 --- a/docs/src/cudo_compute/models/security_group.py +++ b/docs/src/cudo_compute/models/security_group.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/security_group1.py b/docs/src/cudo_compute/models/security_group1.py index 5094786..2d88740 100644 --- a/docs/src/cudo_compute/models/security_group1.py +++ b/docs/src/cudo_compute/models/security_group1.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/security_group_rule.py b/docs/src/cudo_compute/models/security_group_rule.py index 5a78c32..d6b21d8 100644 --- a/docs/src/cudo_compute/models/security_group_rule.py +++ b/docs/src/cudo_compute/models/security_group_rule.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/set_billing_account_default_payment_method_response.py b/docs/src/cudo_compute/models/set_billing_account_default_payment_method_response.py index 5b3f6d8..6871185 100644 --- a/docs/src/cudo_compute/models/set_billing_account_default_payment_method_response.py +++ b/docs/src/cudo_compute/models/set_billing_account_default_payment_method_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/snapshot.py b/docs/src/cudo_compute/models/snapshot.py index 323809f..1b1fcdc 100644 --- a/docs/src/cudo_compute/models/snapshot.py +++ b/docs/src/cudo_compute/models/snapshot.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/ssh_key.py b/docs/src/cudo_compute/models/ssh_key.py index a18ccaf..d90d92e 100644 --- a/docs/src/cudo_compute/models/ssh_key.py +++ b/docs/src/cudo_compute/models/ssh_key.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/ssh_key_source.py b/docs/src/cudo_compute/models/ssh_key_source.py index 946fdc0..a7e6851 100644 --- a/docs/src/cudo_compute/models/ssh_key_source.py +++ b/docs/src/cudo_compute/models/ssh_key_source.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/start_network_response.py b/docs/src/cudo_compute/models/start_network_response.py index 2e5f907..5eaa9ac 100644 --- a/docs/src/cudo_compute/models/start_network_response.py +++ b/docs/src/cudo_compute/models/start_network_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/start_vm_response.py b/docs/src/cudo_compute/models/start_vm_response.py index f1e1c32..62e250d 100644 --- a/docs/src/cudo_compute/models/start_vm_response.py +++ b/docs/src/cudo_compute/models/start_vm_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/status.py b/docs/src/cudo_compute/models/status.py index 854057d..391f227 100644 --- a/docs/src/cudo_compute/models/status.py +++ b/docs/src/cudo_compute/models/status.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/stop_network_response.py b/docs/src/cudo_compute/models/stop_network_response.py index 2eeee93..0ce9f0c 100644 --- a/docs/src/cudo_compute/models/stop_network_response.py +++ b/docs/src/cudo_compute/models/stop_network_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/stop_vm_response.py b/docs/src/cudo_compute/models/stop_vm_response.py index 1ff1e10..c24a124 100644 --- a/docs/src/cudo_compute/models/stop_vm_response.py +++ b/docs/src/cudo_compute/models/stop_vm_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/stripe_customer.py b/docs/src/cudo_compute/models/stripe_customer.py index 170ef8c..7fc08de 100644 --- a/docs/src/cudo_compute/models/stripe_customer.py +++ b/docs/src/cudo_compute/models/stripe_customer.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/tax_id.py b/docs/src/cudo_compute/models/tax_id.py index 2de7c03..f924806 100644 --- a/docs/src/cudo_compute/models/tax_id.py +++ b/docs/src/cudo_compute/models/tax_id.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/terminate_vm_response.py b/docs/src/cudo_compute/models/terminate_vm_response.py index 8516819..30660b3 100644 --- a/docs/src/cudo_compute/models/terminate_vm_response.py +++ b/docs/src/cudo_compute/models/terminate_vm_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/unit.py b/docs/src/cudo_compute/models/unit.py index 32f2891..618bf27 100644 --- a/docs/src/cudo_compute/models/unit.py +++ b/docs/src/cudo_compute/models/unit.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/body.py b/docs/src/cudo_compute/models/update_billing_account_body.py similarity index 79% rename from docs/src/cudo_compute/models/body.py rename to docs/src/cudo_compute/models/update_billing_account_body.py index e5a975d..a345951 100644 --- a/docs/src/cudo_compute/models/body.py +++ b/docs/src/cudo_compute/models/update_billing_account_body.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 @@ -19,7 +18,7 @@ from src.cudo_compute.configuration import Configuration -class Body(object): +class UpdateBillingAccountBody(object): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -43,7 +42,7 @@ class Body(object): } def __init__(self, billing_account=None, update_mask=None, _configuration=None): # noqa: E501 - """Body - a model defined in Swagger""" # noqa: E501 + """UpdateBillingAccountBody - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() self._configuration = _configuration @@ -58,20 +57,20 @@ def __init__(self, billing_account=None, update_mask=None, _configuration=None): @property def billing_account(self): - """Gets the billing_account of this Body. # noqa: E501 + """Gets the billing_account of this UpdateBillingAccountBody. # noqa: E501 - :return: The billing_account of this Body. # noqa: E501 + :return: The billing_account of this UpdateBillingAccountBody. # noqa: E501 :rtype: V1billingaccountsbillingAccountIdBillingAccount """ return self._billing_account @billing_account.setter def billing_account(self, billing_account): - """Sets the billing_account of this Body. + """Sets the billing_account of this UpdateBillingAccountBody. - :param billing_account: The billing_account of this Body. # noqa: E501 + :param billing_account: The billing_account of this UpdateBillingAccountBody. # noqa: E501 :type: V1billingaccountsbillingAccountIdBillingAccount """ @@ -79,20 +78,20 @@ def billing_account(self, billing_account): @property def update_mask(self): - """Gets the update_mask of this Body. # noqa: E501 + """Gets the update_mask of this UpdateBillingAccountBody. # noqa: E501 - :return: The update_mask of this Body. # noqa: E501 + :return: The update_mask of this UpdateBillingAccountBody. # noqa: E501 :rtype: str """ return self._update_mask @update_mask.setter def update_mask(self, update_mask): - """Sets the update_mask of this Body. + """Sets the update_mask of this UpdateBillingAccountBody. - :param update_mask: The update_mask of this Body. # noqa: E501 + :param update_mask: The update_mask of this UpdateBillingAccountBody. # noqa: E501 :type: str """ if self._configuration.client_side_validation and update_mask is None: @@ -121,7 +120,7 @@ def to_dict(self): )) else: result[attr] = value - if issubclass(Body, dict): + if issubclass(UpdateBillingAccountBody, dict): for key, value in self.items(): result[key] = value @@ -137,14 +136,14 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, Body): + if not isinstance(other, UpdateBillingAccountBody): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" - if not isinstance(other, Body): + if not isinstance(other, UpdateBillingAccountBody): return True return self.to_dict() != other.to_dict() diff --git a/docs/src/cudo_compute/models/update_private_vm_image_response.py b/docs/src/cudo_compute/models/update_private_vm_image_response.py index e351ff4..68797e9 100644 --- a/docs/src/cudo_compute/models/update_private_vm_image_response.py +++ b/docs/src/cudo_compute/models/update_private_vm_image_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/update_security_group_response.py b/docs/src/cudo_compute/models/update_security_group_response.py index e3925c8..f2e3de6 100644 --- a/docs/src/cudo_compute/models/update_security_group_response.py +++ b/docs/src/cudo_compute/models/update_security_group_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/update_vm_metadata_body.py b/docs/src/cudo_compute/models/update_vm_metadata_body.py new file mode 100644 index 0000000..bf4db28 --- /dev/null +++ b/docs/src/cudo_compute/models/update_vm_metadata_body.py @@ -0,0 +1,148 @@ +# coding: utf-8 + +""" + Cudo Compute service + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +from src.cudo_compute.configuration import Configuration + + +class UpdateVMMetadataBody(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'merge': 'bool', + 'metadata': 'dict(str, str)' + } + + attribute_map = { + 'merge': 'merge', + 'metadata': 'metadata' + } + + def __init__(self, merge=None, metadata=None, _configuration=None): # noqa: E501 + """UpdateVMMetadataBody - a model defined in Swagger""" # noqa: E501 + if _configuration is None: + _configuration = Configuration() + self._configuration = _configuration + + self._merge = None + self._metadata = None + self.discriminator = None + + if merge is not None: + self.merge = merge + if metadata is not None: + self.metadata = metadata + + @property + def merge(self): + """Gets the merge of this UpdateVMMetadataBody. # noqa: E501 + + + :return: The merge of this UpdateVMMetadataBody. # noqa: E501 + :rtype: bool + """ + return self._merge + + @merge.setter + def merge(self, merge): + """Sets the merge of this UpdateVMMetadataBody. + + + :param merge: The merge of this UpdateVMMetadataBody. # noqa: E501 + :type: bool + """ + + self._merge = merge + + @property + def metadata(self): + """Gets the metadata of this UpdateVMMetadataBody. # noqa: E501 + + + :return: The metadata of this UpdateVMMetadataBody. # noqa: E501 + :rtype: dict(str, str) + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this UpdateVMMetadataBody. + + + :param metadata: The metadata of this UpdateVMMetadataBody. # noqa: E501 + :type: dict(str, str) + """ + + self._metadata = metadata + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(UpdateVMMetadataBody, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, UpdateVMMetadataBody): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, UpdateVMMetadataBody): + return True + + return self.to_dict() != other.to_dict() diff --git a/docs/src/cudo_compute/models/update_vm_metadata_response.py b/docs/src/cudo_compute/models/update_vm_metadata_response.py index 342c6b2..38afc7a 100644 --- a/docs/src/cudo_compute/models/update_vm_metadata_response.py +++ b/docs/src/cudo_compute/models/update_vm_metadata_response.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/user_permission.py b/docs/src/cudo_compute/models/user_permission.py index a870b79..6d7c8b8 100644 --- a/docs/src/cudo_compute/models/user_permission.py +++ b/docs/src/cudo_compute/models/user_permission.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/v1_private_image.py b/docs/src/cudo_compute/models/v1_private_image.py index b6dc643..f0ab0b8 100644 --- a/docs/src/cudo_compute/models/v1_private_image.py +++ b/docs/src/cudo_compute/models/v1_private_image.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/v1billingaccountsbilling_account_id_billing_account.py b/docs/src/cudo_compute/models/v1billingaccountsbilling_account_id_billing_account.py index 8494daf..d12f510 100644 --- a/docs/src/cudo_compute/models/v1billingaccountsbilling_account_id_billing_account.py +++ b/docs/src/cudo_compute/models/v1billingaccountsbilling_account_id_billing_account.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/v_router_size.py b/docs/src/cudo_compute/models/v_router_size.py index e8b9096..caed086 100644 --- a/docs/src/cudo_compute/models/v_router_size.py +++ b/docs/src/cudo_compute/models/v_router_size.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/vm.py b/docs/src/cudo_compute/models/vm.py index 1b2702f..03ab0c2 100644 --- a/docs/src/cudo_compute/models/vm.py +++ b/docs/src/cudo_compute/models/vm.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/vm_data_center.py b/docs/src/cudo_compute/models/vm_data_center.py index 1819efa..78fabb6 100644 --- a/docs/src/cudo_compute/models/vm_data_center.py +++ b/docs/src/cudo_compute/models/vm_data_center.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/vm_data_center_storage_class.py b/docs/src/cudo_compute/models/vm_data_center_storage_class.py index ee8a5f9..71110ec 100644 --- a/docs/src/cudo_compute/models/vm_data_center_storage_class.py +++ b/docs/src/cudo_compute/models/vm_data_center_storage_class.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/vm_monitoring_item.py b/docs/src/cudo_compute/models/vm_monitoring_item.py index 9fa391e..86d3faa 100644 --- a/docs/src/cudo_compute/models/vm_monitoring_item.py +++ b/docs/src/cudo_compute/models/vm_monitoring_item.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/vm_state.py b/docs/src/cudo_compute/models/vm_state.py index f2a8cf5..55bdccd 100644 --- a/docs/src/cudo_compute/models/vm_state.py +++ b/docs/src/cudo_compute/models/vm_state.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/models/vmnic.py b/docs/src/cudo_compute/models/vmnic.py index 19ec31c..a937d5c 100644 --- a/docs/src/cudo_compute/models/vmnic.py +++ b/docs/src/cudo_compute/models/vmnic.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - import pprint import re # noqa: F401 diff --git a/docs/src/cudo_compute/rest.py b/docs/src/cudo_compute/rest.py index 1ec878f..bf5543b 100644 --- a/docs/src/cudo_compute/rest.py +++ b/docs/src/cudo_compute/rest.py @@ -10,7 +10,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - from __future__ import absolute_import import io diff --git a/pyproject.toml b/pyproject.toml index 6f56d19..2a3a0c3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "cudo-compute" -version = "0.1.6" +version = "0.1.7" authors = [ { name = "Cudo Ventures", email = "dev@cudoventures.com" }, ] diff --git a/swagger/public.swagger.json b/swagger/public.swagger.json index 61fd84b..68c3cda 100644 --- a/swagger/public.swagger.json +++ b/swagger/public.swagger.json @@ -3426,15 +3426,23 @@ "required": true }, { - "type": "string", - "description": "This is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18", - "name": "metadata", - "in": "query" - }, - { - "type": "boolean", - "name": "merge", - "in": "query" + "name": "body", + "in": "body", + "required": true, + "schema": { + "type": "object", + "properties": { + "merge": { + "type": "boolean" + }, + "metadata": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + } } ], "responses": {