diff --git a/services/iaas/src/stackit/iaas/__init__.py b/services/iaas/src/stackit/iaas/__init__.py index 4a02f6e4..1b2bff33 100644 --- a/services/iaas/src/stackit/iaas/__init__.py +++ b/services/iaas/src/stackit/iaas/__init__.py @@ -12,174 +12,427 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 __version__ = "1.0.0" +# Define package exports +__all__ = [ + "DefaultApi", + "ApiResponse", + "ApiClient", + "HostConfiguration", + "OpenApiException", + "ApiTypeError", + "ApiValueError", + "ApiKeyError", + "ApiAttributeError", + "ApiException", + "AddVolumeToServerPayload", + "AffinityGroup", + "AffinityGroupListResponse", + "AllowedAddressesInner", + "Area", + "AreaConfig", + "AreaPrefixConfigIPv4", + "AvailabilityZoneListResponse", + "Backup", + "BackupListResponse", + "BackupSource", + "BaseSecurityGroupRule", + "BootVolume", + "BootVolumeSource", + "CreateAffinityGroupPayload", + "CreateAreaAddressFamily", + "CreateAreaIPv4", + "CreateBackupPayload", + "CreateImagePayload", + "CreateKeyPairPayload", + "CreateNetworkAddressFamily", + "CreateNetworkAreaPayload", + "CreateNetworkAreaRangePayload", + "CreateNetworkAreaRoutePayload", + "CreateNetworkIPv4Body", + "CreateNetworkIPv6Body", + "CreateNetworkPayload", + "CreateNicPayload", + "CreateProtocol", + "CreatePublicIPPayload", + "CreateSecurityGroupPayload", + "CreateSecurityGroupRulePayload", + "CreateSecurityGroupRuleProtocol", + "CreateServerNetworking", + "CreateServerNetworkingWithNics", + "CreateServerPayload", + "CreateServerPayloadNetworking", + "CreateSnapshotPayload", + "CreateVolumePayload", + "Error", + "GetServerLog200Response", + "ICMPParameters", + "Image", + "ImageChecksum", + "ImageConfig", + "ImageCreateResponse", + "ImageListResponse", + "ImageShare", + "ImageShareConsumer", + "KeyPairListResponse", + "Keypair", + "MachineType", + "MachineTypeListResponse", + "NIC", + "NICListResponse", + "Network", + "NetworkArea", + "NetworkAreaIPv4", + "NetworkAreaListResponse", + "NetworkListResponse", + "NetworkRange", + "NetworkRangeListResponse", + "PartialUpdateNetworkAreaPayload", + "PartialUpdateNetworkPayload", + "PortRange", + "ProjectListResponse", + "Protocol", + "PublicIp", + "PublicIpListResponse", + "PublicNetwork", + "PublicNetworkListResponse", + "Quota", + "QuotaList", + "QuotaListResponse", + "Request", + "RequestResource", + "RescueServerPayload", + "ResizeServerPayload", + "ResizeVolumePayload", + "Route", + "RouteListResponse", + "SecurityGroup", + "SecurityGroupListResponse", + "SecurityGroupRule", + "SecurityGroupRuleListResponse", + "SecurityGroupRuleProtocol", + "Server", + "ServerConsoleUrl", + "ServerListResponse", + "ServerMaintenance", + "ServerNetwork", + "ServiceAccountMailListResponse", + "SetImageSharePayload", + "Snapshot", + "SnapshotListResponse", + "UpdateAreaAddressFamily", + "UpdateAreaIPv4", + "UpdateAttachedVolumePayload", + "UpdateBackupPayload", + "UpdateImagePayload", + "UpdateImageSharePayload", + "UpdateKeyPairPayload", + "UpdateNetworkAddressFamily", + "UpdateNetworkAreaRoutePayload", + "UpdateNetworkIPv4Body", + "UpdateNetworkIPv6Body", + "UpdateNicPayload", + "UpdatePublicIPPayload", + "UpdateSecurityGroupPayload", + "UpdateServerPayload", + "UpdateSnapshotPayload", + "UpdateVolumePayload", + "Volume", + "VolumeAttachment", + "VolumeAttachmentListResponse", + "VolumeListResponse", + "VolumePerformanceClass", + "VolumePerformanceClassListResponse", + "VolumeSource", +] + # import apis into sdk package -from stackit.iaas.api.default_api import DefaultApi -from stackit.iaas.api_client import ApiClient +from stackit.iaas.api.default_api import DefaultApi as DefaultApi +from stackit.iaas.api_client import ApiClient as ApiClient # import ApiClient -from stackit.iaas.api_response import ApiResponse -from stackit.iaas.configuration import HostConfiguration -from stackit.iaas.exceptions import ( - ApiAttributeError, - ApiException, - ApiKeyError, - ApiTypeError, - ApiValueError, - OpenApiException, -) +from stackit.iaas.api_response import ApiResponse as ApiResponse +from stackit.iaas.configuration import HostConfiguration as HostConfiguration +from stackit.iaas.exceptions import ApiAttributeError as ApiAttributeError +from stackit.iaas.exceptions import ApiException as ApiException +from stackit.iaas.exceptions import ApiKeyError as ApiKeyError +from stackit.iaas.exceptions import ApiTypeError as ApiTypeError +from stackit.iaas.exceptions import ApiValueError as ApiValueError +from stackit.iaas.exceptions import OpenApiException as OpenApiException # import models into sdk package -from stackit.iaas.models.add_volume_to_server_payload import AddVolumeToServerPayload -from stackit.iaas.models.affinity_group import AffinityGroup -from stackit.iaas.models.affinity_group_list_response import AffinityGroupListResponse -from stackit.iaas.models.allowed_addresses_inner import AllowedAddressesInner -from stackit.iaas.models.area import Area -from stackit.iaas.models.area_config import AreaConfig -from stackit.iaas.models.area_prefix_config_ipv4 import AreaPrefixConfigIPv4 +from stackit.iaas.models.add_volume_to_server_payload import ( + AddVolumeToServerPayload as AddVolumeToServerPayload, +) +from stackit.iaas.models.affinity_group import AffinityGroup as AffinityGroup +from stackit.iaas.models.affinity_group_list_response import ( + AffinityGroupListResponse as AffinityGroupListResponse, +) +from stackit.iaas.models.allowed_addresses_inner import ( + AllowedAddressesInner as AllowedAddressesInner, +) +from stackit.iaas.models.area import Area as Area +from stackit.iaas.models.area_config import AreaConfig as AreaConfig +from stackit.iaas.models.area_prefix_config_ipv4 import ( + AreaPrefixConfigIPv4 as AreaPrefixConfigIPv4, +) from stackit.iaas.models.availability_zone_list_response import ( - AvailabilityZoneListResponse, -) -from stackit.iaas.models.backup import Backup -from stackit.iaas.models.backup_list_response import BackupListResponse -from stackit.iaas.models.backup_source import BackupSource -from stackit.iaas.models.base_security_group_rule import BaseSecurityGroupRule -from stackit.iaas.models.boot_volume import BootVolume -from stackit.iaas.models.boot_volume_source import BootVolumeSource -from stackit.iaas.models.create_affinity_group_payload import CreateAffinityGroupPayload -from stackit.iaas.models.create_area_address_family import CreateAreaAddressFamily -from stackit.iaas.models.create_area_ipv4 import CreateAreaIPv4 -from stackit.iaas.models.create_backup_payload import CreateBackupPayload -from stackit.iaas.models.create_image_payload import CreateImagePayload -from stackit.iaas.models.create_key_pair_payload import CreateKeyPairPayload -from stackit.iaas.models.create_network_address_family import CreateNetworkAddressFamily -from stackit.iaas.models.create_network_area_payload import CreateNetworkAreaPayload + AvailabilityZoneListResponse as AvailabilityZoneListResponse, +) +from stackit.iaas.models.backup import Backup as Backup +from stackit.iaas.models.backup_list_response import ( + BackupListResponse as BackupListResponse, +) +from stackit.iaas.models.backup_source import BackupSource as BackupSource +from stackit.iaas.models.base_security_group_rule import ( + BaseSecurityGroupRule as BaseSecurityGroupRule, +) +from stackit.iaas.models.boot_volume import BootVolume as BootVolume +from stackit.iaas.models.boot_volume_source import BootVolumeSource as BootVolumeSource +from stackit.iaas.models.create_affinity_group_payload import ( + CreateAffinityGroupPayload as CreateAffinityGroupPayload, +) +from stackit.iaas.models.create_area_address_family import ( + CreateAreaAddressFamily as CreateAreaAddressFamily, +) +from stackit.iaas.models.create_area_ipv4 import CreateAreaIPv4 as CreateAreaIPv4 +from stackit.iaas.models.create_backup_payload import ( + CreateBackupPayload as CreateBackupPayload, +) +from stackit.iaas.models.create_image_payload import ( + CreateImagePayload as CreateImagePayload, +) +from stackit.iaas.models.create_key_pair_payload import ( + CreateKeyPairPayload as CreateKeyPairPayload, +) +from stackit.iaas.models.create_network_address_family import ( + CreateNetworkAddressFamily as CreateNetworkAddressFamily, +) +from stackit.iaas.models.create_network_area_payload import ( + CreateNetworkAreaPayload as CreateNetworkAreaPayload, +) from stackit.iaas.models.create_network_area_range_payload import ( - CreateNetworkAreaRangePayload, + CreateNetworkAreaRangePayload as CreateNetworkAreaRangePayload, ) from stackit.iaas.models.create_network_area_route_payload import ( - CreateNetworkAreaRoutePayload, -) -from stackit.iaas.models.create_network_ipv4_body import CreateNetworkIPv4Body -from stackit.iaas.models.create_network_ipv6_body import CreateNetworkIPv6Body -from stackit.iaas.models.create_network_payload import CreateNetworkPayload -from stackit.iaas.models.create_nic_payload import CreateNicPayload -from stackit.iaas.models.create_protocol import CreateProtocol -from stackit.iaas.models.create_public_ip_payload import CreatePublicIPPayload -from stackit.iaas.models.create_security_group_payload import CreateSecurityGroupPayload + CreateNetworkAreaRoutePayload as CreateNetworkAreaRoutePayload, +) +from stackit.iaas.models.create_network_ipv4_body import ( + CreateNetworkIPv4Body as CreateNetworkIPv4Body, +) +from stackit.iaas.models.create_network_ipv6_body import ( + CreateNetworkIPv6Body as CreateNetworkIPv6Body, +) +from stackit.iaas.models.create_network_payload import ( + CreateNetworkPayload as CreateNetworkPayload, +) +from stackit.iaas.models.create_nic_payload import CreateNicPayload as CreateNicPayload +from stackit.iaas.models.create_protocol import CreateProtocol as CreateProtocol +from stackit.iaas.models.create_public_ip_payload import ( + CreatePublicIPPayload as CreatePublicIPPayload, +) +from stackit.iaas.models.create_security_group_payload import ( + CreateSecurityGroupPayload as CreateSecurityGroupPayload, +) from stackit.iaas.models.create_security_group_rule_payload import ( - CreateSecurityGroupRulePayload, + CreateSecurityGroupRulePayload as CreateSecurityGroupRulePayload, ) from stackit.iaas.models.create_security_group_rule_protocol import ( - CreateSecurityGroupRuleProtocol, + CreateSecurityGroupRuleProtocol as CreateSecurityGroupRuleProtocol, +) +from stackit.iaas.models.create_server_networking import ( + CreateServerNetworking as CreateServerNetworking, ) -from stackit.iaas.models.create_server_networking import CreateServerNetworking from stackit.iaas.models.create_server_networking_with_nics import ( - CreateServerNetworkingWithNics, + CreateServerNetworkingWithNics as CreateServerNetworkingWithNics, +) +from stackit.iaas.models.create_server_payload import ( + CreateServerPayload as CreateServerPayload, ) -from stackit.iaas.models.create_server_payload import CreateServerPayload from stackit.iaas.models.create_server_payload_networking import ( - CreateServerPayloadNetworking, -) -from stackit.iaas.models.create_snapshot_payload import CreateSnapshotPayload -from stackit.iaas.models.create_volume_payload import CreateVolumePayload -from stackit.iaas.models.error import Error -from stackit.iaas.models.get_server_log200_response import GetServerLog200Response -from stackit.iaas.models.icmp_parameters import ICMPParameters -from stackit.iaas.models.image import Image -from stackit.iaas.models.image_checksum import ImageChecksum -from stackit.iaas.models.image_config import ImageConfig -from stackit.iaas.models.image_create_response import ImageCreateResponse -from stackit.iaas.models.image_list_response import ImageListResponse -from stackit.iaas.models.image_share import ImageShare -from stackit.iaas.models.image_share_consumer import ImageShareConsumer -from stackit.iaas.models.key_pair_list_response import KeyPairListResponse -from stackit.iaas.models.keypair import Keypair -from stackit.iaas.models.machine_type import MachineType -from stackit.iaas.models.machine_type_list_response import MachineTypeListResponse -from stackit.iaas.models.network import Network -from stackit.iaas.models.network_area import NetworkArea -from stackit.iaas.models.network_area_ipv4 import NetworkAreaIPv4 -from stackit.iaas.models.network_area_list_response import NetworkAreaListResponse -from stackit.iaas.models.network_list_response import NetworkListResponse -from stackit.iaas.models.network_range import NetworkRange -from stackit.iaas.models.network_range_list_response import NetworkRangeListResponse -from stackit.iaas.models.nic import NIC -from stackit.iaas.models.nic_list_response import NICListResponse + CreateServerPayloadNetworking as CreateServerPayloadNetworking, +) +from stackit.iaas.models.create_snapshot_payload import ( + CreateSnapshotPayload as CreateSnapshotPayload, +) +from stackit.iaas.models.create_volume_payload import ( + CreateVolumePayload as CreateVolumePayload, +) +from stackit.iaas.models.error import Error as Error +from stackit.iaas.models.get_server_log200_response import ( + GetServerLog200Response as GetServerLog200Response, +) +from stackit.iaas.models.icmp_parameters import ICMPParameters as ICMPParameters +from stackit.iaas.models.image import Image as Image +from stackit.iaas.models.image_checksum import ImageChecksum as ImageChecksum +from stackit.iaas.models.image_config import ImageConfig as ImageConfig +from stackit.iaas.models.image_create_response import ( + ImageCreateResponse as ImageCreateResponse, +) +from stackit.iaas.models.image_list_response import ( + ImageListResponse as ImageListResponse, +) +from stackit.iaas.models.image_share import ImageShare as ImageShare +from stackit.iaas.models.image_share_consumer import ( + ImageShareConsumer as ImageShareConsumer, +) +from stackit.iaas.models.key_pair_list_response import ( + KeyPairListResponse as KeyPairListResponse, +) +from stackit.iaas.models.keypair import Keypair as Keypair +from stackit.iaas.models.machine_type import MachineType as MachineType +from stackit.iaas.models.machine_type_list_response import ( + MachineTypeListResponse as MachineTypeListResponse, +) +from stackit.iaas.models.network import Network as Network +from stackit.iaas.models.network_area import NetworkArea as NetworkArea +from stackit.iaas.models.network_area_ipv4 import NetworkAreaIPv4 as NetworkAreaIPv4 +from stackit.iaas.models.network_area_list_response import ( + NetworkAreaListResponse as NetworkAreaListResponse, +) +from stackit.iaas.models.network_list_response import ( + NetworkListResponse as NetworkListResponse, +) +from stackit.iaas.models.network_range import NetworkRange as NetworkRange +from stackit.iaas.models.network_range_list_response import ( + NetworkRangeListResponse as NetworkRangeListResponse, +) +from stackit.iaas.models.nic import NIC as NIC +from stackit.iaas.models.nic_list_response import NICListResponse as NICListResponse from stackit.iaas.models.partial_update_network_area_payload import ( - PartialUpdateNetworkAreaPayload, + PartialUpdateNetworkAreaPayload as PartialUpdateNetworkAreaPayload, ) from stackit.iaas.models.partial_update_network_payload import ( - PartialUpdateNetworkPayload, -) -from stackit.iaas.models.port_range import PortRange -from stackit.iaas.models.project_list_response import ProjectListResponse -from stackit.iaas.models.protocol import Protocol -from stackit.iaas.models.public_ip import PublicIp -from stackit.iaas.models.public_ip_list_response import PublicIpListResponse -from stackit.iaas.models.public_network import PublicNetwork -from stackit.iaas.models.public_network_list_response import PublicNetworkListResponse -from stackit.iaas.models.quota import Quota -from stackit.iaas.models.quota_list import QuotaList -from stackit.iaas.models.quota_list_response import QuotaListResponse -from stackit.iaas.models.request import Request -from stackit.iaas.models.request_resource import RequestResource -from stackit.iaas.models.rescue_server_payload import RescueServerPayload -from stackit.iaas.models.resize_server_payload import ResizeServerPayload -from stackit.iaas.models.resize_volume_payload import ResizeVolumePayload -from stackit.iaas.models.route import Route -from stackit.iaas.models.route_list_response import RouteListResponse -from stackit.iaas.models.security_group import SecurityGroup -from stackit.iaas.models.security_group_list_response import SecurityGroupListResponse -from stackit.iaas.models.security_group_rule import SecurityGroupRule + PartialUpdateNetworkPayload as PartialUpdateNetworkPayload, +) +from stackit.iaas.models.port_range import PortRange as PortRange +from stackit.iaas.models.project_list_response import ( + ProjectListResponse as ProjectListResponse, +) +from stackit.iaas.models.protocol import Protocol as Protocol +from stackit.iaas.models.public_ip import PublicIp as PublicIp +from stackit.iaas.models.public_ip_list_response import ( + PublicIpListResponse as PublicIpListResponse, +) +from stackit.iaas.models.public_network import PublicNetwork as PublicNetwork +from stackit.iaas.models.public_network_list_response import ( + PublicNetworkListResponse as PublicNetworkListResponse, +) +from stackit.iaas.models.quota import Quota as Quota +from stackit.iaas.models.quota_list import QuotaList as QuotaList +from stackit.iaas.models.quota_list_response import ( + QuotaListResponse as QuotaListResponse, +) +from stackit.iaas.models.request import Request as Request +from stackit.iaas.models.request_resource import RequestResource as RequestResource +from stackit.iaas.models.rescue_server_payload import ( + RescueServerPayload as RescueServerPayload, +) +from stackit.iaas.models.resize_server_payload import ( + ResizeServerPayload as ResizeServerPayload, +) +from stackit.iaas.models.resize_volume_payload import ( + ResizeVolumePayload as ResizeVolumePayload, +) +from stackit.iaas.models.route import Route as Route +from stackit.iaas.models.route_list_response import ( + RouteListResponse as RouteListResponse, +) +from stackit.iaas.models.security_group import SecurityGroup as SecurityGroup +from stackit.iaas.models.security_group_list_response import ( + SecurityGroupListResponse as SecurityGroupListResponse, +) +from stackit.iaas.models.security_group_rule import ( + SecurityGroupRule as SecurityGroupRule, +) from stackit.iaas.models.security_group_rule_list_response import ( - SecurityGroupRuleListResponse, -) -from stackit.iaas.models.security_group_rule_protocol import SecurityGroupRuleProtocol -from stackit.iaas.models.server import Server -from stackit.iaas.models.server_console_url import ServerConsoleUrl -from stackit.iaas.models.server_list_response import ServerListResponse -from stackit.iaas.models.server_maintenance import ServerMaintenance -from stackit.iaas.models.server_network import ServerNetwork + SecurityGroupRuleListResponse as SecurityGroupRuleListResponse, +) +from stackit.iaas.models.security_group_rule_protocol import ( + SecurityGroupRuleProtocol as SecurityGroupRuleProtocol, +) +from stackit.iaas.models.server import Server as Server +from stackit.iaas.models.server_console_url import ServerConsoleUrl as ServerConsoleUrl +from stackit.iaas.models.server_list_response import ( + ServerListResponse as ServerListResponse, +) +from stackit.iaas.models.server_maintenance import ( + ServerMaintenance as ServerMaintenance, +) +from stackit.iaas.models.server_network import ServerNetwork as ServerNetwork from stackit.iaas.models.service_account_mail_list_response import ( - ServiceAccountMailListResponse, + ServiceAccountMailListResponse as ServiceAccountMailListResponse, +) +from stackit.iaas.models.set_image_share_payload import ( + SetImageSharePayload as SetImageSharePayload, ) -from stackit.iaas.models.set_image_share_payload import SetImageSharePayload -from stackit.iaas.models.snapshot import Snapshot -from stackit.iaas.models.snapshot_list_response import SnapshotListResponse -from stackit.iaas.models.update_area_address_family import UpdateAreaAddressFamily -from stackit.iaas.models.update_area_ipv4 import UpdateAreaIPv4 +from stackit.iaas.models.snapshot import Snapshot as Snapshot +from stackit.iaas.models.snapshot_list_response import ( + SnapshotListResponse as SnapshotListResponse, +) +from stackit.iaas.models.update_area_address_family import ( + UpdateAreaAddressFamily as UpdateAreaAddressFamily, +) +from stackit.iaas.models.update_area_ipv4 import UpdateAreaIPv4 as UpdateAreaIPv4 from stackit.iaas.models.update_attached_volume_payload import ( - UpdateAttachedVolumePayload, + UpdateAttachedVolumePayload as UpdateAttachedVolumePayload, +) +from stackit.iaas.models.update_backup_payload import ( + UpdateBackupPayload as UpdateBackupPayload, +) +from stackit.iaas.models.update_image_payload import ( + UpdateImagePayload as UpdateImagePayload, +) +from stackit.iaas.models.update_image_share_payload import ( + UpdateImageSharePayload as UpdateImageSharePayload, +) +from stackit.iaas.models.update_key_pair_payload import ( + UpdateKeyPairPayload as UpdateKeyPairPayload, +) +from stackit.iaas.models.update_network_address_family import ( + UpdateNetworkAddressFamily as UpdateNetworkAddressFamily, ) -from stackit.iaas.models.update_backup_payload import UpdateBackupPayload -from stackit.iaas.models.update_image_payload import UpdateImagePayload -from stackit.iaas.models.update_image_share_payload import UpdateImageSharePayload -from stackit.iaas.models.update_key_pair_payload import UpdateKeyPairPayload -from stackit.iaas.models.update_network_address_family import UpdateNetworkAddressFamily from stackit.iaas.models.update_network_area_route_payload import ( - UpdateNetworkAreaRoutePayload, -) -from stackit.iaas.models.update_network_ipv4_body import UpdateNetworkIPv4Body -from stackit.iaas.models.update_network_ipv6_body import UpdateNetworkIPv6Body -from stackit.iaas.models.update_nic_payload import UpdateNicPayload -from stackit.iaas.models.update_public_ip_payload import UpdatePublicIPPayload -from stackit.iaas.models.update_security_group_payload import UpdateSecurityGroupPayload -from stackit.iaas.models.update_server_payload import UpdateServerPayload -from stackit.iaas.models.update_snapshot_payload import UpdateSnapshotPayload -from stackit.iaas.models.update_volume_payload import UpdateVolumePayload -from stackit.iaas.models.volume import Volume -from stackit.iaas.models.volume_attachment import VolumeAttachment + UpdateNetworkAreaRoutePayload as UpdateNetworkAreaRoutePayload, +) +from stackit.iaas.models.update_network_ipv4_body import ( + UpdateNetworkIPv4Body as UpdateNetworkIPv4Body, +) +from stackit.iaas.models.update_network_ipv6_body import ( + UpdateNetworkIPv6Body as UpdateNetworkIPv6Body, +) +from stackit.iaas.models.update_nic_payload import UpdateNicPayload as UpdateNicPayload +from stackit.iaas.models.update_public_ip_payload import ( + UpdatePublicIPPayload as UpdatePublicIPPayload, +) +from stackit.iaas.models.update_security_group_payload import ( + UpdateSecurityGroupPayload as UpdateSecurityGroupPayload, +) +from stackit.iaas.models.update_server_payload import ( + UpdateServerPayload as UpdateServerPayload, +) +from stackit.iaas.models.update_snapshot_payload import ( + UpdateSnapshotPayload as UpdateSnapshotPayload, +) +from stackit.iaas.models.update_volume_payload import ( + UpdateVolumePayload as UpdateVolumePayload, +) +from stackit.iaas.models.volume import Volume as Volume +from stackit.iaas.models.volume_attachment import VolumeAttachment as VolumeAttachment from stackit.iaas.models.volume_attachment_list_response import ( - VolumeAttachmentListResponse, + VolumeAttachmentListResponse as VolumeAttachmentListResponse, +) +from stackit.iaas.models.volume_list_response import ( + VolumeListResponse as VolumeListResponse, +) +from stackit.iaas.models.volume_performance_class import ( + VolumePerformanceClass as VolumePerformanceClass, ) -from stackit.iaas.models.volume_list_response import VolumeListResponse -from stackit.iaas.models.volume_performance_class import VolumePerformanceClass from stackit.iaas.models.volume_performance_class_list_response import ( - VolumePerformanceClassListResponse, + VolumePerformanceClassListResponse as VolumePerformanceClassListResponse, ) -from stackit.iaas.models.volume_source import VolumeSource +from stackit.iaas.models.volume_source import VolumeSource as VolumeSource diff --git a/services/iaas/src/stackit/iaas/api/default_api.py b/services/iaas/src/stackit/iaas/api/default_api.py index aa0bab79..e7d62e5c 100644 --- a/services/iaas/src/stackit/iaas/api/default_api.py +++ b/services/iaas/src/stackit/iaas/api/default_api.py @@ -10,7 +10,7 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from typing import Any, Dict, List, Optional, Tuple, Union @@ -203,7 +203,7 @@ def add_network_to_server( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._add_network_to_server_serialize( project_id=project_id, @@ -285,7 +285,7 @@ def add_network_to_server_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._add_network_to_server_serialize( project_id=project_id, @@ -367,7 +367,7 @@ def add_network_to_server_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._add_network_to_server_serialize( project_id=project_id, @@ -409,7 +409,7 @@ def _add_network_to_server_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -501,7 +501,7 @@ def add_nic_to_server( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._add_nic_to_server_serialize( project_id=project_id, @@ -584,7 +584,7 @@ def add_nic_to_server_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._add_nic_to_server_serialize( project_id=project_id, @@ -667,7 +667,7 @@ def add_nic_to_server_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._add_nic_to_server_serialize( project_id=project_id, @@ -710,7 +710,7 @@ def _add_nic_to_server_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -801,7 +801,7 @@ def add_public_ip_to_server( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._add_public_ip_to_server_serialize( project_id=project_id, @@ -883,7 +883,7 @@ def add_public_ip_to_server_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._add_public_ip_to_server_serialize( project_id=project_id, @@ -965,7 +965,7 @@ def add_public_ip_to_server_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._add_public_ip_to_server_serialize( project_id=project_id, @@ -1008,7 +1008,7 @@ def _add_public_ip_to_server_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1105,7 +1105,7 @@ def add_security_group_to_server( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._add_security_group_to_server_serialize( project_id=project_id, @@ -1193,7 +1193,7 @@ def add_security_group_to_server_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._add_security_group_to_server_serialize( project_id=project_id, @@ -1281,7 +1281,7 @@ def add_security_group_to_server_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._add_security_group_to_server_serialize( project_id=project_id, @@ -1324,7 +1324,7 @@ def _add_security_group_to_server_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1415,7 +1415,7 @@ def add_service_account_to_server( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._add_service_account_to_server_serialize( project_id=project_id, @@ -1497,7 +1497,7 @@ def add_service_account_to_server_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._add_service_account_to_server_serialize( project_id=project_id, @@ -1579,7 +1579,7 @@ def add_service_account_to_server_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._add_service_account_to_server_serialize( project_id=project_id, @@ -1622,7 +1622,7 @@ def _add_service_account_to_server_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1719,7 +1719,7 @@ def add_volume_to_server( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._add_volume_to_server_serialize( project_id=project_id, @@ -1808,7 +1808,7 @@ def add_volume_to_server_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._add_volume_to_server_serialize( project_id=project_id, @@ -1897,7 +1897,7 @@ def add_volume_to_server_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._add_volume_to_server_serialize( project_id=project_id, @@ -1942,7 +1942,7 @@ def _add_volume_to_server_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -2037,7 +2037,7 @@ def create_affinity_group( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._create_affinity_group_serialize( project_id=project_id, @@ -2111,7 +2111,7 @@ def create_affinity_group_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._create_affinity_group_serialize( project_id=project_id, @@ -2185,7 +2185,7 @@ def create_affinity_group_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._create_affinity_group_serialize( project_id=project_id, @@ -2225,7 +2225,7 @@ def _create_affinity_group_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -2314,7 +2314,7 @@ def create_backup( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._create_backup_serialize( project_id=project_id, @@ -2386,7 +2386,7 @@ def create_backup_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._create_backup_serialize( project_id=project_id, @@ -2458,7 +2458,7 @@ def create_backup_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._create_backup_serialize( project_id=project_id, @@ -2498,7 +2498,7 @@ def _create_backup_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -2587,7 +2587,7 @@ def create_image( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._create_image_serialize( project_id=project_id, @@ -2660,7 +2660,7 @@ def create_image_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._create_image_serialize( project_id=project_id, @@ -2733,7 +2733,7 @@ def create_image_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._create_image_serialize( project_id=project_id, @@ -2774,7 +2774,7 @@ def _create_image_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -2857,7 +2857,7 @@ def create_key_pair( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._create_key_pair_serialize( create_key_pair_payload=create_key_pair_payload, @@ -2923,7 +2923,7 @@ def create_key_pair_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._create_key_pair_serialize( create_key_pair_payload=create_key_pair_payload, @@ -2989,7 +2989,7 @@ def create_key_pair_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._create_key_pair_serialize( create_key_pair_payload=create_key_pair_payload, @@ -3028,7 +3028,7 @@ def _create_key_pair_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -3115,7 +3115,7 @@ def create_network( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._create_network_serialize( project_id=project_id, @@ -3188,7 +3188,7 @@ def create_network_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._create_network_serialize( project_id=project_id, @@ -3261,7 +3261,7 @@ def create_network_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._create_network_serialize( project_id=project_id, @@ -3302,7 +3302,7 @@ def _create_network_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -3395,7 +3395,7 @@ def create_network_area( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._create_network_area_serialize( organization_id=organization_id, @@ -3471,7 +3471,7 @@ def create_network_area_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._create_network_area_serialize( organization_id=organization_id, @@ -3547,7 +3547,7 @@ def create_network_area_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._create_network_area_serialize( organization_id=organization_id, @@ -3587,7 +3587,7 @@ def _create_network_area_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -3688,7 +3688,7 @@ def create_network_area_range( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._create_network_area_range_serialize( organization_id=organization_id, @@ -3774,7 +3774,7 @@ def create_network_area_range_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._create_network_area_range_serialize( organization_id=organization_id, @@ -3860,7 +3860,7 @@ def create_network_area_range_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._create_network_area_range_serialize( organization_id=organization_id, @@ -3903,7 +3903,7 @@ def _create_network_area_range_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -4006,7 +4006,7 @@ def create_network_area_route( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._create_network_area_route_serialize( organization_id=organization_id, @@ -4092,7 +4092,7 @@ def create_network_area_route_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._create_network_area_route_serialize( organization_id=organization_id, @@ -4178,7 +4178,7 @@ def create_network_area_route_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._create_network_area_route_serialize( organization_id=organization_id, @@ -4221,7 +4221,7 @@ def _create_network_area_route_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -4318,7 +4318,7 @@ def create_nic( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._create_nic_serialize( project_id=project_id, @@ -4399,7 +4399,7 @@ def create_nic_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._create_nic_serialize( project_id=project_id, @@ -4480,7 +4480,7 @@ def create_nic_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._create_nic_serialize( project_id=project_id, @@ -4524,7 +4524,7 @@ def _create_nic_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -4615,7 +4615,7 @@ def create_public_ip( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._create_public_ip_serialize( project_id=project_id, @@ -4688,7 +4688,7 @@ def create_public_ip_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._create_public_ip_serialize( project_id=project_id, @@ -4761,7 +4761,7 @@ def create_public_ip_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._create_public_ip_serialize( project_id=project_id, @@ -4802,7 +4802,7 @@ def _create_public_ip_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -4893,7 +4893,7 @@ def create_security_group( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._create_security_group_serialize( project_id=project_id, @@ -4967,7 +4967,7 @@ def create_security_group_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._create_security_group_serialize( project_id=project_id, @@ -5041,7 +5041,7 @@ def create_security_group_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._create_security_group_serialize( project_id=project_id, @@ -5081,7 +5081,7 @@ def _create_security_group_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -5183,7 +5183,7 @@ def create_security_group_rule( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._create_security_group_rule_serialize( project_id=project_id, @@ -5269,7 +5269,7 @@ def create_security_group_rule_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._create_security_group_rule_serialize( project_id=project_id, @@ -5355,7 +5355,7 @@ def create_security_group_rule_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._create_security_group_rule_serialize( project_id=project_id, @@ -5397,7 +5397,7 @@ def _create_security_group_rule_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -5488,7 +5488,7 @@ def create_server( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._create_server_serialize( project_id=project_id, @@ -5560,7 +5560,7 @@ def create_server_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._create_server_serialize( project_id=project_id, @@ -5632,7 +5632,7 @@ def create_server_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._create_server_serialize( project_id=project_id, @@ -5672,7 +5672,7 @@ def _create_server_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -5761,7 +5761,7 @@ def create_snapshot( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._create_snapshot_serialize( project_id=project_id, @@ -5833,7 +5833,7 @@ def create_snapshot_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._create_snapshot_serialize( project_id=project_id, @@ -5905,7 +5905,7 @@ def create_snapshot_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._create_snapshot_serialize( project_id=project_id, @@ -5945,7 +5945,7 @@ def _create_snapshot_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -6034,7 +6034,7 @@ def create_volume( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._create_volume_serialize( project_id=project_id, @@ -6106,7 +6106,7 @@ def create_volume_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._create_volume_serialize( project_id=project_id, @@ -6178,7 +6178,7 @@ def create_volume_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._create_volume_serialize( project_id=project_id, @@ -6218,7 +6218,7 @@ def _create_volume_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -6310,7 +6310,7 @@ def deallocate_server( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._deallocate_server_serialize( project_id=project_id, @@ -6386,7 +6386,7 @@ def deallocate_server_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._deallocate_server_serialize( project_id=project_id, @@ -6462,7 +6462,7 @@ def deallocate_server_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._deallocate_server_serialize( project_id=project_id, @@ -6503,7 +6503,7 @@ def _deallocate_server_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -6592,7 +6592,7 @@ def delete_affinity_group( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._delete_affinity_group_serialize( project_id=project_id, @@ -6672,7 +6672,7 @@ def delete_affinity_group_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._delete_affinity_group_serialize( project_id=project_id, @@ -6752,7 +6752,7 @@ def delete_affinity_group_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._delete_affinity_group_serialize( project_id=project_id, @@ -6792,7 +6792,7 @@ def _delete_affinity_group_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -6879,7 +6879,7 @@ def delete_backup( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._delete_backup_serialize( project_id=project_id, @@ -6958,7 +6958,7 @@ def delete_backup_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._delete_backup_serialize( project_id=project_id, @@ -7037,7 +7037,7 @@ def delete_backup_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._delete_backup_serialize( project_id=project_id, @@ -7079,7 +7079,7 @@ def _delete_backup_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -7166,7 +7166,7 @@ def delete_image( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._delete_image_serialize( project_id=project_id, @@ -7240,7 +7240,7 @@ def delete_image_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._delete_image_serialize( project_id=project_id, @@ -7314,7 +7314,7 @@ def delete_image_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._delete_image_serialize( project_id=project_id, @@ -7354,7 +7354,7 @@ def _delete_image_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -7437,7 +7437,7 @@ def delete_image_share( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._delete_image_share_serialize( project_id=project_id, @@ -7511,7 +7511,7 @@ def delete_image_share_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._delete_image_share_serialize( project_id=project_id, @@ -7585,7 +7585,7 @@ def delete_image_share_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._delete_image_share_serialize( project_id=project_id, @@ -7625,7 +7625,7 @@ def _delete_image_share_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -7719,7 +7719,7 @@ def delete_image_share_consumer( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._delete_image_share_consumer_serialize( project_id=project_id, @@ -7805,7 +7805,7 @@ def delete_image_share_consumer_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._delete_image_share_consumer_serialize( project_id=project_id, @@ -7891,7 +7891,7 @@ def delete_image_share_consumer_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._delete_image_share_consumer_serialize( project_id=project_id, @@ -7933,7 +7933,7 @@ def _delete_image_share_consumer_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -8010,7 +8010,7 @@ def delete_key_pair( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._delete_key_pair_serialize( keypair_name=keypair_name, @@ -8075,7 +8075,7 @@ def delete_key_pair_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._delete_key_pair_serialize( keypair_name=keypair_name, @@ -8140,7 +8140,7 @@ def delete_key_pair_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._delete_key_pair_serialize( keypair_name=keypair_name, @@ -8178,7 +8178,7 @@ def _delete_key_pair_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -8260,7 +8260,7 @@ def delete_network( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._delete_network_serialize( project_id=project_id, @@ -8336,7 +8336,7 @@ def delete_network_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._delete_network_serialize( project_id=project_id, @@ -8412,7 +8412,7 @@ def delete_network_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._delete_network_serialize( project_id=project_id, @@ -8453,7 +8453,7 @@ def _delete_network_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -8541,7 +8541,7 @@ def delete_network_area( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._delete_network_area_serialize( organization_id=organization_id, @@ -8621,7 +8621,7 @@ def delete_network_area_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._delete_network_area_serialize( organization_id=organization_id, @@ -8701,7 +8701,7 @@ def delete_network_area_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._delete_network_area_serialize( organization_id=organization_id, @@ -8742,7 +8742,7 @@ def _delete_network_area_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -8838,7 +8838,7 @@ def delete_network_area_range( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._delete_network_area_range_serialize( organization_id=organization_id, @@ -8927,7 +8927,7 @@ def delete_network_area_range_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._delete_network_area_range_serialize( organization_id=organization_id, @@ -9016,7 +9016,7 @@ def delete_network_area_range_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._delete_network_area_range_serialize( organization_id=organization_id, @@ -9059,7 +9059,7 @@ def _delete_network_area_range_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -9154,7 +9154,7 @@ def delete_network_area_route( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._delete_network_area_route_serialize( organization_id=organization_id, @@ -9239,7 +9239,7 @@ def delete_network_area_route_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._delete_network_area_route_serialize( organization_id=organization_id, @@ -9324,7 +9324,7 @@ def delete_network_area_route_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._delete_network_area_route_serialize( organization_id=organization_id, @@ -9366,7 +9366,7 @@ def _delete_network_area_route_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -9458,7 +9458,7 @@ def delete_nic( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._delete_nic_serialize( project_id=project_id, @@ -9540,7 +9540,7 @@ def delete_nic_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._delete_nic_serialize( project_id=project_id, @@ -9622,7 +9622,7 @@ def delete_nic_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._delete_nic_serialize( project_id=project_id, @@ -9664,7 +9664,7 @@ def _delete_nic_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -9749,7 +9749,7 @@ def delete_public_ip( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._delete_public_ip_serialize( project_id=project_id, @@ -9823,7 +9823,7 @@ def delete_public_ip_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._delete_public_ip_serialize( project_id=project_id, @@ -9897,7 +9897,7 @@ def delete_public_ip_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._delete_public_ip_serialize( project_id=project_id, @@ -9937,7 +9937,7 @@ def _delete_public_ip_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -10026,7 +10026,7 @@ def delete_security_group( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._delete_security_group_serialize( project_id=project_id, @@ -10107,7 +10107,7 @@ def delete_security_group_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._delete_security_group_serialize( project_id=project_id, @@ -10188,7 +10188,7 @@ def delete_security_group_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._delete_security_group_serialize( project_id=project_id, @@ -10229,7 +10229,7 @@ def _delete_security_group_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -10329,7 +10329,7 @@ def delete_security_group_rule( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._delete_security_group_rule_serialize( project_id=project_id, @@ -10421,7 +10421,7 @@ def delete_security_group_rule_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._delete_security_group_rule_serialize( project_id=project_id, @@ -10513,7 +10513,7 @@ def delete_security_group_rule_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._delete_security_group_rule_serialize( project_id=project_id, @@ -10555,7 +10555,7 @@ def _delete_security_group_rule_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -10641,7 +10641,7 @@ def delete_server( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._delete_server_serialize( project_id=project_id, @@ -10716,7 +10716,7 @@ def delete_server_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._delete_server_serialize( project_id=project_id, @@ -10791,7 +10791,7 @@ def delete_server_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._delete_server_serialize( project_id=project_id, @@ -10831,7 +10831,7 @@ def _delete_server_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -10915,7 +10915,7 @@ def delete_snapshot( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._delete_snapshot_serialize( project_id=project_id, @@ -10990,7 +10990,7 @@ def delete_snapshot_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._delete_snapshot_serialize( project_id=project_id, @@ -11065,7 +11065,7 @@ def delete_snapshot_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._delete_snapshot_serialize( project_id=project_id, @@ -11105,7 +11105,7 @@ def _delete_snapshot_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -11189,7 +11189,7 @@ def delete_volume( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._delete_volume_serialize( project_id=project_id, @@ -11265,7 +11265,7 @@ def delete_volume_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._delete_volume_serialize( project_id=project_id, @@ -11341,7 +11341,7 @@ def delete_volume_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._delete_volume_serialize( project_id=project_id, @@ -11382,7 +11382,7 @@ def _delete_volume_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -11471,7 +11471,7 @@ def get_affinity_group( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_affinity_group_serialize( project_id=project_id, @@ -11551,7 +11551,7 @@ def get_affinity_group_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_affinity_group_serialize( project_id=project_id, @@ -11631,7 +11631,7 @@ def get_affinity_group_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_affinity_group_serialize( project_id=project_id, @@ -11671,7 +11671,7 @@ def _get_affinity_group_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -11761,7 +11761,7 @@ def get_attached_volume( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_attached_volume_serialize( project_id=project_id, @@ -11843,7 +11843,7 @@ def get_attached_volume_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_attached_volume_serialize( project_id=project_id, @@ -11925,7 +11925,7 @@ def get_attached_volume_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_attached_volume_serialize( project_id=project_id, @@ -11967,7 +11967,7 @@ def _get_attached_volume_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -12053,7 +12053,7 @@ def get_backup( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_backup_serialize( project_id=project_id, @@ -12128,7 +12128,7 @@ def get_backup_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_backup_serialize( project_id=project_id, @@ -12203,7 +12203,7 @@ def get_backup_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_backup_serialize( project_id=project_id, @@ -12243,7 +12243,7 @@ def _get_backup_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -12326,7 +12326,7 @@ def get_image( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_image_serialize( project_id=project_id, @@ -12400,7 +12400,7 @@ def get_image_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_image_serialize( project_id=project_id, @@ -12474,7 +12474,7 @@ def get_image_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_image_serialize( project_id=project_id, @@ -12514,7 +12514,7 @@ def _get_image_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -12597,7 +12597,7 @@ def get_image_share( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_image_share_serialize( project_id=project_id, @@ -12671,7 +12671,7 @@ def get_image_share_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_image_share_serialize( project_id=project_id, @@ -12745,7 +12745,7 @@ def get_image_share_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_image_share_serialize( project_id=project_id, @@ -12785,7 +12785,7 @@ def _get_image_share_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -12879,7 +12879,7 @@ def get_image_share_consumer( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_image_share_consumer_serialize( project_id=project_id, @@ -12965,7 +12965,7 @@ def get_image_share_consumer_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_image_share_consumer_serialize( project_id=project_id, @@ -13051,7 +13051,7 @@ def get_image_share_consumer_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_image_share_consumer_serialize( project_id=project_id, @@ -13093,7 +13093,7 @@ def _get_image_share_consumer_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -13170,7 +13170,7 @@ def get_key_pair( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_key_pair_serialize( keypair_name=keypair_name, @@ -13235,7 +13235,7 @@ def get_key_pair_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_key_pair_serialize( keypair_name=keypair_name, @@ -13300,7 +13300,7 @@ def get_key_pair_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_key_pair_serialize( keypair_name=keypair_name, @@ -13338,7 +13338,7 @@ def _get_key_pair_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -13417,7 +13417,7 @@ def get_machine_type( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_machine_type_serialize( project_id=project_id, @@ -13489,7 +13489,7 @@ def get_machine_type_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_machine_type_serialize( project_id=project_id, @@ -13561,7 +13561,7 @@ def get_machine_type_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_machine_type_serialize( project_id=project_id, @@ -13601,7 +13601,7 @@ def _get_machine_type_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -13685,7 +13685,7 @@ def get_network( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_network_serialize( project_id=project_id, @@ -13760,7 +13760,7 @@ def get_network_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_network_serialize( project_id=project_id, @@ -13835,7 +13835,7 @@ def get_network_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_network_serialize( project_id=project_id, @@ -13875,7 +13875,7 @@ def _get_network_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -13963,7 +13963,7 @@ def get_network_area( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_network_area_serialize( organization_id=organization_id, @@ -14042,7 +14042,7 @@ def get_network_area_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_network_area_serialize( organization_id=organization_id, @@ -14121,7 +14121,7 @@ def get_network_area_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_network_area_serialize( organization_id=organization_id, @@ -14161,7 +14161,7 @@ def _get_network_area_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -14257,7 +14257,7 @@ def get_network_area_range( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_network_area_range_serialize( organization_id=organization_id, @@ -14345,7 +14345,7 @@ def get_network_area_range_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_network_area_range_serialize( organization_id=organization_id, @@ -14433,7 +14433,7 @@ def get_network_area_range_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_network_area_range_serialize( organization_id=organization_id, @@ -14475,7 +14475,7 @@ def _get_network_area_range_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -14570,7 +14570,7 @@ def get_network_area_route( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_network_area_route_serialize( organization_id=organization_id, @@ -14655,7 +14655,7 @@ def get_network_area_route_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_network_area_route_serialize( organization_id=organization_id, @@ -14740,7 +14740,7 @@ def get_network_area_route_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_network_area_route_serialize( organization_id=organization_id, @@ -14782,7 +14782,7 @@ def _get_network_area_route_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -14874,7 +14874,7 @@ def get_nic( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_nic_serialize( project_id=project_id, @@ -14956,7 +14956,7 @@ def get_nic_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_nic_serialize( project_id=project_id, @@ -15038,7 +15038,7 @@ def get_nic_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_nic_serialize( project_id=project_id, @@ -15080,7 +15080,7 @@ def _get_nic_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -15168,7 +15168,7 @@ def get_organization_request( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_organization_request_serialize( organization_id=organization_id, @@ -15245,7 +15245,7 @@ def get_organization_request_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_organization_request_serialize( organization_id=organization_id, @@ -15322,7 +15322,7 @@ def get_organization_request_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_organization_request_serialize( organization_id=organization_id, @@ -15362,7 +15362,7 @@ def _get_organization_request_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -15446,7 +15446,7 @@ def get_project_nic( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_project_nic_serialize( project_id=project_id, @@ -15521,7 +15521,7 @@ def get_project_nic_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_project_nic_serialize( project_id=project_id, @@ -15596,7 +15596,7 @@ def get_project_nic_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_project_nic_serialize( project_id=project_id, @@ -15636,7 +15636,7 @@ def _get_project_nic_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -15720,7 +15720,7 @@ def get_project_request( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_project_request_serialize( project_id=project_id, @@ -15795,7 +15795,7 @@ def get_project_request_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_project_request_serialize( project_id=project_id, @@ -15870,7 +15870,7 @@ def get_project_request_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_project_request_serialize( project_id=project_id, @@ -15910,7 +15910,7 @@ def _get_project_request_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -15993,7 +15993,7 @@ def get_public_ip( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_public_ip_serialize( project_id=project_id, @@ -16067,7 +16067,7 @@ def get_public_ip_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_public_ip_serialize( project_id=project_id, @@ -16141,7 +16141,7 @@ def get_public_ip_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_public_ip_serialize( project_id=project_id, @@ -16181,7 +16181,7 @@ def _get_public_ip_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -16270,7 +16270,7 @@ def get_security_group( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_security_group_serialize( project_id=project_id, @@ -16350,7 +16350,7 @@ def get_security_group_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_security_group_serialize( project_id=project_id, @@ -16430,7 +16430,7 @@ def get_security_group_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_security_group_serialize( project_id=project_id, @@ -16470,7 +16470,7 @@ def _get_security_group_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -16570,7 +16570,7 @@ def get_security_group_rule( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_security_group_rule_serialize( project_id=project_id, @@ -16662,7 +16662,7 @@ def get_security_group_rule_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_security_group_rule_serialize( project_id=project_id, @@ -16754,7 +16754,7 @@ def get_security_group_rule_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_security_group_rule_serialize( project_id=project_id, @@ -16796,7 +16796,7 @@ def _get_security_group_rule_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -16885,7 +16885,7 @@ def get_server( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_server_serialize( project_id=project_id, @@ -16964,7 +16964,7 @@ def get_server_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_server_serialize( project_id=project_id, @@ -17043,7 +17043,7 @@ def get_server_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_server_serialize( project_id=project_id, @@ -17085,7 +17085,7 @@ def _get_server_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -17173,7 +17173,7 @@ def get_server_console( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_server_console_serialize( project_id=project_id, @@ -17248,7 +17248,7 @@ def get_server_console_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_server_console_serialize( project_id=project_id, @@ -17323,7 +17323,7 @@ def get_server_console_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_server_console_serialize( project_id=project_id, @@ -17363,7 +17363,7 @@ def _get_server_console_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -17455,7 +17455,7 @@ def get_server_log( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_server_log_serialize( project_id=project_id, @@ -17539,7 +17539,7 @@ def get_server_log_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_server_log_serialize( project_id=project_id, @@ -17623,7 +17623,7 @@ def get_server_log_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_server_log_serialize( project_id=project_id, @@ -17665,7 +17665,7 @@ def _get_server_log_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -17753,7 +17753,7 @@ def get_snapshot( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_snapshot_serialize( project_id=project_id, @@ -17828,7 +17828,7 @@ def get_snapshot_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_snapshot_serialize( project_id=project_id, @@ -17903,7 +17903,7 @@ def get_snapshot_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_snapshot_serialize( project_id=project_id, @@ -17943,7 +17943,7 @@ def _get_snapshot_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -18027,7 +18027,7 @@ def get_volume( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_volume_serialize( project_id=project_id, @@ -18102,7 +18102,7 @@ def get_volume_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_volume_serialize( project_id=project_id, @@ -18177,7 +18177,7 @@ def get_volume_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_volume_serialize( project_id=project_id, @@ -18217,7 +18217,7 @@ def _get_volume_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -18300,7 +18300,7 @@ def get_volume_performance_class( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_volume_performance_class_serialize( project_id=project_id, @@ -18374,7 +18374,7 @@ def get_volume_performance_class_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_volume_performance_class_serialize( project_id=project_id, @@ -18448,7 +18448,7 @@ def get_volume_performance_class_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._get_volume_performance_class_serialize( project_id=project_id, @@ -18488,7 +18488,7 @@ def _get_volume_performance_class_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -18566,7 +18566,7 @@ def list_affinity_groups( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_affinity_groups_serialize( project_id=project_id, @@ -18635,7 +18635,7 @@ def list_affinity_groups_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_affinity_groups_serialize( project_id=project_id, @@ -18704,7 +18704,7 @@ def list_affinity_groups_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_affinity_groups_serialize( project_id=project_id, @@ -18743,7 +18743,7 @@ def _list_affinity_groups_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -18825,7 +18825,7 @@ def list_attached_volumes( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_attached_volumes_serialize( project_id=project_id, @@ -18900,7 +18900,7 @@ def list_attached_volumes_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_attached_volumes_serialize( project_id=project_id, @@ -18975,7 +18975,7 @@ def list_attached_volumes_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_attached_volumes_serialize( project_id=project_id, @@ -19015,7 +19015,7 @@ def _list_attached_volumes_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -19087,7 +19087,7 @@ def list_availability_zones( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_availability_zones_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index @@ -19145,7 +19145,7 @@ def list_availability_zones_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_availability_zones_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index @@ -19203,7 +19203,7 @@ def list_availability_zones_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_availability_zones_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index @@ -19236,7 +19236,7 @@ def _list_availability_zones_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -19313,7 +19313,7 @@ def list_backups( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_backups_serialize( project_id=project_id, @@ -19385,7 +19385,7 @@ def list_backups_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_backups_serialize( project_id=project_id, @@ -19457,7 +19457,7 @@ def list_backups_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_backups_serialize( project_id=project_id, @@ -19497,7 +19497,7 @@ def _list_backups_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -19583,7 +19583,7 @@ def list_images( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_images_serialize( project_id=project_id, @@ -19659,7 +19659,7 @@ def list_images_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_images_serialize( project_id=project_id, @@ -19735,7 +19735,7 @@ def list_images_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_images_serialize( project_id=project_id, @@ -19777,7 +19777,7 @@ def _list_images_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -19858,7 +19858,7 @@ def list_key_pairs( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_key_pairs_serialize( label_selector=label_selector, @@ -19923,7 +19923,7 @@ def list_key_pairs_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_key_pairs_serialize( label_selector=label_selector, @@ -19988,7 +19988,7 @@ def list_key_pairs_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_key_pairs_serialize( label_selector=label_selector, @@ -20026,7 +20026,7 @@ def _list_key_pairs_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -20112,7 +20112,7 @@ def list_machine_types( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_machine_types_serialize( project_id=project_id, @@ -20189,7 +20189,7 @@ def list_machine_types_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_machine_types_serialize( project_id=project_id, @@ -20266,7 +20266,7 @@ def list_machine_types_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_machine_types_serialize( project_id=project_id, @@ -20306,7 +20306,7 @@ def _list_machine_types_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -20396,7 +20396,7 @@ def list_network_area_projects( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_network_area_projects_serialize( organization_id=organization_id, @@ -20475,7 +20475,7 @@ def list_network_area_projects_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_network_area_projects_serialize( organization_id=organization_id, @@ -20554,7 +20554,7 @@ def list_network_area_projects_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_network_area_projects_serialize( organization_id=organization_id, @@ -20594,7 +20594,7 @@ def _list_network_area_projects_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -20682,7 +20682,7 @@ def list_network_area_ranges( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_network_area_ranges_serialize( organization_id=organization_id, @@ -20761,7 +20761,7 @@ def list_network_area_ranges_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_network_area_ranges_serialize( organization_id=organization_id, @@ -20840,7 +20840,7 @@ def list_network_area_ranges_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_network_area_ranges_serialize( organization_id=organization_id, @@ -20880,7 +20880,7 @@ def _list_network_area_ranges_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -20971,7 +20971,7 @@ def list_network_area_routes( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_network_area_routes_serialize( organization_id=organization_id, @@ -21054,7 +21054,7 @@ def list_network_area_routes_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_network_area_routes_serialize( organization_id=organization_id, @@ -21137,7 +21137,7 @@ def list_network_area_routes_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_network_area_routes_serialize( organization_id=organization_id, @@ -21179,7 +21179,7 @@ def _list_network_area_routes_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -21266,7 +21266,7 @@ def list_network_areas( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_network_areas_serialize( organization_id=organization_id, @@ -21340,7 +21340,7 @@ def list_network_areas_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_network_areas_serialize( organization_id=organization_id, @@ -21414,7 +21414,7 @@ def list_network_areas_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_network_areas_serialize( organization_id=organization_id, @@ -21454,7 +21454,7 @@ def _list_network_areas_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -21537,7 +21537,7 @@ def list_networks( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_networks_serialize( project_id=project_id, @@ -21609,7 +21609,7 @@ def list_networks_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_networks_serialize( project_id=project_id, @@ -21681,7 +21681,7 @@ def list_networks_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_networks_serialize( project_id=project_id, @@ -21721,7 +21721,7 @@ def _list_networks_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -21810,7 +21810,7 @@ def list_nics( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_nics_serialize( project_id=project_id, @@ -21889,7 +21889,7 @@ def list_nics_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_nics_serialize( project_id=project_id, @@ -21968,7 +21968,7 @@ def list_nics_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_nics_serialize( project_id=project_id, @@ -22010,7 +22010,7 @@ def _list_nics_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -22095,7 +22095,7 @@ def list_project_nics( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_project_nics_serialize( project_id=project_id, @@ -22167,7 +22167,7 @@ def list_project_nics_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_project_nics_serialize( project_id=project_id, @@ -22239,7 +22239,7 @@ def list_project_nics_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_project_nics_serialize( project_id=project_id, @@ -22279,7 +22279,7 @@ def _list_project_nics_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -22353,7 +22353,7 @@ def list_public_ip_ranges( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_public_ip_ranges_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index @@ -22411,7 +22411,7 @@ def list_public_ip_ranges_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_public_ip_ranges_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index @@ -22469,7 +22469,7 @@ def list_public_ip_ranges_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_public_ip_ranges_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index @@ -22502,7 +22502,7 @@ def _list_public_ip_ranges_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -22579,7 +22579,7 @@ def list_public_ips( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_public_ips_serialize( project_id=project_id, @@ -22651,7 +22651,7 @@ def list_public_ips_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_public_ips_serialize( project_id=project_id, @@ -22723,7 +22723,7 @@ def list_public_ips_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_public_ips_serialize( project_id=project_id, @@ -22763,7 +22763,7 @@ def _list_public_ips_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -22843,7 +22843,7 @@ def list_quotas( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_quotas_serialize( project_id=project_id, @@ -22911,7 +22911,7 @@ def list_quotas_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_quotas_serialize( project_id=project_id, @@ -22979,7 +22979,7 @@ def list_quotas_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_quotas_serialize( project_id=project_id, @@ -23017,7 +23017,7 @@ def _list_quotas_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -23104,7 +23104,7 @@ def list_security_group_rules( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_security_group_rules_serialize( project_id=project_id, @@ -23184,7 +23184,7 @@ def list_security_group_rules_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_security_group_rules_serialize( project_id=project_id, @@ -23264,7 +23264,7 @@ def list_security_group_rules_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_security_group_rules_serialize( project_id=project_id, @@ -23304,7 +23304,7 @@ def _list_security_group_rules_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -23385,7 +23385,7 @@ def list_security_groups( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_security_groups_serialize( project_id=project_id, @@ -23457,7 +23457,7 @@ def list_security_groups_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_security_groups_serialize( project_id=project_id, @@ -23529,7 +23529,7 @@ def list_security_groups_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_security_groups_serialize( project_id=project_id, @@ -23569,7 +23569,7 @@ def _list_security_groups_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -23655,7 +23655,7 @@ def list_server_nics( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_server_nics_serialize( project_id=project_id, @@ -23730,7 +23730,7 @@ def list_server_nics_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_server_nics_serialize( project_id=project_id, @@ -23805,7 +23805,7 @@ def list_server_nics_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_server_nics_serialize( project_id=project_id, @@ -23845,7 +23845,7 @@ def _list_server_nics_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -23929,7 +23929,7 @@ def list_server_service_accounts( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_server_service_accounts_serialize( project_id=project_id, @@ -24004,7 +24004,7 @@ def list_server_service_accounts_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_server_service_accounts_serialize( project_id=project_id, @@ -24079,7 +24079,7 @@ def list_server_service_accounts_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_server_service_accounts_serialize( project_id=project_id, @@ -24119,7 +24119,7 @@ def _list_server_service_accounts_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -24203,7 +24203,7 @@ def list_servers( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_servers_serialize( project_id=project_id, @@ -24279,7 +24279,7 @@ def list_servers_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_servers_serialize( project_id=project_id, @@ -24355,7 +24355,7 @@ def list_servers_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_servers_serialize( project_id=project_id, @@ -24397,7 +24397,7 @@ def _list_servers_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -24484,7 +24484,7 @@ def list_snapshots( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_snapshots_serialize( project_id=project_id, @@ -24556,7 +24556,7 @@ def list_snapshots_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_snapshots_serialize( project_id=project_id, @@ -24628,7 +24628,7 @@ def list_snapshots_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_snapshots_serialize( project_id=project_id, @@ -24668,7 +24668,7 @@ def _list_snapshots_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -24751,7 +24751,7 @@ def list_volume_performance_classes( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_volume_performance_classes_serialize( project_id=project_id, @@ -24823,7 +24823,7 @@ def list_volume_performance_classes_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_volume_performance_classes_serialize( project_id=project_id, @@ -24895,7 +24895,7 @@ def list_volume_performance_classes_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_volume_performance_classes_serialize( project_id=project_id, @@ -24935,7 +24935,7 @@ def _list_volume_performance_classes_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -25018,7 +25018,7 @@ def list_volumes( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_volumes_serialize( project_id=project_id, @@ -25090,7 +25090,7 @@ def list_volumes_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_volumes_serialize( project_id=project_id, @@ -25162,7 +25162,7 @@ def list_volumes_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._list_volumes_serialize( project_id=project_id, @@ -25202,7 +25202,7 @@ def _list_volumes_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -25293,7 +25293,7 @@ def partial_update_network( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._partial_update_network_serialize( project_id=project_id, @@ -25374,7 +25374,7 @@ def partial_update_network_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._partial_update_network_serialize( project_id=project_id, @@ -25455,7 +25455,7 @@ def partial_update_network_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._partial_update_network_serialize( project_id=project_id, @@ -25497,7 +25497,7 @@ def _partial_update_network_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -25600,7 +25600,7 @@ def partial_update_network_area( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._partial_update_network_area_serialize( organization_id=organization_id, @@ -25685,7 +25685,7 @@ def partial_update_network_area_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._partial_update_network_area_serialize( organization_id=organization_id, @@ -25770,7 +25770,7 @@ def partial_update_network_area_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._partial_update_network_area_serialize( organization_id=organization_id, @@ -25812,7 +25812,7 @@ def _partial_update_network_area_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -25909,7 +25909,7 @@ def reboot_server( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._reboot_server_serialize( project_id=project_id, @@ -25989,7 +25989,7 @@ def reboot_server_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._reboot_server_serialize( project_id=project_id, @@ -26069,7 +26069,7 @@ def reboot_server_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._reboot_server_serialize( project_id=project_id, @@ -26112,7 +26112,7 @@ def _reboot_server_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -26206,7 +26206,7 @@ def remove_network_from_server( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._remove_network_from_server_serialize( project_id=project_id, @@ -26288,7 +26288,7 @@ def remove_network_from_server_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._remove_network_from_server_serialize( project_id=project_id, @@ -26370,7 +26370,7 @@ def remove_network_from_server_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._remove_network_from_server_serialize( project_id=project_id, @@ -26412,7 +26412,7 @@ def _remove_network_from_server_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -26504,7 +26504,7 @@ def remove_nic_from_server( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._remove_nic_from_server_serialize( project_id=project_id, @@ -26586,7 +26586,7 @@ def remove_nic_from_server_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._remove_nic_from_server_serialize( project_id=project_id, @@ -26668,7 +26668,7 @@ def remove_nic_from_server_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._remove_nic_from_server_serialize( project_id=project_id, @@ -26710,7 +26710,7 @@ def _remove_nic_from_server_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -26801,7 +26801,7 @@ def remove_public_ip_from_server( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._remove_public_ip_from_server_serialize( project_id=project_id, @@ -26883,7 +26883,7 @@ def remove_public_ip_from_server_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._remove_public_ip_from_server_serialize( project_id=project_id, @@ -26965,7 +26965,7 @@ def remove_public_ip_from_server_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._remove_public_ip_from_server_serialize( project_id=project_id, @@ -27008,7 +27008,7 @@ def _remove_public_ip_from_server_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -27105,7 +27105,7 @@ def remove_security_group_from_server( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._remove_security_group_from_server_serialize( project_id=project_id, @@ -27193,7 +27193,7 @@ def remove_security_group_from_server_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._remove_security_group_from_server_serialize( project_id=project_id, @@ -27281,7 +27281,7 @@ def remove_security_group_from_server_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._remove_security_group_from_server_serialize( project_id=project_id, @@ -27324,7 +27324,7 @@ def _remove_security_group_from_server_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -27415,7 +27415,7 @@ def remove_service_account_from_server( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._remove_service_account_from_server_serialize( project_id=project_id, @@ -27497,7 +27497,7 @@ def remove_service_account_from_server_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._remove_service_account_from_server_serialize( project_id=project_id, @@ -27579,7 +27579,7 @@ def remove_service_account_from_server_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._remove_service_account_from_server_serialize( project_id=project_id, @@ -27622,7 +27622,7 @@ def _remove_service_account_from_server_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -27714,7 +27714,7 @@ def remove_volume_from_server( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._remove_volume_from_server_serialize( project_id=project_id, @@ -27797,7 +27797,7 @@ def remove_volume_from_server_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._remove_volume_from_server_serialize( project_id=project_id, @@ -27880,7 +27880,7 @@ def remove_volume_from_server_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._remove_volume_from_server_serialize( project_id=project_id, @@ -27923,7 +27923,7 @@ def _remove_volume_from_server_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -28012,7 +28012,7 @@ def rescue_server( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._rescue_server_serialize( project_id=project_id, @@ -28092,7 +28092,7 @@ def rescue_server_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._rescue_server_serialize( project_id=project_id, @@ -28172,7 +28172,7 @@ def rescue_server_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._rescue_server_serialize( project_id=project_id, @@ -28215,7 +28215,7 @@ def _rescue_server_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -28312,7 +28312,7 @@ def resize_server( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._resize_server_serialize( project_id=project_id, @@ -28392,7 +28392,7 @@ def resize_server_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._resize_server_serialize( project_id=project_id, @@ -28472,7 +28472,7 @@ def resize_server_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._resize_server_serialize( project_id=project_id, @@ -28515,7 +28515,7 @@ def _resize_server_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -28614,7 +28614,7 @@ def resize_volume( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._resize_volume_serialize( project_id=project_id, @@ -28696,7 +28696,7 @@ def resize_volume_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._resize_volume_serialize( project_id=project_id, @@ -28778,7 +28778,7 @@ def resize_volume_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._resize_volume_serialize( project_id=project_id, @@ -28821,7 +28821,7 @@ def _resize_volume_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -28915,7 +28915,7 @@ def restore_backup( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._restore_backup_serialize( project_id=project_id, @@ -28990,7 +28990,7 @@ def restore_backup_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._restore_backup_serialize( project_id=project_id, @@ -29065,7 +29065,7 @@ def restore_backup_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._restore_backup_serialize( project_id=project_id, @@ -29105,7 +29105,7 @@ def _restore_backup_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -29191,7 +29191,7 @@ def set_image_share( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._set_image_share_serialize( project_id=project_id, @@ -29269,7 +29269,7 @@ def set_image_share_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._set_image_share_serialize( project_id=project_id, @@ -29347,7 +29347,7 @@ def set_image_share_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._set_image_share_serialize( project_id=project_id, @@ -29389,7 +29389,7 @@ def _set_image_share_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -29483,7 +29483,7 @@ def start_server( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._start_server_serialize( project_id=project_id, @@ -29559,7 +29559,7 @@ def start_server_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._start_server_serialize( project_id=project_id, @@ -29635,7 +29635,7 @@ def start_server_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._start_server_serialize( project_id=project_id, @@ -29676,7 +29676,7 @@ def _start_server_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -29760,7 +29760,7 @@ def stop_server( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._stop_server_serialize( project_id=project_id, @@ -29836,7 +29836,7 @@ def stop_server_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._stop_server_serialize( project_id=project_id, @@ -29912,7 +29912,7 @@ def stop_server_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._stop_server_serialize( project_id=project_id, @@ -29953,7 +29953,7 @@ def _stop_server_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -30037,7 +30037,7 @@ def unrescue_server( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._unrescue_server_serialize( project_id=project_id, @@ -30113,7 +30113,7 @@ def unrescue_server_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._unrescue_server_serialize( project_id=project_id, @@ -30189,7 +30189,7 @@ def unrescue_server_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._unrescue_server_serialize( project_id=project_id, @@ -30230,7 +30230,7 @@ def _unrescue_server_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -30325,7 +30325,7 @@ def update_attached_volume( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._update_attached_volume_serialize( project_id=project_id, @@ -30413,7 +30413,7 @@ def update_attached_volume_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._update_attached_volume_serialize( project_id=project_id, @@ -30501,7 +30501,7 @@ def update_attached_volume_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._update_attached_volume_serialize( project_id=project_id, @@ -30545,7 +30545,7 @@ def _update_attached_volume_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -30644,7 +30644,7 @@ def update_backup( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._update_backup_serialize( project_id=project_id, @@ -30723,7 +30723,7 @@ def update_backup_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._update_backup_serialize( project_id=project_id, @@ -30802,7 +30802,7 @@ def update_backup_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._update_backup_serialize( project_id=project_id, @@ -30844,7 +30844,7 @@ def _update_backup_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -30940,7 +30940,7 @@ def update_image( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._update_image_serialize( project_id=project_id, @@ -31018,7 +31018,7 @@ def update_image_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._update_image_serialize( project_id=project_id, @@ -31096,7 +31096,7 @@ def update_image_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._update_image_serialize( project_id=project_id, @@ -31138,7 +31138,7 @@ def _update_image_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -31231,7 +31231,7 @@ def update_image_scope_local( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._update_image_scope_local_serialize( project_id=project_id, @@ -31305,7 +31305,7 @@ def update_image_scope_local_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._update_image_scope_local_serialize( project_id=project_id, @@ -31379,7 +31379,7 @@ def update_image_scope_local_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._update_image_scope_local_serialize( project_id=project_id, @@ -31419,7 +31419,7 @@ def _update_image_scope_local_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -31502,7 +31502,7 @@ def update_image_scope_public( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._update_image_scope_public_serialize( project_id=project_id, @@ -31576,7 +31576,7 @@ def update_image_scope_public_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._update_image_scope_public_serialize( project_id=project_id, @@ -31650,7 +31650,7 @@ def update_image_scope_public_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._update_image_scope_public_serialize( project_id=project_id, @@ -31690,7 +31690,7 @@ def _update_image_scope_public_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -31776,7 +31776,7 @@ def update_image_share( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._update_image_share_serialize( project_id=project_id, @@ -31854,7 +31854,7 @@ def update_image_share_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._update_image_share_serialize( project_id=project_id, @@ -31932,7 +31932,7 @@ def update_image_share_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._update_image_share_serialize( project_id=project_id, @@ -31974,7 +31974,7 @@ def _update_image_share_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -32064,7 +32064,7 @@ def update_key_pair( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._update_key_pair_serialize( keypair_name=keypair_name, @@ -32135,7 +32135,7 @@ def update_key_pair_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._update_key_pair_serialize( keypair_name=keypair_name, @@ -32206,7 +32206,7 @@ def update_key_pair_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._update_key_pair_serialize( keypair_name=keypair_name, @@ -32246,7 +32246,7 @@ def _update_key_pair_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -32352,7 +32352,7 @@ def update_network_area_route( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._update_network_area_route_serialize( organization_id=organization_id, @@ -32443,7 +32443,7 @@ def update_network_area_route_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._update_network_area_route_serialize( organization_id=organization_id, @@ -32534,7 +32534,7 @@ def update_network_area_route_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._update_network_area_route_serialize( organization_id=organization_id, @@ -32578,7 +32578,7 @@ def _update_network_area_route_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -32683,7 +32683,7 @@ def update_nic( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._update_nic_serialize( project_id=project_id, @@ -32770,7 +32770,7 @@ def update_nic_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._update_nic_serialize( project_id=project_id, @@ -32857,7 +32857,7 @@ def update_nic_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._update_nic_serialize( project_id=project_id, @@ -32902,7 +32902,7 @@ def _update_nic_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -33002,7 +33002,7 @@ def update_public_ip( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._update_public_ip_serialize( project_id=project_id, @@ -33082,7 +33082,7 @@ def update_public_ip_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._update_public_ip_serialize( project_id=project_id, @@ -33162,7 +33162,7 @@ def update_public_ip_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._update_public_ip_serialize( project_id=project_id, @@ -33204,7 +33204,7 @@ def _update_public_ip_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -33308,7 +33308,7 @@ def update_security_group( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._update_security_group_serialize( project_id=project_id, @@ -33394,7 +33394,7 @@ def update_security_group_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._update_security_group_serialize( project_id=project_id, @@ -33480,7 +33480,7 @@ def update_security_group_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._update_security_group_serialize( project_id=project_id, @@ -33522,7 +33522,7 @@ def _update_security_group_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -33619,7 +33619,7 @@ def update_server( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._update_server_serialize( project_id=project_id, @@ -33698,7 +33698,7 @@ def update_server_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._update_server_serialize( project_id=project_id, @@ -33777,7 +33777,7 @@ def update_server_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._update_server_serialize( project_id=project_id, @@ -33819,7 +33819,7 @@ def _update_server_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -33918,7 +33918,7 @@ def update_snapshot( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._update_snapshot_serialize( project_id=project_id, @@ -33999,7 +33999,7 @@ def update_snapshot_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._update_snapshot_serialize( project_id=project_id, @@ -34080,7 +34080,7 @@ def update_snapshot_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._update_snapshot_serialize( project_id=project_id, @@ -34122,7 +34122,7 @@ def _update_snapshot_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -34219,7 +34219,7 @@ def update_volume( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._update_volume_serialize( project_id=project_id, @@ -34298,7 +34298,7 @@ def update_volume_with_http_info( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._update_volume_serialize( project_id=project_id, @@ -34377,7 +34377,7 @@ def update_volume_without_preload_content( in the spec for a single request. :type _host_index: int, optional :return: Returns the result object. - """ # noqa: E501 docstring might be too long + """ # noqa: E501 _param = self._update_volume_serialize( project_id=project_id, @@ -34419,7 +34419,7 @@ def _update_volume_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {} _body_params: Optional[bytes] = None # process the path parameters diff --git a/services/iaas/src/stackit/iaas/api_client.py b/services/iaas/src/stackit/iaas/api_client.py index 7b8c4915..3cdd5df5 100644 --- a/services/iaas/src/stackit/iaas/api_client.py +++ b/services/iaas/src/stackit/iaas/api_client.py @@ -10,7 +10,7 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 import datetime import json @@ -332,6 +332,10 @@ def sanitize_for_serialization(self, obj): else: obj_dict = obj.__dict__ + if isinstance(obj_dict, list): + # here we handle instances that can either be a list or something else, and only became a real list by calling to_dict() + return self.sanitize_for_serialization(obj_dict) + return {key: self.sanitize_for_serialization(val) for key, val in obj_dict.items()} def deserialize(self, response_text: str, response_type: str, content_type: Optional[str]): @@ -351,12 +355,12 @@ def deserialize(self, response_text: str, response_type: str, content_type: Opti data = json.loads(response_text) except ValueError: data = response_text - elif content_type.startswith("application/json"): + elif re.match(r"^application/(json|[\w!#$&.+-^_]+\+json)\s*(;|$)", content_type, re.IGNORECASE): if response_text == "": data = "" else: data = json.loads(response_text) - elif content_type.startswith("text/plain"): + elif re.match(r"^text\/[a-z.+-]+\s*(;|$)", content_type, re.IGNORECASE): data = response_text else: raise ApiException(status=0, reason="Unsupported content type: {0}".format(content_type)) @@ -458,7 +462,7 @@ def parameters_to_url_query(self, params, collection_formats): if k in collection_formats: collection_format = collection_formats[k] if collection_format == "multi": - new_params.extend((k, str(value)) for value in v) + new_params.extend((k, quote(str(value))) for value in v) else: if collection_format == "ssv": delimiter = " " @@ -474,7 +478,10 @@ def parameters_to_url_query(self, params, collection_formats): return "&".join(["=".join(map(str, item)) for item in new_params]) - def files_parameters(self, files: Dict[str, Union[str, bytes]]): + def files_parameters( + self, + files: Dict[str, Union[str, bytes, List[str], List[bytes], Tuple[str, bytes]]], + ): """Builds form parameters. :param files: File parameters. @@ -489,6 +496,12 @@ def files_parameters(self, files: Dict[str, Union[str, bytes]]): elif isinstance(v, bytes): filename = k filedata = v + elif isinstance(v, tuple): + filename, filedata = v + elif isinstance(v, list): + for file_param in v: + params.extend(self.files_parameters({k: file_param})) + continue else: raise ValueError("Unsupported file value") mimetype = mimetypes.guess_type(filename)[0] or "application/octet-stream" diff --git a/services/iaas/src/stackit/iaas/configuration.py b/services/iaas/src/stackit/iaas/configuration.py index 17b2df8d..afb586a5 100644 --- a/services/iaas/src/stackit/iaas/configuration.py +++ b/services/iaas/src/stackit/iaas/configuration.py @@ -1,10 +1,5 @@ # coding: utf-8 -import sys - -import os - - """ IaaS-API @@ -15,7 +10,29 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 + +import sys +from typing import Dict, List, Optional, TypedDict + +from typing_extensions import NotRequired + +import os + + +ServerVariablesT = Dict[str, str] + + +class HostSettingVariable(TypedDict): + description: str + default_value: str + enum_values: List[str] + + +class HostSetting(TypedDict): + url: str + description: str + variables: NotRequired[Dict[str, HostSettingVariable]] class HostConfiguration: @@ -54,7 +71,7 @@ def __init__( """Ignore operation servers """ - def get_host_settings(self): + def get_host_settings(self) -> List[HostSetting]: """Gets an array of host settings :return: An array of host settings @@ -73,7 +90,12 @@ def get_host_settings(self): } ] - def get_host_from_settings(self, index, variables=None, servers=None): + def get_host_from_settings( + self, + index: Optional[int], + variables: Optional[ServerVariablesT] = None, + servers: Optional[List[HostSetting]] = None, + ) -> str: """Gets host URL based on the index and variables :param index: array index of the host settings :param variables: hash of variable and the corresponding value @@ -113,7 +135,7 @@ def get_host_from_settings(self, index, variables=None, servers=None): and variables.get(variable_name) is not None ): raise ValueError( - "this API does not support setting a region in the the client configuration, " + "this API does not support setting a region in the client configuration, " "please check if the region can be specified as a function parameter" ) used_value = variables.get(variable_name, variable["default_value"]) @@ -132,12 +154,12 @@ def get_host_from_settings(self, index, variables=None, servers=None): return url @property - def host(self): + def host(self) -> str: """Return generated host.""" return self.get_host_from_settings(self.server_index, variables=self.server_variables) @host.setter - def host(self, value): + def host(self, value: str) -> None: """Fix base path.""" self._base_path = value self.server_index = None diff --git a/services/iaas/src/stackit/iaas/exceptions.py b/services/iaas/src/stackit/iaas/exceptions.py index 93f48331..0014a251 100644 --- a/services/iaas/src/stackit/iaas/exceptions.py +++ b/services/iaas/src/stackit/iaas/exceptions.py @@ -10,7 +10,7 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from typing import Any, Optional @@ -128,7 +128,7 @@ def __init__( if self.body is None: try: self.body = http_resp.data.decode("utf-8") - except Exception: # noqa: S110 + except Exception: pass self.headers = http_resp.getheaders() @@ -152,6 +152,13 @@ def from_response( if http_resp.status == 404: raise NotFoundException(http_resp=http_resp, body=body, data=data) + # Added new conditions for 409 and 422 + if http_resp.status == 409: + raise ConflictException(http_resp=http_resp, body=body, data=data) + + if http_resp.status == 422: + raise UnprocessableEntityException(http_resp=http_resp, body=body, data=data) + if 500 <= http_resp.status <= 599: raise ServiceException(http_resp=http_resp, body=body, data=data) raise ApiException(http_resp=http_resp, body=body, data=data) @@ -188,6 +195,18 @@ class ServiceException(ApiException): pass +class ConflictException(ApiException): + """Exception for HTTP 409 Conflict.""" + + pass + + +class UnprocessableEntityException(ApiException): + """Exception for HTTP 422 Unprocessable Entity.""" + + pass + + def render_path(path_to_item): """Returns a string representation of a path""" result = "" diff --git a/services/iaas/src/stackit/iaas/models/__init__.py b/services/iaas/src/stackit/iaas/models/__init__.py index 7efdd5ce..b1d5a29a 100644 --- a/services/iaas/src/stackit/iaas/models/__init__.py +++ b/services/iaas/src/stackit/iaas/models/__init__.py @@ -11,7 +11,7 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 # import models into model package diff --git a/services/iaas/src/stackit/iaas/models/add_volume_to_server_payload.py b/services/iaas/src/stackit/iaas/models/add_volume_to_server_payload.py index ca1487d2..93557c14 100644 --- a/services/iaas/src/stackit/iaas/models/add_volume_to_server_payload.py +++ b/services/iaas/src/stackit/iaas/models/add_volume_to_server_payload.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from typing import Any, ClassVar, Dict, List, Optional, Set from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator @@ -26,7 +26,7 @@ class AddVolumeToServerPayload(BaseModel): """ Object that represents a Volume attachment to a server. - """ + """ # noqa: E501 delete_on_termination: Optional[StrictBool] = Field( default=None, diff --git a/services/iaas/src/stackit/iaas/models/affinity_group.py b/services/iaas/src/stackit/iaas/models/affinity_group.py index 629a186a..011bc650 100644 --- a/services/iaas/src/stackit/iaas/models/affinity_group.py +++ b/services/iaas/src/stackit/iaas/models/affinity_group.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from typing import Any, ClassVar, Dict, List, Optional, Set from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator @@ -26,7 +26,7 @@ class AffinityGroup(BaseModel): """ Definition of an affinity group. - """ + """ # noqa: E501 id: Optional[Annotated[str, Field(min_length=36, strict=True, max_length=36)]] = Field( default=None, description="Universally Unique Identifier (UUID)." diff --git a/services/iaas/src/stackit/iaas/models/affinity_group_list_response.py b/services/iaas/src/stackit/iaas/models/affinity_group_list_response.py index 5b8dd828..5d4333ce 100644 --- a/services/iaas/src/stackit/iaas/models/affinity_group_list_response.py +++ b/services/iaas/src/stackit/iaas/models/affinity_group_list_response.py @@ -10,7 +10,7 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations @@ -27,7 +27,7 @@ class AffinityGroupListResponse(BaseModel): """ Response object for affinity group list request. - """ + """ # noqa: E501 items: List[AffinityGroup] = Field(description="A list of affinity groups.") __properties: ClassVar[List[str]] = ["items"] diff --git a/services/iaas/src/stackit/iaas/models/allowed_addresses_inner.py b/services/iaas/src/stackit/iaas/models/allowed_addresses_inner.py index c45cb618..eb37911c 100644 --- a/services/iaas/src/stackit/iaas/models/allowed_addresses_inner.py +++ b/services/iaas/src/stackit/iaas/models/allowed_addresses_inner.py @@ -10,7 +10,7 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations diff --git a/services/iaas/src/stackit/iaas/models/area.py b/services/iaas/src/stackit/iaas/models/area.py index fcd43a9b..4ca3a667 100644 --- a/services/iaas/src/stackit/iaas/models/area.py +++ b/services/iaas/src/stackit/iaas/models/area.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from typing import Any, ClassVar, Dict, List, Optional, Set from pydantic import BaseModel, ConfigDict, Field, field_validator @@ -29,7 +29,7 @@ class Area(BaseModel): """ The basic properties of a network area. - """ + """ # noqa: E501 default_nameservers: Optional[Annotated[List[Annotated[str, Field(strict=True)]], Field(max_length=3)]] = Field( default=None, description="A list containing DNS Servers/Nameservers for IPv4.", alias="defaultNameservers" diff --git a/services/iaas/src/stackit/iaas/models/area_config.py b/services/iaas/src/stackit/iaas/models/area_config.py index 023175d6..bbae0f20 100644 --- a/services/iaas/src/stackit/iaas/models/area_config.py +++ b/services/iaas/src/stackit/iaas/models/area_config.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from typing import Any, ClassVar, Dict, List, Optional, Set from pydantic import BaseModel, ConfigDict, Field, field_validator @@ -29,7 +29,7 @@ class AreaConfig(BaseModel): """ The basic network area object. - """ + """ # noqa: E501 default_nameservers: Optional[Annotated[List[Annotated[str, Field(strict=True)]], Field(max_length=3)]] = Field( default=None, alias="defaultNameservers" diff --git a/services/iaas/src/stackit/iaas/models/area_prefix_config_ipv4.py b/services/iaas/src/stackit/iaas/models/area_prefix_config_ipv4.py index ee581846..c1ac7530 100644 --- a/services/iaas/src/stackit/iaas/models/area_prefix_config_ipv4.py +++ b/services/iaas/src/stackit/iaas/models/area_prefix_config_ipv4.py @@ -10,7 +10,7 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations @@ -25,7 +25,7 @@ class AreaPrefixConfigIPv4(BaseModel): """ The IPv4 prefix config for a network area. - """ + """ # noqa: E501 default_prefix_len: Optional[Annotated[int, Field(le=29, strict=True, ge=24)]] = Field( default=None, diff --git a/services/iaas/src/stackit/iaas/models/availability_zone_list_response.py b/services/iaas/src/stackit/iaas/models/availability_zone_list_response.py index 25dcb61f..def9818c 100644 --- a/services/iaas/src/stackit/iaas/models/availability_zone_list_response.py +++ b/services/iaas/src/stackit/iaas/models/availability_zone_list_response.py @@ -10,7 +10,7 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations @@ -25,7 +25,7 @@ class AvailabilityZoneListResponse(BaseModel): """ Availability Zone list response. - """ + """ # noqa: E501 items: List[StrictStr] = Field(description="A list of availability zones.") __properties: ClassVar[List[str]] = ["items"] diff --git a/services/iaas/src/stackit/iaas/models/backup.py b/services/iaas/src/stackit/iaas/models/backup.py index 47ab0e51..4fc97d81 100644 --- a/services/iaas/src/stackit/iaas/models/backup.py +++ b/services/iaas/src/stackit/iaas/models/backup.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from datetime import datetime from typing import Any, ClassVar, Dict, List, Optional, Set @@ -27,7 +27,7 @@ class Backup(BaseModel): """ Object that represents a backup. - """ + """ # noqa: E501 availability_zone: Optional[StrictStr] = Field( default=None, description="Object that represents an availability zone.", alias="availabilityZone" diff --git a/services/iaas/src/stackit/iaas/models/backup_list_response.py b/services/iaas/src/stackit/iaas/models/backup_list_response.py index 0aeba21d..2db8eb0c 100644 --- a/services/iaas/src/stackit/iaas/models/backup_list_response.py +++ b/services/iaas/src/stackit/iaas/models/backup_list_response.py @@ -10,7 +10,7 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations @@ -27,7 +27,7 @@ class BackupListResponse(BaseModel): """ Backup list response. - """ + """ # noqa: E501 items: List[Backup] = Field(description="A list containing backup objects.") __properties: ClassVar[List[str]] = ["items"] diff --git a/services/iaas/src/stackit/iaas/models/backup_source.py b/services/iaas/src/stackit/iaas/models/backup_source.py index 92eb0e50..849b9286 100644 --- a/services/iaas/src/stackit/iaas/models/backup_source.py +++ b/services/iaas/src/stackit/iaas/models/backup_source.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from typing import Any, ClassVar, Dict, List, Optional, Set from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator @@ -26,7 +26,7 @@ class BackupSource(BaseModel): """ The source object of a backup. - """ + """ # noqa: E501 id: Annotated[str, Field(min_length=36, strict=True, max_length=36)] = Field( description="Universally Unique Identifier (UUID)." diff --git a/services/iaas/src/stackit/iaas/models/base_security_group_rule.py b/services/iaas/src/stackit/iaas/models/base_security_group_rule.py index 4b9304f0..a36bf603 100644 --- a/services/iaas/src/stackit/iaas/models/base_security_group_rule.py +++ b/services/iaas/src/stackit/iaas/models/base_security_group_rule.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from typing import Any, ClassVar, Dict, List, Optional, Set from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator @@ -29,7 +29,7 @@ class BaseSecurityGroupRule(BaseModel): """ The base schema for a security group rule. - """ + """ # noqa: E501 description: Optional[Annotated[str, Field(strict=True, max_length=255)]] = Field( default=None, description="Description Object. Allows string up to 255 Characters." diff --git a/services/iaas/src/stackit/iaas/models/boot_volume.py b/services/iaas/src/stackit/iaas/models/boot_volume.py index 7a149b50..2ab1d10b 100644 --- a/services/iaas/src/stackit/iaas/models/boot_volume.py +++ b/services/iaas/src/stackit/iaas/models/boot_volume.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from typing import Any, ClassVar, Dict, List, Optional, Set from pydantic import ( @@ -35,7 +35,7 @@ class BootVolume(BaseModel): """ The boot device for the server. - """ + """ # noqa: E501 delete_on_termination: Optional[StrictBool] = Field( default=None, diff --git a/services/iaas/src/stackit/iaas/models/boot_volume_source.py b/services/iaas/src/stackit/iaas/models/boot_volume_source.py index b60104c5..307445d1 100644 --- a/services/iaas/src/stackit/iaas/models/boot_volume_source.py +++ b/services/iaas/src/stackit/iaas/models/boot_volume_source.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from typing import Any, ClassVar, Dict, List, Optional, Set from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator @@ -26,7 +26,7 @@ class BootVolumeSource(BaseModel): """ The source object of a boot volume. - """ + """ # noqa: E501 id: Annotated[str, Field(min_length=36, strict=True, max_length=36)] = Field( description="Universally Unique Identifier (UUID)." diff --git a/services/iaas/src/stackit/iaas/models/create_affinity_group_payload.py b/services/iaas/src/stackit/iaas/models/create_affinity_group_payload.py index b6cfd4c7..eefc7d6c 100644 --- a/services/iaas/src/stackit/iaas/models/create_affinity_group_payload.py +++ b/services/iaas/src/stackit/iaas/models/create_affinity_group_payload.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from typing import Any, ClassVar, Dict, List, Optional, Set from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator @@ -26,7 +26,7 @@ class CreateAffinityGroupPayload(BaseModel): """ Definition of an affinity group. - """ + """ # noqa: E501 id: Optional[Annotated[str, Field(min_length=36, strict=True, max_length=36)]] = Field( default=None, description="Universally Unique Identifier (UUID)." diff --git a/services/iaas/src/stackit/iaas/models/create_area_address_family.py b/services/iaas/src/stackit/iaas/models/create_area_address_family.py index cb4df142..810fb91e 100644 --- a/services/iaas/src/stackit/iaas/models/create_area_address_family.py +++ b/services/iaas/src/stackit/iaas/models/create_area_address_family.py @@ -10,7 +10,7 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations @@ -27,7 +27,7 @@ class CreateAreaAddressFamily(BaseModel): """ The addressFamily object for a area create request. - """ + """ # noqa: E501 ipv4: Optional[CreateAreaIPv4] = None __properties: ClassVar[List[str]] = ["ipv4"] diff --git a/services/iaas/src/stackit/iaas/models/create_area_ipv4.py b/services/iaas/src/stackit/iaas/models/create_area_ipv4.py index fced1a8e..d740ef0e 100644 --- a/services/iaas/src/stackit/iaas/models/create_area_ipv4.py +++ b/services/iaas/src/stackit/iaas/models/create_area_ipv4.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from typing import Any, ClassVar, Dict, List, Optional, Set from pydantic import BaseModel, ConfigDict, Field, field_validator @@ -29,7 +29,7 @@ class CreateAreaIPv4(BaseModel): """ The config object for a IPv4 network area. - """ + """ # noqa: E501 default_nameservers: Optional[Annotated[List[Annotated[str, Field(strict=True)]], Field(max_length=3)]] = Field( default=None, alias="defaultNameservers" diff --git a/services/iaas/src/stackit/iaas/models/create_backup_payload.py b/services/iaas/src/stackit/iaas/models/create_backup_payload.py index 62688173..e33de676 100644 --- a/services/iaas/src/stackit/iaas/models/create_backup_payload.py +++ b/services/iaas/src/stackit/iaas/models/create_backup_payload.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from typing import Any, ClassVar, Dict, List, Optional, Set from pydantic import BaseModel, ConfigDict, Field, field_validator @@ -28,7 +28,7 @@ class CreateBackupPayload(BaseModel): """ Object that represents a backup create request body. - """ + """ # noqa: E501 labels: Optional[Dict[str, Any]] = Field( default=None, diff --git a/services/iaas/src/stackit/iaas/models/create_image_payload.py b/services/iaas/src/stackit/iaas/models/create_image_payload.py index 493a818c..562ba56a 100644 --- a/services/iaas/src/stackit/iaas/models/create_image_payload.py +++ b/services/iaas/src/stackit/iaas/models/create_image_payload.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from datetime import datetime from typing import Any, ClassVar, Dict, List, Optional, Set @@ -38,7 +38,7 @@ class CreateImagePayload(BaseModel): """ Object that represents an Image and its parameters. Used for Creating and returning (get/list). - """ + """ # noqa: E501 checksum: Optional[ImageChecksum] = None config: Optional[ImageConfig] = None diff --git a/services/iaas/src/stackit/iaas/models/create_key_pair_payload.py b/services/iaas/src/stackit/iaas/models/create_key_pair_payload.py index 1039fd83..d2774554 100644 --- a/services/iaas/src/stackit/iaas/models/create_key_pair_payload.py +++ b/services/iaas/src/stackit/iaas/models/create_key_pair_payload.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from datetime import datetime from typing import Any, ClassVar, Dict, List, Optional, Set @@ -27,7 +27,7 @@ class CreateKeyPairPayload(BaseModel): """ Object that represents the public key of an SSH keypair and its name. - """ + """ # noqa: E501 created_at: Optional[datetime] = Field( default=None, description="Date-time when resource was created.", alias="createdAt" diff --git a/services/iaas/src/stackit/iaas/models/create_network_address_family.py b/services/iaas/src/stackit/iaas/models/create_network_address_family.py index bd21846d..3e77dd75 100644 --- a/services/iaas/src/stackit/iaas/models/create_network_address_family.py +++ b/services/iaas/src/stackit/iaas/models/create_network_address_family.py @@ -10,7 +10,7 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations @@ -28,7 +28,7 @@ class CreateNetworkAddressFamily(BaseModel): """ The addressFamily object for a network create request. - """ + """ # noqa: E501 ipv4: Optional[CreateNetworkIPv4Body] = None ipv6: Optional[CreateNetworkIPv6Body] = None diff --git a/services/iaas/src/stackit/iaas/models/create_network_area_payload.py b/services/iaas/src/stackit/iaas/models/create_network_area_payload.py index 005c8c6d..99a3156e 100644 --- a/services/iaas/src/stackit/iaas/models/create_network_area_payload.py +++ b/services/iaas/src/stackit/iaas/models/create_network_area_payload.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from typing import Any, ClassVar, Dict, List, Optional, Set from pydantic import BaseModel, ConfigDict, Field, field_validator @@ -28,7 +28,7 @@ class CreateNetworkAreaPayload(BaseModel): """ CreateNetworkAreaPayload - """ + """ # noqa: E501 address_family: CreateAreaAddressFamily = Field(alias="addressFamily") labels: Optional[Dict[str, Any]] = Field( diff --git a/services/iaas/src/stackit/iaas/models/create_network_area_range_payload.py b/services/iaas/src/stackit/iaas/models/create_network_area_range_payload.py index e13a0f2c..3ee176bb 100644 --- a/services/iaas/src/stackit/iaas/models/create_network_area_range_payload.py +++ b/services/iaas/src/stackit/iaas/models/create_network_area_range_payload.py @@ -10,7 +10,7 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations @@ -27,7 +27,7 @@ class CreateNetworkAreaRangePayload(BaseModel): """ CreateNetworkAreaRangePayload - """ + """ # noqa: E501 ipv4: Optional[Annotated[List[NetworkRange], Field(min_length=1, max_length=64)]] = Field( default=None, description="A list of network ranges." diff --git a/services/iaas/src/stackit/iaas/models/create_network_area_route_payload.py b/services/iaas/src/stackit/iaas/models/create_network_area_route_payload.py index 227eb725..98ac069a 100644 --- a/services/iaas/src/stackit/iaas/models/create_network_area_route_payload.py +++ b/services/iaas/src/stackit/iaas/models/create_network_area_route_payload.py @@ -10,7 +10,7 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations @@ -27,7 +27,7 @@ class CreateNetworkAreaRoutePayload(BaseModel): """ CreateNetworkAreaRoutePayload - """ + """ # noqa: E501 ipv4: Optional[List[Route]] = Field(default=None, description="A list of routes.") __properties: ClassVar[List[str]] = ["ipv4"] diff --git a/services/iaas/src/stackit/iaas/models/create_network_ipv4_body.py b/services/iaas/src/stackit/iaas/models/create_network_ipv4_body.py index 898d021c..42431a09 100644 --- a/services/iaas/src/stackit/iaas/models/create_network_ipv4_body.py +++ b/services/iaas/src/stackit/iaas/models/create_network_ipv4_body.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from typing import Any, ClassVar, Dict, List, Optional, Set from pydantic import BaseModel, ConfigDict, Field, field_validator @@ -26,7 +26,7 @@ class CreateNetworkIPv4Body(BaseModel): """ The config object for an IPv4 network. - """ + """ # noqa: E501 gateway: Optional[Annotated[str, Field(strict=True)]] = Field( default=None, diff --git a/services/iaas/src/stackit/iaas/models/create_network_ipv6_body.py b/services/iaas/src/stackit/iaas/models/create_network_ipv6_body.py index a1124ac1..52705e52 100644 --- a/services/iaas/src/stackit/iaas/models/create_network_ipv6_body.py +++ b/services/iaas/src/stackit/iaas/models/create_network_ipv6_body.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from typing import Any, ClassVar, Dict, List, Optional, Set from pydantic import BaseModel, ConfigDict, Field, field_validator @@ -26,7 +26,7 @@ class CreateNetworkIPv6Body(BaseModel): """ The config object for an IPv6 network. - """ + """ # noqa: E501 gateway: Optional[Annotated[str, Field(strict=True)]] = Field( default=None, diff --git a/services/iaas/src/stackit/iaas/models/create_network_payload.py b/services/iaas/src/stackit/iaas/models/create_network_payload.py index fb5ed5d1..528af4c2 100644 --- a/services/iaas/src/stackit/iaas/models/create_network_payload.py +++ b/services/iaas/src/stackit/iaas/models/create_network_payload.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from typing import Any, ClassVar, Dict, List, Optional, Set from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator @@ -28,7 +28,7 @@ class CreateNetworkPayload(BaseModel): """ Object that represents the request body for a network create. - """ + """ # noqa: E501 address_family: Optional[CreateNetworkAddressFamily] = Field(default=None, alias="addressFamily") labels: Optional[Dict[str, Any]] = Field( diff --git a/services/iaas/src/stackit/iaas/models/create_nic_payload.py b/services/iaas/src/stackit/iaas/models/create_nic_payload.py index 4ee39bd7..06eda0bc 100644 --- a/services/iaas/src/stackit/iaas/models/create_nic_payload.py +++ b/services/iaas/src/stackit/iaas/models/create_nic_payload.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from typing import Any, ClassVar, Dict, List, Optional, Set from pydantic import ( @@ -35,7 +35,7 @@ class CreateNicPayload(BaseModel): """ Object that represents a network interface. - """ + """ # noqa: E501 allowed_addresses: Optional[List[AllowedAddressesInner]] = Field( default=None, description="A list of IPs or CIDR notations.", alias="allowedAddresses" diff --git a/services/iaas/src/stackit/iaas/models/create_protocol.py b/services/iaas/src/stackit/iaas/models/create_protocol.py index 815fde63..534e2063 100644 --- a/services/iaas/src/stackit/iaas/models/create_protocol.py +++ b/services/iaas/src/stackit/iaas/models/create_protocol.py @@ -10,7 +10,7 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations diff --git a/services/iaas/src/stackit/iaas/models/create_public_ip_payload.py b/services/iaas/src/stackit/iaas/models/create_public_ip_payload.py index 6b6b04db..3956c4b1 100644 --- a/services/iaas/src/stackit/iaas/models/create_public_ip_payload.py +++ b/services/iaas/src/stackit/iaas/models/create_public_ip_payload.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from typing import Any, ClassVar, Dict, List, Optional, Set from pydantic import BaseModel, ConfigDict, Field, field_validator @@ -26,7 +26,7 @@ class CreatePublicIPPayload(BaseModel): """ Object that represents a public IP. - """ + """ # noqa: E501 id: Optional[Annotated[str, Field(min_length=36, strict=True, max_length=36)]] = Field( default=None, description="Universally Unique Identifier (UUID)." diff --git a/services/iaas/src/stackit/iaas/models/create_security_group_payload.py b/services/iaas/src/stackit/iaas/models/create_security_group_payload.py index 0a2fb495..ce5a309e 100644 --- a/services/iaas/src/stackit/iaas/models/create_security_group_payload.py +++ b/services/iaas/src/stackit/iaas/models/create_security_group_payload.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from datetime import datetime from typing import Any, ClassVar, Dict, List, Optional, Set @@ -29,7 +29,7 @@ class CreateSecurityGroupPayload(BaseModel): """ Object that represents a security group. - """ + """ # noqa: E501 created_at: Optional[datetime] = Field( default=None, description="Date-time when resource was created.", alias="createdAt" diff --git a/services/iaas/src/stackit/iaas/models/create_security_group_rule_payload.py b/services/iaas/src/stackit/iaas/models/create_security_group_rule_payload.py index 96524c21..85574db7 100644 --- a/services/iaas/src/stackit/iaas/models/create_security_group_rule_payload.py +++ b/services/iaas/src/stackit/iaas/models/create_security_group_rule_payload.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from typing import Any, ClassVar, Dict, List, Optional, Set from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator @@ -30,7 +30,7 @@ class CreateSecurityGroupRulePayload(BaseModel): """ Object that represents a request body for security group rule creation. - """ + """ # noqa: E501 description: Optional[Annotated[str, Field(strict=True, max_length=255)]] = Field( default=None, description="Description Object. Allows string up to 255 Characters." diff --git a/services/iaas/src/stackit/iaas/models/create_security_group_rule_protocol.py b/services/iaas/src/stackit/iaas/models/create_security_group_rule_protocol.py index d86ae383..65d20539 100644 --- a/services/iaas/src/stackit/iaas/models/create_security_group_rule_protocol.py +++ b/services/iaas/src/stackit/iaas/models/create_security_group_rule_protocol.py @@ -10,7 +10,7 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations @@ -27,7 +27,7 @@ class CreateSecurityGroupRuleProtocol(BaseModel): """ The internet protocol which the rule should match. - """ + """ # noqa: E501 protocol: Optional[CreateProtocol] = None __properties: ClassVar[List[str]] = ["protocol"] diff --git a/services/iaas/src/stackit/iaas/models/create_server_networking.py b/services/iaas/src/stackit/iaas/models/create_server_networking.py index 13320915..3964fb38 100644 --- a/services/iaas/src/stackit/iaas/models/create_server_networking.py +++ b/services/iaas/src/stackit/iaas/models/create_server_networking.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from typing import Any, ClassVar, Dict, List, Optional, Set from pydantic import BaseModel, ConfigDict, Field, field_validator @@ -26,7 +26,7 @@ class CreateServerNetworking(BaseModel): """ The initial networking setup for the server creation with a network. - """ + """ # noqa: E501 network_id: Optional[Annotated[str, Field(min_length=36, strict=True, max_length=36)]] = Field( default=None, description="Universally Unique Identifier (UUID).", alias="networkId" diff --git a/services/iaas/src/stackit/iaas/models/create_server_networking_with_nics.py b/services/iaas/src/stackit/iaas/models/create_server_networking_with_nics.py index 236911b2..3de15f0f 100644 --- a/services/iaas/src/stackit/iaas/models/create_server_networking_with_nics.py +++ b/services/iaas/src/stackit/iaas/models/create_server_networking_with_nics.py @@ -10,7 +10,7 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations @@ -25,7 +25,7 @@ class CreateServerNetworkingWithNics(BaseModel): """ The initial networking setup for the server creation with a network interface. - """ + """ # noqa: E501 nic_ids: Optional[List[Annotated[str, Field(min_length=36, strict=True, max_length=36)]]] = Field( default=None, description="A list of UUIDs.", alias="nicIds" diff --git a/services/iaas/src/stackit/iaas/models/create_server_payload.py b/services/iaas/src/stackit/iaas/models/create_server_payload.py index 10fb82d6..5d728c37 100644 --- a/services/iaas/src/stackit/iaas/models/create_server_payload.py +++ b/services/iaas/src/stackit/iaas/models/create_server_payload.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from datetime import datetime from typing import Any, ClassVar, Dict, List, Optional, Set, Union @@ -41,7 +41,7 @@ class CreateServerPayload(BaseModel): """ Representation of a single server object. - """ + """ # noqa: E501 affinity_group: Optional[Annotated[str, Field(min_length=36, strict=True, max_length=36)]] = Field( default=None, description="The affinity group the server is assigned to.", alias="affinityGroup" diff --git a/services/iaas/src/stackit/iaas/models/create_server_payload_networking.py b/services/iaas/src/stackit/iaas/models/create_server_payload_networking.py index 05844e4e..f6cf42cd 100644 --- a/services/iaas/src/stackit/iaas/models/create_server_payload_networking.py +++ b/services/iaas/src/stackit/iaas/models/create_server_payload_networking.py @@ -10,7 +10,7 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations diff --git a/services/iaas/src/stackit/iaas/models/create_snapshot_payload.py b/services/iaas/src/stackit/iaas/models/create_snapshot_payload.py index e54b2909..f29279a7 100644 --- a/services/iaas/src/stackit/iaas/models/create_snapshot_payload.py +++ b/services/iaas/src/stackit/iaas/models/create_snapshot_payload.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from datetime import datetime from typing import Any, ClassVar, Dict, List, Optional, Set @@ -27,7 +27,7 @@ class CreateSnapshotPayload(BaseModel): """ Object that represents a snapshot. - """ + """ # noqa: E501 created_at: Optional[datetime] = Field( default=None, description="Date-time when resource was created.", alias="createdAt" diff --git a/services/iaas/src/stackit/iaas/models/create_volume_payload.py b/services/iaas/src/stackit/iaas/models/create_volume_payload.py index 468e4b78..5a5c4c72 100644 --- a/services/iaas/src/stackit/iaas/models/create_volume_payload.py +++ b/services/iaas/src/stackit/iaas/models/create_volume_payload.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from datetime import datetime from typing import Any, ClassVar, Dict, List, Optional, Set @@ -38,7 +38,7 @@ class CreateVolumePayload(BaseModel): """ Object that represents a volume and its parameters. Used for Creating and returning (get/list). - """ + """ # noqa: E501 availability_zone: StrictStr = Field( description="Object that represents an availability zone.", alias="availabilityZone" diff --git a/services/iaas/src/stackit/iaas/models/error.py b/services/iaas/src/stackit/iaas/models/error.py index 4289d08b..26045f25 100644 --- a/services/iaas/src/stackit/iaas/models/error.py +++ b/services/iaas/src/stackit/iaas/models/error.py @@ -10,7 +10,7 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations @@ -25,7 +25,7 @@ class Error(BaseModel): """ Error with HTTP error code and an error message. - """ + """ # noqa: E501 code: StrictInt msg: StrictStr = Field(description="An error message.") diff --git a/services/iaas/src/stackit/iaas/models/get_server_log200_response.py b/services/iaas/src/stackit/iaas/models/get_server_log200_response.py index bf421b3e..54f70898 100644 --- a/services/iaas/src/stackit/iaas/models/get_server_log200_response.py +++ b/services/iaas/src/stackit/iaas/models/get_server_log200_response.py @@ -10,7 +10,7 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations @@ -25,7 +25,7 @@ class GetServerLog200Response(BaseModel): """ GetServerLog200Response - """ + """ # noqa: E501 output: Optional[StrictStr] = None __properties: ClassVar[List[str]] = ["output"] diff --git a/services/iaas/src/stackit/iaas/models/icmp_parameters.py b/services/iaas/src/stackit/iaas/models/icmp_parameters.py index 8fb44ee0..8e9983ff 100644 --- a/services/iaas/src/stackit/iaas/models/icmp_parameters.py +++ b/services/iaas/src/stackit/iaas/models/icmp_parameters.py @@ -10,7 +10,7 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations @@ -25,7 +25,7 @@ class ICMPParameters(BaseModel): """ Object that represents ICMP parameters. - """ + """ # noqa: E501 code: Annotated[int, Field(le=255, strict=True, ge=0)] = Field( description="ICMP code. Can be set if the protocol is ICMP." diff --git a/services/iaas/src/stackit/iaas/models/image.py b/services/iaas/src/stackit/iaas/models/image.py index c2abb94c..77aa70b9 100644 --- a/services/iaas/src/stackit/iaas/models/image.py +++ b/services/iaas/src/stackit/iaas/models/image.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from datetime import datetime from typing import Any, ClassVar, Dict, List, Optional, Set @@ -38,7 +38,7 @@ class Image(BaseModel): """ Object that represents an Image and its parameters. Used for Creating and returning (get/list). - """ + """ # noqa: E501 checksum: Optional[ImageChecksum] = None config: Optional[ImageConfig] = None diff --git a/services/iaas/src/stackit/iaas/models/image_checksum.py b/services/iaas/src/stackit/iaas/models/image_checksum.py index 3dd88729..81cb6731 100644 --- a/services/iaas/src/stackit/iaas/models/image_checksum.py +++ b/services/iaas/src/stackit/iaas/models/image_checksum.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from typing import Any, ClassVar, Dict, List, Optional, Set from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator @@ -26,7 +26,7 @@ class ImageChecksum(BaseModel): """ Representation of an image checksum. - """ + """ # noqa: E501 algorithm: StrictStr = Field(description="Algorithm for the checksum of the image data.") digest: Annotated[str, Field(strict=True)] = Field(description="Hexdigest of the checksum of the image data.") diff --git a/services/iaas/src/stackit/iaas/models/image_config.py b/services/iaas/src/stackit/iaas/models/image_config.py index c78c7bfc..104e09a5 100644 --- a/services/iaas/src/stackit/iaas/models/image_config.py +++ b/services/iaas/src/stackit/iaas/models/image_config.py @@ -10,7 +10,7 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations @@ -25,7 +25,7 @@ class ImageConfig(BaseModel): """ Properties to set hardware and scheduling settings for an Image. - """ + """ # noqa: E501 architecture: Optional[StrictStr] = Field( default=None, description="Represents CPU architecture. The default for new images is x86." diff --git a/services/iaas/src/stackit/iaas/models/image_create_response.py b/services/iaas/src/stackit/iaas/models/image_create_response.py index 7e290ea0..5cb8f749 100644 --- a/services/iaas/src/stackit/iaas/models/image_create_response.py +++ b/services/iaas/src/stackit/iaas/models/image_create_response.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from typing import Any, ClassVar, Dict, List, Optional, Set from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator @@ -26,7 +26,7 @@ class ImageCreateResponse(BaseModel): """ Image creation response. - """ + """ # noqa: E501 id: Annotated[str, Field(min_length=36, strict=True, max_length=36)] = Field( description="Universally Unique Identifier (UUID)." diff --git a/services/iaas/src/stackit/iaas/models/image_list_response.py b/services/iaas/src/stackit/iaas/models/image_list_response.py index 6f9e62e9..2c1ec7c4 100644 --- a/services/iaas/src/stackit/iaas/models/image_list_response.py +++ b/services/iaas/src/stackit/iaas/models/image_list_response.py @@ -10,7 +10,7 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations @@ -27,7 +27,7 @@ class ImageListResponse(BaseModel): """ Image list response. - """ + """ # noqa: E501 items: List[Image] = Field(description="A list containing image objects.") __properties: ClassVar[List[str]] = ["items"] diff --git a/services/iaas/src/stackit/iaas/models/image_share.py b/services/iaas/src/stackit/iaas/models/image_share.py index 5cbd3e7e..2c157866 100644 --- a/services/iaas/src/stackit/iaas/models/image_share.py +++ b/services/iaas/src/stackit/iaas/models/image_share.py @@ -10,7 +10,7 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations @@ -25,7 +25,7 @@ class ImageShare(BaseModel): """ Share details of an Image. For requests ParentOrganization and Projects are mutually exclusive. - """ + """ # noqa: E501 parent_organization: Optional[StrictBool] = Field( default=None, diff --git a/services/iaas/src/stackit/iaas/models/image_share_consumer.py b/services/iaas/src/stackit/iaas/models/image_share_consumer.py index a3e2371e..aa2fb3c0 100644 --- a/services/iaas/src/stackit/iaas/models/image_share_consumer.py +++ b/services/iaas/src/stackit/iaas/models/image_share_consumer.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from datetime import datetime from typing import Any, ClassVar, Dict, List, Optional, Set @@ -27,7 +27,7 @@ class ImageShareConsumer(BaseModel): """ The details of an Image share consumer. - """ + """ # noqa: E501 consumer_project_id: Optional[Annotated[str, Field(min_length=36, strict=True, max_length=36)]] = Field( default=None, description="Universally Unique Identifier (UUID).", alias="consumerProjectId" diff --git a/services/iaas/src/stackit/iaas/models/key_pair_list_response.py b/services/iaas/src/stackit/iaas/models/key_pair_list_response.py index 0d82473b..f0d9160c 100644 --- a/services/iaas/src/stackit/iaas/models/key_pair_list_response.py +++ b/services/iaas/src/stackit/iaas/models/key_pair_list_response.py @@ -10,7 +10,7 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations @@ -27,7 +27,7 @@ class KeyPairListResponse(BaseModel): """ SSH keypair list response. - """ + """ # noqa: E501 items: List[Keypair] = Field(description="A list of SSH keypairs.") __properties: ClassVar[List[str]] = ["items"] diff --git a/services/iaas/src/stackit/iaas/models/keypair.py b/services/iaas/src/stackit/iaas/models/keypair.py index 3d1d83d9..5434c7c3 100644 --- a/services/iaas/src/stackit/iaas/models/keypair.py +++ b/services/iaas/src/stackit/iaas/models/keypair.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from datetime import datetime from typing import Any, ClassVar, Dict, List, Optional, Set @@ -27,7 +27,7 @@ class Keypair(BaseModel): """ Object that represents the public key of an SSH keypair and its name. - """ + """ # noqa: E501 created_at: Optional[datetime] = Field( default=None, description="Date-time when resource was created.", alias="createdAt" diff --git a/services/iaas/src/stackit/iaas/models/machine_type.py b/services/iaas/src/stackit/iaas/models/machine_type.py index 97158345..58ec7ec4 100644 --- a/services/iaas/src/stackit/iaas/models/machine_type.py +++ b/services/iaas/src/stackit/iaas/models/machine_type.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from typing import Any, ClassVar, Dict, List, Optional, Set from pydantic import BaseModel, ConfigDict, Field, StrictInt, field_validator @@ -26,7 +26,7 @@ class MachineType(BaseModel): """ Machine Type. Filterable Fields: `disk`, `extraSpecs`, `name`, `ram`, `vcpus`. - """ + """ # noqa: E501 description: Optional[Annotated[str, Field(strict=True, max_length=255)]] = Field( default=None, description="Description Object. Allows string up to 255 Characters." diff --git a/services/iaas/src/stackit/iaas/models/machine_type_list_response.py b/services/iaas/src/stackit/iaas/models/machine_type_list_response.py index 4f116163..37baec8d 100644 --- a/services/iaas/src/stackit/iaas/models/machine_type_list_response.py +++ b/services/iaas/src/stackit/iaas/models/machine_type_list_response.py @@ -10,7 +10,7 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations @@ -27,7 +27,7 @@ class MachineTypeListResponse(BaseModel): """ Machine type list response. - """ + """ # noqa: E501 items: List[MachineType] = Field(description="Machine type list.") __properties: ClassVar[List[str]] = ["items"] diff --git a/services/iaas/src/stackit/iaas/models/network.py b/services/iaas/src/stackit/iaas/models/network.py index 9ed4fe29..59cd75bd 100644 --- a/services/iaas/src/stackit/iaas/models/network.py +++ b/services/iaas/src/stackit/iaas/models/network.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from datetime import datetime from typing import Any, ClassVar, Dict, List, Optional, Set @@ -34,7 +34,7 @@ class Network(BaseModel): """ Object that represents a network. - """ + """ # noqa: E501 created_at: Optional[datetime] = Field( default=None, description="Date-time when resource was created.", alias="createdAt" diff --git a/services/iaas/src/stackit/iaas/models/network_area.py b/services/iaas/src/stackit/iaas/models/network_area.py index a7090734..c5c1eb4d 100644 --- a/services/iaas/src/stackit/iaas/models/network_area.py +++ b/services/iaas/src/stackit/iaas/models/network_area.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from datetime import datetime from typing import Any, ClassVar, Dict, List, Optional, Set @@ -29,7 +29,7 @@ class NetworkArea(BaseModel): """ Object that represents a network area. - """ + """ # noqa: E501 area_id: Annotated[str, Field(min_length=36, strict=True, max_length=36)] = Field( description="Universally Unique Identifier (UUID).", alias="areaId" diff --git a/services/iaas/src/stackit/iaas/models/network_area_ipv4.py b/services/iaas/src/stackit/iaas/models/network_area_ipv4.py index af49d6be..91fa00f7 100644 --- a/services/iaas/src/stackit/iaas/models/network_area_ipv4.py +++ b/services/iaas/src/stackit/iaas/models/network_area_ipv4.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from typing import Any, ClassVar, Dict, List, Optional, Set from pydantic import BaseModel, ConfigDict, Field, field_validator @@ -29,7 +29,7 @@ class NetworkAreaIPv4(BaseModel): """ The IPv4 properties of a network area. - """ + """ # noqa: E501 default_nameservers: Optional[Annotated[List[Annotated[str, Field(strict=True)]], Field(max_length=3)]] = Field( default=None, description="A list containing DNS Servers/Nameservers for IPv4.", alias="defaultNameservers" diff --git a/services/iaas/src/stackit/iaas/models/network_area_list_response.py b/services/iaas/src/stackit/iaas/models/network_area_list_response.py index 6f82d20f..0254e9d9 100644 --- a/services/iaas/src/stackit/iaas/models/network_area_list_response.py +++ b/services/iaas/src/stackit/iaas/models/network_area_list_response.py @@ -10,7 +10,7 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations @@ -27,7 +27,7 @@ class NetworkAreaListResponse(BaseModel): """ Network area list response. - """ + """ # noqa: E501 items: List[NetworkArea] = Field(description="A list of network areas.") __properties: ClassVar[List[str]] = ["items"] diff --git a/services/iaas/src/stackit/iaas/models/network_list_response.py b/services/iaas/src/stackit/iaas/models/network_list_response.py index 2845b92f..5e4bb3a6 100644 --- a/services/iaas/src/stackit/iaas/models/network_list_response.py +++ b/services/iaas/src/stackit/iaas/models/network_list_response.py @@ -10,7 +10,7 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations @@ -27,7 +27,7 @@ class NetworkListResponse(BaseModel): """ Network list response. - """ + """ # noqa: E501 items: List[Network] = Field(description="A list of networks.") __properties: ClassVar[List[str]] = ["items"] diff --git a/services/iaas/src/stackit/iaas/models/network_range.py b/services/iaas/src/stackit/iaas/models/network_range.py index ff6df236..d81ac0cc 100644 --- a/services/iaas/src/stackit/iaas/models/network_range.py +++ b/services/iaas/src/stackit/iaas/models/network_range.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from datetime import datetime from typing import Any, ClassVar, Dict, List, Optional, Set @@ -27,7 +27,7 @@ class NetworkRange(BaseModel): """ Object that represents a network range. - """ + """ # noqa: E501 created_at: Optional[datetime] = Field( default=None, description="Date-time when resource was created.", alias="createdAt" diff --git a/services/iaas/src/stackit/iaas/models/network_range_list_response.py b/services/iaas/src/stackit/iaas/models/network_range_list_response.py index 20a18bcc..3d1fc60b 100644 --- a/services/iaas/src/stackit/iaas/models/network_range_list_response.py +++ b/services/iaas/src/stackit/iaas/models/network_range_list_response.py @@ -10,7 +10,7 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations @@ -27,7 +27,7 @@ class NetworkRangeListResponse(BaseModel): """ Network Range list response. - """ + """ # noqa: E501 items: Annotated[List[NetworkRange], Field(min_length=1, max_length=64)] = Field( description="A list of network ranges." diff --git a/services/iaas/src/stackit/iaas/models/nic.py b/services/iaas/src/stackit/iaas/models/nic.py index a9b7dcc4..5f48577a 100644 --- a/services/iaas/src/stackit/iaas/models/nic.py +++ b/services/iaas/src/stackit/iaas/models/nic.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from typing import Any, ClassVar, Dict, List, Optional, Set from pydantic import ( @@ -35,7 +35,7 @@ class NIC(BaseModel): """ Object that represents a network interface. - """ + """ # noqa: E501 allowed_addresses: Optional[List[AllowedAddressesInner]] = Field( default=None, description="A list of IPs or CIDR notations.", alias="allowedAddresses" diff --git a/services/iaas/src/stackit/iaas/models/nic_list_response.py b/services/iaas/src/stackit/iaas/models/nic_list_response.py index 00e4ee19..b8265d23 100644 --- a/services/iaas/src/stackit/iaas/models/nic_list_response.py +++ b/services/iaas/src/stackit/iaas/models/nic_list_response.py @@ -10,7 +10,7 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations @@ -27,7 +27,7 @@ class NICListResponse(BaseModel): """ NIC list response. - """ + """ # noqa: E501 items: List[NIC] = Field(description="A list of network interfaces.") __properties: ClassVar[List[str]] = ["items"] diff --git a/services/iaas/src/stackit/iaas/models/partial_update_network_area_payload.py b/services/iaas/src/stackit/iaas/models/partial_update_network_area_payload.py index bdb0ddaf..a9c6d96a 100644 --- a/services/iaas/src/stackit/iaas/models/partial_update_network_area_payload.py +++ b/services/iaas/src/stackit/iaas/models/partial_update_network_area_payload.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from typing import Any, ClassVar, Dict, List, Optional, Set from pydantic import BaseModel, ConfigDict, Field, field_validator @@ -28,7 +28,7 @@ class PartialUpdateNetworkAreaPayload(BaseModel): """ PartialUpdateNetworkAreaPayload - """ + """ # noqa: E501 address_family: Optional[UpdateAreaAddressFamily] = Field(default=None, alias="addressFamily") labels: Optional[Dict[str, Any]] = Field( diff --git a/services/iaas/src/stackit/iaas/models/partial_update_network_payload.py b/services/iaas/src/stackit/iaas/models/partial_update_network_payload.py index a33205a3..5a976ceb 100644 --- a/services/iaas/src/stackit/iaas/models/partial_update_network_payload.py +++ b/services/iaas/src/stackit/iaas/models/partial_update_network_payload.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from typing import Any, ClassVar, Dict, List, Optional, Set from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator @@ -28,7 +28,7 @@ class PartialUpdateNetworkPayload(BaseModel): """ Object that represents the request body for a network update. - """ + """ # noqa: E501 address_family: Optional[UpdateNetworkAddressFamily] = Field(default=None, alias="addressFamily") labels: Optional[Dict[str, Any]] = Field( diff --git a/services/iaas/src/stackit/iaas/models/port_range.py b/services/iaas/src/stackit/iaas/models/port_range.py index eb020bc8..d2b416a7 100644 --- a/services/iaas/src/stackit/iaas/models/port_range.py +++ b/services/iaas/src/stackit/iaas/models/port_range.py @@ -10,7 +10,7 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations @@ -25,7 +25,7 @@ class PortRange(BaseModel): """ Object that represents a range of ports. - """ + """ # noqa: E501 max: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field( description="The maximum port number. Should be greater or equal to the minimum." diff --git a/services/iaas/src/stackit/iaas/models/project_list_response.py b/services/iaas/src/stackit/iaas/models/project_list_response.py index 34bd8fb4..a283b9ec 100644 --- a/services/iaas/src/stackit/iaas/models/project_list_response.py +++ b/services/iaas/src/stackit/iaas/models/project_list_response.py @@ -10,7 +10,7 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations @@ -25,7 +25,7 @@ class ProjectListResponse(BaseModel): """ Project list response. - """ + """ # noqa: E501 items: List[Annotated[str, Field(min_length=36, strict=True, max_length=36)]] = Field( description="A list of STACKIT projects." diff --git a/services/iaas/src/stackit/iaas/models/protocol.py b/services/iaas/src/stackit/iaas/models/protocol.py index 055898bc..6f972070 100644 --- a/services/iaas/src/stackit/iaas/models/protocol.py +++ b/services/iaas/src/stackit/iaas/models/protocol.py @@ -10,7 +10,7 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations @@ -25,7 +25,7 @@ class Protocol(BaseModel): """ The schema for a protocol of a security group rule. - """ + """ # noqa: E501 name: Optional[StrictStr] = Field( default=None, diff --git a/services/iaas/src/stackit/iaas/models/public_ip.py b/services/iaas/src/stackit/iaas/models/public_ip.py index 93c62aa9..89c00999 100644 --- a/services/iaas/src/stackit/iaas/models/public_ip.py +++ b/services/iaas/src/stackit/iaas/models/public_ip.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from typing import Any, ClassVar, Dict, List, Optional, Set from pydantic import BaseModel, ConfigDict, Field, field_validator @@ -26,7 +26,7 @@ class PublicIp(BaseModel): """ Object that represents a public IP. - """ + """ # noqa: E501 id: Optional[Annotated[str, Field(min_length=36, strict=True, max_length=36)]] = Field( default=None, description="Universally Unique Identifier (UUID)." diff --git a/services/iaas/src/stackit/iaas/models/public_ip_list_response.py b/services/iaas/src/stackit/iaas/models/public_ip_list_response.py index 9b4b207c..3d4100a4 100644 --- a/services/iaas/src/stackit/iaas/models/public_ip_list_response.py +++ b/services/iaas/src/stackit/iaas/models/public_ip_list_response.py @@ -10,7 +10,7 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations @@ -27,7 +27,7 @@ class PublicIpListResponse(BaseModel): """ Public IP list response. - """ + """ # noqa: E501 items: List[PublicIp] = Field(description="A list of public IPs.") __properties: ClassVar[List[str]] = ["items"] diff --git a/services/iaas/src/stackit/iaas/models/public_network.py b/services/iaas/src/stackit/iaas/models/public_network.py index faa0e37e..4941a30c 100644 --- a/services/iaas/src/stackit/iaas/models/public_network.py +++ b/services/iaas/src/stackit/iaas/models/public_network.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from typing import Any, ClassVar, Dict, List, Optional, Set from pydantic import BaseModel, ConfigDict, Field, field_validator @@ -26,7 +26,7 @@ class PublicNetwork(BaseModel): """ Public network. - """ + """ # noqa: E501 cidr: Annotated[str, Field(strict=True)] = Field(description="Classless Inter-Domain Routing (CIDR).") __properties: ClassVar[List[str]] = ["cidr"] diff --git a/services/iaas/src/stackit/iaas/models/public_network_list_response.py b/services/iaas/src/stackit/iaas/models/public_network_list_response.py index e41f05f1..d48df60d 100644 --- a/services/iaas/src/stackit/iaas/models/public_network_list_response.py +++ b/services/iaas/src/stackit/iaas/models/public_network_list_response.py @@ -10,7 +10,7 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations @@ -27,7 +27,7 @@ class PublicNetworkListResponse(BaseModel): """ Public network list response. - """ + """ # noqa: E501 items: List[PublicNetwork] = Field(description="A list of public networks.") __properties: ClassVar[List[str]] = ["items"] diff --git a/services/iaas/src/stackit/iaas/models/quota.py b/services/iaas/src/stackit/iaas/models/quota.py index baf3366d..6494ced7 100644 --- a/services/iaas/src/stackit/iaas/models/quota.py +++ b/services/iaas/src/stackit/iaas/models/quota.py @@ -10,7 +10,7 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations @@ -25,7 +25,7 @@ class Quota(BaseModel): """ Object that represents a single resource quota. - """ + """ # noqa: E501 limit: StrictInt usage: StrictInt diff --git a/services/iaas/src/stackit/iaas/models/quota_list.py b/services/iaas/src/stackit/iaas/models/quota_list.py index bc0c439e..391182a0 100644 --- a/services/iaas/src/stackit/iaas/models/quota_list.py +++ b/services/iaas/src/stackit/iaas/models/quota_list.py @@ -10,7 +10,7 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations @@ -27,7 +27,7 @@ class QuotaList(BaseModel): """ Object that represents the quotas for a project. - """ + """ # noqa: E501 backup_gigabytes: Quota = Field(description="Total size in GiB of backups.", alias="backupGigabytes") backups: Quota = Field(description="Number of backups.") diff --git a/services/iaas/src/stackit/iaas/models/quota_list_response.py b/services/iaas/src/stackit/iaas/models/quota_list_response.py index ed2b5cbd..b11df4ef 100644 --- a/services/iaas/src/stackit/iaas/models/quota_list_response.py +++ b/services/iaas/src/stackit/iaas/models/quota_list_response.py @@ -10,7 +10,7 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations @@ -27,7 +27,7 @@ class QuotaListResponse(BaseModel): """ Quotas list response. - """ + """ # noqa: E501 quotas: QuotaList __properties: ClassVar[List[str]] = ["quotas"] diff --git a/services/iaas/src/stackit/iaas/models/request.py b/services/iaas/src/stackit/iaas/models/request.py index 9d984384..1aa9a287 100644 --- a/services/iaas/src/stackit/iaas/models/request.py +++ b/services/iaas/src/stackit/iaas/models/request.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from typing import Any, ClassVar, Dict, List, Optional, Set from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator @@ -28,7 +28,7 @@ class Request(BaseModel): """ Object that represents a request. - """ + """ # noqa: E501 details: Optional[StrictStr] = None request_action: StrictStr = Field( diff --git a/services/iaas/src/stackit/iaas/models/request_resource.py b/services/iaas/src/stackit/iaas/models/request_resource.py index 76093c74..8ef0cecc 100644 --- a/services/iaas/src/stackit/iaas/models/request_resource.py +++ b/services/iaas/src/stackit/iaas/models/request_resource.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from typing import Any, ClassVar, Dict, List, Optional, Set from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator @@ -26,7 +26,7 @@ class RequestResource(BaseModel): """ Object that represents a resource as part of a request. - """ + """ # noqa: E501 id: Annotated[str, Field(min_length=36, strict=True, max_length=36)] = Field( description="Universally Unique Identifier (UUID)." diff --git a/services/iaas/src/stackit/iaas/models/rescue_server_payload.py b/services/iaas/src/stackit/iaas/models/rescue_server_payload.py index 098796d7..128f4702 100644 --- a/services/iaas/src/stackit/iaas/models/rescue_server_payload.py +++ b/services/iaas/src/stackit/iaas/models/rescue_server_payload.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from typing import Any, ClassVar, Dict, List, Optional, Set from pydantic import BaseModel, ConfigDict, Field, field_validator @@ -26,7 +26,7 @@ class RescueServerPayload(BaseModel): """ RescueServerPayload - """ + """ # noqa: E501 image: Annotated[str, Field(min_length=36, strict=True, max_length=36)] = Field( description="Universally Unique Identifier (UUID)." diff --git a/services/iaas/src/stackit/iaas/models/resize_server_payload.py b/services/iaas/src/stackit/iaas/models/resize_server_payload.py index 42ecfcd4..4b1f0f38 100644 --- a/services/iaas/src/stackit/iaas/models/resize_server_payload.py +++ b/services/iaas/src/stackit/iaas/models/resize_server_payload.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from typing import Any, ClassVar, Dict, List, Optional, Set from pydantic import BaseModel, ConfigDict, Field, field_validator @@ -26,7 +26,7 @@ class ResizeServerPayload(BaseModel): """ ResizeServerPayload - """ + """ # noqa: E501 machine_type: Annotated[str, Field(strict=True, max_length=127)] = Field( description="The name for a General Object. Matches Names and also UUIDs.", alias="machineType" diff --git a/services/iaas/src/stackit/iaas/models/resize_volume_payload.py b/services/iaas/src/stackit/iaas/models/resize_volume_payload.py index 2926d2c8..553134bf 100644 --- a/services/iaas/src/stackit/iaas/models/resize_volume_payload.py +++ b/services/iaas/src/stackit/iaas/models/resize_volume_payload.py @@ -10,7 +10,7 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations @@ -25,7 +25,7 @@ class ResizeVolumePayload(BaseModel): """ ResizeVolumePayload - """ + """ # noqa: E501 size: StrictInt = Field(description="Size in Gigabyte.") __properties: ClassVar[List[str]] = ["size"] diff --git a/services/iaas/src/stackit/iaas/models/route.py b/services/iaas/src/stackit/iaas/models/route.py index 5151d814..9dc4d39a 100644 --- a/services/iaas/src/stackit/iaas/models/route.py +++ b/services/iaas/src/stackit/iaas/models/route.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from datetime import datetime from typing import Any, ClassVar, Dict, List, Optional, Set @@ -27,7 +27,7 @@ class Route(BaseModel): """ Object represents a network route. - """ + """ # noqa: E501 created_at: Optional[datetime] = Field( default=None, description="Date-time when resource was created.", alias="createdAt" diff --git a/services/iaas/src/stackit/iaas/models/route_list_response.py b/services/iaas/src/stackit/iaas/models/route_list_response.py index 1ad1fa25..2071e5e1 100644 --- a/services/iaas/src/stackit/iaas/models/route_list_response.py +++ b/services/iaas/src/stackit/iaas/models/route_list_response.py @@ -10,7 +10,7 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations @@ -27,7 +27,7 @@ class RouteListResponse(BaseModel): """ Route list response. - """ + """ # noqa: E501 items: List[Route] = Field(description="A list of routes.") __properties: ClassVar[List[str]] = ["items"] diff --git a/services/iaas/src/stackit/iaas/models/security_group.py b/services/iaas/src/stackit/iaas/models/security_group.py index 2a9b858f..1407a0f7 100644 --- a/services/iaas/src/stackit/iaas/models/security_group.py +++ b/services/iaas/src/stackit/iaas/models/security_group.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from datetime import datetime from typing import Any, ClassVar, Dict, List, Optional, Set @@ -29,7 +29,7 @@ class SecurityGroup(BaseModel): """ Object that represents a security group. - """ + """ # noqa: E501 created_at: Optional[datetime] = Field( default=None, description="Date-time when resource was created.", alias="createdAt" diff --git a/services/iaas/src/stackit/iaas/models/security_group_list_response.py b/services/iaas/src/stackit/iaas/models/security_group_list_response.py index b69b374a..ad348dee 100644 --- a/services/iaas/src/stackit/iaas/models/security_group_list_response.py +++ b/services/iaas/src/stackit/iaas/models/security_group_list_response.py @@ -10,7 +10,7 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations @@ -27,7 +27,7 @@ class SecurityGroupListResponse(BaseModel): """ Security group list response. - """ + """ # noqa: E501 items: List[SecurityGroup] = Field(description="A list containing security group objects.") __properties: ClassVar[List[str]] = ["items"] diff --git a/services/iaas/src/stackit/iaas/models/security_group_rule.py b/services/iaas/src/stackit/iaas/models/security_group_rule.py index 862a4f29..91897678 100644 --- a/services/iaas/src/stackit/iaas/models/security_group_rule.py +++ b/services/iaas/src/stackit/iaas/models/security_group_rule.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from typing import Any, ClassVar, Dict, List, Optional, Set from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator @@ -30,7 +30,7 @@ class SecurityGroupRule(BaseModel): """ Object that represents a security group rule. - """ + """ # noqa: E501 description: Optional[Annotated[str, Field(strict=True, max_length=255)]] = Field( default=None, description="Description Object. Allows string up to 255 Characters." diff --git a/services/iaas/src/stackit/iaas/models/security_group_rule_list_response.py b/services/iaas/src/stackit/iaas/models/security_group_rule_list_response.py index 165555f7..bb0c6302 100644 --- a/services/iaas/src/stackit/iaas/models/security_group_rule_list_response.py +++ b/services/iaas/src/stackit/iaas/models/security_group_rule_list_response.py @@ -10,7 +10,7 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations @@ -27,7 +27,7 @@ class SecurityGroupRuleListResponse(BaseModel): """ Security group rule list response. - """ + """ # noqa: E501 items: List[SecurityGroupRule] = Field(description="A list containing security group rule objects.") __properties: ClassVar[List[str]] = ["items"] diff --git a/services/iaas/src/stackit/iaas/models/security_group_rule_protocol.py b/services/iaas/src/stackit/iaas/models/security_group_rule_protocol.py index 4593911a..fff68592 100644 --- a/services/iaas/src/stackit/iaas/models/security_group_rule_protocol.py +++ b/services/iaas/src/stackit/iaas/models/security_group_rule_protocol.py @@ -10,7 +10,7 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations @@ -27,7 +27,7 @@ class SecurityGroupRuleProtocol(BaseModel): """ The internet protocol which the rule matches. - """ + """ # noqa: E501 protocol: Optional[Protocol] = None __properties: ClassVar[List[str]] = ["protocol"] diff --git a/services/iaas/src/stackit/iaas/models/server.py b/services/iaas/src/stackit/iaas/models/server.py index 3e4cc335..38ba4d7d 100644 --- a/services/iaas/src/stackit/iaas/models/server.py +++ b/services/iaas/src/stackit/iaas/models/server.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from datetime import datetime from typing import Any, ClassVar, Dict, List, Optional, Set, Union @@ -41,7 +41,7 @@ class Server(BaseModel): """ Representation of a single server object. - """ + """ # noqa: E501 affinity_group: Optional[Annotated[str, Field(min_length=36, strict=True, max_length=36)]] = Field( default=None, description="The affinity group the server is assigned to.", alias="affinityGroup" diff --git a/services/iaas/src/stackit/iaas/models/server_console_url.py b/services/iaas/src/stackit/iaas/models/server_console_url.py index 00e8ef5f..629e8fc2 100644 --- a/services/iaas/src/stackit/iaas/models/server_console_url.py +++ b/services/iaas/src/stackit/iaas/models/server_console_url.py @@ -10,7 +10,7 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations @@ -25,7 +25,7 @@ class ServerConsoleUrl(BaseModel): """ Object that represents a server console URL. - """ + """ # noqa: E501 url: StrictStr __properties: ClassVar[List[str]] = ["url"] diff --git a/services/iaas/src/stackit/iaas/models/server_list_response.py b/services/iaas/src/stackit/iaas/models/server_list_response.py index 19d3f510..6be59cdc 100644 --- a/services/iaas/src/stackit/iaas/models/server_list_response.py +++ b/services/iaas/src/stackit/iaas/models/server_list_response.py @@ -10,7 +10,7 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations @@ -27,7 +27,7 @@ class ServerListResponse(BaseModel): """ Response object for server list request. - """ + """ # noqa: E501 items: List[Server] = Field(description="A list of servers.") __properties: ClassVar[List[str]] = ["items"] diff --git a/services/iaas/src/stackit/iaas/models/server_maintenance.py b/services/iaas/src/stackit/iaas/models/server_maintenance.py index 8d4e2550..2d71c334 100644 --- a/services/iaas/src/stackit/iaas/models/server_maintenance.py +++ b/services/iaas/src/stackit/iaas/models/server_maintenance.py @@ -10,7 +10,7 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations @@ -26,7 +26,7 @@ class ServerMaintenance(BaseModel): """ Object that represents the information about the next planned server maintenance window. - """ + """ # noqa: E501 details: Optional[StrictStr] = None ends_at: datetime = Field(description="End of the maintenance window.", alias="endsAt") diff --git a/services/iaas/src/stackit/iaas/models/server_network.py b/services/iaas/src/stackit/iaas/models/server_network.py index e8366848..45f1159e 100644 --- a/services/iaas/src/stackit/iaas/models/server_network.py +++ b/services/iaas/src/stackit/iaas/models/server_network.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from typing import Any, ClassVar, Dict, List, Optional, Set from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator @@ -28,7 +28,7 @@ class ServerNetwork(BaseModel): """ Describes the object that matches servers to its networks. - """ + """ # noqa: E501 allowed_addresses: Optional[List[AllowedAddressesInner]] = Field( default=None, description="A list of IPs or CIDR notations.", alias="allowedAddresses" diff --git a/services/iaas/src/stackit/iaas/models/service_account_mail_list_response.py b/services/iaas/src/stackit/iaas/models/service_account_mail_list_response.py index 114a9f8e..da17ca93 100644 --- a/services/iaas/src/stackit/iaas/models/service_account_mail_list_response.py +++ b/services/iaas/src/stackit/iaas/models/service_account_mail_list_response.py @@ -10,7 +10,7 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations @@ -25,7 +25,7 @@ class ServiceAccountMailListResponse(BaseModel): """ Service account mail list response. - """ + """ # noqa: E501 items: Annotated[List[Annotated[str, Field(strict=True, max_length=255)]], Field(max_length=1)] = Field( description="A list of service account mails." diff --git a/services/iaas/src/stackit/iaas/models/set_image_share_payload.py b/services/iaas/src/stackit/iaas/models/set_image_share_payload.py index a18dbc96..8a85a54a 100644 --- a/services/iaas/src/stackit/iaas/models/set_image_share_payload.py +++ b/services/iaas/src/stackit/iaas/models/set_image_share_payload.py @@ -10,7 +10,7 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations @@ -25,7 +25,7 @@ class SetImageSharePayload(BaseModel): """ Share details of an Image. For requests ParentOrganization and Projects are mutually exclusive. - """ + """ # noqa: E501 parent_organization: Optional[StrictBool] = Field( default=None, diff --git a/services/iaas/src/stackit/iaas/models/snapshot.py b/services/iaas/src/stackit/iaas/models/snapshot.py index dac2888a..ee6030f8 100644 --- a/services/iaas/src/stackit/iaas/models/snapshot.py +++ b/services/iaas/src/stackit/iaas/models/snapshot.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from datetime import datetime from typing import Any, ClassVar, Dict, List, Optional, Set @@ -27,7 +27,7 @@ class Snapshot(BaseModel): """ Object that represents a snapshot. - """ + """ # noqa: E501 created_at: Optional[datetime] = Field( default=None, description="Date-time when resource was created.", alias="createdAt" diff --git a/services/iaas/src/stackit/iaas/models/snapshot_list_response.py b/services/iaas/src/stackit/iaas/models/snapshot_list_response.py index 92b62243..bc734291 100644 --- a/services/iaas/src/stackit/iaas/models/snapshot_list_response.py +++ b/services/iaas/src/stackit/iaas/models/snapshot_list_response.py @@ -10,7 +10,7 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations @@ -27,7 +27,7 @@ class SnapshotListResponse(BaseModel): """ Snapshot list response. - """ + """ # noqa: E501 items: List[Snapshot] = Field(description="A list containing snapshot objects.") __properties: ClassVar[List[str]] = ["items"] diff --git a/services/iaas/src/stackit/iaas/models/update_area_address_family.py b/services/iaas/src/stackit/iaas/models/update_area_address_family.py index 0fd0a6f8..b03e91ee 100644 --- a/services/iaas/src/stackit/iaas/models/update_area_address_family.py +++ b/services/iaas/src/stackit/iaas/models/update_area_address_family.py @@ -10,7 +10,7 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations @@ -27,7 +27,7 @@ class UpdateAreaAddressFamily(BaseModel): """ The addressFamily object for a area update request. - """ + """ # noqa: E501 ipv4: Optional[UpdateAreaIPv4] = None __properties: ClassVar[List[str]] = ["ipv4"] diff --git a/services/iaas/src/stackit/iaas/models/update_area_ipv4.py b/services/iaas/src/stackit/iaas/models/update_area_ipv4.py index 9d858c03..2b0bae72 100644 --- a/services/iaas/src/stackit/iaas/models/update_area_ipv4.py +++ b/services/iaas/src/stackit/iaas/models/update_area_ipv4.py @@ -10,7 +10,7 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations @@ -25,7 +25,7 @@ class UpdateAreaIPv4(BaseModel): """ The update object for a IPv4 network area. - """ + """ # noqa: E501 default_nameservers: Optional[Annotated[List[Annotated[str, Field(strict=True)]], Field(max_length=3)]] = Field( default=None, alias="defaultNameservers" diff --git a/services/iaas/src/stackit/iaas/models/update_attached_volume_payload.py b/services/iaas/src/stackit/iaas/models/update_attached_volume_payload.py index 82cd63ce..f3d12c6e 100644 --- a/services/iaas/src/stackit/iaas/models/update_attached_volume_payload.py +++ b/services/iaas/src/stackit/iaas/models/update_attached_volume_payload.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from typing import Any, ClassVar, Dict, List, Optional, Set from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator @@ -26,7 +26,7 @@ class UpdateAttachedVolumePayload(BaseModel): """ Object that represents a Volume attachment to a server. - """ + """ # noqa: E501 delete_on_termination: Optional[StrictBool] = Field( default=None, diff --git a/services/iaas/src/stackit/iaas/models/update_backup_payload.py b/services/iaas/src/stackit/iaas/models/update_backup_payload.py index 3d2b6672..49e4a57a 100644 --- a/services/iaas/src/stackit/iaas/models/update_backup_payload.py +++ b/services/iaas/src/stackit/iaas/models/update_backup_payload.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from datetime import datetime from typing import Any, ClassVar, Dict, List, Optional, Set @@ -27,7 +27,7 @@ class UpdateBackupPayload(BaseModel): """ Object that represents a backup. - """ + """ # noqa: E501 availability_zone: Optional[StrictStr] = Field( default=None, description="Object that represents an availability zone.", alias="availabilityZone" diff --git a/services/iaas/src/stackit/iaas/models/update_image_payload.py b/services/iaas/src/stackit/iaas/models/update_image_payload.py index 0ddb8ce4..314a4281 100644 --- a/services/iaas/src/stackit/iaas/models/update_image_payload.py +++ b/services/iaas/src/stackit/iaas/models/update_image_payload.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from typing import Any, ClassVar, Dict, List, Optional, Set from pydantic import ( @@ -36,7 +36,7 @@ class UpdateImagePayload(BaseModel): """ Object that represents an update request body of an Image. - """ + """ # noqa: E501 config: Optional[ImageConfig] = None disk_format: Optional[StrictStr] = Field( diff --git a/services/iaas/src/stackit/iaas/models/update_image_share_payload.py b/services/iaas/src/stackit/iaas/models/update_image_share_payload.py index 9d07bcd0..5a291430 100644 --- a/services/iaas/src/stackit/iaas/models/update_image_share_payload.py +++ b/services/iaas/src/stackit/iaas/models/update_image_share_payload.py @@ -10,7 +10,7 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations @@ -25,7 +25,7 @@ class UpdateImageSharePayload(BaseModel): """ Share details of an Image. For requests ParentOrganization and Projects are mutually exclusive. - """ + """ # noqa: E501 parent_organization: Optional[StrictBool] = Field( default=None, diff --git a/services/iaas/src/stackit/iaas/models/update_key_pair_payload.py b/services/iaas/src/stackit/iaas/models/update_key_pair_payload.py index 47c8200c..be1f0952 100644 --- a/services/iaas/src/stackit/iaas/models/update_key_pair_payload.py +++ b/services/iaas/src/stackit/iaas/models/update_key_pair_payload.py @@ -10,7 +10,7 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations @@ -25,7 +25,7 @@ class UpdateKeyPairPayload(BaseModel): """ Object that represents an update request body of a public key of an SSH keypair. - """ + """ # noqa: E501 labels: Optional[Dict[str, Any]] = Field( default=None, diff --git a/services/iaas/src/stackit/iaas/models/update_network_address_family.py b/services/iaas/src/stackit/iaas/models/update_network_address_family.py index 0c241666..5d7c4589 100644 --- a/services/iaas/src/stackit/iaas/models/update_network_address_family.py +++ b/services/iaas/src/stackit/iaas/models/update_network_address_family.py @@ -10,7 +10,7 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations @@ -28,7 +28,7 @@ class UpdateNetworkAddressFamily(BaseModel): """ The addressFamily object for a network update request. - """ + """ # noqa: E501 ipv4: Optional[UpdateNetworkIPv4Body] = None ipv6: Optional[UpdateNetworkIPv6Body] = None diff --git a/services/iaas/src/stackit/iaas/models/update_network_area_route_payload.py b/services/iaas/src/stackit/iaas/models/update_network_area_route_payload.py index 2c5f1cff..43c5fac5 100644 --- a/services/iaas/src/stackit/iaas/models/update_network_area_route_payload.py +++ b/services/iaas/src/stackit/iaas/models/update_network_area_route_payload.py @@ -10,7 +10,7 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations @@ -25,7 +25,7 @@ class UpdateNetworkAreaRoutePayload(BaseModel): """ Object that represents the request body for a route update. - """ + """ # noqa: E501 labels: Optional[Dict[str, Any]] = Field( default=None, diff --git a/services/iaas/src/stackit/iaas/models/update_network_ipv4_body.py b/services/iaas/src/stackit/iaas/models/update_network_ipv4_body.py index 08fdc92e..d260c85b 100644 --- a/services/iaas/src/stackit/iaas/models/update_network_ipv4_body.py +++ b/services/iaas/src/stackit/iaas/models/update_network_ipv4_body.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from typing import Any, ClassVar, Dict, List, Optional, Set from pydantic import BaseModel, ConfigDict, Field, field_validator @@ -26,7 +26,7 @@ class UpdateNetworkIPv4Body(BaseModel): """ The config object for a IPv4 network update. - """ + """ # noqa: E501 gateway: Optional[Annotated[str, Field(strict=True)]] = Field( default=None, diff --git a/services/iaas/src/stackit/iaas/models/update_network_ipv6_body.py b/services/iaas/src/stackit/iaas/models/update_network_ipv6_body.py index 87f14df1..e50d99af 100644 --- a/services/iaas/src/stackit/iaas/models/update_network_ipv6_body.py +++ b/services/iaas/src/stackit/iaas/models/update_network_ipv6_body.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from typing import Any, ClassVar, Dict, List, Optional, Set from pydantic import BaseModel, ConfigDict, Field, field_validator @@ -26,7 +26,7 @@ class UpdateNetworkIPv6Body(BaseModel): """ The config object for a IPv6 network update. - """ + """ # noqa: E501 gateway: Optional[Annotated[str, Field(strict=True)]] = Field( default=None, diff --git a/services/iaas/src/stackit/iaas/models/update_nic_payload.py b/services/iaas/src/stackit/iaas/models/update_nic_payload.py index 7443d93a..08fa0e48 100644 --- a/services/iaas/src/stackit/iaas/models/update_nic_payload.py +++ b/services/iaas/src/stackit/iaas/models/update_nic_payload.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from typing import Any, ClassVar, Dict, List, Optional, Set from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator @@ -28,7 +28,7 @@ class UpdateNicPayload(BaseModel): """ Object that represents a network interface update. - """ + """ # noqa: E501 allowed_addresses: Optional[List[AllowedAddressesInner]] = Field( default=None, description="A list of IPs or CIDR notations.", alias="allowedAddresses" diff --git a/services/iaas/src/stackit/iaas/models/update_public_ip_payload.py b/services/iaas/src/stackit/iaas/models/update_public_ip_payload.py index d6d9d96f..995e01a6 100644 --- a/services/iaas/src/stackit/iaas/models/update_public_ip_payload.py +++ b/services/iaas/src/stackit/iaas/models/update_public_ip_payload.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from typing import Any, ClassVar, Dict, List, Optional, Set from pydantic import BaseModel, ConfigDict, Field, field_validator @@ -26,7 +26,7 @@ class UpdatePublicIPPayload(BaseModel): """ Object that represents a public IP. - """ + """ # noqa: E501 id: Optional[Annotated[str, Field(min_length=36, strict=True, max_length=36)]] = Field( default=None, description="Universally Unique Identifier (UUID)." diff --git a/services/iaas/src/stackit/iaas/models/update_security_group_payload.py b/services/iaas/src/stackit/iaas/models/update_security_group_payload.py index d1ded6fc..a37be0a0 100644 --- a/services/iaas/src/stackit/iaas/models/update_security_group_payload.py +++ b/services/iaas/src/stackit/iaas/models/update_security_group_payload.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from typing import Any, ClassVar, Dict, List, Optional, Set from pydantic import BaseModel, ConfigDict, Field, field_validator @@ -26,7 +26,7 @@ class UpdateSecurityGroupPayload(BaseModel): """ Object that represents an update request body of a security group. - """ + """ # noqa: E501 description: Optional[Annotated[str, Field(strict=True, max_length=255)]] = Field( default=None, description="Description Object. Allows string up to 255 Characters." diff --git a/services/iaas/src/stackit/iaas/models/update_server_payload.py b/services/iaas/src/stackit/iaas/models/update_server_payload.py index 9edb6550..a850054d 100644 --- a/services/iaas/src/stackit/iaas/models/update_server_payload.py +++ b/services/iaas/src/stackit/iaas/models/update_server_payload.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from typing import Any, ClassVar, Dict, List, Optional, Set from pydantic import BaseModel, ConfigDict, Field, field_validator @@ -26,7 +26,7 @@ class UpdateServerPayload(BaseModel): """ Object that represents an update request body of a server. - """ + """ # noqa: E501 labels: Optional[Dict[str, Any]] = Field( default=None, diff --git a/services/iaas/src/stackit/iaas/models/update_snapshot_payload.py b/services/iaas/src/stackit/iaas/models/update_snapshot_payload.py index b448fa06..98d59d16 100644 --- a/services/iaas/src/stackit/iaas/models/update_snapshot_payload.py +++ b/services/iaas/src/stackit/iaas/models/update_snapshot_payload.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from typing import Any, ClassVar, Dict, List, Optional, Set from pydantic import BaseModel, ConfigDict, Field, field_validator @@ -26,7 +26,7 @@ class UpdateSnapshotPayload(BaseModel): """ Object that represents an update request body of a snapshot. - """ + """ # noqa: E501 labels: Optional[Dict[str, Any]] = Field( default=None, diff --git a/services/iaas/src/stackit/iaas/models/update_volume_payload.py b/services/iaas/src/stackit/iaas/models/update_volume_payload.py index d95fa7e7..1eeefe2a 100644 --- a/services/iaas/src/stackit/iaas/models/update_volume_payload.py +++ b/services/iaas/src/stackit/iaas/models/update_volume_payload.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from typing import Any, ClassVar, Dict, List, Optional, Set from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator @@ -28,7 +28,7 @@ class UpdateVolumePayload(BaseModel): """ Object that represents an update request body of a volume. - """ + """ # noqa: E501 bootable: Optional[StrictBool] = Field(default=None, description="Indicates if a volume is bootable.") description: Optional[Annotated[str, Field(strict=True, max_length=255)]] = Field( diff --git a/services/iaas/src/stackit/iaas/models/volume.py b/services/iaas/src/stackit/iaas/models/volume.py index c9800e63..281fc637 100644 --- a/services/iaas/src/stackit/iaas/models/volume.py +++ b/services/iaas/src/stackit/iaas/models/volume.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from datetime import datetime from typing import Any, ClassVar, Dict, List, Optional, Set @@ -38,7 +38,7 @@ class Volume(BaseModel): """ Object that represents a volume and its parameters. Used for Creating and returning (get/list). - """ + """ # noqa: E501 availability_zone: StrictStr = Field( description="Object that represents an availability zone.", alias="availabilityZone" diff --git a/services/iaas/src/stackit/iaas/models/volume_attachment.py b/services/iaas/src/stackit/iaas/models/volume_attachment.py index 13ea8504..cf0cb4d2 100644 --- a/services/iaas/src/stackit/iaas/models/volume_attachment.py +++ b/services/iaas/src/stackit/iaas/models/volume_attachment.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from typing import Any, ClassVar, Dict, List, Optional, Set from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator @@ -26,7 +26,7 @@ class VolumeAttachment(BaseModel): """ Object that represents a Volume attachment to a server. - """ + """ # noqa: E501 delete_on_termination: Optional[StrictBool] = Field( default=None, diff --git a/services/iaas/src/stackit/iaas/models/volume_attachment_list_response.py b/services/iaas/src/stackit/iaas/models/volume_attachment_list_response.py index 0166f4a0..b4ff23e8 100644 --- a/services/iaas/src/stackit/iaas/models/volume_attachment_list_response.py +++ b/services/iaas/src/stackit/iaas/models/volume_attachment_list_response.py @@ -10,7 +10,7 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations @@ -27,7 +27,7 @@ class VolumeAttachmentListResponse(BaseModel): """ Volume attachment list response. - """ + """ # noqa: E501 items: List[VolumeAttachment] = Field(description="A list containing Volume attachments of a server.") __properties: ClassVar[List[str]] = ["items"] diff --git a/services/iaas/src/stackit/iaas/models/volume_list_response.py b/services/iaas/src/stackit/iaas/models/volume_list_response.py index dd0c5839..1f1efeb6 100644 --- a/services/iaas/src/stackit/iaas/models/volume_list_response.py +++ b/services/iaas/src/stackit/iaas/models/volume_list_response.py @@ -10,7 +10,7 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations @@ -27,7 +27,7 @@ class VolumeListResponse(BaseModel): """ Volume list response. - """ + """ # noqa: E501 items: List[Volume] = Field(description="A list containing volume objects.") __properties: ClassVar[List[str]] = ["items"] diff --git a/services/iaas/src/stackit/iaas/models/volume_performance_class.py b/services/iaas/src/stackit/iaas/models/volume_performance_class.py index 62e7a6b0..8720d728 100644 --- a/services/iaas/src/stackit/iaas/models/volume_performance_class.py +++ b/services/iaas/src/stackit/iaas/models/volume_performance_class.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from typing import Any, ClassVar, Dict, List, Optional, Set from pydantic import BaseModel, ConfigDict, Field, StrictInt, field_validator @@ -26,7 +26,7 @@ class VolumePerformanceClass(BaseModel): """ Object that represents a Volume performance class. - """ + """ # noqa: E501 description: Optional[Annotated[str, Field(strict=True, max_length=255)]] = Field( default=None, description="Description Object. Allows string up to 255 Characters." diff --git a/services/iaas/src/stackit/iaas/models/volume_performance_class_list_response.py b/services/iaas/src/stackit/iaas/models/volume_performance_class_list_response.py index d26667eb..a446721f 100644 --- a/services/iaas/src/stackit/iaas/models/volume_performance_class_list_response.py +++ b/services/iaas/src/stackit/iaas/models/volume_performance_class_list_response.py @@ -10,7 +10,7 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations @@ -27,7 +27,7 @@ class VolumePerformanceClassListResponse(BaseModel): """ Volume performance class list response. - """ + """ # noqa: E501 items: List[VolumePerformanceClass] = Field(description="A list containing Volume performance classes.") __properties: ClassVar[List[str]] = ["items"] diff --git a/services/iaas/src/stackit/iaas/models/volume_source.py b/services/iaas/src/stackit/iaas/models/volume_source.py index 39f948b4..0d2238aa 100644 --- a/services/iaas/src/stackit/iaas/models/volume_source.py +++ b/services/iaas/src/stackit/iaas/models/volume_source.py @@ -10,13 +10,13 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 from __future__ import annotations import json import pprint -import re +import re # noqa: F401 from typing import Any, ClassVar, Dict, List, Optional, Set from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator @@ -26,7 +26,7 @@ class VolumeSource(BaseModel): """ The source object of a volume. - """ + """ # noqa: E501 id: Annotated[str, Field(min_length=36, strict=True, max_length=36)] = Field( description="Universally Unique Identifier (UUID)." diff --git a/services/iaas/src/stackit/iaas/rest.py b/services/iaas/src/stackit/iaas/rest.py index e500210d..4bdf86cc 100644 --- a/services/iaas/src/stackit/iaas/rest.py +++ b/services/iaas/src/stackit/iaas/rest.py @@ -10,7 +10,7 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. -""" # noqa: E501 docstring might be too long +""" # noqa: E501 import io import json @@ -125,7 +125,7 @@ def request(self, method, url, headers=None, body=None, post_params=None, _reque data=body, headers=headers, ) - elif headers["Content-Type"] == "text/plain" and isinstance(body, bool): + elif headers["Content-Type"].startswith("text/") and isinstance(body, bool): request_body = "true" if body else "false" r = self.session.request(method, url, data=request_body, headers=headers) else: