ionoscloud 5.0.0 → 6.0.0.beta.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (594) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -5
  3. data/docs/AttachedVolumes.md +30 -0
  4. data/docs/BackupUnit.md +26 -0
  5. data/docs/BackupUnitProperties.md +22 -0
  6. data/docs/BackupUnitSSO.md +18 -0
  7. data/docs/BackupUnits.md +24 -0
  8. data/docs/BackupUnitsApi.md +594 -0
  9. data/docs/BalancedNics.md +30 -0
  10. data/docs/CHANGELOG.md +1 -0
  11. data/docs/Cdroms.md +30 -0
  12. data/docs/ConnectableDatacenter.md +22 -0
  13. data/docs/Contract.md +20 -0
  14. data/docs/ContractProperties.md +26 -0
  15. data/docs/ContractResourcesApi.md +89 -0
  16. data/docs/Contracts.md +24 -0
  17. data/docs/CpuArchitectureProperties.md +24 -0
  18. data/docs/DataCenterEntities.md +28 -0
  19. data/docs/DataCentersApi.md +516 -0
  20. data/docs/Datacenter.md +28 -0
  21. data/docs/DatacenterElementMetadata.md +32 -0
  22. data/docs/DatacenterProperties.md +30 -0
  23. data/docs/Datacenters.md +30 -0
  24. data/docs/DefaultApi.md +78 -0
  25. data/docs/Error.md +20 -0
  26. data/docs/ErrorMessage.md +20 -0
  27. data/docs/FirewallRule.md +26 -0
  28. data/docs/FirewallRules.md +30 -0
  29. data/docs/FirewallRulesApi.md +552 -0
  30. data/docs/FirewallruleProperties.md +36 -0
  31. data/docs/FlowLog.md +26 -0
  32. data/docs/FlowLogProperties.md +24 -0
  33. data/docs/FlowLogPut.md +24 -0
  34. data/docs/FlowLogs.md +30 -0
  35. data/docs/FlowLogsApi.md +540 -0
  36. data/docs/Group.md +26 -0
  37. data/docs/GroupEntities.md +20 -0
  38. data/docs/GroupMembers.md +24 -0
  39. data/docs/GroupProperties.md +42 -0
  40. data/docs/GroupShare.md +24 -0
  41. data/docs/GroupShareProperties.md +20 -0
  42. data/docs/GroupShares.md +24 -0
  43. data/docs/GroupUsers.md +24 -0
  44. data/docs/Groups.md +24 -0
  45. data/docs/IPBlocksApi.md +512 -0
  46. data/docs/IPFailover.md +20 -0
  47. data/docs/Image.md +26 -0
  48. data/docs/ImageProperties.md +54 -0
  49. data/docs/Images.md +24 -0
  50. data/docs/ImagesApi.md +428 -0
  51. data/docs/Info.md +22 -0
  52. data/docs/IpBlock.md +26 -0
  53. data/docs/IpBlockProperties.md +26 -0
  54. data/docs/IpBlocks.md +24 -0
  55. data/docs/IpConsumer.md +34 -0
  56. data/docs/KubernetesApi.md +1433 -0
  57. data/docs/KubernetesAutoScaling.md +20 -0
  58. data/docs/KubernetesCluster.md +28 -0
  59. data/docs/KubernetesClusterEntities.md +18 -0
  60. data/docs/KubernetesClusterForPost.md +28 -0
  61. data/docs/KubernetesClusterForPut.md +28 -0
  62. data/docs/KubernetesClusterProperties.md +30 -0
  63. data/docs/KubernetesClusterPropertiesForPost.md +26 -0
  64. data/docs/KubernetesClusterPropertiesForPut.md +22 -0
  65. data/docs/KubernetesClusters.md +24 -0
  66. data/docs/KubernetesMaintenanceWindow.md +20 -0
  67. data/docs/KubernetesNode.md +26 -0
  68. data/docs/KubernetesNodeMetadata.md +26 -0
  69. data/docs/KubernetesNodePool.md +26 -0
  70. data/docs/KubernetesNodePoolForPost.md +26 -0
  71. data/docs/KubernetesNodePoolForPut.md +26 -0
  72. data/docs/KubernetesNodePoolLan.md +22 -0
  73. data/docs/KubernetesNodePoolLanRoutes.md +20 -0
  74. data/docs/KubernetesNodePoolProperties.md +50 -0
  75. data/docs/KubernetesNodePoolPropertiesForPost.md +48 -0
  76. data/docs/KubernetesNodePoolPropertiesForPut.md +34 -0
  77. data/docs/KubernetesNodePools.md +24 -0
  78. data/docs/KubernetesNodeProperties.md +24 -0
  79. data/docs/KubernetesNodes.md +24 -0
  80. data/docs/Label.md +26 -0
  81. data/docs/LabelProperties.md +26 -0
  82. data/docs/LabelResource.md +26 -0
  83. data/docs/LabelResourceProperties.md +20 -0
  84. data/docs/LabelResources.md +30 -0
  85. data/docs/Labels.md +24 -0
  86. data/docs/LabelsApi.md +2346 -0
  87. data/docs/Lan.md +28 -0
  88. data/docs/LanEntities.md +18 -0
  89. data/docs/LanNics.md +30 -0
  90. data/docs/LanPost.md +28 -0
  91. data/docs/LanProperties.md +24 -0
  92. data/docs/LanPropertiesPost.md +24 -0
  93. data/docs/Lans.md +30 -0
  94. data/docs/LansApi.md +794 -0
  95. data/docs/LoadBalancersApi.md +885 -0
  96. data/docs/Loadbalancer.md +28 -0
  97. data/docs/LoadbalancerEntities.md +18 -0
  98. data/docs/LoadbalancerProperties.md +22 -0
  99. data/docs/Loadbalancers.md +30 -0
  100. data/docs/Location.md +26 -0
  101. data/docs/LocationProperties.md +24 -0
  102. data/docs/Locations.md +24 -0
  103. data/docs/LocationsApi.md +259 -0
  104. data/docs/NATGatewaysApi.md +1578 -0
  105. data/docs/NatGateway.md +28 -0
  106. data/docs/NatGatewayEntities.md +20 -0
  107. data/docs/NatGatewayLanProperties.md +20 -0
  108. data/docs/NatGatewayProperties.md +22 -0
  109. data/docs/NatGatewayPut.md +24 -0
  110. data/docs/NatGatewayRule.md +26 -0
  111. data/docs/NatGatewayRuleProperties.md +30 -0
  112. data/docs/NatGatewayRuleProtocol.md +15 -0
  113. data/docs/NatGatewayRulePut.md +24 -0
  114. data/docs/NatGatewayRuleType.md +15 -0
  115. data/docs/NatGatewayRules.md +24 -0
  116. data/docs/NatGateways.md +30 -0
  117. data/docs/NetworkInterfacesApi.md +540 -0
  118. data/docs/NetworkLoadBalancer.md +28 -0
  119. data/docs/NetworkLoadBalancerEntities.md +20 -0
  120. data/docs/NetworkLoadBalancerForwardingRule.md +26 -0
  121. data/docs/NetworkLoadBalancerForwardingRuleHealthCheck.md +26 -0
  122. data/docs/NetworkLoadBalancerForwardingRuleProperties.md +30 -0
  123. data/docs/NetworkLoadBalancerForwardingRulePut.md +24 -0
  124. data/docs/NetworkLoadBalancerForwardingRuleTarget.md +24 -0
  125. data/docs/NetworkLoadBalancerForwardingRuleTargetHealthCheck.md +22 -0
  126. data/docs/NetworkLoadBalancerForwardingRules.md +30 -0
  127. data/docs/NetworkLoadBalancerProperties.md +26 -0
  128. data/docs/NetworkLoadBalancerPut.md +24 -0
  129. data/docs/NetworkLoadBalancers.md +30 -0
  130. data/docs/NetworkLoadBalancersApi.md +1590 -0
  131. data/docs/Nic.md +28 -0
  132. data/docs/NicEntities.md +20 -0
  133. data/docs/NicProperties.md +34 -0
  134. data/docs/NicPut.md +24 -0
  135. data/docs/Nics.md +30 -0
  136. data/docs/NoStateMetaData.md +30 -0
  137. data/docs/PaginationLinks.md +22 -0
  138. data/docs/Peer.md +26 -0
  139. data/docs/PrivateCrossConnect.md +26 -0
  140. data/docs/PrivateCrossConnectProperties.md +24 -0
  141. data/docs/PrivateCrossConnects.md +24 -0
  142. data/docs/PrivateCrossConnectsApi.md +430 -0
  143. data/docs/README.md +111 -0
  144. data/docs/RemoteConsoleUrl.md +18 -0
  145. data/docs/Request.md +26 -0
  146. data/docs/RequestMetadata.md +24 -0
  147. data/docs/RequestProperties.md +24 -0
  148. data/docs/RequestStatus.md +24 -0
  149. data/docs/RequestStatusMetadata.md +24 -0
  150. data/docs/RequestTarget.md +20 -0
  151. data/docs/Requests.md +30 -0
  152. data/docs/RequestsApi.md +283 -0
  153. data/docs/Resource.md +28 -0
  154. data/docs/ResourceEntities.md +18 -0
  155. data/docs/ResourceGroups.md +24 -0
  156. data/docs/ResourceLimits.md +60 -0
  157. data/docs/ResourceProperties.md +20 -0
  158. data/docs/ResourceReference.md +22 -0
  159. data/docs/Resources.md +24 -0
  160. data/docs/ResourcesUsers.md +24 -0
  161. data/docs/S3Key.md +26 -0
  162. data/docs/S3KeyMetadata.md +20 -0
  163. data/docs/S3KeyProperties.md +20 -0
  164. data/docs/S3Keys.md +24 -0
  165. data/docs/S3ObjectStorageSSO.md +18 -0
  166. data/docs/Server.md +28 -0
  167. data/docs/ServerEntities.md +22 -0
  168. data/docs/ServerProperties.md +36 -0
  169. data/docs/Servers.md +30 -0
  170. data/docs/ServersApi.md +1908 -0
  171. data/docs/Snapshot.md +26 -0
  172. data/docs/SnapshotProperties.md +48 -0
  173. data/docs/Snapshots.md +24 -0
  174. data/docs/SnapshotsApi.md +428 -0
  175. data/docs/TargetPortRange.md +20 -0
  176. data/docs/Template.md +26 -0
  177. data/docs/TemplateProperties.md +24 -0
  178. data/docs/Templates.md +24 -0
  179. data/docs/TemplatesApi.md +165 -0
  180. data/docs/Token.md +18 -0
  181. data/docs/Type.md +15 -0
  182. data/docs/User.md +28 -0
  183. data/docs/UserManagementApi.md +2033 -0
  184. data/docs/UserMetadata.md +22 -0
  185. data/docs/UserPost.md +18 -0
  186. data/docs/UserProperties.md +32 -0
  187. data/docs/UserPropertiesPost.md +32 -0
  188. data/docs/UserPropertiesPut.md +30 -0
  189. data/docs/UserPut.md +20 -0
  190. data/docs/UserS3KeysApi.md +516 -0
  191. data/docs/Users.md +24 -0
  192. data/docs/UsersEntities.md +20 -0
  193. data/docs/Volume.md +26 -0
  194. data/docs/VolumeProperties.md +54 -0
  195. data/docs/Volumes.md +30 -0
  196. data/docs/VolumesApi.md +709 -0
  197. data/docs/summary.md +395 -0
  198. data/gitbook.yaml +4 -0
  199. data/ionoscloud.gemspec +1 -1
  200. data/lib/ionoscloud.rb +68 -18
  201. data/lib/ionoscloud/api/_api.rb +1 -1
  202. data/lib/ionoscloud/api/{backup_unit_api.rb → backup_units_api.rb} +60 -60
  203. data/lib/ionoscloud/api/{contract_api.rb → contract_resources_api.rb} +12 -12
  204. data/lib/ionoscloud/api/{data_center_api.rb → data_centers_api.rb} +51 -51
  205. data/lib/ionoscloud/api/firewall_rules_api.rb +640 -0
  206. data/lib/ionoscloud/api/flow_logs_api.rb +622 -0
  207. data/lib/ionoscloud/api/{image_api.rb → images_api.rb} +40 -40
  208. data/lib/ionoscloud/api/ip_blocks_api.rb +16 -16
  209. data/lib/ionoscloud/api/kubernetes_api.rb +33 -96
  210. data/lib/ionoscloud/api/{label_api.rb → labels_api.rb} +269 -287
  211. data/lib/ionoscloud/api/{lan_api.rb → lans_api.rb} +105 -105
  212. data/lib/ionoscloud/api/{load_balancer_api.rb → load_balancers_api.rb} +153 -135
  213. data/lib/ionoscloud/api/{location_api.rb → locations_api.rb} +20 -20
  214. data/lib/ionoscloud/api/nat_gateways_api.rb +1690 -0
  215. data/lib/ionoscloud/api/network_interfaces_api.rb +604 -0
  216. data/lib/ionoscloud/api/network_load_balancers_api.rb +1708 -0
  217. data/lib/ionoscloud/api/{private_cross_connect_api.rb → private_cross_connects_api.rb} +61 -43
  218. data/lib/ionoscloud/api/{request_api.rb → requests_api.rb} +56 -32
  219. data/lib/ionoscloud/api/{server_api.rb → servers_api.rb} +535 -191
  220. data/lib/ionoscloud/api/{snapshot_api.rb → snapshots_api.rb} +46 -46
  221. data/lib/ionoscloud/api/templates_api.rb +164 -0
  222. data/lib/ionoscloud/api/user_management_api.rb +29 -524
  223. data/lib/ionoscloud/api/user_s3_keys_api.rb +517 -0
  224. data/lib/ionoscloud/api/{volume_api.rb → volumes_api.rb} +80 -80
  225. data/lib/ionoscloud/api_client.rb +19 -23
  226. data/lib/ionoscloud/api_error.rb +1 -1
  227. data/lib/ionoscloud/configuration.rb +5 -5
  228. data/lib/ionoscloud/models/attached_volumes.rb +1 -1
  229. data/lib/ionoscloud/models/backup_unit.rb +1 -1
  230. data/lib/ionoscloud/models/backup_unit_properties.rb +1 -1
  231. data/lib/ionoscloud/models/backup_unit_sso.rb +1 -1
  232. data/lib/ionoscloud/models/backup_units.rb +3 -3
  233. data/lib/ionoscloud/models/balanced_nics.rb +1 -1
  234. data/lib/ionoscloud/models/cdroms.rb +1 -1
  235. data/lib/ionoscloud/models/connectable_datacenter.rb +1 -1
  236. data/lib/ionoscloud/models/contract.rb +1 -1
  237. data/lib/ionoscloud/models/contract_properties.rb +1 -1
  238. data/lib/ionoscloud/models/contracts.rb +249 -0
  239. data/lib/ionoscloud/models/cpu_architecture_properties.rb +247 -0
  240. data/lib/ionoscloud/models/data_center_entities.rb +23 -5
  241. data/lib/ionoscloud/models/datacenter.rb +1 -1
  242. data/lib/ionoscloud/models/datacenter_element_metadata.rb +1 -1
  243. data/lib/ionoscloud/models/datacenter_properties.rb +16 -26
  244. data/lib/ionoscloud/models/datacenters.rb +1 -1
  245. data/lib/ionoscloud/models/error.rb +1 -1
  246. data/lib/ionoscloud/models/error_message.rb +1 -1
  247. data/lib/ionoscloud/models/firewall_rule.rb +1 -1
  248. data/lib/ionoscloud/models/firewall_rules.rb +1 -1
  249. data/lib/ionoscloud/models/firewallrule_properties.rb +63 -26
  250. data/lib/ionoscloud/models/flow_log.rb +260 -0
  251. data/lib/ionoscloud/models/flow_log_properties.rb +313 -0
  252. data/lib/ionoscloud/models/flow_log_put.rb +251 -0
  253. data/lib/ionoscloud/models/flow_logs.rb +278 -0
  254. data/lib/ionoscloud/models/group.rb +1 -1
  255. data/lib/ionoscloud/models/group_entities.rb +1 -1
  256. data/lib/ionoscloud/models/group_members.rb +1 -1
  257. data/lib/ionoscloud/models/group_properties.rb +35 -5
  258. data/lib/ionoscloud/models/group_share.rb +1 -1
  259. data/lib/ionoscloud/models/group_share_properties.rb +1 -1
  260. data/lib/ionoscloud/models/group_shares.rb +1 -1
  261. data/lib/ionoscloud/models/group_users.rb +1 -1
  262. data/lib/ionoscloud/models/groups.rb +1 -1
  263. data/lib/ionoscloud/models/image.rb +1 -1
  264. data/lib/ionoscloud/models/image_properties.rb +39 -5
  265. data/lib/ionoscloud/models/images.rb +1 -1
  266. data/lib/ionoscloud/models/info.rb +1 -1
  267. data/lib/ionoscloud/models/ip_block.rb +1 -1
  268. data/lib/ionoscloud/models/ip_block_properties.rb +1 -1
  269. data/lib/ionoscloud/models/ip_blocks.rb +1 -1
  270. data/lib/ionoscloud/models/ip_consumer.rb +23 -5
  271. data/lib/ionoscloud/models/ip_failover.rb +1 -1
  272. data/lib/ionoscloud/models/kubernetes_auto_scaling.rb +11 -1
  273. data/lib/ionoscloud/models/kubernetes_cluster.rb +1 -1
  274. data/lib/ionoscloud/models/kubernetes_cluster_entities.rb +1 -1
  275. data/lib/ionoscloud/models/kubernetes_cluster_for_post.rb +303 -0
  276. data/lib/ionoscloud/models/kubernetes_cluster_for_put.rb +303 -0
  277. data/lib/ionoscloud/models/kubernetes_cluster_properties.rb +27 -5
  278. data/lib/ionoscloud/models/kubernetes_cluster_properties_for_post.rb +263 -0
  279. data/lib/ionoscloud/models/{kubernetes_cluster_properties_for_post_and_put.rb → kubernetes_cluster_properties_for_put.rb} +5 -5
  280. data/lib/ionoscloud/models/kubernetes_clusters.rb +2 -2
  281. data/lib/ionoscloud/models/kubernetes_maintenance_window.rb +11 -1
  282. data/lib/ionoscloud/models/kubernetes_node.rb +3 -3
  283. data/lib/ionoscloud/models/kubernetes_node_metadata.rb +1 -1
  284. data/lib/ionoscloud/models/kubernetes_node_pool.rb +1 -1
  285. data/lib/ionoscloud/models/{kubernetes_config.rb → kubernetes_node_pool_for_post.rb} +17 -8
  286. data/lib/ionoscloud/models/kubernetes_node_pool_for_put.rb +1 -1
  287. data/lib/ionoscloud/models/kubernetes_node_pool_lan.rb +27 -5
  288. data/lib/ionoscloud/models/kubernetes_node_pool_lan_routes.rb +227 -0
  289. data/lib/ionoscloud/models/kubernetes_node_pool_properties.rb +2 -2
  290. data/lib/ionoscloud/models/kubernetes_node_pool_properties_for_post.rb +2 -2
  291. data/lib/ionoscloud/models/kubernetes_node_pool_properties_for_put.rb +2 -153
  292. data/lib/ionoscloud/models/kubernetes_node_pools.rb +2 -2
  293. data/lib/ionoscloud/models/kubernetes_node_properties.rb +12 -7
  294. data/lib/ionoscloud/models/kubernetes_nodes.rb +3 -3
  295. data/lib/ionoscloud/models/label.rb +1 -1
  296. data/lib/ionoscloud/models/label_properties.rb +1 -1
  297. data/lib/ionoscloud/models/label_resource.rb +1 -1
  298. data/lib/ionoscloud/models/label_resource_properties.rb +1 -1
  299. data/lib/ionoscloud/models/label_resources.rb +3 -3
  300. data/lib/ionoscloud/models/labels.rb +3 -3
  301. data/lib/ionoscloud/models/lan.rb +1 -1
  302. data/lib/ionoscloud/models/lan_entities.rb +1 -1
  303. data/lib/ionoscloud/models/lan_nics.rb +1 -1
  304. data/lib/ionoscloud/models/lan_post.rb +1 -1
  305. data/lib/ionoscloud/models/lan_properties.rb +1 -1
  306. data/lib/ionoscloud/models/lan_properties_post.rb +1 -1
  307. data/lib/ionoscloud/models/lans.rb +2 -2
  308. data/lib/ionoscloud/models/loadbalancer.rb +1 -1
  309. data/lib/ionoscloud/models/loadbalancer_entities.rb +1 -1
  310. data/lib/ionoscloud/models/loadbalancer_properties.rb +13 -30
  311. data/lib/ionoscloud/models/loadbalancers.rb +1 -1
  312. data/lib/ionoscloud/models/location.rb +1 -1
  313. data/lib/ionoscloud/models/location_properties.rb +16 -26
  314. data/lib/ionoscloud/models/locations.rb +1 -1
  315. data/lib/ionoscloud/models/nat_gateway.rb +269 -0
  316. data/lib/ionoscloud/models/nat_gateway_entities.rb +225 -0
  317. data/lib/ionoscloud/models/nat_gateway_lan_properties.rb +234 -0
  318. data/lib/ionoscloud/models/nat_gateway_properties.rb +251 -0
  319. data/lib/ionoscloud/models/nat_gateway_put.rb +251 -0
  320. data/lib/ionoscloud/models/nat_gateway_rule.rb +260 -0
  321. data/lib/ionoscloud/models/nat_gateway_rule_properties.rb +291 -0
  322. data/lib/ionoscloud/models/nat_gateway_rule_protocol.rb +39 -0
  323. data/lib/ionoscloud/models/nat_gateway_rule_put.rb +251 -0
  324. data/lib/ionoscloud/models/nat_gateway_rule_type.rb +36 -0
  325. data/lib/ionoscloud/models/nat_gateway_rules.rb +249 -0
  326. data/lib/ionoscloud/models/nat_gateways.rb +278 -0
  327. data/lib/ionoscloud/models/network_load_balancer.rb +269 -0
  328. data/lib/ionoscloud/models/network_load_balancer_entities.rb +225 -0
  329. data/lib/ionoscloud/models/network_load_balancer_forwarding_rule.rb +260 -0
  330. data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_health_check.rb +257 -0
  331. data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_properties.rb +354 -0
  332. data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_put.rb +251 -0
  333. data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_target.rb +261 -0
  334. data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_target_health_check.rb +237 -0
  335. data/lib/ionoscloud/models/network_load_balancer_forwarding_rules.rb +278 -0
  336. data/lib/ionoscloud/models/network_load_balancer_properties.rb +276 -0
  337. data/lib/ionoscloud/models/network_load_balancer_put.rb +251 -0
  338. data/lib/ionoscloud/models/network_load_balancers.rb +278 -0
  339. data/lib/ionoscloud/models/nic.rb +1 -1
  340. data/lib/ionoscloud/models/nic_entities.rb +11 -2
  341. data/lib/ionoscloud/models/nic_properties.rb +63 -9
  342. data/lib/ionoscloud/models/nic_put.rb +251 -0
  343. data/lib/ionoscloud/models/nics.rb +1 -1
  344. data/lib/ionoscloud/models/no_state_meta_data.rb +1 -1
  345. data/lib/ionoscloud/models/pagination_links.rb +1 -1
  346. data/lib/ionoscloud/models/peer.rb +1 -1
  347. data/lib/ionoscloud/models/private_cross_connect.rb +1 -1
  348. data/lib/ionoscloud/models/private_cross_connect_properties.rb +1 -1
  349. data/lib/ionoscloud/models/private_cross_connects.rb +1 -1
  350. data/lib/ionoscloud/models/{kubernetes_config_properties.rb → remote_console_url.rb} +12 -12
  351. data/lib/ionoscloud/models/request.rb +1 -1
  352. data/lib/ionoscloud/models/request_metadata.rb +1 -1
  353. data/lib/ionoscloud/models/request_properties.rb +1 -1
  354. data/lib/ionoscloud/models/request_status.rb +1 -1
  355. data/lib/ionoscloud/models/request_status_metadata.rb +1 -1
  356. data/lib/ionoscloud/models/request_target.rb +1 -1
  357. data/lib/ionoscloud/models/requests.rb +1 -1
  358. data/lib/ionoscloud/models/resource.rb +1 -1
  359. data/lib/ionoscloud/models/resource_entities.rb +1 -1
  360. data/lib/ionoscloud/models/resource_groups.rb +1 -1
  361. data/lib/ionoscloud/models/resource_limits.rb +80 -5
  362. data/lib/ionoscloud/models/resource_properties.rb +1 -1
  363. data/lib/ionoscloud/models/resource_reference.rb +1 -1
  364. data/lib/ionoscloud/models/resources.rb +1 -1
  365. data/lib/ionoscloud/models/resources_users.rb +1 -1
  366. data/lib/ionoscloud/models/s3_key.rb +1 -1
  367. data/lib/ionoscloud/models/s3_key_metadata.rb +1 -1
  368. data/lib/ionoscloud/models/s3_key_properties.rb +3 -3
  369. data/lib/ionoscloud/models/s3_keys.rb +1 -1
  370. data/lib/ionoscloud/models/s3_object_storage_sso.rb +1 -1
  371. data/lib/ionoscloud/models/server.rb +1 -1
  372. data/lib/ionoscloud/models/server_entities.rb +1 -1
  373. data/lib/ionoscloud/models/server_properties.rb +28 -8
  374. data/lib/ionoscloud/models/servers.rb +1 -1
  375. data/lib/ionoscloud/models/snapshot.rb +1 -1
  376. data/lib/ionoscloud/models/snapshot_properties.rb +1 -1
  377. data/lib/ionoscloud/models/snapshots.rb +1 -1
  378. data/lib/ionoscloud/models/target_port_range.rb +227 -0
  379. data/lib/ionoscloud/models/template.rb +260 -0
  380. data/lib/ionoscloud/models/template_properties.rb +267 -0
  381. data/lib/ionoscloud/models/templates.rb +249 -0
  382. data/lib/ionoscloud/models/token.rb +217 -0
  383. data/lib/ionoscloud/models/type.rb +10 -1
  384. data/lib/ionoscloud/models/user.rb +1 -1
  385. data/lib/ionoscloud/models/user_metadata.rb +1 -1
  386. data/lib/ionoscloud/models/user_post.rb +221 -0
  387. data/lib/ionoscloud/models/user_properties.rb +2 -12
  388. data/lib/ionoscloud/models/user_properties_post.rb +287 -0
  389. data/lib/ionoscloud/models/user_properties_put.rb +277 -0
  390. data/lib/ionoscloud/models/user_put.rb +231 -0
  391. data/lib/ionoscloud/models/users.rb +1 -1
  392. data/lib/ionoscloud/models/users_entities.rb +1 -1
  393. data/lib/ionoscloud/models/volume.rb +1 -1
  394. data/lib/ionoscloud/models/volume_properties.rb +31 -20
  395. data/lib/ionoscloud/models/volumes.rb +1 -1
  396. data/lib/ionoscloud/version.rb +2 -2
  397. data/spec/api/_api_spec.rb +1 -1
  398. data/spec/api/{backup_unit_api_spec.rb → backup_units_api_spec.rb} +14 -14
  399. data/spec/api/{contract_api_spec.rb → contract_resources_api_spec.rb} +9 -9
  400. data/spec/api/{data_center_api_spec.rb → data_centers_api_spec.rb} +10 -10
  401. data/spec/api/firewall_rules_api_spec.rb +146 -0
  402. data/spec/api/flow_logs_api_spec.rb +140 -0
  403. data/spec/api/{image_api_spec.rb → images_api_spec.rb} +9 -9
  404. data/spec/api/ip_blocks_api_spec.rb +7 -7
  405. data/spec/api/kubernetes_api_spec.rb +10 -22
  406. data/spec/api/{label_api_spec.rb → labels_api_spec.rb} +21 -23
  407. data/spec/api/{lan_api_spec.rb → lans_api_spec.rb} +21 -21
  408. data/spec/api/{load_balancer_api_spec.rb → load_balancers_api_spec.rb} +27 -25
  409. data/spec/api/{location_api_spec.rb → locations_api_spec.rb} +7 -7
  410. data/spec/api/{nic_api_spec.rb → nat_gateways_api_spec.rb} +188 -103
  411. data/spec/api/network_interfaces_api_spec.rb +140 -0
  412. data/spec/api/network_load_balancers_api_spec.rb +342 -0
  413. data/spec/api/{private_cross_connect_api_spec.rb → private_cross_connects_api_spec.rb} +13 -11
  414. data/spec/api/{request_api_spec.rb → requests_api_spec.rb} +20 -12
  415. data/spec/api/{server_api_spec.rb → servers_api_spec.rb} +84 -20
  416. data/spec/api/{snapshot_api_spec.rb → snapshots_api_spec.rb} +12 -12
  417. data/spec/api/templates_api_spec.rb +60 -0
  418. data/spec/api/user_management_api_spec.rb +7 -100
  419. data/spec/api/user_s3_keys_api_spec.rb +128 -0
  420. data/spec/api/{volume_api_spec.rb → volumes_api_spec.rb} +13 -13
  421. data/spec/api_client_spec.rb +1 -1
  422. data/spec/configuration_spec.rb +4 -4
  423. data/spec/models/attached_volumes_spec.rb +1 -1
  424. data/spec/models/backup_unit_properties_spec.rb +1 -1
  425. data/spec/models/backup_unit_spec.rb +1 -1
  426. data/spec/models/backup_unit_sso_spec.rb +1 -1
  427. data/spec/models/backup_units_spec.rb +2 -2
  428. data/spec/models/balanced_nics_spec.rb +1 -1
  429. data/spec/models/cdroms_spec.rb +1 -1
  430. data/spec/models/connectable_datacenter_spec.rb +1 -1
  431. data/spec/models/contract_properties_spec.rb +1 -1
  432. data/spec/models/contract_spec.rb +1 -1
  433. data/spec/models/contracts_spec.rb +52 -0
  434. data/spec/models/cpu_architecture_properties_spec.rb +52 -0
  435. data/spec/models/data_center_entities_spec.rb +13 -1
  436. data/spec/models/datacenter_element_metadata_spec.rb +1 -1
  437. data/spec/models/datacenter_properties_spec.rb +7 -5
  438. data/spec/models/datacenter_spec.rb +1 -1
  439. data/spec/models/datacenters_spec.rb +1 -1
  440. data/spec/models/error_message_spec.rb +1 -1
  441. data/spec/models/error_spec.rb +1 -1
  442. data/spec/models/firewall_rule_spec.rb +1 -1
  443. data/spec/models/firewall_rules_spec.rb +1 -1
  444. data/spec/models/firewallrule_properties_spec.rb +11 -13
  445. data/spec/models/flow_log_properties_spec.rb +60 -0
  446. data/spec/models/flow_log_put_spec.rb +52 -0
  447. data/spec/models/flow_log_spec.rb +58 -0
  448. data/spec/models/flow_logs_spec.rb +70 -0
  449. data/spec/models/group_entities_spec.rb +1 -1
  450. data/spec/models/group_members_spec.rb +1 -1
  451. data/spec/models/group_properties_spec.rb +19 -1
  452. data/spec/models/group_share_properties_spec.rb +1 -1
  453. data/spec/models/group_share_spec.rb +1 -1
  454. data/spec/models/group_shares_spec.rb +1 -1
  455. data/spec/models/group_spec.rb +1 -1
  456. data/spec/models/group_users_spec.rb +1 -1
  457. data/spec/models/groups_spec.rb +1 -1
  458. data/spec/models/image_properties_spec.rb +17 -1
  459. data/spec/models/image_spec.rb +1 -1
  460. data/spec/models/images_spec.rb +1 -1
  461. data/spec/models/info_spec.rb +1 -1
  462. data/spec/models/ip_block_properties_spec.rb +1 -1
  463. data/spec/models/ip_block_spec.rb +1 -1
  464. data/spec/models/ip_blocks_spec.rb +1 -1
  465. data/spec/models/ip_consumer_spec.rb +13 -1
  466. data/spec/models/ip_failover_spec.rb +1 -1
  467. data/spec/models/kubernetes_auto_scaling_spec.rb +1 -1
  468. data/spec/models/kubernetes_cluster_entities_spec.rb +1 -1
  469. data/spec/models/kubernetes_cluster_for_post_spec.rb +68 -0
  470. data/spec/models/kubernetes_cluster_for_put_spec.rb +68 -0
  471. data/spec/models/kubernetes_cluster_properties_for_post_spec.rb +58 -0
  472. data/spec/models/{kubernetes_cluster_properties_for_post_and_put_spec.rb → kubernetes_cluster_properties_for_put_spec.rb} +7 -7
  473. data/spec/models/kubernetes_cluster_properties_spec.rb +13 -1
  474. data/spec/models/kubernetes_cluster_spec.rb +1 -1
  475. data/spec/models/kubernetes_clusters_spec.rb +1 -1
  476. data/spec/models/kubernetes_maintenance_window_spec.rb +1 -1
  477. data/spec/models/kubernetes_node_metadata_spec.rb +1 -1
  478. data/spec/models/{kubernetes_config_spec.rb → kubernetes_node_pool_for_post_spec.rb} +14 -8
  479. data/spec/models/kubernetes_node_pool_for_put_spec.rb +1 -1
  480. data/spec/models/kubernetes_node_pool_lan_routes_spec.rb +40 -0
  481. data/spec/models/kubernetes_node_pool_lan_spec.rb +13 -1
  482. data/spec/models/kubernetes_node_pool_properties_for_post_spec.rb +1 -1
  483. data/spec/models/kubernetes_node_pool_properties_for_put_spec.rb +1 -51
  484. data/spec/models/kubernetes_node_pool_properties_spec.rb +1 -1
  485. data/spec/models/kubernetes_node_pool_spec.rb +1 -1
  486. data/spec/models/kubernetes_node_pools_spec.rb +1 -1
  487. data/spec/models/kubernetes_node_properties_spec.rb +7 -1
  488. data/spec/models/kubernetes_node_spec.rb +2 -2
  489. data/spec/models/kubernetes_nodes_spec.rb +2 -2
  490. data/spec/models/label_properties_spec.rb +1 -1
  491. data/spec/models/label_resource_properties_spec.rb +1 -1
  492. data/spec/models/label_resource_spec.rb +1 -1
  493. data/spec/models/label_resources_spec.rb +2 -2
  494. data/spec/models/label_spec.rb +1 -1
  495. data/spec/models/labels_spec.rb +2 -2
  496. data/spec/models/lan_entities_spec.rb +1 -1
  497. data/spec/models/lan_nics_spec.rb +1 -1
  498. data/spec/models/lan_post_spec.rb +1 -1
  499. data/spec/models/lan_properties_post_spec.rb +1 -1
  500. data/spec/models/lan_properties_spec.rb +1 -1
  501. data/spec/models/lan_spec.rb +1 -1
  502. data/spec/models/lans_spec.rb +1 -1
  503. data/spec/models/loadbalancer_entities_spec.rb +1 -1
  504. data/spec/models/loadbalancer_properties_spec.rb +1 -5
  505. data/spec/models/loadbalancer_spec.rb +1 -1
  506. data/spec/models/loadbalancers_spec.rb +1 -1
  507. data/spec/models/location_properties_spec.rb +7 -5
  508. data/spec/models/location_spec.rb +1 -1
  509. data/spec/models/locations_spec.rb +1 -1
  510. data/spec/models/nat_gateway_entities_spec.rb +40 -0
  511. data/spec/models/nat_gateway_lan_properties_spec.rb +40 -0
  512. data/spec/models/nat_gateway_properties_spec.rb +46 -0
  513. data/spec/models/nat_gateway_put_spec.rb +52 -0
  514. data/spec/models/nat_gateway_rule_properties_spec.rb +70 -0
  515. data/spec/models/nat_gateway_rule_protocol_spec.rb +28 -0
  516. data/spec/models/nat_gateway_rule_put_spec.rb +52 -0
  517. data/spec/models/nat_gateway_rule_spec.rb +58 -0
  518. data/spec/models/nat_gateway_rule_type_spec.rb +28 -0
  519. data/spec/models/nat_gateway_rules_spec.rb +52 -0
  520. data/spec/models/nat_gateway_spec.rb +64 -0
  521. data/spec/models/nat_gateways_spec.rb +70 -0
  522. data/spec/models/network_load_balancer_entities_spec.rb +40 -0
  523. data/spec/models/network_load_balancer_forwarding_rule_health_check_spec.rb +58 -0
  524. data/spec/models/network_load_balancer_forwarding_rule_properties_spec.rb +78 -0
  525. data/spec/models/network_load_balancer_forwarding_rule_put_spec.rb +52 -0
  526. data/spec/models/network_load_balancer_forwarding_rule_spec.rb +58 -0
  527. data/spec/models/network_load_balancer_forwarding_rule_target_health_check_spec.rb +46 -0
  528. data/spec/models/network_load_balancer_forwarding_rule_target_spec.rb +52 -0
  529. data/spec/models/network_load_balancer_forwarding_rules_spec.rb +70 -0
  530. data/spec/models/network_load_balancer_properties_spec.rb +58 -0
  531. data/spec/models/network_load_balancer_put_spec.rb +52 -0
  532. data/spec/models/network_load_balancer_spec.rb +64 -0
  533. data/spec/models/network_load_balancers_spec.rb +70 -0
  534. data/spec/models/nic_entities_spec.rb +7 -1
  535. data/spec/models/nic_properties_spec.rb +18 -2
  536. data/spec/models/nic_put_spec.rb +52 -0
  537. data/spec/models/nic_spec.rb +1 -1
  538. data/spec/models/nics_spec.rb +1 -1
  539. data/spec/models/no_state_meta_data_spec.rb +1 -1
  540. data/spec/models/pagination_links_spec.rb +1 -1
  541. data/spec/models/peer_spec.rb +1 -1
  542. data/spec/models/private_cross_connect_properties_spec.rb +1 -1
  543. data/spec/models/private_cross_connect_spec.rb +1 -1
  544. data/spec/models/private_cross_connects_spec.rb +1 -1
  545. data/spec/models/{kubernetes_config_properties_spec.rb → remote_console_url_spec.rb} +8 -8
  546. data/spec/models/request_metadata_spec.rb +1 -1
  547. data/spec/models/request_properties_spec.rb +1 -1
  548. data/spec/models/request_spec.rb +1 -1
  549. data/spec/models/request_status_metadata_spec.rb +1 -1
  550. data/spec/models/request_status_spec.rb +1 -1
  551. data/spec/models/request_target_spec.rb +1 -1
  552. data/spec/models/requests_spec.rb +1 -1
  553. data/spec/models/resource_entities_spec.rb +1 -1
  554. data/spec/models/resource_groups_spec.rb +1 -1
  555. data/spec/models/resource_limits_spec.rb +31 -1
  556. data/spec/models/resource_properties_spec.rb +1 -1
  557. data/spec/models/resource_reference_spec.rb +1 -1
  558. data/spec/models/resource_spec.rb +1 -1
  559. data/spec/models/resources_spec.rb +1 -1
  560. data/spec/models/resources_users_spec.rb +1 -1
  561. data/spec/models/s3_key_metadata_spec.rb +1 -1
  562. data/spec/models/s3_key_properties_spec.rb +1 -1
  563. data/spec/models/s3_key_spec.rb +1 -1
  564. data/spec/models/s3_keys_spec.rb +1 -1
  565. data/spec/models/s3_object_storage_sso_spec.rb +1 -1
  566. data/spec/models/server_entities_spec.rb +1 -1
  567. data/spec/models/server_properties_spec.rb +14 -2
  568. data/spec/models/server_spec.rb +1 -1
  569. data/spec/models/servers_spec.rb +1 -1
  570. data/spec/models/snapshot_properties_spec.rb +1 -1
  571. data/spec/models/snapshot_spec.rb +1 -1
  572. data/spec/models/snapshots_spec.rb +1 -1
  573. data/spec/models/target_port_range_spec.rb +40 -0
  574. data/spec/models/template_properties_spec.rb +52 -0
  575. data/spec/models/template_spec.rb +58 -0
  576. data/spec/models/templates_spec.rb +52 -0
  577. data/spec/models/token_spec.rb +34 -0
  578. data/spec/models/type_spec.rb +1 -1
  579. data/spec/models/user_metadata_spec.rb +1 -1
  580. data/spec/models/user_post_spec.rb +34 -0
  581. data/spec/models/user_properties_post_spec.rb +76 -0
  582. data/spec/models/user_properties_put_spec.rb +70 -0
  583. data/spec/models/user_properties_spec.rb +1 -7
  584. data/spec/models/user_put_spec.rb +40 -0
  585. data/spec/models/user_spec.rb +1 -1
  586. data/spec/models/users_entities_spec.rb +1 -1
  587. data/spec/models/users_spec.rb +1 -1
  588. data/spec/models/volume_properties_spec.rb +14 -8
  589. data/spec/models/volume_spec.rb +1 -1
  590. data/spec/models/volumes_spec.rb +1 -1
  591. data/spec/spec_helper.rb +1 -1
  592. metadata +505 -160
  593. data/DOCS.md +0 -14618
  594. data/lib/ionoscloud/api/nic_api.rb +0 -1222
@@ -3,7 +3,7 @@
3
3
 
4
4
  #An enterprise-grade Infrastructure is provided as a Service (IaaS) solution that can be managed through a browser-based \"Data Center Designer\" (DCD) tool or via an easy to use API. The API allows you to perform a variety of management tasks such as spinning up additional servers, adding volumes, adjusting networking, and so forth. It is designed to allow users to leverage the same power and flexibility found within the DCD visual tool. Both tools are consistent with their concepts and lend well to making the experience smooth and intuitive.
5
5
 
6
- The version of the OpenAPI document: 5.0
6
+ The version of the OpenAPI document: 6.0-SDK.1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.0.1-SNAPSHOT
@@ -13,7 +13,7 @@ OpenAPI Generator version: 5.0.1-SNAPSHOT
13
13
  require 'cgi'
14
14
 
15
15
  module Ionoscloud
16
- class LabelApi
16
+ class LabelsApi
17
17
  attr_accessor :api_client
18
18
 
19
19
  def initialize(api_client = ApiClient.default)
@@ -27,10 +27,10 @@ module Ionoscloud
27
27
  # @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines) (default to true)
28
28
  # @option opts [Integer] :depth Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) are not included - depth=1: direct properties and children references are included - depth=2: direct properties and children properties are included - depth=3: direct properties and children properties and children's children are included - depth=... and so on (default to 0)
29
29
  # @option opts [Integer] :x_contract_number Users having more than 1 contract need to provide contract number, against which all API requests should be executed
30
- # @return [Object]
30
+ # @return [nil]
31
31
  def datacenters_labels_delete(datacenter_id, key, opts = {})
32
- data, _status_code, _headers = datacenters_labels_delete_with_http_info(datacenter_id, key, opts)
33
- data
32
+ datacenters_labels_delete_with_http_info(datacenter_id, key, opts)
33
+ nil
34
34
  end
35
35
 
36
36
  # Delete a Label from Data Center
@@ -41,25 +41,25 @@ module Ionoscloud
41
41
  # @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines)
42
42
  # @option opts [Integer] :depth Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) are not included - depth=1: direct properties and children references are included - depth=2: direct properties and children properties are included - depth=3: direct properties and children properties and children's children are included - depth=... and so on
43
43
  # @option opts [Integer] :x_contract_number Users having more than 1 contract need to provide contract number, against which all API requests should be executed
44
- # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
44
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
45
45
  def datacenters_labels_delete_with_http_info(datacenter_id, key, opts = {})
46
46
  if @api_client.config.debugging
47
- @api_client.config.logger.debug 'Calling API: LabelApi.datacenters_labels_delete ...'
47
+ @api_client.config.logger.debug 'Calling API: LabelsApi.datacenters_labels_delete ...'
48
48
  end
49
49
  # verify the required parameter 'datacenter_id' is set
50
50
  if @api_client.config.client_side_validation && datacenter_id.nil?
51
- fail ArgumentError, "Missing the required parameter 'datacenter_id' when calling LabelApi.datacenters_labels_delete"
51
+ fail ArgumentError, "Missing the required parameter 'datacenter_id' when calling LabelsApi.datacenters_labels_delete"
52
52
  end
53
53
  # verify the required parameter 'key' is set
54
54
  if @api_client.config.client_side_validation && key.nil?
55
- fail ArgumentError, "Missing the required parameter 'key' when calling LabelApi.datacenters_labels_delete"
55
+ fail ArgumentError, "Missing the required parameter 'key' when calling LabelsApi.datacenters_labels_delete"
56
56
  end
57
57
  if @api_client.config.client_side_validation && !opts[:'depth'].nil? && opts[:'depth'] > 10
58
- fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelApi.datacenters_labels_delete, must be smaller than or equal to 10.'
58
+ fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelsApi.datacenters_labels_delete, must be smaller than or equal to 10.'
59
59
  end
60
60
 
61
61
  if @api_client.config.client_side_validation && !opts[:'depth'].nil? && opts[:'depth'] < 0
62
- fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelApi.datacenters_labels_delete, must be greater than or equal to 0.'
62
+ fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelsApi.datacenters_labels_delete, must be greater than or equal to 0.'
63
63
  end
64
64
 
65
65
  # resource path
@@ -83,13 +83,13 @@ module Ionoscloud
83
83
  post_body = opts[:debug_body]
84
84
 
85
85
  # return_type
86
- return_type = opts[:debug_return_type] || 'Object'
86
+ return_type = opts[:debug_return_type]
87
87
 
88
88
  # auth_names
89
89
  auth_names = opts[:debug_auth_names] || ['Basic Authentication', 'Token Authentication']
90
90
 
91
91
  new_options = opts.merge(
92
- :operation => :"LabelApi.datacenters_labels_delete",
92
+ :operation => :"LabelsApi.datacenters_labels_delete",
93
93
  :header_params => header_params,
94
94
  :query_params => query_params,
95
95
  :form_params => form_params,
@@ -100,7 +100,7 @@ module Ionoscloud
100
100
 
101
101
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
102
102
  if @api_client.config.debugging
103
- @api_client.config.logger.debug "API called: LabelApi#datacenters_labels_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
103
+ @api_client.config.logger.debug "API called: LabelsApi#datacenters_labels_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
104
104
  end
105
105
  return data, status_code, headers
106
106
  end
@@ -113,6 +113,8 @@ module Ionoscloud
113
113
  # @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines) (default to true)
114
114
  # @option opts [Integer] :depth Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth&#x3D;0: only direct properties are included. Children (servers etc.) are not included - depth&#x3D;1: direct properties and children references are included - depth&#x3D;2: direct properties and children properties are included - depth&#x3D;3: direct properties and children properties and children&#39;s children are included - depth&#x3D;... and so on (default to 0)
115
115
  # @option opts [Integer] :x_contract_number Users having more than 1 contract need to provide contract number, against which all API requests should be executed
116
+ # @option opts [Integer] :offset the first element (of the total list of elements) to include in the response (use together with limit for pagination) (default to 0)
117
+ # @option opts [Integer] :limit the maximum number of elements to return (use together with offset for pagination) (default to 1000)
116
118
  # @return [LabelResource]
117
119
  def datacenters_labels_find_by_key(datacenter_id, key, opts = {})
118
120
  data, _status_code, _headers = datacenters_labels_find_by_key_with_http_info(datacenter_id, key, opts)
@@ -127,25 +129,39 @@ module Ionoscloud
127
129
  # @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines)
128
130
  # @option opts [Integer] :depth Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth&#x3D;0: only direct properties are included. Children (servers etc.) are not included - depth&#x3D;1: direct properties and children references are included - depth&#x3D;2: direct properties and children properties are included - depth&#x3D;3: direct properties and children properties and children&#39;s children are included - depth&#x3D;... and so on
129
131
  # @option opts [Integer] :x_contract_number Users having more than 1 contract need to provide contract number, against which all API requests should be executed
132
+ # @option opts [Integer] :offset the first element (of the total list of elements) to include in the response (use together with limit for pagination)
133
+ # @option opts [Integer] :limit the maximum number of elements to return (use together with offset for pagination)
130
134
  # @return [Array<(LabelResource, Integer, Hash)>] LabelResource data, response status code and response headers
131
135
  def datacenters_labels_find_by_key_with_http_info(datacenter_id, key, opts = {})
132
136
  if @api_client.config.debugging
133
- @api_client.config.logger.debug 'Calling API: LabelApi.datacenters_labels_find_by_key ...'
137
+ @api_client.config.logger.debug 'Calling API: LabelsApi.datacenters_labels_find_by_key ...'
134
138
  end
135
139
  # verify the required parameter 'datacenter_id' is set
136
140
  if @api_client.config.client_side_validation && datacenter_id.nil?
137
- fail ArgumentError, "Missing the required parameter 'datacenter_id' when calling LabelApi.datacenters_labels_find_by_key"
141
+ fail ArgumentError, "Missing the required parameter 'datacenter_id' when calling LabelsApi.datacenters_labels_find_by_key"
138
142
  end
139
143
  # verify the required parameter 'key' is set
140
144
  if @api_client.config.client_side_validation && key.nil?
141
- fail ArgumentError, "Missing the required parameter 'key' when calling LabelApi.datacenters_labels_find_by_key"
145
+ fail ArgumentError, "Missing the required parameter 'key' when calling LabelsApi.datacenters_labels_find_by_key"
142
146
  end
143
147
  if @api_client.config.client_side_validation && !opts[:'depth'].nil? && opts[:'depth'] > 10
144
- fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelApi.datacenters_labels_find_by_key, must be smaller than or equal to 10.'
148
+ fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelsApi.datacenters_labels_find_by_key, must be smaller than or equal to 10.'
145
149
  end
146
150
 
147
151
  if @api_client.config.client_side_validation && !opts[:'depth'].nil? && opts[:'depth'] < 0
148
- fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelApi.datacenters_labels_find_by_key, must be greater than or equal to 0.'
152
+ fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelsApi.datacenters_labels_find_by_key, must be greater than or equal to 0.'
153
+ end
154
+
155
+ if @api_client.config.client_side_validation && !opts[:'offset'].nil? && opts[:'offset'] < 0
156
+ fail ArgumentError, 'invalid value for "opts[:"offset"]" when calling LabelsApi.datacenters_labels_find_by_key, must be greater than or equal to 0.'
157
+ end
158
+
159
+ if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 10000
160
+ fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LabelsApi.datacenters_labels_find_by_key, must be smaller than or equal to 10000.'
161
+ end
162
+
163
+ if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
164
+ fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LabelsApi.datacenters_labels_find_by_key, must be greater than or equal to 1.'
149
165
  end
150
166
 
151
167
  # resource path
@@ -155,6 +171,8 @@ module Ionoscloud
155
171
  query_params = opts[:query_params] || {}
156
172
  query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil?
157
173
  query_params[:'depth'] = opts[:'depth'] if !opts[:'depth'].nil?
174
+ query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
175
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
158
176
 
159
177
  # header parameters
160
178
  header_params = opts[:header_params] || {}
@@ -175,7 +193,7 @@ module Ionoscloud
175
193
  auth_names = opts[:debug_auth_names] || ['Basic Authentication', 'Token Authentication']
176
194
 
177
195
  new_options = opts.merge(
178
- :operation => :"LabelApi.datacenters_labels_find_by_key",
196
+ :operation => :"LabelsApi.datacenters_labels_find_by_key",
179
197
  :header_params => header_params,
180
198
  :query_params => query_params,
181
199
  :form_params => form_params,
@@ -186,20 +204,18 @@ module Ionoscloud
186
204
 
187
205
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
188
206
  if @api_client.config.debugging
189
- @api_client.config.logger.debug "API called: LabelApi#datacenters_labels_find_by_key\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
207
+ @api_client.config.logger.debug "API called: LabelsApi#datacenters_labels_find_by_key\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
190
208
  end
191
209
  return data, status_code, headers
192
210
  end
193
211
 
194
212
  # List all Data Center Labels
195
- # You can retrieve a list of all labels associated with a data center
213
+ # You can retrieve a list of all labels associated with a data center.
196
214
  # @param datacenter_id [String] The unique ID of the Data Center
197
215
  # @param [Hash] opts the optional parameters
198
216
  # @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines) (default to true)
199
217
  # @option opts [Integer] :depth Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth&#x3D;0: only direct properties are included. Children (servers etc.) are not included - depth&#x3D;1: direct properties and children references are included - depth&#x3D;2: direct properties and children properties are included - depth&#x3D;3: direct properties and children properties and children&#39;s children are included - depth&#x3D;... and so on (default to 0)
200
218
  # @option opts [Integer] :x_contract_number Users having more than 1 contract need to provide contract number, against which all API requests should be executed
201
- # @option opts [Integer] :offset the first element (of the total list of elements) to include in the response (use together with &lt;code&gt;limit&lt;/code&gt; for pagination) (default to 0)
202
- # @option opts [Integer] :limit the maximum number of elements to return (use together with &lt;code&gt;offset&lt;/code&gt; for pagination) (default to 1000)
203
219
  # @return [LabelResources]
204
220
  def datacenters_labels_get(datacenter_id, opts = {})
205
221
  data, _status_code, _headers = datacenters_labels_get_with_http_info(datacenter_id, opts)
@@ -207,41 +223,27 @@ module Ionoscloud
207
223
  end
208
224
 
209
225
  # List all Data Center Labels
210
- # You can retrieve a list of all labels associated with a data center
226
+ # You can retrieve a list of all labels associated with a data center.
211
227
  # @param datacenter_id [String] The unique ID of the Data Center
212
228
  # @param [Hash] opts the optional parameters
213
229
  # @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines)
214
230
  # @option opts [Integer] :depth Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth&#x3D;0: only direct properties are included. Children (servers etc.) are not included - depth&#x3D;1: direct properties and children references are included - depth&#x3D;2: direct properties and children properties are included - depth&#x3D;3: direct properties and children properties and children&#39;s children are included - depth&#x3D;... and so on
215
231
  # @option opts [Integer] :x_contract_number Users having more than 1 contract need to provide contract number, against which all API requests should be executed
216
- # @option opts [Integer] :offset the first element (of the total list of elements) to include in the response (use together with &lt;code&gt;limit&lt;/code&gt; for pagination)
217
- # @option opts [Integer] :limit the maximum number of elements to return (use together with &lt;code&gt;offset&lt;/code&gt; for pagination)
218
232
  # @return [Array<(LabelResources, Integer, Hash)>] LabelResources data, response status code and response headers
219
233
  def datacenters_labels_get_with_http_info(datacenter_id, opts = {})
220
234
  if @api_client.config.debugging
221
- @api_client.config.logger.debug 'Calling API: LabelApi.datacenters_labels_get ...'
235
+ @api_client.config.logger.debug 'Calling API: LabelsApi.datacenters_labels_get ...'
222
236
  end
223
237
  # verify the required parameter 'datacenter_id' is set
224
238
  if @api_client.config.client_side_validation && datacenter_id.nil?
225
- fail ArgumentError, "Missing the required parameter 'datacenter_id' when calling LabelApi.datacenters_labels_get"
239
+ fail ArgumentError, "Missing the required parameter 'datacenter_id' when calling LabelsApi.datacenters_labels_get"
226
240
  end
227
241
  if @api_client.config.client_side_validation && !opts[:'depth'].nil? && opts[:'depth'] > 10
228
- fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelApi.datacenters_labels_get, must be smaller than or equal to 10.'
242
+ fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelsApi.datacenters_labels_get, must be smaller than or equal to 10.'
229
243
  end
230
244
 
231
245
  if @api_client.config.client_side_validation && !opts[:'depth'].nil? && opts[:'depth'] < 0
232
- fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelApi.datacenters_labels_get, must be greater than or equal to 0.'
233
- end
234
-
235
- if @api_client.config.client_side_validation && !opts[:'offset'].nil? && opts[:'offset'] < 0
236
- fail ArgumentError, 'invalid value for "opts[:"offset"]" when calling LabelApi.datacenters_labels_get, must be greater than or equal to 0.'
237
- end
238
-
239
- if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 10000
240
- fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LabelApi.datacenters_labels_get, must be smaller than or equal to 10000.'
241
- end
242
-
243
- if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
244
- fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LabelApi.datacenters_labels_get, must be greater than or equal to 1.'
246
+ fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelsApi.datacenters_labels_get, must be greater than or equal to 0.'
245
247
  end
246
248
 
247
249
  # resource path
@@ -251,8 +253,6 @@ module Ionoscloud
251
253
  query_params = opts[:query_params] || {}
252
254
  query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil?
253
255
  query_params[:'depth'] = opts[:'depth'] if !opts[:'depth'].nil?
254
- query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
255
- query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
256
256
 
257
257
  # header parameters
258
258
  header_params = opts[:header_params] || {}
@@ -273,7 +273,7 @@ module Ionoscloud
273
273
  auth_names = opts[:debug_auth_names] || ['Basic Authentication', 'Token Authentication']
274
274
 
275
275
  new_options = opts.merge(
276
- :operation => :"LabelApi.datacenters_labels_get",
276
+ :operation => :"LabelsApi.datacenters_labels_get",
277
277
  :header_params => header_params,
278
278
  :query_params => query_params,
279
279
  :form_params => form_params,
@@ -284,7 +284,7 @@ module Ionoscloud
284
284
 
285
285
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
286
286
  if @api_client.config.debugging
287
- @api_client.config.logger.debug "API called: LabelApi#datacenters_labels_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
287
+ @api_client.config.logger.debug "API called: LabelsApi#datacenters_labels_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
288
288
  end
289
289
  return data, status_code, headers
290
290
  end
@@ -314,22 +314,22 @@ module Ionoscloud
314
314
  # @return [Array<(LabelResource, Integer, Hash)>] LabelResource data, response status code and response headers
315
315
  def datacenters_labels_post_with_http_info(datacenter_id, label, opts = {})
316
316
  if @api_client.config.debugging
317
- @api_client.config.logger.debug 'Calling API: LabelApi.datacenters_labels_post ...'
317
+ @api_client.config.logger.debug 'Calling API: LabelsApi.datacenters_labels_post ...'
318
318
  end
319
319
  # verify the required parameter 'datacenter_id' is set
320
320
  if @api_client.config.client_side_validation && datacenter_id.nil?
321
- fail ArgumentError, "Missing the required parameter 'datacenter_id' when calling LabelApi.datacenters_labels_post"
321
+ fail ArgumentError, "Missing the required parameter 'datacenter_id' when calling LabelsApi.datacenters_labels_post"
322
322
  end
323
323
  # verify the required parameter 'label' is set
324
324
  if @api_client.config.client_side_validation && label.nil?
325
- fail ArgumentError, "Missing the required parameter 'label' when calling LabelApi.datacenters_labels_post"
325
+ fail ArgumentError, "Missing the required parameter 'label' when calling LabelsApi.datacenters_labels_post"
326
326
  end
327
327
  if @api_client.config.client_side_validation && !opts[:'depth'].nil? && opts[:'depth'] > 10
328
- fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelApi.datacenters_labels_post, must be smaller than or equal to 10.'
328
+ fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelsApi.datacenters_labels_post, must be smaller than or equal to 10.'
329
329
  end
330
330
 
331
331
  if @api_client.config.client_side_validation && !opts[:'depth'].nil? && opts[:'depth'] < 0
332
- fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelApi.datacenters_labels_post, must be greater than or equal to 0.'
332
+ fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelsApi.datacenters_labels_post, must be greater than or equal to 0.'
333
333
  end
334
334
 
335
335
  # resource path
@@ -361,7 +361,7 @@ module Ionoscloud
361
361
  auth_names = opts[:debug_auth_names] || ['Basic Authentication', 'Token Authentication']
362
362
 
363
363
  new_options = opts.merge(
364
- :operation => :"LabelApi.datacenters_labels_post",
364
+ :operation => :"LabelsApi.datacenters_labels_post",
365
365
  :header_params => header_params,
366
366
  :query_params => query_params,
367
367
  :form_params => form_params,
@@ -372,7 +372,7 @@ module Ionoscloud
372
372
 
373
373
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
374
374
  if @api_client.config.debugging
375
- @api_client.config.logger.debug "API called: LabelApi#datacenters_labels_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
375
+ @api_client.config.logger.debug "API called: LabelsApi#datacenters_labels_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
376
376
  end
377
377
  return data, status_code, headers
378
378
  end
@@ -404,26 +404,26 @@ module Ionoscloud
404
404
  # @return [Array<(LabelResource, Integer, Hash)>] LabelResource data, response status code and response headers
405
405
  def datacenters_labels_put_with_http_info(datacenter_id, key, label, opts = {})
406
406
  if @api_client.config.debugging
407
- @api_client.config.logger.debug 'Calling API: LabelApi.datacenters_labels_put ...'
407
+ @api_client.config.logger.debug 'Calling API: LabelsApi.datacenters_labels_put ...'
408
408
  end
409
409
  # verify the required parameter 'datacenter_id' is set
410
410
  if @api_client.config.client_side_validation && datacenter_id.nil?
411
- fail ArgumentError, "Missing the required parameter 'datacenter_id' when calling LabelApi.datacenters_labels_put"
411
+ fail ArgumentError, "Missing the required parameter 'datacenter_id' when calling LabelsApi.datacenters_labels_put"
412
412
  end
413
413
  # verify the required parameter 'key' is set
414
414
  if @api_client.config.client_side_validation && key.nil?
415
- fail ArgumentError, "Missing the required parameter 'key' when calling LabelApi.datacenters_labels_put"
415
+ fail ArgumentError, "Missing the required parameter 'key' when calling LabelsApi.datacenters_labels_put"
416
416
  end
417
417
  # verify the required parameter 'label' is set
418
418
  if @api_client.config.client_side_validation && label.nil?
419
- fail ArgumentError, "Missing the required parameter 'label' when calling LabelApi.datacenters_labels_put"
419
+ fail ArgumentError, "Missing the required parameter 'label' when calling LabelsApi.datacenters_labels_put"
420
420
  end
421
421
  if @api_client.config.client_side_validation && !opts[:'depth'].nil? && opts[:'depth'] > 10
422
- fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelApi.datacenters_labels_put, must be smaller than or equal to 10.'
422
+ fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelsApi.datacenters_labels_put, must be smaller than or equal to 10.'
423
423
  end
424
424
 
425
425
  if @api_client.config.client_side_validation && !opts[:'depth'].nil? && opts[:'depth'] < 0
426
- fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelApi.datacenters_labels_put, must be greater than or equal to 0.'
426
+ fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelsApi.datacenters_labels_put, must be greater than or equal to 0.'
427
427
  end
428
428
 
429
429
  # resource path
@@ -455,7 +455,7 @@ module Ionoscloud
455
455
  auth_names = opts[:debug_auth_names] || ['Basic Authentication', 'Token Authentication']
456
456
 
457
457
  new_options = opts.merge(
458
- :operation => :"LabelApi.datacenters_labels_put",
458
+ :operation => :"LabelsApi.datacenters_labels_put",
459
459
  :header_params => header_params,
460
460
  :query_params => query_params,
461
461
  :form_params => form_params,
@@ -466,7 +466,7 @@ module Ionoscloud
466
466
 
467
467
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
468
468
  if @api_client.config.debugging
469
- @api_client.config.logger.debug "API called: LabelApi#datacenters_labels_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
469
+ @api_client.config.logger.debug "API called: LabelsApi#datacenters_labels_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
470
470
  end
471
471
  return data, status_code, headers
472
472
  end
@@ -480,10 +480,10 @@ module Ionoscloud
480
480
  # @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines) (default to true)
481
481
  # @option opts [Integer] :depth Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth&#x3D;0: only direct properties are included. Children (servers etc.) are not included - depth&#x3D;1: direct properties and children references are included - depth&#x3D;2: direct properties and children properties are included - depth&#x3D;3: direct properties and children properties and children&#39;s children are included - depth&#x3D;... and so on (default to 0)
482
482
  # @option opts [Integer] :x_contract_number Users having more than 1 contract need to provide contract number, against which all API requests should be executed
483
- # @return [Object]
483
+ # @return [nil]
484
484
  def datacenters_servers_labels_delete(datacenter_id, server_id, key, opts = {})
485
- data, _status_code, _headers = datacenters_servers_labels_delete_with_http_info(datacenter_id, server_id, key, opts)
486
- data
485
+ datacenters_servers_labels_delete_with_http_info(datacenter_id, server_id, key, opts)
486
+ nil
487
487
  end
488
488
 
489
489
  # Delete a Label from Server
@@ -495,29 +495,29 @@ module Ionoscloud
495
495
  # @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines)
496
496
  # @option opts [Integer] :depth Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth&#x3D;0: only direct properties are included. Children (servers etc.) are not included - depth&#x3D;1: direct properties and children references are included - depth&#x3D;2: direct properties and children properties are included - depth&#x3D;3: direct properties and children properties and children&#39;s children are included - depth&#x3D;... and so on
497
497
  # @option opts [Integer] :x_contract_number Users having more than 1 contract need to provide contract number, against which all API requests should be executed
498
- # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
498
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
499
499
  def datacenters_servers_labels_delete_with_http_info(datacenter_id, server_id, key, opts = {})
500
500
  if @api_client.config.debugging
501
- @api_client.config.logger.debug 'Calling API: LabelApi.datacenters_servers_labels_delete ...'
501
+ @api_client.config.logger.debug 'Calling API: LabelsApi.datacenters_servers_labels_delete ...'
502
502
  end
503
503
  # verify the required parameter 'datacenter_id' is set
504
504
  if @api_client.config.client_side_validation && datacenter_id.nil?
505
- fail ArgumentError, "Missing the required parameter 'datacenter_id' when calling LabelApi.datacenters_servers_labels_delete"
505
+ fail ArgumentError, "Missing the required parameter 'datacenter_id' when calling LabelsApi.datacenters_servers_labels_delete"
506
506
  end
507
507
  # verify the required parameter 'server_id' is set
508
508
  if @api_client.config.client_side_validation && server_id.nil?
509
- fail ArgumentError, "Missing the required parameter 'server_id' when calling LabelApi.datacenters_servers_labels_delete"
509
+ fail ArgumentError, "Missing the required parameter 'server_id' when calling LabelsApi.datacenters_servers_labels_delete"
510
510
  end
511
511
  # verify the required parameter 'key' is set
512
512
  if @api_client.config.client_side_validation && key.nil?
513
- fail ArgumentError, "Missing the required parameter 'key' when calling LabelApi.datacenters_servers_labels_delete"
513
+ fail ArgumentError, "Missing the required parameter 'key' when calling LabelsApi.datacenters_servers_labels_delete"
514
514
  end
515
515
  if @api_client.config.client_side_validation && !opts[:'depth'].nil? && opts[:'depth'] > 10
516
- fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelApi.datacenters_servers_labels_delete, must be smaller than or equal to 10.'
516
+ fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelsApi.datacenters_servers_labels_delete, must be smaller than or equal to 10.'
517
517
  end
518
518
 
519
519
  if @api_client.config.client_side_validation && !opts[:'depth'].nil? && opts[:'depth'] < 0
520
- fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelApi.datacenters_servers_labels_delete, must be greater than or equal to 0.'
520
+ fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelsApi.datacenters_servers_labels_delete, must be greater than or equal to 0.'
521
521
  end
522
522
 
523
523
  # resource path
@@ -541,13 +541,13 @@ module Ionoscloud
541
541
  post_body = opts[:debug_body]
542
542
 
543
543
  # return_type
544
- return_type = opts[:debug_return_type] || 'Object'
544
+ return_type = opts[:debug_return_type]
545
545
 
546
546
  # auth_names
547
547
  auth_names = opts[:debug_auth_names] || ['Basic Authentication', 'Token Authentication']
548
548
 
549
549
  new_options = opts.merge(
550
- :operation => :"LabelApi.datacenters_servers_labels_delete",
550
+ :operation => :"LabelsApi.datacenters_servers_labels_delete",
551
551
  :header_params => header_params,
552
552
  :query_params => query_params,
553
553
  :form_params => form_params,
@@ -558,7 +558,7 @@ module Ionoscloud
558
558
 
559
559
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
560
560
  if @api_client.config.debugging
561
- @api_client.config.logger.debug "API called: LabelApi#datacenters_servers_labels_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
561
+ @api_client.config.logger.debug "API called: LabelsApi#datacenters_servers_labels_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
562
562
  end
563
563
  return data, status_code, headers
564
564
  end
@@ -590,26 +590,26 @@ module Ionoscloud
590
590
  # @return [Array<(LabelResource, Integer, Hash)>] LabelResource data, response status code and response headers
591
591
  def datacenters_servers_labels_find_by_key_with_http_info(datacenter_id, server_id, key, opts = {})
592
592
  if @api_client.config.debugging
593
- @api_client.config.logger.debug 'Calling API: LabelApi.datacenters_servers_labels_find_by_key ...'
593
+ @api_client.config.logger.debug 'Calling API: LabelsApi.datacenters_servers_labels_find_by_key ...'
594
594
  end
595
595
  # verify the required parameter 'datacenter_id' is set
596
596
  if @api_client.config.client_side_validation && datacenter_id.nil?
597
- fail ArgumentError, "Missing the required parameter 'datacenter_id' when calling LabelApi.datacenters_servers_labels_find_by_key"
597
+ fail ArgumentError, "Missing the required parameter 'datacenter_id' when calling LabelsApi.datacenters_servers_labels_find_by_key"
598
598
  end
599
599
  # verify the required parameter 'server_id' is set
600
600
  if @api_client.config.client_side_validation && server_id.nil?
601
- fail ArgumentError, "Missing the required parameter 'server_id' when calling LabelApi.datacenters_servers_labels_find_by_key"
601
+ fail ArgumentError, "Missing the required parameter 'server_id' when calling LabelsApi.datacenters_servers_labels_find_by_key"
602
602
  end
603
603
  # verify the required parameter 'key' is set
604
604
  if @api_client.config.client_side_validation && key.nil?
605
- fail ArgumentError, "Missing the required parameter 'key' when calling LabelApi.datacenters_servers_labels_find_by_key"
605
+ fail ArgumentError, "Missing the required parameter 'key' when calling LabelsApi.datacenters_servers_labels_find_by_key"
606
606
  end
607
607
  if @api_client.config.client_side_validation && !opts[:'depth'].nil? && opts[:'depth'] > 10
608
- fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelApi.datacenters_servers_labels_find_by_key, must be smaller than or equal to 10.'
608
+ fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelsApi.datacenters_servers_labels_find_by_key, must be smaller than or equal to 10.'
609
609
  end
610
610
 
611
611
  if @api_client.config.client_side_validation && !opts[:'depth'].nil? && opts[:'depth'] < 0
612
- fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelApi.datacenters_servers_labels_find_by_key, must be greater than or equal to 0.'
612
+ fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelsApi.datacenters_servers_labels_find_by_key, must be greater than or equal to 0.'
613
613
  end
614
614
 
615
615
  # resource path
@@ -639,7 +639,7 @@ module Ionoscloud
639
639
  auth_names = opts[:debug_auth_names] || ['Basic Authentication', 'Token Authentication']
640
640
 
641
641
  new_options = opts.merge(
642
- :operation => :"LabelApi.datacenters_servers_labels_find_by_key",
642
+ :operation => :"LabelsApi.datacenters_servers_labels_find_by_key",
643
643
  :header_params => header_params,
644
644
  :query_params => query_params,
645
645
  :form_params => form_params,
@@ -650,21 +650,19 @@ module Ionoscloud
650
650
 
651
651
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
652
652
  if @api_client.config.debugging
653
- @api_client.config.logger.debug "API called: LabelApi#datacenters_servers_labels_find_by_key\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
653
+ @api_client.config.logger.debug "API called: LabelsApi#datacenters_servers_labels_find_by_key\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
654
654
  end
655
655
  return data, status_code, headers
656
656
  end
657
657
 
658
658
  # List all Server Labels
659
- # You can retrieve a list of all labels associated with a server
659
+ # You can retrieve a list of all labels associated with a server.
660
660
  # @param datacenter_id [String] The unique ID of the Datacenter
661
661
  # @param server_id [String] The unique ID of the Server
662
662
  # @param [Hash] opts the optional parameters
663
663
  # @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines) (default to true)
664
664
  # @option opts [Integer] :depth Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth&#x3D;0: only direct properties are included. Children (servers etc.) are not included - depth&#x3D;1: direct properties and children references are included - depth&#x3D;2: direct properties and children properties are included - depth&#x3D;3: direct properties and children properties and children&#39;s children are included - depth&#x3D;... and so on (default to 0)
665
665
  # @option opts [Integer] :x_contract_number Users having more than 1 contract need to provide contract number, against which all API requests should be executed
666
- # @option opts [Integer] :offset the first element (of the total list of elements) to include in the response (use together with &lt;code&gt;limit&lt;/code&gt; for pagination) (default to 0)
667
- # @option opts [Integer] :limit the maximum number of elements to return (use together with &lt;code&gt;offset&lt;/code&gt; for pagination) (default to 1000)
668
666
  # @return [LabelResources]
669
667
  def datacenters_servers_labels_get(datacenter_id, server_id, opts = {})
670
668
  data, _status_code, _headers = datacenters_servers_labels_get_with_http_info(datacenter_id, server_id, opts)
@@ -672,46 +670,32 @@ module Ionoscloud
672
670
  end
673
671
 
674
672
  # List all Server Labels
675
- # You can retrieve a list of all labels associated with a server
673
+ # You can retrieve a list of all labels associated with a server.
676
674
  # @param datacenter_id [String] The unique ID of the Datacenter
677
675
  # @param server_id [String] The unique ID of the Server
678
676
  # @param [Hash] opts the optional parameters
679
677
  # @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines)
680
678
  # @option opts [Integer] :depth Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth&#x3D;0: only direct properties are included. Children (servers etc.) are not included - depth&#x3D;1: direct properties and children references are included - depth&#x3D;2: direct properties and children properties are included - depth&#x3D;3: direct properties and children properties and children&#39;s children are included - depth&#x3D;... and so on
681
679
  # @option opts [Integer] :x_contract_number Users having more than 1 contract need to provide contract number, against which all API requests should be executed
682
- # @option opts [Integer] :offset the first element (of the total list of elements) to include in the response (use together with &lt;code&gt;limit&lt;/code&gt; for pagination)
683
- # @option opts [Integer] :limit the maximum number of elements to return (use together with &lt;code&gt;offset&lt;/code&gt; for pagination)
684
680
  # @return [Array<(LabelResources, Integer, Hash)>] LabelResources data, response status code and response headers
685
681
  def datacenters_servers_labels_get_with_http_info(datacenter_id, server_id, opts = {})
686
682
  if @api_client.config.debugging
687
- @api_client.config.logger.debug 'Calling API: LabelApi.datacenters_servers_labels_get ...'
683
+ @api_client.config.logger.debug 'Calling API: LabelsApi.datacenters_servers_labels_get ...'
688
684
  end
689
685
  # verify the required parameter 'datacenter_id' is set
690
686
  if @api_client.config.client_side_validation && datacenter_id.nil?
691
- fail ArgumentError, "Missing the required parameter 'datacenter_id' when calling LabelApi.datacenters_servers_labels_get"
687
+ fail ArgumentError, "Missing the required parameter 'datacenter_id' when calling LabelsApi.datacenters_servers_labels_get"
692
688
  end
693
689
  # verify the required parameter 'server_id' is set
694
690
  if @api_client.config.client_side_validation && server_id.nil?
695
- fail ArgumentError, "Missing the required parameter 'server_id' when calling LabelApi.datacenters_servers_labels_get"
691
+ fail ArgumentError, "Missing the required parameter 'server_id' when calling LabelsApi.datacenters_servers_labels_get"
696
692
  end
697
693
  if @api_client.config.client_side_validation && !opts[:'depth'].nil? && opts[:'depth'] > 10
698
- fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelApi.datacenters_servers_labels_get, must be smaller than or equal to 10.'
694
+ fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelsApi.datacenters_servers_labels_get, must be smaller than or equal to 10.'
699
695
  end
700
696
 
701
697
  if @api_client.config.client_side_validation && !opts[:'depth'].nil? && opts[:'depth'] < 0
702
- fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelApi.datacenters_servers_labels_get, must be greater than or equal to 0.'
703
- end
704
-
705
- if @api_client.config.client_side_validation && !opts[:'offset'].nil? && opts[:'offset'] < 0
706
- fail ArgumentError, 'invalid value for "opts[:"offset"]" when calling LabelApi.datacenters_servers_labels_get, must be greater than or equal to 0.'
707
- end
708
-
709
- if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 10000
710
- fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LabelApi.datacenters_servers_labels_get, must be smaller than or equal to 10000.'
711
- end
712
-
713
- if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
714
- fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LabelApi.datacenters_servers_labels_get, must be greater than or equal to 1.'
698
+ fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelsApi.datacenters_servers_labels_get, must be greater than or equal to 0.'
715
699
  end
716
700
 
717
701
  # resource path
@@ -721,8 +705,6 @@ module Ionoscloud
721
705
  query_params = opts[:query_params] || {}
722
706
  query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil?
723
707
  query_params[:'depth'] = opts[:'depth'] if !opts[:'depth'].nil?
724
- query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
725
- query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
726
708
 
727
709
  # header parameters
728
710
  header_params = opts[:header_params] || {}
@@ -743,7 +725,7 @@ module Ionoscloud
743
725
  auth_names = opts[:debug_auth_names] || ['Basic Authentication', 'Token Authentication']
744
726
 
745
727
  new_options = opts.merge(
746
- :operation => :"LabelApi.datacenters_servers_labels_get",
728
+ :operation => :"LabelsApi.datacenters_servers_labels_get",
747
729
  :header_params => header_params,
748
730
  :query_params => query_params,
749
731
  :form_params => form_params,
@@ -754,7 +736,7 @@ module Ionoscloud
754
736
 
755
737
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
756
738
  if @api_client.config.debugging
757
- @api_client.config.logger.debug "API called: LabelApi#datacenters_servers_labels_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
739
+ @api_client.config.logger.debug "API called: LabelsApi#datacenters_servers_labels_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
758
740
  end
759
741
  return data, status_code, headers
760
742
  end
@@ -786,26 +768,26 @@ module Ionoscloud
786
768
  # @return [Array<(LabelResource, Integer, Hash)>] LabelResource data, response status code and response headers
787
769
  def datacenters_servers_labels_post_with_http_info(datacenter_id, server_id, label, opts = {})
788
770
  if @api_client.config.debugging
789
- @api_client.config.logger.debug 'Calling API: LabelApi.datacenters_servers_labels_post ...'
771
+ @api_client.config.logger.debug 'Calling API: LabelsApi.datacenters_servers_labels_post ...'
790
772
  end
791
773
  # verify the required parameter 'datacenter_id' is set
792
774
  if @api_client.config.client_side_validation && datacenter_id.nil?
793
- fail ArgumentError, "Missing the required parameter 'datacenter_id' when calling LabelApi.datacenters_servers_labels_post"
775
+ fail ArgumentError, "Missing the required parameter 'datacenter_id' when calling LabelsApi.datacenters_servers_labels_post"
794
776
  end
795
777
  # verify the required parameter 'server_id' is set
796
778
  if @api_client.config.client_side_validation && server_id.nil?
797
- fail ArgumentError, "Missing the required parameter 'server_id' when calling LabelApi.datacenters_servers_labels_post"
779
+ fail ArgumentError, "Missing the required parameter 'server_id' when calling LabelsApi.datacenters_servers_labels_post"
798
780
  end
799
781
  # verify the required parameter 'label' is set
800
782
  if @api_client.config.client_side_validation && label.nil?
801
- fail ArgumentError, "Missing the required parameter 'label' when calling LabelApi.datacenters_servers_labels_post"
783
+ fail ArgumentError, "Missing the required parameter 'label' when calling LabelsApi.datacenters_servers_labels_post"
802
784
  end
803
785
  if @api_client.config.client_side_validation && !opts[:'depth'].nil? && opts[:'depth'] > 10
804
- fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelApi.datacenters_servers_labels_post, must be smaller than or equal to 10.'
786
+ fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelsApi.datacenters_servers_labels_post, must be smaller than or equal to 10.'
805
787
  end
806
788
 
807
789
  if @api_client.config.client_side_validation && !opts[:'depth'].nil? && opts[:'depth'] < 0
808
- fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelApi.datacenters_servers_labels_post, must be greater than or equal to 0.'
790
+ fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelsApi.datacenters_servers_labels_post, must be greater than or equal to 0.'
809
791
  end
810
792
 
811
793
  # resource path
@@ -837,7 +819,7 @@ module Ionoscloud
837
819
  auth_names = opts[:debug_auth_names] || ['Basic Authentication', 'Token Authentication']
838
820
 
839
821
  new_options = opts.merge(
840
- :operation => :"LabelApi.datacenters_servers_labels_post",
822
+ :operation => :"LabelsApi.datacenters_servers_labels_post",
841
823
  :header_params => header_params,
842
824
  :query_params => query_params,
843
825
  :form_params => form_params,
@@ -848,7 +830,7 @@ module Ionoscloud
848
830
 
849
831
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
850
832
  if @api_client.config.debugging
851
- @api_client.config.logger.debug "API called: LabelApi#datacenters_servers_labels_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
833
+ @api_client.config.logger.debug "API called: LabelsApi#datacenters_servers_labels_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
852
834
  end
853
835
  return data, status_code, headers
854
836
  end
@@ -863,6 +845,8 @@ module Ionoscloud
863
845
  # @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines) (default to true)
864
846
  # @option opts [Integer] :depth Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth&#x3D;0: only direct properties are included. Children (servers etc.) are not included - depth&#x3D;1: direct properties and children references are included - depth&#x3D;2: direct properties and children properties are included - depth&#x3D;3: direct properties and children properties and children&#39;s children are included - depth&#x3D;... and so on (default to 0)
865
847
  # @option opts [Integer] :x_contract_number Users having more than 1 contract need to provide contract number, against which all API requests should be executed
848
+ # @option opts [Integer] :offset the first element (of the total list of elements) to include in the response (use together with limit for pagination) (default to 0)
849
+ # @option opts [Integer] :limit the maximum number of elements to return (use together with offset for pagination) (default to 1000)
866
850
  # @return [LabelResource]
867
851
  def datacenters_servers_labels_put(datacenter_id, server_id, key, label, opts = {})
868
852
  data, _status_code, _headers = datacenters_servers_labels_put_with_http_info(datacenter_id, server_id, key, label, opts)
@@ -879,33 +863,47 @@ module Ionoscloud
879
863
  # @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines)
880
864
  # @option opts [Integer] :depth Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth&#x3D;0: only direct properties are included. Children (servers etc.) are not included - depth&#x3D;1: direct properties and children references are included - depth&#x3D;2: direct properties and children properties are included - depth&#x3D;3: direct properties and children properties and children&#39;s children are included - depth&#x3D;... and so on
881
865
  # @option opts [Integer] :x_contract_number Users having more than 1 contract need to provide contract number, against which all API requests should be executed
866
+ # @option opts [Integer] :offset the first element (of the total list of elements) to include in the response (use together with limit for pagination)
867
+ # @option opts [Integer] :limit the maximum number of elements to return (use together with offset for pagination)
882
868
  # @return [Array<(LabelResource, Integer, Hash)>] LabelResource data, response status code and response headers
883
869
  def datacenters_servers_labels_put_with_http_info(datacenter_id, server_id, key, label, opts = {})
884
870
  if @api_client.config.debugging
885
- @api_client.config.logger.debug 'Calling API: LabelApi.datacenters_servers_labels_put ...'
871
+ @api_client.config.logger.debug 'Calling API: LabelsApi.datacenters_servers_labels_put ...'
886
872
  end
887
873
  # verify the required parameter 'datacenter_id' is set
888
874
  if @api_client.config.client_side_validation && datacenter_id.nil?
889
- fail ArgumentError, "Missing the required parameter 'datacenter_id' when calling LabelApi.datacenters_servers_labels_put"
875
+ fail ArgumentError, "Missing the required parameter 'datacenter_id' when calling LabelsApi.datacenters_servers_labels_put"
890
876
  end
891
877
  # verify the required parameter 'server_id' is set
892
878
  if @api_client.config.client_side_validation && server_id.nil?
893
- fail ArgumentError, "Missing the required parameter 'server_id' when calling LabelApi.datacenters_servers_labels_put"
879
+ fail ArgumentError, "Missing the required parameter 'server_id' when calling LabelsApi.datacenters_servers_labels_put"
894
880
  end
895
881
  # verify the required parameter 'key' is set
896
882
  if @api_client.config.client_side_validation && key.nil?
897
- fail ArgumentError, "Missing the required parameter 'key' when calling LabelApi.datacenters_servers_labels_put"
883
+ fail ArgumentError, "Missing the required parameter 'key' when calling LabelsApi.datacenters_servers_labels_put"
898
884
  end
899
885
  # verify the required parameter 'label' is set
900
886
  if @api_client.config.client_side_validation && label.nil?
901
- fail ArgumentError, "Missing the required parameter 'label' when calling LabelApi.datacenters_servers_labels_put"
887
+ fail ArgumentError, "Missing the required parameter 'label' when calling LabelsApi.datacenters_servers_labels_put"
902
888
  end
903
889
  if @api_client.config.client_side_validation && !opts[:'depth'].nil? && opts[:'depth'] > 10
904
- fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelApi.datacenters_servers_labels_put, must be smaller than or equal to 10.'
890
+ fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelsApi.datacenters_servers_labels_put, must be smaller than or equal to 10.'
905
891
  end
906
892
 
907
893
  if @api_client.config.client_side_validation && !opts[:'depth'].nil? && opts[:'depth'] < 0
908
- fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelApi.datacenters_servers_labels_put, must be greater than or equal to 0.'
894
+ fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelsApi.datacenters_servers_labels_put, must be greater than or equal to 0.'
895
+ end
896
+
897
+ if @api_client.config.client_side_validation && !opts[:'offset'].nil? && opts[:'offset'] < 0
898
+ fail ArgumentError, 'invalid value for "opts[:"offset"]" when calling LabelsApi.datacenters_servers_labels_put, must be greater than or equal to 0.'
899
+ end
900
+
901
+ if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 10000
902
+ fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LabelsApi.datacenters_servers_labels_put, must be smaller than or equal to 10000.'
903
+ end
904
+
905
+ if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
906
+ fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LabelsApi.datacenters_servers_labels_put, must be greater than or equal to 1.'
909
907
  end
910
908
 
911
909
  # resource path
@@ -915,6 +913,8 @@ module Ionoscloud
915
913
  query_params = opts[:query_params] || {}
916
914
  query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil?
917
915
  query_params[:'depth'] = opts[:'depth'] if !opts[:'depth'].nil?
916
+ query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
917
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
918
918
 
919
919
  # header parameters
920
920
  header_params = opts[:header_params] || {}
@@ -937,7 +937,7 @@ module Ionoscloud
937
937
  auth_names = opts[:debug_auth_names] || ['Basic Authentication', 'Token Authentication']
938
938
 
939
939
  new_options = opts.merge(
940
- :operation => :"LabelApi.datacenters_servers_labels_put",
940
+ :operation => :"LabelsApi.datacenters_servers_labels_put",
941
941
  :header_params => header_params,
942
942
  :query_params => query_params,
943
943
  :form_params => form_params,
@@ -948,7 +948,7 @@ module Ionoscloud
948
948
 
949
949
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
950
950
  if @api_client.config.debugging
951
- @api_client.config.logger.debug "API called: LabelApi#datacenters_servers_labels_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
951
+ @api_client.config.logger.debug "API called: LabelsApi#datacenters_servers_labels_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
952
952
  end
953
953
  return data, status_code, headers
954
954
  end
@@ -962,10 +962,10 @@ module Ionoscloud
962
962
  # @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines) (default to true)
963
963
  # @option opts [Integer] :depth Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth&#x3D;0: only direct properties are included. Children (servers etc.) are not included - depth&#x3D;1: direct properties and children references are included - depth&#x3D;2: direct properties and children properties are included - depth&#x3D;3: direct properties and children properties and children&#39;s children are included - depth&#x3D;... and so on (default to 0)
964
964
  # @option opts [Integer] :x_contract_number Users having more than 1 contract need to provide contract number, against which all API requests should be executed
965
- # @return [Object]
965
+ # @return [nil]
966
966
  def datacenters_volumes_labels_delete(datacenter_id, volume_id, key, opts = {})
967
- data, _status_code, _headers = datacenters_volumes_labels_delete_with_http_info(datacenter_id, volume_id, key, opts)
968
- data
967
+ datacenters_volumes_labels_delete_with_http_info(datacenter_id, volume_id, key, opts)
968
+ nil
969
969
  end
970
970
 
971
971
  # Delete a Label from Volume
@@ -977,29 +977,29 @@ module Ionoscloud
977
977
  # @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines)
978
978
  # @option opts [Integer] :depth Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth&#x3D;0: only direct properties are included. Children (servers etc.) are not included - depth&#x3D;1: direct properties and children references are included - depth&#x3D;2: direct properties and children properties are included - depth&#x3D;3: direct properties and children properties and children&#39;s children are included - depth&#x3D;... and so on
979
979
  # @option opts [Integer] :x_contract_number Users having more than 1 contract need to provide contract number, against which all API requests should be executed
980
- # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
980
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
981
981
  def datacenters_volumes_labels_delete_with_http_info(datacenter_id, volume_id, key, opts = {})
982
982
  if @api_client.config.debugging
983
- @api_client.config.logger.debug 'Calling API: LabelApi.datacenters_volumes_labels_delete ...'
983
+ @api_client.config.logger.debug 'Calling API: LabelsApi.datacenters_volumes_labels_delete ...'
984
984
  end
985
985
  # verify the required parameter 'datacenter_id' is set
986
986
  if @api_client.config.client_side_validation && datacenter_id.nil?
987
- fail ArgumentError, "Missing the required parameter 'datacenter_id' when calling LabelApi.datacenters_volumes_labels_delete"
987
+ fail ArgumentError, "Missing the required parameter 'datacenter_id' when calling LabelsApi.datacenters_volumes_labels_delete"
988
988
  end
989
989
  # verify the required parameter 'volume_id' is set
990
990
  if @api_client.config.client_side_validation && volume_id.nil?
991
- fail ArgumentError, "Missing the required parameter 'volume_id' when calling LabelApi.datacenters_volumes_labels_delete"
991
+ fail ArgumentError, "Missing the required parameter 'volume_id' when calling LabelsApi.datacenters_volumes_labels_delete"
992
992
  end
993
993
  # verify the required parameter 'key' is set
994
994
  if @api_client.config.client_side_validation && key.nil?
995
- fail ArgumentError, "Missing the required parameter 'key' when calling LabelApi.datacenters_volumes_labels_delete"
995
+ fail ArgumentError, "Missing the required parameter 'key' when calling LabelsApi.datacenters_volumes_labels_delete"
996
996
  end
997
997
  if @api_client.config.client_side_validation && !opts[:'depth'].nil? && opts[:'depth'] > 10
998
- fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelApi.datacenters_volumes_labels_delete, must be smaller than or equal to 10.'
998
+ fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelsApi.datacenters_volumes_labels_delete, must be smaller than or equal to 10.'
999
999
  end
1000
1000
 
1001
1001
  if @api_client.config.client_side_validation && !opts[:'depth'].nil? && opts[:'depth'] < 0
1002
- fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelApi.datacenters_volumes_labels_delete, must be greater than or equal to 0.'
1002
+ fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelsApi.datacenters_volumes_labels_delete, must be greater than or equal to 0.'
1003
1003
  end
1004
1004
 
1005
1005
  # resource path
@@ -1023,13 +1023,13 @@ module Ionoscloud
1023
1023
  post_body = opts[:debug_body]
1024
1024
 
1025
1025
  # return_type
1026
- return_type = opts[:debug_return_type] || 'Object'
1026
+ return_type = opts[:debug_return_type]
1027
1027
 
1028
1028
  # auth_names
1029
1029
  auth_names = opts[:debug_auth_names] || ['Basic Authentication', 'Token Authentication']
1030
1030
 
1031
1031
  new_options = opts.merge(
1032
- :operation => :"LabelApi.datacenters_volumes_labels_delete",
1032
+ :operation => :"LabelsApi.datacenters_volumes_labels_delete",
1033
1033
  :header_params => header_params,
1034
1034
  :query_params => query_params,
1035
1035
  :form_params => form_params,
@@ -1040,7 +1040,7 @@ module Ionoscloud
1040
1040
 
1041
1041
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
1042
1042
  if @api_client.config.debugging
1043
- @api_client.config.logger.debug "API called: LabelApi#datacenters_volumes_labels_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1043
+ @api_client.config.logger.debug "API called: LabelsApi#datacenters_volumes_labels_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1044
1044
  end
1045
1045
  return data, status_code, headers
1046
1046
  end
@@ -1072,26 +1072,26 @@ module Ionoscloud
1072
1072
  # @return [Array<(LabelResource, Integer, Hash)>] LabelResource data, response status code and response headers
1073
1073
  def datacenters_volumes_labels_find_by_key_with_http_info(datacenter_id, volume_id, key, opts = {})
1074
1074
  if @api_client.config.debugging
1075
- @api_client.config.logger.debug 'Calling API: LabelApi.datacenters_volumes_labels_find_by_key ...'
1075
+ @api_client.config.logger.debug 'Calling API: LabelsApi.datacenters_volumes_labels_find_by_key ...'
1076
1076
  end
1077
1077
  # verify the required parameter 'datacenter_id' is set
1078
1078
  if @api_client.config.client_side_validation && datacenter_id.nil?
1079
- fail ArgumentError, "Missing the required parameter 'datacenter_id' when calling LabelApi.datacenters_volumes_labels_find_by_key"
1079
+ fail ArgumentError, "Missing the required parameter 'datacenter_id' when calling LabelsApi.datacenters_volumes_labels_find_by_key"
1080
1080
  end
1081
1081
  # verify the required parameter 'volume_id' is set
1082
1082
  if @api_client.config.client_side_validation && volume_id.nil?
1083
- fail ArgumentError, "Missing the required parameter 'volume_id' when calling LabelApi.datacenters_volumes_labels_find_by_key"
1083
+ fail ArgumentError, "Missing the required parameter 'volume_id' when calling LabelsApi.datacenters_volumes_labels_find_by_key"
1084
1084
  end
1085
1085
  # verify the required parameter 'key' is set
1086
1086
  if @api_client.config.client_side_validation && key.nil?
1087
- fail ArgumentError, "Missing the required parameter 'key' when calling LabelApi.datacenters_volumes_labels_find_by_key"
1087
+ fail ArgumentError, "Missing the required parameter 'key' when calling LabelsApi.datacenters_volumes_labels_find_by_key"
1088
1088
  end
1089
1089
  if @api_client.config.client_side_validation && !opts[:'depth'].nil? && opts[:'depth'] > 10
1090
- fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelApi.datacenters_volumes_labels_find_by_key, must be smaller than or equal to 10.'
1090
+ fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelsApi.datacenters_volumes_labels_find_by_key, must be smaller than or equal to 10.'
1091
1091
  end
1092
1092
 
1093
1093
  if @api_client.config.client_side_validation && !opts[:'depth'].nil? && opts[:'depth'] < 0
1094
- fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelApi.datacenters_volumes_labels_find_by_key, must be greater than or equal to 0.'
1094
+ fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelsApi.datacenters_volumes_labels_find_by_key, must be greater than or equal to 0.'
1095
1095
  end
1096
1096
 
1097
1097
  # resource path
@@ -1121,7 +1121,7 @@ module Ionoscloud
1121
1121
  auth_names = opts[:debug_auth_names] || ['Basic Authentication', 'Token Authentication']
1122
1122
 
1123
1123
  new_options = opts.merge(
1124
- :operation => :"LabelApi.datacenters_volumes_labels_find_by_key",
1124
+ :operation => :"LabelsApi.datacenters_volumes_labels_find_by_key",
1125
1125
  :header_params => header_params,
1126
1126
  :query_params => query_params,
1127
1127
  :form_params => form_params,
@@ -1132,21 +1132,19 @@ module Ionoscloud
1132
1132
 
1133
1133
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1134
1134
  if @api_client.config.debugging
1135
- @api_client.config.logger.debug "API called: LabelApi#datacenters_volumes_labels_find_by_key\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1135
+ @api_client.config.logger.debug "API called: LabelsApi#datacenters_volumes_labels_find_by_key\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1136
1136
  end
1137
1137
  return data, status_code, headers
1138
1138
  end
1139
1139
 
1140
1140
  # List all Volume Labels
1141
- # You can retrieve a list of all labels associated with a volume
1141
+ # You can retrieve a list of all labels associated with a volume.
1142
1142
  # @param datacenter_id [String] The unique ID of the Datacenter
1143
1143
  # @param volume_id [String] The unique ID of the Volume
1144
1144
  # @param [Hash] opts the optional parameters
1145
1145
  # @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines) (default to true)
1146
1146
  # @option opts [Integer] :depth Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth&#x3D;0: only direct properties are included. Children (servers etc.) are not included - depth&#x3D;1: direct properties and children references are included - depth&#x3D;2: direct properties and children properties are included - depth&#x3D;3: direct properties and children properties and children&#39;s children are included - depth&#x3D;... and so on (default to 0)
1147
1147
  # @option opts [Integer] :x_contract_number Users having more than 1 contract need to provide contract number, against which all API requests should be executed
1148
- # @option opts [Integer] :offset the first element (of the total list of elements) to include in the response (use together with &lt;code&gt;limit&lt;/code&gt; for pagination) (default to 0)
1149
- # @option opts [Integer] :limit the maximum number of elements to return (use together with &lt;code&gt;offset&lt;/code&gt; for pagination) (default to 1000)
1150
1148
  # @return [LabelResources]
1151
1149
  def datacenters_volumes_labels_get(datacenter_id, volume_id, opts = {})
1152
1150
  data, _status_code, _headers = datacenters_volumes_labels_get_with_http_info(datacenter_id, volume_id, opts)
@@ -1154,46 +1152,32 @@ module Ionoscloud
1154
1152
  end
1155
1153
 
1156
1154
  # List all Volume Labels
1157
- # You can retrieve a list of all labels associated with a volume
1155
+ # You can retrieve a list of all labels associated with a volume.
1158
1156
  # @param datacenter_id [String] The unique ID of the Datacenter
1159
1157
  # @param volume_id [String] The unique ID of the Volume
1160
1158
  # @param [Hash] opts the optional parameters
1161
1159
  # @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines)
1162
1160
  # @option opts [Integer] :depth Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth&#x3D;0: only direct properties are included. Children (servers etc.) are not included - depth&#x3D;1: direct properties and children references are included - depth&#x3D;2: direct properties and children properties are included - depth&#x3D;3: direct properties and children properties and children&#39;s children are included - depth&#x3D;... and so on
1163
1161
  # @option opts [Integer] :x_contract_number Users having more than 1 contract need to provide contract number, against which all API requests should be executed
1164
- # @option opts [Integer] :offset the first element (of the total list of elements) to include in the response (use together with &lt;code&gt;limit&lt;/code&gt; for pagination)
1165
- # @option opts [Integer] :limit the maximum number of elements to return (use together with &lt;code&gt;offset&lt;/code&gt; for pagination)
1166
1162
  # @return [Array<(LabelResources, Integer, Hash)>] LabelResources data, response status code and response headers
1167
1163
  def datacenters_volumes_labels_get_with_http_info(datacenter_id, volume_id, opts = {})
1168
1164
  if @api_client.config.debugging
1169
- @api_client.config.logger.debug 'Calling API: LabelApi.datacenters_volumes_labels_get ...'
1165
+ @api_client.config.logger.debug 'Calling API: LabelsApi.datacenters_volumes_labels_get ...'
1170
1166
  end
1171
1167
  # verify the required parameter 'datacenter_id' is set
1172
1168
  if @api_client.config.client_side_validation && datacenter_id.nil?
1173
- fail ArgumentError, "Missing the required parameter 'datacenter_id' when calling LabelApi.datacenters_volumes_labels_get"
1169
+ fail ArgumentError, "Missing the required parameter 'datacenter_id' when calling LabelsApi.datacenters_volumes_labels_get"
1174
1170
  end
1175
1171
  # verify the required parameter 'volume_id' is set
1176
1172
  if @api_client.config.client_side_validation && volume_id.nil?
1177
- fail ArgumentError, "Missing the required parameter 'volume_id' when calling LabelApi.datacenters_volumes_labels_get"
1173
+ fail ArgumentError, "Missing the required parameter 'volume_id' when calling LabelsApi.datacenters_volumes_labels_get"
1178
1174
  end
1179
1175
  if @api_client.config.client_side_validation && !opts[:'depth'].nil? && opts[:'depth'] > 10
1180
- fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelApi.datacenters_volumes_labels_get, must be smaller than or equal to 10.'
1176
+ fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelsApi.datacenters_volumes_labels_get, must be smaller than or equal to 10.'
1181
1177
  end
1182
1178
 
1183
1179
  if @api_client.config.client_side_validation && !opts[:'depth'].nil? && opts[:'depth'] < 0
1184
- fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelApi.datacenters_volumes_labels_get, must be greater than or equal to 0.'
1185
- end
1186
-
1187
- if @api_client.config.client_side_validation && !opts[:'offset'].nil? && opts[:'offset'] < 0
1188
- fail ArgumentError, 'invalid value for "opts[:"offset"]" when calling LabelApi.datacenters_volumes_labels_get, must be greater than or equal to 0.'
1189
- end
1190
-
1191
- if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 10000
1192
- fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LabelApi.datacenters_volumes_labels_get, must be smaller than or equal to 10000.'
1193
- end
1194
-
1195
- if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
1196
- fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LabelApi.datacenters_volumes_labels_get, must be greater than or equal to 1.'
1180
+ fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelsApi.datacenters_volumes_labels_get, must be greater than or equal to 0.'
1197
1181
  end
1198
1182
 
1199
1183
  # resource path
@@ -1203,8 +1187,6 @@ module Ionoscloud
1203
1187
  query_params = opts[:query_params] || {}
1204
1188
  query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil?
1205
1189
  query_params[:'depth'] = opts[:'depth'] if !opts[:'depth'].nil?
1206
- query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
1207
- query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
1208
1190
 
1209
1191
  # header parameters
1210
1192
  header_params = opts[:header_params] || {}
@@ -1225,7 +1207,7 @@ module Ionoscloud
1225
1207
  auth_names = opts[:debug_auth_names] || ['Basic Authentication', 'Token Authentication']
1226
1208
 
1227
1209
  new_options = opts.merge(
1228
- :operation => :"LabelApi.datacenters_volumes_labels_get",
1210
+ :operation => :"LabelsApi.datacenters_volumes_labels_get",
1229
1211
  :header_params => header_params,
1230
1212
  :query_params => query_params,
1231
1213
  :form_params => form_params,
@@ -1236,7 +1218,7 @@ module Ionoscloud
1236
1218
 
1237
1219
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1238
1220
  if @api_client.config.debugging
1239
- @api_client.config.logger.debug "API called: LabelApi#datacenters_volumes_labels_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1221
+ @api_client.config.logger.debug "API called: LabelsApi#datacenters_volumes_labels_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1240
1222
  end
1241
1223
  return data, status_code, headers
1242
1224
  end
@@ -1268,26 +1250,26 @@ module Ionoscloud
1268
1250
  # @return [Array<(LabelResource, Integer, Hash)>] LabelResource data, response status code and response headers
1269
1251
  def datacenters_volumes_labels_post_with_http_info(datacenter_id, volume_id, label, opts = {})
1270
1252
  if @api_client.config.debugging
1271
- @api_client.config.logger.debug 'Calling API: LabelApi.datacenters_volumes_labels_post ...'
1253
+ @api_client.config.logger.debug 'Calling API: LabelsApi.datacenters_volumes_labels_post ...'
1272
1254
  end
1273
1255
  # verify the required parameter 'datacenter_id' is set
1274
1256
  if @api_client.config.client_side_validation && datacenter_id.nil?
1275
- fail ArgumentError, "Missing the required parameter 'datacenter_id' when calling LabelApi.datacenters_volumes_labels_post"
1257
+ fail ArgumentError, "Missing the required parameter 'datacenter_id' when calling LabelsApi.datacenters_volumes_labels_post"
1276
1258
  end
1277
1259
  # verify the required parameter 'volume_id' is set
1278
1260
  if @api_client.config.client_side_validation && volume_id.nil?
1279
- fail ArgumentError, "Missing the required parameter 'volume_id' when calling LabelApi.datacenters_volumes_labels_post"
1261
+ fail ArgumentError, "Missing the required parameter 'volume_id' when calling LabelsApi.datacenters_volumes_labels_post"
1280
1262
  end
1281
1263
  # verify the required parameter 'label' is set
1282
1264
  if @api_client.config.client_side_validation && label.nil?
1283
- fail ArgumentError, "Missing the required parameter 'label' when calling LabelApi.datacenters_volumes_labels_post"
1265
+ fail ArgumentError, "Missing the required parameter 'label' when calling LabelsApi.datacenters_volumes_labels_post"
1284
1266
  end
1285
1267
  if @api_client.config.client_side_validation && !opts[:'depth'].nil? && opts[:'depth'] > 10
1286
- fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelApi.datacenters_volumes_labels_post, must be smaller than or equal to 10.'
1268
+ fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelsApi.datacenters_volumes_labels_post, must be smaller than or equal to 10.'
1287
1269
  end
1288
1270
 
1289
1271
  if @api_client.config.client_side_validation && !opts[:'depth'].nil? && opts[:'depth'] < 0
1290
- fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelApi.datacenters_volumes_labels_post, must be greater than or equal to 0.'
1272
+ fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelsApi.datacenters_volumes_labels_post, must be greater than or equal to 0.'
1291
1273
  end
1292
1274
 
1293
1275
  # resource path
@@ -1319,7 +1301,7 @@ module Ionoscloud
1319
1301
  auth_names = opts[:debug_auth_names] || ['Basic Authentication', 'Token Authentication']
1320
1302
 
1321
1303
  new_options = opts.merge(
1322
- :operation => :"LabelApi.datacenters_volumes_labels_post",
1304
+ :operation => :"LabelsApi.datacenters_volumes_labels_post",
1323
1305
  :header_params => header_params,
1324
1306
  :query_params => query_params,
1325
1307
  :form_params => form_params,
@@ -1330,7 +1312,7 @@ module Ionoscloud
1330
1312
 
1331
1313
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
1332
1314
  if @api_client.config.debugging
1333
- @api_client.config.logger.debug "API called: LabelApi#datacenters_volumes_labels_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1315
+ @api_client.config.logger.debug "API called: LabelsApi#datacenters_volumes_labels_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1334
1316
  end
1335
1317
  return data, status_code, headers
1336
1318
  end
@@ -1364,30 +1346,30 @@ module Ionoscloud
1364
1346
  # @return [Array<(LabelResource, Integer, Hash)>] LabelResource data, response status code and response headers
1365
1347
  def datacenters_volumes_labels_put_with_http_info(datacenter_id, volume_id, key, label, opts = {})
1366
1348
  if @api_client.config.debugging
1367
- @api_client.config.logger.debug 'Calling API: LabelApi.datacenters_volumes_labels_put ...'
1349
+ @api_client.config.logger.debug 'Calling API: LabelsApi.datacenters_volumes_labels_put ...'
1368
1350
  end
1369
1351
  # verify the required parameter 'datacenter_id' is set
1370
1352
  if @api_client.config.client_side_validation && datacenter_id.nil?
1371
- fail ArgumentError, "Missing the required parameter 'datacenter_id' when calling LabelApi.datacenters_volumes_labels_put"
1353
+ fail ArgumentError, "Missing the required parameter 'datacenter_id' when calling LabelsApi.datacenters_volumes_labels_put"
1372
1354
  end
1373
1355
  # verify the required parameter 'volume_id' is set
1374
1356
  if @api_client.config.client_side_validation && volume_id.nil?
1375
- fail ArgumentError, "Missing the required parameter 'volume_id' when calling LabelApi.datacenters_volumes_labels_put"
1357
+ fail ArgumentError, "Missing the required parameter 'volume_id' when calling LabelsApi.datacenters_volumes_labels_put"
1376
1358
  end
1377
1359
  # verify the required parameter 'key' is set
1378
1360
  if @api_client.config.client_side_validation && key.nil?
1379
- fail ArgumentError, "Missing the required parameter 'key' when calling LabelApi.datacenters_volumes_labels_put"
1361
+ fail ArgumentError, "Missing the required parameter 'key' when calling LabelsApi.datacenters_volumes_labels_put"
1380
1362
  end
1381
1363
  # verify the required parameter 'label' is set
1382
1364
  if @api_client.config.client_side_validation && label.nil?
1383
- fail ArgumentError, "Missing the required parameter 'label' when calling LabelApi.datacenters_volumes_labels_put"
1365
+ fail ArgumentError, "Missing the required parameter 'label' when calling LabelsApi.datacenters_volumes_labels_put"
1384
1366
  end
1385
1367
  if @api_client.config.client_side_validation && !opts[:'depth'].nil? && opts[:'depth'] > 10
1386
- fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelApi.datacenters_volumes_labels_put, must be smaller than or equal to 10.'
1368
+ fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelsApi.datacenters_volumes_labels_put, must be smaller than or equal to 10.'
1387
1369
  end
1388
1370
 
1389
1371
  if @api_client.config.client_side_validation && !opts[:'depth'].nil? && opts[:'depth'] < 0
1390
- fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelApi.datacenters_volumes_labels_put, must be greater than or equal to 0.'
1372
+ fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelsApi.datacenters_volumes_labels_put, must be greater than or equal to 0.'
1391
1373
  end
1392
1374
 
1393
1375
  # resource path
@@ -1419,7 +1401,7 @@ module Ionoscloud
1419
1401
  auth_names = opts[:debug_auth_names] || ['Basic Authentication', 'Token Authentication']
1420
1402
 
1421
1403
  new_options = opts.merge(
1422
- :operation => :"LabelApi.datacenters_volumes_labels_put",
1404
+ :operation => :"LabelsApi.datacenters_volumes_labels_put",
1423
1405
  :header_params => header_params,
1424
1406
  :query_params => query_params,
1425
1407
  :form_params => form_params,
@@ -1430,7 +1412,7 @@ module Ionoscloud
1430
1412
 
1431
1413
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
1432
1414
  if @api_client.config.debugging
1433
- @api_client.config.logger.debug "API called: LabelApi#datacenters_volumes_labels_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1415
+ @api_client.config.logger.debug "API called: LabelsApi#datacenters_volumes_labels_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1434
1416
  end
1435
1417
  return data, status_code, headers
1436
1418
  end
@@ -1443,10 +1425,10 @@ module Ionoscloud
1443
1425
  # @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines) (default to true)
1444
1426
  # @option opts [Integer] :depth Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth&#x3D;0: only direct properties are included. Children (servers etc.) are not included - depth&#x3D;1: direct properties and children references are included - depth&#x3D;2: direct properties and children properties are included - depth&#x3D;3: direct properties and children properties and children&#39;s children are included - depth&#x3D;... and so on (default to 0)
1445
1427
  # @option opts [Integer] :x_contract_number Users having more than 1 contract need to provide contract number, against which all API requests should be executed
1446
- # @return [Object]
1428
+ # @return [nil]
1447
1429
  def ipblocks_labels_delete(ipblock_id, key, opts = {})
1448
- data, _status_code, _headers = ipblocks_labels_delete_with_http_info(ipblock_id, key, opts)
1449
- data
1430
+ ipblocks_labels_delete_with_http_info(ipblock_id, key, opts)
1431
+ nil
1450
1432
  end
1451
1433
 
1452
1434
  # Delete a Label from IP Block
@@ -1457,25 +1439,25 @@ module Ionoscloud
1457
1439
  # @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines)
1458
1440
  # @option opts [Integer] :depth Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth&#x3D;0: only direct properties are included. Children (servers etc.) are not included - depth&#x3D;1: direct properties and children references are included - depth&#x3D;2: direct properties and children properties are included - depth&#x3D;3: direct properties and children properties and children&#39;s children are included - depth&#x3D;... and so on
1459
1441
  # @option opts [Integer] :x_contract_number Users having more than 1 contract need to provide contract number, against which all API requests should be executed
1460
- # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
1442
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
1461
1443
  def ipblocks_labels_delete_with_http_info(ipblock_id, key, opts = {})
1462
1444
  if @api_client.config.debugging
1463
- @api_client.config.logger.debug 'Calling API: LabelApi.ipblocks_labels_delete ...'
1445
+ @api_client.config.logger.debug 'Calling API: LabelsApi.ipblocks_labels_delete ...'
1464
1446
  end
1465
1447
  # verify the required parameter 'ipblock_id' is set
1466
1448
  if @api_client.config.client_side_validation && ipblock_id.nil?
1467
- fail ArgumentError, "Missing the required parameter 'ipblock_id' when calling LabelApi.ipblocks_labels_delete"
1449
+ fail ArgumentError, "Missing the required parameter 'ipblock_id' when calling LabelsApi.ipblocks_labels_delete"
1468
1450
  end
1469
1451
  # verify the required parameter 'key' is set
1470
1452
  if @api_client.config.client_side_validation && key.nil?
1471
- fail ArgumentError, "Missing the required parameter 'key' when calling LabelApi.ipblocks_labels_delete"
1453
+ fail ArgumentError, "Missing the required parameter 'key' when calling LabelsApi.ipblocks_labels_delete"
1472
1454
  end
1473
1455
  if @api_client.config.client_side_validation && !opts[:'depth'].nil? && opts[:'depth'] > 10
1474
- fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelApi.ipblocks_labels_delete, must be smaller than or equal to 10.'
1456
+ fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelsApi.ipblocks_labels_delete, must be smaller than or equal to 10.'
1475
1457
  end
1476
1458
 
1477
1459
  if @api_client.config.client_side_validation && !opts[:'depth'].nil? && opts[:'depth'] < 0
1478
- fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelApi.ipblocks_labels_delete, must be greater than or equal to 0.'
1460
+ fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelsApi.ipblocks_labels_delete, must be greater than or equal to 0.'
1479
1461
  end
1480
1462
 
1481
1463
  # resource path
@@ -1499,13 +1481,13 @@ module Ionoscloud
1499
1481
  post_body = opts[:debug_body]
1500
1482
 
1501
1483
  # return_type
1502
- return_type = opts[:debug_return_type] || 'Object'
1484
+ return_type = opts[:debug_return_type]
1503
1485
 
1504
1486
  # auth_names
1505
1487
  auth_names = opts[:debug_auth_names] || ['Basic Authentication', 'Token Authentication']
1506
1488
 
1507
1489
  new_options = opts.merge(
1508
- :operation => :"LabelApi.ipblocks_labels_delete",
1490
+ :operation => :"LabelsApi.ipblocks_labels_delete",
1509
1491
  :header_params => header_params,
1510
1492
  :query_params => query_params,
1511
1493
  :form_params => form_params,
@@ -1516,7 +1498,7 @@ module Ionoscloud
1516
1498
 
1517
1499
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
1518
1500
  if @api_client.config.debugging
1519
- @api_client.config.logger.debug "API called: LabelApi#ipblocks_labels_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1501
+ @api_client.config.logger.debug "API called: LabelsApi#ipblocks_labels_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1520
1502
  end
1521
1503
  return data, status_code, headers
1522
1504
  end
@@ -1546,22 +1528,22 @@ module Ionoscloud
1546
1528
  # @return [Array<(LabelResource, Integer, Hash)>] LabelResource data, response status code and response headers
1547
1529
  def ipblocks_labels_find_by_key_with_http_info(ipblock_id, key, opts = {})
1548
1530
  if @api_client.config.debugging
1549
- @api_client.config.logger.debug 'Calling API: LabelApi.ipblocks_labels_find_by_key ...'
1531
+ @api_client.config.logger.debug 'Calling API: LabelsApi.ipblocks_labels_find_by_key ...'
1550
1532
  end
1551
1533
  # verify the required parameter 'ipblock_id' is set
1552
1534
  if @api_client.config.client_side_validation && ipblock_id.nil?
1553
- fail ArgumentError, "Missing the required parameter 'ipblock_id' when calling LabelApi.ipblocks_labels_find_by_key"
1535
+ fail ArgumentError, "Missing the required parameter 'ipblock_id' when calling LabelsApi.ipblocks_labels_find_by_key"
1554
1536
  end
1555
1537
  # verify the required parameter 'key' is set
1556
1538
  if @api_client.config.client_side_validation && key.nil?
1557
- fail ArgumentError, "Missing the required parameter 'key' when calling LabelApi.ipblocks_labels_find_by_key"
1539
+ fail ArgumentError, "Missing the required parameter 'key' when calling LabelsApi.ipblocks_labels_find_by_key"
1558
1540
  end
1559
1541
  if @api_client.config.client_side_validation && !opts[:'depth'].nil? && opts[:'depth'] > 10
1560
- fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelApi.ipblocks_labels_find_by_key, must be smaller than or equal to 10.'
1542
+ fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelsApi.ipblocks_labels_find_by_key, must be smaller than or equal to 10.'
1561
1543
  end
1562
1544
 
1563
1545
  if @api_client.config.client_side_validation && !opts[:'depth'].nil? && opts[:'depth'] < 0
1564
- fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelApi.ipblocks_labels_find_by_key, must be greater than or equal to 0.'
1546
+ fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelsApi.ipblocks_labels_find_by_key, must be greater than or equal to 0.'
1565
1547
  end
1566
1548
 
1567
1549
  # resource path
@@ -1591,7 +1573,7 @@ module Ionoscloud
1591
1573
  auth_names = opts[:debug_auth_names] || ['Basic Authentication', 'Token Authentication']
1592
1574
 
1593
1575
  new_options = opts.merge(
1594
- :operation => :"LabelApi.ipblocks_labels_find_by_key",
1576
+ :operation => :"LabelsApi.ipblocks_labels_find_by_key",
1595
1577
  :header_params => header_params,
1596
1578
  :query_params => query_params,
1597
1579
  :form_params => form_params,
@@ -1602,13 +1584,13 @@ module Ionoscloud
1602
1584
 
1603
1585
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1604
1586
  if @api_client.config.debugging
1605
- @api_client.config.logger.debug "API called: LabelApi#ipblocks_labels_find_by_key\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1587
+ @api_client.config.logger.debug "API called: LabelsApi#ipblocks_labels_find_by_key\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1606
1588
  end
1607
1589
  return data, status_code, headers
1608
1590
  end
1609
1591
 
1610
1592
  # List all Ip Block Labels
1611
- # You can retrieve a list of all labels associated with a IP Block
1593
+ # You can retrieve a list of all labels associated with a IP Block.
1612
1594
  # @param ipblock_id [String] The unique ID of the Ip Block
1613
1595
  # @param [Hash] opts the optional parameters
1614
1596
  # @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines) (default to true)
@@ -1621,7 +1603,7 @@ module Ionoscloud
1621
1603
  end
1622
1604
 
1623
1605
  # List all Ip Block Labels
1624
- # You can retrieve a list of all labels associated with a IP Block
1606
+ # You can retrieve a list of all labels associated with a IP Block.
1625
1607
  # @param ipblock_id [String] The unique ID of the Ip Block
1626
1608
  # @param [Hash] opts the optional parameters
1627
1609
  # @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines)
@@ -1630,18 +1612,18 @@ module Ionoscloud
1630
1612
  # @return [Array<(LabelResources, Integer, Hash)>] LabelResources data, response status code and response headers
1631
1613
  def ipblocks_labels_get_with_http_info(ipblock_id, opts = {})
1632
1614
  if @api_client.config.debugging
1633
- @api_client.config.logger.debug 'Calling API: LabelApi.ipblocks_labels_get ...'
1615
+ @api_client.config.logger.debug 'Calling API: LabelsApi.ipblocks_labels_get ...'
1634
1616
  end
1635
1617
  # verify the required parameter 'ipblock_id' is set
1636
1618
  if @api_client.config.client_side_validation && ipblock_id.nil?
1637
- fail ArgumentError, "Missing the required parameter 'ipblock_id' when calling LabelApi.ipblocks_labels_get"
1619
+ fail ArgumentError, "Missing the required parameter 'ipblock_id' when calling LabelsApi.ipblocks_labels_get"
1638
1620
  end
1639
1621
  if @api_client.config.client_side_validation && !opts[:'depth'].nil? && opts[:'depth'] > 10
1640
- fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelApi.ipblocks_labels_get, must be smaller than or equal to 10.'
1622
+ fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelsApi.ipblocks_labels_get, must be smaller than or equal to 10.'
1641
1623
  end
1642
1624
 
1643
1625
  if @api_client.config.client_side_validation && !opts[:'depth'].nil? && opts[:'depth'] < 0
1644
- fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelApi.ipblocks_labels_get, must be greater than or equal to 0.'
1626
+ fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelsApi.ipblocks_labels_get, must be greater than or equal to 0.'
1645
1627
  end
1646
1628
 
1647
1629
  # resource path
@@ -1671,7 +1653,7 @@ module Ionoscloud
1671
1653
  auth_names = opts[:debug_auth_names] || ['Basic Authentication', 'Token Authentication']
1672
1654
 
1673
1655
  new_options = opts.merge(
1674
- :operation => :"LabelApi.ipblocks_labels_get",
1656
+ :operation => :"LabelsApi.ipblocks_labels_get",
1675
1657
  :header_params => header_params,
1676
1658
  :query_params => query_params,
1677
1659
  :form_params => form_params,
@@ -1682,7 +1664,7 @@ module Ionoscloud
1682
1664
 
1683
1665
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1684
1666
  if @api_client.config.debugging
1685
- @api_client.config.logger.debug "API called: LabelApi#ipblocks_labels_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1667
+ @api_client.config.logger.debug "API called: LabelsApi#ipblocks_labels_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1686
1668
  end
1687
1669
  return data, status_code, headers
1688
1670
  end
@@ -1712,22 +1694,22 @@ module Ionoscloud
1712
1694
  # @return [Array<(LabelResource, Integer, Hash)>] LabelResource data, response status code and response headers
1713
1695
  def ipblocks_labels_post_with_http_info(ipblock_id, label, opts = {})
1714
1696
  if @api_client.config.debugging
1715
- @api_client.config.logger.debug 'Calling API: LabelApi.ipblocks_labels_post ...'
1697
+ @api_client.config.logger.debug 'Calling API: LabelsApi.ipblocks_labels_post ...'
1716
1698
  end
1717
1699
  # verify the required parameter 'ipblock_id' is set
1718
1700
  if @api_client.config.client_side_validation && ipblock_id.nil?
1719
- fail ArgumentError, "Missing the required parameter 'ipblock_id' when calling LabelApi.ipblocks_labels_post"
1701
+ fail ArgumentError, "Missing the required parameter 'ipblock_id' when calling LabelsApi.ipblocks_labels_post"
1720
1702
  end
1721
1703
  # verify the required parameter 'label' is set
1722
1704
  if @api_client.config.client_side_validation && label.nil?
1723
- fail ArgumentError, "Missing the required parameter 'label' when calling LabelApi.ipblocks_labels_post"
1705
+ fail ArgumentError, "Missing the required parameter 'label' when calling LabelsApi.ipblocks_labels_post"
1724
1706
  end
1725
1707
  if @api_client.config.client_side_validation && !opts[:'depth'].nil? && opts[:'depth'] > 10
1726
- fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelApi.ipblocks_labels_post, must be smaller than or equal to 10.'
1708
+ fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelsApi.ipblocks_labels_post, must be smaller than or equal to 10.'
1727
1709
  end
1728
1710
 
1729
1711
  if @api_client.config.client_side_validation && !opts[:'depth'].nil? && opts[:'depth'] < 0
1730
- fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelApi.ipblocks_labels_post, must be greater than or equal to 0.'
1712
+ fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelsApi.ipblocks_labels_post, must be greater than or equal to 0.'
1731
1713
  end
1732
1714
 
1733
1715
  # resource path
@@ -1759,7 +1741,7 @@ module Ionoscloud
1759
1741
  auth_names = opts[:debug_auth_names] || ['Basic Authentication', 'Token Authentication']
1760
1742
 
1761
1743
  new_options = opts.merge(
1762
- :operation => :"LabelApi.ipblocks_labels_post",
1744
+ :operation => :"LabelsApi.ipblocks_labels_post",
1763
1745
  :header_params => header_params,
1764
1746
  :query_params => query_params,
1765
1747
  :form_params => form_params,
@@ -1770,7 +1752,7 @@ module Ionoscloud
1770
1752
 
1771
1753
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
1772
1754
  if @api_client.config.debugging
1773
- @api_client.config.logger.debug "API called: LabelApi#ipblocks_labels_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1755
+ @api_client.config.logger.debug "API called: LabelsApi#ipblocks_labels_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1774
1756
  end
1775
1757
  return data, status_code, headers
1776
1758
  end
@@ -1802,26 +1784,26 @@ module Ionoscloud
1802
1784
  # @return [Array<(LabelResource, Integer, Hash)>] LabelResource data, response status code and response headers
1803
1785
  def ipblocks_labels_put_with_http_info(ipblock_id, key, label, opts = {})
1804
1786
  if @api_client.config.debugging
1805
- @api_client.config.logger.debug 'Calling API: LabelApi.ipblocks_labels_put ...'
1787
+ @api_client.config.logger.debug 'Calling API: LabelsApi.ipblocks_labels_put ...'
1806
1788
  end
1807
1789
  # verify the required parameter 'ipblock_id' is set
1808
1790
  if @api_client.config.client_side_validation && ipblock_id.nil?
1809
- fail ArgumentError, "Missing the required parameter 'ipblock_id' when calling LabelApi.ipblocks_labels_put"
1791
+ fail ArgumentError, "Missing the required parameter 'ipblock_id' when calling LabelsApi.ipblocks_labels_put"
1810
1792
  end
1811
1793
  # verify the required parameter 'key' is set
1812
1794
  if @api_client.config.client_side_validation && key.nil?
1813
- fail ArgumentError, "Missing the required parameter 'key' when calling LabelApi.ipblocks_labels_put"
1795
+ fail ArgumentError, "Missing the required parameter 'key' when calling LabelsApi.ipblocks_labels_put"
1814
1796
  end
1815
1797
  # verify the required parameter 'label' is set
1816
1798
  if @api_client.config.client_side_validation && label.nil?
1817
- fail ArgumentError, "Missing the required parameter 'label' when calling LabelApi.ipblocks_labels_put"
1799
+ fail ArgumentError, "Missing the required parameter 'label' when calling LabelsApi.ipblocks_labels_put"
1818
1800
  end
1819
1801
  if @api_client.config.client_side_validation && !opts[:'depth'].nil? && opts[:'depth'] > 10
1820
- fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelApi.ipblocks_labels_put, must be smaller than or equal to 10.'
1802
+ fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelsApi.ipblocks_labels_put, must be smaller than or equal to 10.'
1821
1803
  end
1822
1804
 
1823
1805
  if @api_client.config.client_side_validation && !opts[:'depth'].nil? && opts[:'depth'] < 0
1824
- fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelApi.ipblocks_labels_put, must be greater than or equal to 0.'
1806
+ fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelsApi.ipblocks_labels_put, must be greater than or equal to 0.'
1825
1807
  end
1826
1808
 
1827
1809
  # resource path
@@ -1853,7 +1835,7 @@ module Ionoscloud
1853
1835
  auth_names = opts[:debug_auth_names] || ['Basic Authentication', 'Token Authentication']
1854
1836
 
1855
1837
  new_options = opts.merge(
1856
- :operation => :"LabelApi.ipblocks_labels_put",
1838
+ :operation => :"LabelsApi.ipblocks_labels_put",
1857
1839
  :header_params => header_params,
1858
1840
  :query_params => query_params,
1859
1841
  :form_params => form_params,
@@ -1864,7 +1846,7 @@ module Ionoscloud
1864
1846
 
1865
1847
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
1866
1848
  if @api_client.config.debugging
1867
- @api_client.config.logger.debug "API called: LabelApi#ipblocks_labels_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1849
+ @api_client.config.logger.debug "API called: LabelsApi#ipblocks_labels_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1868
1850
  end
1869
1851
  return data, status_code, headers
1870
1852
  end
@@ -1892,18 +1874,18 @@ module Ionoscloud
1892
1874
  # @return [Array<(Label, Integer, Hash)>] Label data, response status code and response headers
1893
1875
  def labels_find_by_urn_with_http_info(labelurn, opts = {})
1894
1876
  if @api_client.config.debugging
1895
- @api_client.config.logger.debug 'Calling API: LabelApi.labels_find_by_urn ...'
1877
+ @api_client.config.logger.debug 'Calling API: LabelsApi.labels_find_by_urn ...'
1896
1878
  end
1897
1879
  # verify the required parameter 'labelurn' is set
1898
1880
  if @api_client.config.client_side_validation && labelurn.nil?
1899
- fail ArgumentError, "Missing the required parameter 'labelurn' when calling LabelApi.labels_find_by_urn"
1881
+ fail ArgumentError, "Missing the required parameter 'labelurn' when calling LabelsApi.labels_find_by_urn"
1900
1882
  end
1901
1883
  if @api_client.config.client_side_validation && !opts[:'depth'].nil? && opts[:'depth'] > 10
1902
- fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelApi.labels_find_by_urn, must be smaller than or equal to 10.'
1884
+ fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelsApi.labels_find_by_urn, must be smaller than or equal to 10.'
1903
1885
  end
1904
1886
 
1905
1887
  if @api_client.config.client_side_validation && !opts[:'depth'].nil? && opts[:'depth'] < 0
1906
- fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelApi.labels_find_by_urn, must be greater than or equal to 0.'
1888
+ fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelsApi.labels_find_by_urn, must be greater than or equal to 0.'
1907
1889
  end
1908
1890
 
1909
1891
  # resource path
@@ -1933,7 +1915,7 @@ module Ionoscloud
1933
1915
  auth_names = opts[:debug_auth_names] || ['Basic Authentication', 'Token Authentication']
1934
1916
 
1935
1917
  new_options = opts.merge(
1936
- :operation => :"LabelApi.labels_find_by_urn",
1918
+ :operation => :"LabelsApi.labels_find_by_urn",
1937
1919
  :header_params => header_params,
1938
1920
  :query_params => query_params,
1939
1921
  :form_params => form_params,
@@ -1944,7 +1926,7 @@ module Ionoscloud
1944
1926
 
1945
1927
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1946
1928
  if @api_client.config.debugging
1947
- @api_client.config.logger.debug "API called: LabelApi#labels_find_by_urn\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1929
+ @api_client.config.logger.debug "API called: LabelsApi#labels_find_by_urn\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1948
1930
  end
1949
1931
  return data, status_code, headers
1950
1932
  end
@@ -1970,14 +1952,14 @@ module Ionoscloud
1970
1952
  # @return [Array<(Labels, Integer, Hash)>] Labels data, response status code and response headers
1971
1953
  def labels_get_with_http_info(opts = {})
1972
1954
  if @api_client.config.debugging
1973
- @api_client.config.logger.debug 'Calling API: LabelApi.labels_get ...'
1955
+ @api_client.config.logger.debug 'Calling API: LabelsApi.labels_get ...'
1974
1956
  end
1975
1957
  if @api_client.config.client_side_validation && !opts[:'depth'].nil? && opts[:'depth'] > 10
1976
- fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelApi.labels_get, must be smaller than or equal to 10.'
1958
+ fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelsApi.labels_get, must be smaller than or equal to 10.'
1977
1959
  end
1978
1960
 
1979
1961
  if @api_client.config.client_side_validation && !opts[:'depth'].nil? && opts[:'depth'] < 0
1980
- fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelApi.labels_get, must be greater than or equal to 0.'
1962
+ fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelsApi.labels_get, must be greater than or equal to 0.'
1981
1963
  end
1982
1964
 
1983
1965
  # resource path
@@ -2007,7 +1989,7 @@ module Ionoscloud
2007
1989
  auth_names = opts[:debug_auth_names] || ['Basic Authentication', 'Token Authentication']
2008
1990
 
2009
1991
  new_options = opts.merge(
2010
- :operation => :"LabelApi.labels_get",
1992
+ :operation => :"LabelsApi.labels_get",
2011
1993
  :header_params => header_params,
2012
1994
  :query_params => query_params,
2013
1995
  :form_params => form_params,
@@ -2018,7 +2000,7 @@ module Ionoscloud
2018
2000
 
2019
2001
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
2020
2002
  if @api_client.config.debugging
2021
- @api_client.config.logger.debug "API called: LabelApi#labels_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2003
+ @api_client.config.logger.debug "API called: LabelsApi#labels_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2022
2004
  end
2023
2005
  return data, status_code, headers
2024
2006
  end
@@ -2031,10 +2013,10 @@ module Ionoscloud
2031
2013
  # @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines) (default to true)
2032
2014
  # @option opts [Integer] :depth Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth&#x3D;0: only direct properties are included. Children (servers etc.) are not included - depth&#x3D;1: direct properties and children references are included - depth&#x3D;2: direct properties and children properties are included - depth&#x3D;3: direct properties and children properties and children&#39;s children are included - depth&#x3D;... and so on (default to 0)
2033
2015
  # @option opts [Integer] :x_contract_number Users having more than 1 contract need to provide contract number, against which all API requests should be executed
2034
- # @return [Object]
2016
+ # @return [nil]
2035
2017
  def snapshots_labels_delete(snapshot_id, key, opts = {})
2036
- data, _status_code, _headers = snapshots_labels_delete_with_http_info(snapshot_id, key, opts)
2037
- data
2018
+ snapshots_labels_delete_with_http_info(snapshot_id, key, opts)
2019
+ nil
2038
2020
  end
2039
2021
 
2040
2022
  # Delete a Label from Snapshot
@@ -2045,25 +2027,25 @@ module Ionoscloud
2045
2027
  # @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines)
2046
2028
  # @option opts [Integer] :depth Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth&#x3D;0: only direct properties are included. Children (servers etc.) are not included - depth&#x3D;1: direct properties and children references are included - depth&#x3D;2: direct properties and children properties are included - depth&#x3D;3: direct properties and children properties and children&#39;s children are included - depth&#x3D;... and so on
2047
2029
  # @option opts [Integer] :x_contract_number Users having more than 1 contract need to provide contract number, against which all API requests should be executed
2048
- # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
2030
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
2049
2031
  def snapshots_labels_delete_with_http_info(snapshot_id, key, opts = {})
2050
2032
  if @api_client.config.debugging
2051
- @api_client.config.logger.debug 'Calling API: LabelApi.snapshots_labels_delete ...'
2033
+ @api_client.config.logger.debug 'Calling API: LabelsApi.snapshots_labels_delete ...'
2052
2034
  end
2053
2035
  # verify the required parameter 'snapshot_id' is set
2054
2036
  if @api_client.config.client_side_validation && snapshot_id.nil?
2055
- fail ArgumentError, "Missing the required parameter 'snapshot_id' when calling LabelApi.snapshots_labels_delete"
2037
+ fail ArgumentError, "Missing the required parameter 'snapshot_id' when calling LabelsApi.snapshots_labels_delete"
2056
2038
  end
2057
2039
  # verify the required parameter 'key' is set
2058
2040
  if @api_client.config.client_side_validation && key.nil?
2059
- fail ArgumentError, "Missing the required parameter 'key' when calling LabelApi.snapshots_labels_delete"
2041
+ fail ArgumentError, "Missing the required parameter 'key' when calling LabelsApi.snapshots_labels_delete"
2060
2042
  end
2061
2043
  if @api_client.config.client_side_validation && !opts[:'depth'].nil? && opts[:'depth'] > 10
2062
- fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelApi.snapshots_labels_delete, must be smaller than or equal to 10.'
2044
+ fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelsApi.snapshots_labels_delete, must be smaller than or equal to 10.'
2063
2045
  end
2064
2046
 
2065
2047
  if @api_client.config.client_side_validation && !opts[:'depth'].nil? && opts[:'depth'] < 0
2066
- fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelApi.snapshots_labels_delete, must be greater than or equal to 0.'
2048
+ fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelsApi.snapshots_labels_delete, must be greater than or equal to 0.'
2067
2049
  end
2068
2050
 
2069
2051
  # resource path
@@ -2087,13 +2069,13 @@ module Ionoscloud
2087
2069
  post_body = opts[:debug_body]
2088
2070
 
2089
2071
  # return_type
2090
- return_type = opts[:debug_return_type] || 'Object'
2072
+ return_type = opts[:debug_return_type]
2091
2073
 
2092
2074
  # auth_names
2093
2075
  auth_names = opts[:debug_auth_names] || ['Basic Authentication', 'Token Authentication']
2094
2076
 
2095
2077
  new_options = opts.merge(
2096
- :operation => :"LabelApi.snapshots_labels_delete",
2078
+ :operation => :"LabelsApi.snapshots_labels_delete",
2097
2079
  :header_params => header_params,
2098
2080
  :query_params => query_params,
2099
2081
  :form_params => form_params,
@@ -2104,7 +2086,7 @@ module Ionoscloud
2104
2086
 
2105
2087
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
2106
2088
  if @api_client.config.debugging
2107
- @api_client.config.logger.debug "API called: LabelApi#snapshots_labels_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2089
+ @api_client.config.logger.debug "API called: LabelsApi#snapshots_labels_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2108
2090
  end
2109
2091
  return data, status_code, headers
2110
2092
  end
@@ -2134,22 +2116,22 @@ module Ionoscloud
2134
2116
  # @return [Array<(LabelResource, Integer, Hash)>] LabelResource data, response status code and response headers
2135
2117
  def snapshots_labels_find_by_key_with_http_info(snapshot_id, key, opts = {})
2136
2118
  if @api_client.config.debugging
2137
- @api_client.config.logger.debug 'Calling API: LabelApi.snapshots_labels_find_by_key ...'
2119
+ @api_client.config.logger.debug 'Calling API: LabelsApi.snapshots_labels_find_by_key ...'
2138
2120
  end
2139
2121
  # verify the required parameter 'snapshot_id' is set
2140
2122
  if @api_client.config.client_side_validation && snapshot_id.nil?
2141
- fail ArgumentError, "Missing the required parameter 'snapshot_id' when calling LabelApi.snapshots_labels_find_by_key"
2123
+ fail ArgumentError, "Missing the required parameter 'snapshot_id' when calling LabelsApi.snapshots_labels_find_by_key"
2142
2124
  end
2143
2125
  # verify the required parameter 'key' is set
2144
2126
  if @api_client.config.client_side_validation && key.nil?
2145
- fail ArgumentError, "Missing the required parameter 'key' when calling LabelApi.snapshots_labels_find_by_key"
2127
+ fail ArgumentError, "Missing the required parameter 'key' when calling LabelsApi.snapshots_labels_find_by_key"
2146
2128
  end
2147
2129
  if @api_client.config.client_side_validation && !opts[:'depth'].nil? && opts[:'depth'] > 10
2148
- fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelApi.snapshots_labels_find_by_key, must be smaller than or equal to 10.'
2130
+ fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelsApi.snapshots_labels_find_by_key, must be smaller than or equal to 10.'
2149
2131
  end
2150
2132
 
2151
2133
  if @api_client.config.client_side_validation && !opts[:'depth'].nil? && opts[:'depth'] < 0
2152
- fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelApi.snapshots_labels_find_by_key, must be greater than or equal to 0.'
2134
+ fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelsApi.snapshots_labels_find_by_key, must be greater than or equal to 0.'
2153
2135
  end
2154
2136
 
2155
2137
  # resource path
@@ -2179,7 +2161,7 @@ module Ionoscloud
2179
2161
  auth_names = opts[:debug_auth_names] || ['Basic Authentication', 'Token Authentication']
2180
2162
 
2181
2163
  new_options = opts.merge(
2182
- :operation => :"LabelApi.snapshots_labels_find_by_key",
2164
+ :operation => :"LabelsApi.snapshots_labels_find_by_key",
2183
2165
  :header_params => header_params,
2184
2166
  :query_params => query_params,
2185
2167
  :form_params => form_params,
@@ -2190,13 +2172,13 @@ module Ionoscloud
2190
2172
 
2191
2173
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
2192
2174
  if @api_client.config.debugging
2193
- @api_client.config.logger.debug "API called: LabelApi#snapshots_labels_find_by_key\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2175
+ @api_client.config.logger.debug "API called: LabelsApi#snapshots_labels_find_by_key\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2194
2176
  end
2195
2177
  return data, status_code, headers
2196
2178
  end
2197
2179
 
2198
2180
  # List all Snapshot Labels
2199
- # You can retrieve a list of all labels associated with a snapshot
2181
+ # You can retrieve a list of all labels associated with a snapshot.
2200
2182
  # @param snapshot_id [String] The unique ID of the Snapshot
2201
2183
  # @param [Hash] opts the optional parameters
2202
2184
  # @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines) (default to true)
@@ -2209,7 +2191,7 @@ module Ionoscloud
2209
2191
  end
2210
2192
 
2211
2193
  # List all Snapshot Labels
2212
- # You can retrieve a list of all labels associated with a snapshot
2194
+ # You can retrieve a list of all labels associated with a snapshot.
2213
2195
  # @param snapshot_id [String] The unique ID of the Snapshot
2214
2196
  # @param [Hash] opts the optional parameters
2215
2197
  # @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines)
@@ -2218,18 +2200,18 @@ module Ionoscloud
2218
2200
  # @return [Array<(LabelResources, Integer, Hash)>] LabelResources data, response status code and response headers
2219
2201
  def snapshots_labels_get_with_http_info(snapshot_id, opts = {})
2220
2202
  if @api_client.config.debugging
2221
- @api_client.config.logger.debug 'Calling API: LabelApi.snapshots_labels_get ...'
2203
+ @api_client.config.logger.debug 'Calling API: LabelsApi.snapshots_labels_get ...'
2222
2204
  end
2223
2205
  # verify the required parameter 'snapshot_id' is set
2224
2206
  if @api_client.config.client_side_validation && snapshot_id.nil?
2225
- fail ArgumentError, "Missing the required parameter 'snapshot_id' when calling LabelApi.snapshots_labels_get"
2207
+ fail ArgumentError, "Missing the required parameter 'snapshot_id' when calling LabelsApi.snapshots_labels_get"
2226
2208
  end
2227
2209
  if @api_client.config.client_side_validation && !opts[:'depth'].nil? && opts[:'depth'] > 10
2228
- fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelApi.snapshots_labels_get, must be smaller than or equal to 10.'
2210
+ fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelsApi.snapshots_labels_get, must be smaller than or equal to 10.'
2229
2211
  end
2230
2212
 
2231
2213
  if @api_client.config.client_side_validation && !opts[:'depth'].nil? && opts[:'depth'] < 0
2232
- fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelApi.snapshots_labels_get, must be greater than or equal to 0.'
2214
+ fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelsApi.snapshots_labels_get, must be greater than or equal to 0.'
2233
2215
  end
2234
2216
 
2235
2217
  # resource path
@@ -2259,7 +2241,7 @@ module Ionoscloud
2259
2241
  auth_names = opts[:debug_auth_names] || ['Basic Authentication', 'Token Authentication']
2260
2242
 
2261
2243
  new_options = opts.merge(
2262
- :operation => :"LabelApi.snapshots_labels_get",
2244
+ :operation => :"LabelsApi.snapshots_labels_get",
2263
2245
  :header_params => header_params,
2264
2246
  :query_params => query_params,
2265
2247
  :form_params => form_params,
@@ -2270,7 +2252,7 @@ module Ionoscloud
2270
2252
 
2271
2253
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
2272
2254
  if @api_client.config.debugging
2273
- @api_client.config.logger.debug "API called: LabelApi#snapshots_labels_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2255
+ @api_client.config.logger.debug "API called: LabelsApi#snapshots_labels_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2274
2256
  end
2275
2257
  return data, status_code, headers
2276
2258
  end
@@ -2300,22 +2282,22 @@ module Ionoscloud
2300
2282
  # @return [Array<(LabelResource, Integer, Hash)>] LabelResource data, response status code and response headers
2301
2283
  def snapshots_labels_post_with_http_info(snapshot_id, label, opts = {})
2302
2284
  if @api_client.config.debugging
2303
- @api_client.config.logger.debug 'Calling API: LabelApi.snapshots_labels_post ...'
2285
+ @api_client.config.logger.debug 'Calling API: LabelsApi.snapshots_labels_post ...'
2304
2286
  end
2305
2287
  # verify the required parameter 'snapshot_id' is set
2306
2288
  if @api_client.config.client_side_validation && snapshot_id.nil?
2307
- fail ArgumentError, "Missing the required parameter 'snapshot_id' when calling LabelApi.snapshots_labels_post"
2289
+ fail ArgumentError, "Missing the required parameter 'snapshot_id' when calling LabelsApi.snapshots_labels_post"
2308
2290
  end
2309
2291
  # verify the required parameter 'label' is set
2310
2292
  if @api_client.config.client_side_validation && label.nil?
2311
- fail ArgumentError, "Missing the required parameter 'label' when calling LabelApi.snapshots_labels_post"
2293
+ fail ArgumentError, "Missing the required parameter 'label' when calling LabelsApi.snapshots_labels_post"
2312
2294
  end
2313
2295
  if @api_client.config.client_side_validation && !opts[:'depth'].nil? && opts[:'depth'] > 10
2314
- fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelApi.snapshots_labels_post, must be smaller than or equal to 10.'
2296
+ fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelsApi.snapshots_labels_post, must be smaller than or equal to 10.'
2315
2297
  end
2316
2298
 
2317
2299
  if @api_client.config.client_side_validation && !opts[:'depth'].nil? && opts[:'depth'] < 0
2318
- fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelApi.snapshots_labels_post, must be greater than or equal to 0.'
2300
+ fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelsApi.snapshots_labels_post, must be greater than or equal to 0.'
2319
2301
  end
2320
2302
 
2321
2303
  # resource path
@@ -2347,7 +2329,7 @@ module Ionoscloud
2347
2329
  auth_names = opts[:debug_auth_names] || ['Basic Authentication', 'Token Authentication']
2348
2330
 
2349
2331
  new_options = opts.merge(
2350
- :operation => :"LabelApi.snapshots_labels_post",
2332
+ :operation => :"LabelsApi.snapshots_labels_post",
2351
2333
  :header_params => header_params,
2352
2334
  :query_params => query_params,
2353
2335
  :form_params => form_params,
@@ -2358,7 +2340,7 @@ module Ionoscloud
2358
2340
 
2359
2341
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
2360
2342
  if @api_client.config.debugging
2361
- @api_client.config.logger.debug "API called: LabelApi#snapshots_labels_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2343
+ @api_client.config.logger.debug "API called: LabelsApi#snapshots_labels_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2362
2344
  end
2363
2345
  return data, status_code, headers
2364
2346
  end
@@ -2390,26 +2372,26 @@ module Ionoscloud
2390
2372
  # @return [Array<(LabelResource, Integer, Hash)>] LabelResource data, response status code and response headers
2391
2373
  def snapshots_labels_put_with_http_info(snapshot_id, key, label, opts = {})
2392
2374
  if @api_client.config.debugging
2393
- @api_client.config.logger.debug 'Calling API: LabelApi.snapshots_labels_put ...'
2375
+ @api_client.config.logger.debug 'Calling API: LabelsApi.snapshots_labels_put ...'
2394
2376
  end
2395
2377
  # verify the required parameter 'snapshot_id' is set
2396
2378
  if @api_client.config.client_side_validation && snapshot_id.nil?
2397
- fail ArgumentError, "Missing the required parameter 'snapshot_id' when calling LabelApi.snapshots_labels_put"
2379
+ fail ArgumentError, "Missing the required parameter 'snapshot_id' when calling LabelsApi.snapshots_labels_put"
2398
2380
  end
2399
2381
  # verify the required parameter 'key' is set
2400
2382
  if @api_client.config.client_side_validation && key.nil?
2401
- fail ArgumentError, "Missing the required parameter 'key' when calling LabelApi.snapshots_labels_put"
2383
+ fail ArgumentError, "Missing the required parameter 'key' when calling LabelsApi.snapshots_labels_put"
2402
2384
  end
2403
2385
  # verify the required parameter 'label' is set
2404
2386
  if @api_client.config.client_side_validation && label.nil?
2405
- fail ArgumentError, "Missing the required parameter 'label' when calling LabelApi.snapshots_labels_put"
2387
+ fail ArgumentError, "Missing the required parameter 'label' when calling LabelsApi.snapshots_labels_put"
2406
2388
  end
2407
2389
  if @api_client.config.client_side_validation && !opts[:'depth'].nil? && opts[:'depth'] > 10
2408
- fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelApi.snapshots_labels_put, must be smaller than or equal to 10.'
2390
+ fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelsApi.snapshots_labels_put, must be smaller than or equal to 10.'
2409
2391
  end
2410
2392
 
2411
2393
  if @api_client.config.client_side_validation && !opts[:'depth'].nil? && opts[:'depth'] < 0
2412
- fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelApi.snapshots_labels_put, must be greater than or equal to 0.'
2394
+ fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelsApi.snapshots_labels_put, must be greater than or equal to 0.'
2413
2395
  end
2414
2396
 
2415
2397
  # resource path
@@ -2441,7 +2423,7 @@ module Ionoscloud
2441
2423
  auth_names = opts[:debug_auth_names] || ['Basic Authentication', 'Token Authentication']
2442
2424
 
2443
2425
  new_options = opts.merge(
2444
- :operation => :"LabelApi.snapshots_labels_put",
2426
+ :operation => :"LabelsApi.snapshots_labels_put",
2445
2427
  :header_params => header_params,
2446
2428
  :query_params => query_params,
2447
2429
  :form_params => form_params,
@@ -2452,7 +2434,7 @@ module Ionoscloud
2452
2434
 
2453
2435
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
2454
2436
  if @api_client.config.debugging
2455
- @api_client.config.logger.debug "API called: LabelApi#snapshots_labels_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2437
+ @api_client.config.logger.debug "API called: LabelsApi#snapshots_labels_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2456
2438
  end
2457
2439
  return data, status_code, headers
2458
2440
  end