Skip to content

Commit

Permalink
Automatic api update 479094
Browse files Browse the repository at this point in the history
  • Loading branch information
begetSupport committed Feb 9, 2023
1 parent c851a6f commit 6704bed
Show file tree
Hide file tree
Showing 526 changed files with 4,504 additions and 481 deletions.
17 changes: 15 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ No description provided (generated by Openapi Generator https://github.com/opena

This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: v1.3.0
- Package version: v1.3.0
- API version: v1.4.0
- Package version: v1.4.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen

## Requirements.
Expand Down Expand Up @@ -187,6 +187,8 @@ Class | Method | HTTP request | Description
*BackupServiceApi* | [**backup_service_get_orders**](docs/apis/tags/BackupServiceApi.md#backup_service_get_orders) | **get** /v1/vps/backup/orders |
*BackupServiceApi* | [**backup_service_restore_file**](docs/apis/tags/BackupServiceApi.md#backup_service_restore_file) | **post** /v1/vps/{id}/backup/{copy_id}/file |
*BackupServiceApi* | [**backup_service_restore_server**](docs/apis/tags/BackupServiceApi.md#backup_service_restore_server) | **post** /v1/vps/{id}/backup/{copy_id}/server |
*ConfiguratorServiceApi* | [**configurator_service_get_calculation**](docs/apis/tags/ConfiguratorServiceApi.md#configurator_service_get_calculation) | **get** /v1/vps/configurator/calculation |
*ConfiguratorServiceApi* | [**configurator_service_get_configurator_info**](docs/apis/tags/ConfiguratorServiceApi.md#configurator_service_get_configurator_info) | **get** /v1/vps/configurator/info |
*ManageServiceApi* | [**manage_service_attach_ip_address**](docs/apis/tags/ManageServiceApi.md#manage_service_attach_ip_address) | **post** /v1/vps/{id}/network/{ip_address} |
*ManageServiceApi* | [**manage_service_attach_ssh_key**](docs/apis/tags/ManageServiceApi.md#manage_service_attach_ssh_key) | **post** /v1/vps/{id}/sshKey/{ssh_key_id} |
*ManageServiceApi* | [**manage_service_attach_to_private_network**](docs/apis/tags/ManageServiceApi.md#manage_service_attach_to_private_network) | **post** /v1/vps/{id}/private-network/{network_id} |
Expand Down Expand Up @@ -252,6 +254,15 @@ Class | Method | HTTP request | Description
- [BackupRestoreServerRequest](docs/models/BackupRestoreServerRequest.md)
- [BackupRestoreServerResponse](docs/models/BackupRestoreServerResponse.md)
- [BackupRestoreServerResponseError](docs/models/BackupRestoreServerResponseError.md)
- [ConfiguratorConfiguratorSettings](docs/models/ConfiguratorConfiguratorSettings.md)
- [ConfiguratorCpuSettings](docs/models/ConfiguratorCpuSettings.md)
- [ConfiguratorDiskSettings](docs/models/ConfiguratorDiskSettings.md)
- [ConfiguratorGetCalculationResponse](docs/models/ConfiguratorGetCalculationResponse.md)
- [ConfiguratorGetCalculationResponseError](docs/models/ConfiguratorGetCalculationResponseError.md)
- [ConfiguratorGetCalculationResponseSuccess](docs/models/ConfiguratorGetCalculationResponseSuccess.md)
- [ConfiguratorGetConfiguratorInfoResponse](docs/models/ConfiguratorGetConfiguratorInfoResponse.md)
- [ConfiguratorMemorySettings](docs/models/ConfiguratorMemorySettings.md)
- [ConfiguratorRange](docs/models/ConfiguratorRange.md)
- [ManageAttachIpAddressRequest](docs/models/ManageAttachIpAddressRequest.md)
- [ManageAttachIpAddressResponse](docs/models/ManageAttachIpAddressResponse.md)
- [ManageAttachIpAddressResponseError](docs/models/ManageAttachIpAddressResponseError.md)
Expand Down Expand Up @@ -379,6 +390,7 @@ Class | Method | HTTP request | Description
- [StatisticSeriesData](docs/models/StatisticSeriesData.md)
- [StructuresAdditionalIpInfo](docs/models/StructuresAdditionalIpInfo.md)
- [StructuresAttachedPrivateNetwork](docs/models/StructuresAttachedPrivateNetwork.md)
- [StructuresConfigurationParams](docs/models/StructuresConfigurationParams.md)
- [StructuresCopyInfo](docs/models/StructuresCopyInfo.md)
- [StructuresCopyInfoConfiguration](docs/models/StructuresCopyInfoConfiguration.md)
- [StructuresFileInfo](docs/models/StructuresFileInfo.md)
Expand Down Expand Up @@ -411,6 +423,7 @@ Class | Method | HTTP request | Description




## Notes for Large OpenAPI documents
If the OpenAPI document is large, imports in beget_openapi_vps.apis and beget_openapi_vps.models may fail with a
RecursionError indicating the maximum recursion limit has been exceeded. In that case, there are a couple of solutions:
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.3.0
v1.4.0
4 changes: 2 additions & 2 deletions beget_openapi_vps/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: v1.3.0
The version of the OpenAPI document: v1.4.0
Generated by: https://openapi-generator.tech
"""

__version__ = "v1.3.0"
__version__ = "v1.4.0"

# import ApiClient
from beget_openapi_vps.api_client import ApiClient
Expand Down
4 changes: 2 additions & 2 deletions beget_openapi_vps/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: v1.3.0
The version of the OpenAPI document: v1.4.0
Generated by: https://openapi-generator.tech
"""

Expand Down Expand Up @@ -1003,7 +1003,7 @@ def __init__(
self.default_headers[header_name] = header_value
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'OpenAPI-Generator/v1.3.0/python'
self.user_agent = 'OpenAPI-Generator/v1.4.0/python'

def __enter__(self):
return self
Expand Down
6 changes: 6 additions & 0 deletions beget_openapi_vps/apis/path_to_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
from beget_openapi_vps.apis.paths.v1_vps_backup import V1VpsBackup
from beget_openapi_vps.apis.paths.v1_vps_backup_orders import V1VpsBackupOrders
from beget_openapi_vps.apis.paths.v1_vps_configuration import V1VpsConfiguration
from beget_openapi_vps.apis.paths.v1_vps_configurator_calculation import V1VpsConfiguratorCalculation
from beget_openapi_vps.apis.paths.v1_vps_configurator_info import V1VpsConfiguratorInfo
from beget_openapi_vps.apis.paths.v1_vps_marketplace_software_list import V1VpsMarketplaceSoftwareList
from beget_openapi_vps.apis.paths.v1_vps_network import V1VpsNetwork
from beget_openapi_vps.apis.paths.v1_vps_network_detach_ip_address import V1VpsNetworkDetachIpAddress
Expand Down Expand Up @@ -60,6 +62,8 @@
PathValues.V1_VPS_BACKUP: V1VpsBackup,
PathValues.V1_VPS_BACKUP_ORDERS: V1VpsBackupOrders,
PathValues.V1_VPS_CONFIGURATION: V1VpsConfiguration,
PathValues.V1_VPS_CONFIGURATOR_CALCULATION: V1VpsConfiguratorCalculation,
PathValues.V1_VPS_CONFIGURATOR_INFO: V1VpsConfiguratorInfo,
PathValues.V1_VPS_MARKETPLACE_SOFTWARE_LIST: V1VpsMarketplaceSoftwareList,
PathValues.V1_VPS_NETWORK: V1VpsNetwork,
PathValues.V1_VPS_NETWORK_DETACH_IP_ADDRESS: V1VpsNetworkDetachIpAddress,
Expand Down Expand Up @@ -116,6 +120,8 @@
PathValues.V1_VPS_BACKUP: V1VpsBackup,
PathValues.V1_VPS_BACKUP_ORDERS: V1VpsBackupOrders,
PathValues.V1_VPS_CONFIGURATION: V1VpsConfiguration,
PathValues.V1_VPS_CONFIGURATOR_CALCULATION: V1VpsConfiguratorCalculation,
PathValues.V1_VPS_CONFIGURATOR_INFO: V1VpsConfiguratorInfo,
PathValues.V1_VPS_MARKETPLACE_SOFTWARE_LIST: V1VpsMarketplaceSoftwareList,
PathValues.V1_VPS_NETWORK: V1VpsNetwork,
PathValues.V1_VPS_NETWORK_DETACH_IP_ADDRESS: V1VpsNetworkDetachIpAddress,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
from beget_openapi_vps.paths.v1_vps_configurator_calculation.get import ApiForget


class V1VpsConfiguratorCalculation(
ApiForget,
):
pass
7 changes: 7 additions & 0 deletions beget_openapi_vps/apis/paths/v1_vps_configurator_info.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
from beget_openapi_vps.paths.v1_vps_configurator_info.get import ApiForget


class V1VpsConfiguratorInfo(
ApiForget,
):
pass
3 changes: 3 additions & 0 deletions beget_openapi_vps/apis/tag_to_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

from beget_openapi_vps.apis.tags import TagValues
from beget_openapi_vps.apis.tags.backup_service_api import BackupServiceApi
from beget_openapi_vps.apis.tags.configurator_service_api import ConfiguratorServiceApi
from beget_openapi_vps.apis.tags.manage_service_api import ManageServiceApi
from beget_openapi_vps.apis.tags.marketplace_service_api import MarketplaceServiceApi
from beget_openapi_vps.apis.tags.network_service_api import NetworkServiceApi
Expand All @@ -13,6 +14,7 @@
'TagToApi',
{
TagValues.BACKUP_SERVICE: BackupServiceApi,
TagValues.CONFIGURATOR_SERVICE: ConfiguratorServiceApi,
TagValues.MANAGE_SERVICE: ManageServiceApi,
TagValues.MARKETPLACE_SERVICE: MarketplaceServiceApi,
TagValues.NETWORK_SERVICE: NetworkServiceApi,
Expand All @@ -25,6 +27,7 @@
tag_to_api = TagToApi(
{
TagValues.BACKUP_SERVICE: BackupServiceApi,
TagValues.CONFIGURATOR_SERVICE: ConfiguratorServiceApi,
TagValues.MANAGE_SERVICE: ManageServiceApi,
TagValues.MARKETPLACE_SERVICE: MarketplaceServiceApi,
TagValues.NETWORK_SERVICE: NetworkServiceApi,
Expand Down
1 change: 1 addition & 0 deletions beget_openapi_vps/apis/tags/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

class TagValues(str, enum.Enum):
BACKUP_SERVICE = "BackupService"
CONFIGURATOR_SERVICE = "ConfiguratorService"
MANAGE_SERVICE = "ManageService"
MARKETPLACE_SERVICE = "MarketplaceService"
NETWORK_SERVICE = "NetworkService"
Expand Down
2 changes: 1 addition & 1 deletion beget_openapi_vps/apis/tags/backup_service_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: v1.3.0
The version of the OpenAPI document: v1.4.0
Generated by: https://openapi-generator.tech
"""

Expand Down
25 changes: 25 additions & 0 deletions beget_openapi_vps/apis/tags/configurator_service_api.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# coding: utf-8

"""
API Облачных серверов
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: v1.4.0
Generated by: https://openapi-generator.tech
"""

from beget_openapi_vps.paths.v1_vps_configurator_calculation.get import ConfiguratorServiceGetCalculation
from beget_openapi_vps.paths.v1_vps_configurator_info.get import ConfiguratorServiceGetConfiguratorInfo


class ConfiguratorServiceApi(
ConfiguratorServiceGetCalculation,
ConfiguratorServiceGetConfiguratorInfo,
):
"""NOTE: This class is auto generated by OpenAPI Generator
Ref: https://openapi-generator.tech
Do not edit the class manually.
"""
pass
2 changes: 1 addition & 1 deletion beget_openapi_vps/apis/tags/manage_service_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: v1.3.0
The version of the OpenAPI document: v1.4.0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion beget_openapi_vps/apis/tags/marketplace_service_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: v1.3.0
The version of the OpenAPI document: v1.4.0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion beget_openapi_vps/apis/tags/network_service_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: v1.3.0
The version of the OpenAPI document: v1.4.0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion beget_openapi_vps/apis/tags/snapshot_service_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: v1.3.0
The version of the OpenAPI document: v1.4.0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion beget_openapi_vps/apis/tags/ssh_key_service_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: v1.3.0
The version of the OpenAPI document: v1.4.0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion beget_openapi_vps/apis/tags/statistic_service_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: v1.3.0
The version of the OpenAPI document: v1.4.0
Generated by: https://openapi-generator.tech
"""

Expand Down
6 changes: 3 additions & 3 deletions beget_openapi_vps/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: v1.3.0
The version of the OpenAPI document: v1.4.0
Generated by: https://openapi-generator.tech
"""

Expand Down Expand Up @@ -382,8 +382,8 @@ def to_debug_report(self):
return "Python SDK Debug Report:\n"\
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: v1.3.0\n"\
"SDK Package Version: v1.3.0".\
"Version of the API: v1.4.0\n"\
"SDK Package Version: v1.4.0".\
format(env=sys.platform, pyversion=sys.version)

def get_host_settings(self):
Expand Down
2 changes: 1 addition & 1 deletion beget_openapi_vps/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: v1.3.0
The version of the OpenAPI document: v1.4.0
Generated by: https://openapi-generator.tech
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: v1.3.0
The version of the OpenAPI document: v1.4.0
Generated by: https://openapi-generator.tech
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: v1.3.0
The version of the OpenAPI document: v1.4.0
Generated by: https://openapi-generator.tech
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: v1.3.0
The version of the OpenAPI document: v1.4.0
Generated by: https://openapi-generator.tech
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: v1.3.0
The version of the OpenAPI document: v1.4.0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion beget_openapi_vps/model/backup_get_orders_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: v1.3.0
The version of the OpenAPI document: v1.4.0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion beget_openapi_vps/model/backup_get_orders_response.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: v1.3.0
The version of the OpenAPI document: v1.4.0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion beget_openapi_vps/model/backup_restore_file_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: v1.3.0
The version of the OpenAPI document: v1.4.0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion beget_openapi_vps/model/backup_restore_file_request.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: v1.3.0
The version of the OpenAPI document: v1.4.0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion beget_openapi_vps/model/backup_restore_file_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: v1.3.0
The version of the OpenAPI document: v1.4.0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion beget_openapi_vps/model/backup_restore_file_response.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: v1.3.0
The version of the OpenAPI document: v1.4.0
Generated by: https://openapi-generator.tech
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: v1.3.0
The version of the OpenAPI document: v1.4.0
Generated by: https://openapi-generator.tech
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: v1.3.0
The version of the OpenAPI document: v1.4.0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion beget_openapi_vps/model/backup_restore_server_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: v1.3.0
The version of the OpenAPI document: v1.4.0
Generated by: https://openapi-generator.tech
"""

Expand Down
Loading

0 comments on commit 6704bed

Please sign in to comment.