ionoscloud 6.1.1 → 6.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (405) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +2 -2
  3. data/README.md +5 -5
  4. data/docs/README.md +1 -1
  5. data/docs/api/ApplicationLoadBalancersApi.md +116 -116
  6. data/docs/api/BackupUnitsApi.md +3 -3
  7. data/docs/api/ContractResourcesApi.md +5 -5
  8. data/docs/api/DataCentersApi.md +18 -18
  9. data/docs/api/DefaultApi.md +5 -5
  10. data/docs/api/FirewallRulesApi.md +13 -13
  11. data/docs/api/FlowLogsApi.md +11 -11
  12. data/docs/api/IPBlocksApi.md +13 -13
  13. data/docs/api/ImagesApi.md +7 -7
  14. data/docs/api/KubernetesApi.md +92 -92
  15. data/docs/api/LANsApi.md +5 -5
  16. data/docs/api/LabelsApi.md +55 -55
  17. data/docs/api/LoadBalancersApi.md +15 -15
  18. data/docs/api/LocationsApi.md +15 -15
  19. data/docs/api/NATGatewaysApi.md +39 -39
  20. data/docs/api/NetworkInterfacesApi.md +8 -8
  21. data/docs/api/NetworkLoadBalancersApi.md +33 -33
  22. data/docs/api/PrivateCrossConnectsApi.md +7 -7
  23. data/docs/api/ServersApi.md +84 -84
  24. data/docs/api/SnapshotsApi.md +7 -7
  25. data/docs/api/TargetGroupsApi.md +36 -36
  26. data/docs/api/TemplatesApi.md +12 -12
  27. data/docs/api/UserManagementApi.md +12 -12
  28. data/docs/api/UserS3KeysApi.md +6 -6
  29. data/docs/api/VolumesApi.md +13 -13
  30. data/docs/models/ApplicationLoadBalancer.md +18 -6
  31. data/docs/models/ApplicationLoadBalancerEntities.md +2 -0
  32. data/docs/models/ApplicationLoadBalancerForwardingRule.md +15 -5
  33. data/docs/models/ApplicationLoadBalancerForwardingRuleProperties.md +24 -10
  34. data/docs/models/ApplicationLoadBalancerForwardingRulePut.md +13 -5
  35. data/docs/models/ApplicationLoadBalancerForwardingRules.md +22 -8
  36. data/docs/models/ApplicationLoadBalancerHttpRule.md +32 -14
  37. data/docs/models/ApplicationLoadBalancerHttpRuleCondition.md +17 -7
  38. data/docs/models/ApplicationLoadBalancerProperties.md +18 -8
  39. data/docs/models/ApplicationLoadBalancerPut.md +13 -5
  40. data/docs/models/ApplicationLoadBalancers.md +22 -8
  41. data/docs/models/AttachedVolumes.md +22 -8
  42. data/docs/models/BackupUnit.md +15 -5
  43. data/docs/models/BackupUnitProperties.md +9 -3
  44. data/docs/models/BackupUnitSSO.md +2 -0
  45. data/docs/models/BackupUnits.md +13 -5
  46. data/docs/models/BalancedNics.md +22 -8
  47. data/docs/models/Cdroms.md +22 -8
  48. data/docs/models/ConnectableDatacenter.md +9 -3
  49. data/docs/models/Contract.md +7 -3
  50. data/docs/models/ContractProperties.md +17 -7
  51. data/docs/models/Contracts.md +13 -5
  52. data/docs/models/CpuArchitectureProperties.md +8 -0
  53. data/docs/models/DataCenterEntities.md +20 -8
  54. data/docs/models/Datacenter.md +18 -6
  55. data/docs/models/DatacenterElementMetadata.md +23 -7
  56. data/docs/models/DatacenterProperties.md +22 -8
  57. data/docs/models/Datacenters.md +22 -8
  58. data/docs/models/Error.md +4 -0
  59. data/docs/models/ErrorMessage.md +4 -0
  60. data/docs/models/FirewallRule.md +15 -5
  61. data/docs/models/FirewallRules.md +22 -8
  62. data/docs/models/FirewallruleProperties.md +35 -11
  63. data/docs/models/FlowLog.md +15 -5
  64. data/docs/models/FlowLogProperties.md +12 -4
  65. data/docs/models/FlowLogPut.md +13 -5
  66. data/docs/models/FlowLogs.md +22 -8
  67. data/docs/models/Group.md +16 -6
  68. data/docs/models/GroupEntities.md +7 -3
  69. data/docs/models/GroupMembers.md +13 -5
  70. data/docs/models/GroupProperties.md +60 -20
  71. data/docs/models/GroupShare.md +13 -5
  72. data/docs/models/GroupShareProperties.md +4 -0
  73. data/docs/models/GroupShares.md +13 -5
  74. data/docs/models/GroupUsers.md +13 -5
  75. data/docs/models/Groups.md +13 -5
  76. data/docs/models/IPFailover.md +4 -0
  77. data/docs/models/Image.md +15 -5
  78. data/docs/models/ImageProperties.md +64 -26
  79. data/docs/models/Images.md +13 -5
  80. data/docs/models/Info.md +11 -5
  81. data/docs/models/IpBlock.md +15 -5
  82. data/docs/models/IpBlockProperties.md +14 -4
  83. data/docs/models/IpBlocks.md +22 -8
  84. data/docs/models/IpConsumer.md +27 -9
  85. data/docs/models/KubernetesAutoScaling.md +8 -4
  86. data/docs/models/KubernetesCluster.md +19 -7
  87. data/docs/models/KubernetesClusterEntities.md +2 -0
  88. data/docs/models/KubernetesClusterForPost.md +19 -7
  89. data/docs/models/KubernetesClusterForPut.md +18 -6
  90. data/docs/models/KubernetesClusterProperties.md +23 -9
  91. data/docs/models/KubernetesClusterPropertiesForPost.md +16 -6
  92. data/docs/models/KubernetesClusterPropertiesForPut.md +16 -6
  93. data/docs/models/KubernetesClusters.md +15 -7
  94. data/docs/models/KubernetesMaintenanceWindow.md +6 -2
  95. data/docs/models/KubernetesNode.md +15 -5
  96. data/docs/models/KubernetesNodeMetadata.md +18 -8
  97. data/docs/models/KubernetesNodePool.md +15 -5
  98. data/docs/models/KubernetesNodePoolForPost.md +15 -5
  99. data/docs/models/KubernetesNodePoolForPut.md +15 -5
  100. data/docs/models/KubernetesNodePoolLan.md +14 -4
  101. data/docs/models/KubernetesNodePoolLanRoutes.md +7 -3
  102. data/docs/models/KubernetesNodePoolProperties.md +62 -28
  103. data/docs/models/KubernetesNodePoolPropertiesForPost.md +58 -26
  104. data/docs/models/KubernetesNodePoolPropertiesForPut.md +32 -14
  105. data/docs/models/KubernetesNodePools.md +13 -5
  106. data/docs/models/KubernetesNodeProperties.md +15 -7
  107. data/docs/models/KubernetesNodes.md +13 -5
  108. data/docs/models/Label.md +15 -5
  109. data/docs/models/LabelProperties.md +14 -4
  110. data/docs/models/LabelResource.md +15 -5
  111. data/docs/models/LabelResourceProperties.md +4 -0
  112. data/docs/models/LabelResources.md +22 -8
  113. data/docs/models/Labels.md +13 -5
  114. data/docs/models/Lan.md +18 -6
  115. data/docs/models/LanEntities.md +2 -0
  116. data/docs/models/LanNics.md +22 -8
  117. data/docs/models/LanPost.md +19 -7
  118. data/docs/models/LanProperties.md +10 -2
  119. data/docs/models/LanPropertiesPost.md +10 -2
  120. data/docs/models/Lans.md +22 -8
  121. data/docs/models/Loadbalancer.md +18 -6
  122. data/docs/models/LoadbalancerEntities.md +2 -0
  123. data/docs/models/LoadbalancerProperties.md +10 -4
  124. data/docs/models/Loadbalancers.md +22 -8
  125. data/docs/models/Location.md +15 -5
  126. data/docs/models/LocationProperties.md +16 -8
  127. data/docs/models/Locations.md +13 -5
  128. data/docs/models/NatGateway.md +18 -6
  129. data/docs/models/NatGatewayEntities.md +7 -3
  130. data/docs/models/NatGatewayLanProperties.md +7 -3
  131. data/docs/models/NatGatewayProperties.md +9 -3
  132. data/docs/models/NatGatewayPut.md +13 -5
  133. data/docs/models/NatGatewayRule.md +15 -5
  134. data/docs/models/NatGatewayRuleProperties.md +20 -6
  135. data/docs/models/NatGatewayRulePut.md +13 -5
  136. data/docs/models/NatGatewayRules.md +13 -5
  137. data/docs/models/NatGateways.md +22 -8
  138. data/docs/models/NetworkLoadBalancer.md +18 -6
  139. data/docs/models/NetworkLoadBalancerEntities.md +4 -0
  140. data/docs/models/NetworkLoadBalancerForwardingRule.md +15 -5
  141. data/docs/models/NetworkLoadBalancerForwardingRuleHealthCheck.md +11 -3
  142. data/docs/models/NetworkLoadBalancerForwardingRuleProperties.md +21 -7
  143. data/docs/models/NetworkLoadBalancerForwardingRulePut.md +13 -5
  144. data/docs/models/NetworkLoadBalancerForwardingRuleTarget.md +11 -3
  145. data/docs/models/NetworkLoadBalancerForwardingRuleTargetHealthCheck.md +6 -0
  146. data/docs/models/NetworkLoadBalancerForwardingRules.md +22 -8
  147. data/docs/models/NetworkLoadBalancerProperties.md +17 -7
  148. data/docs/models/NetworkLoadBalancerPut.md +13 -5
  149. data/docs/models/NetworkLoadBalancers.md +22 -8
  150. data/docs/models/Nic.md +18 -6
  151. data/docs/models/NicEntities.md +7 -3
  152. data/docs/models/NicProperties.md +30 -13
  153. data/docs/models/NicPut.md +13 -5
  154. data/docs/models/Nics.md +22 -8
  155. data/docs/models/NoStateMetaData.md +21 -7
  156. data/docs/models/PaginationLinks.md +9 -3
  157. data/docs/models/Peer.md +15 -5
  158. data/docs/models/PrivateCrossConnect.md +15 -5
  159. data/docs/models/PrivateCrossConnectProperties.md +13 -5
  160. data/docs/models/PrivateCrossConnects.md +13 -5
  161. data/docs/models/RemoteConsoleUrl.md +2 -0
  162. data/docs/models/Request.md +15 -5
  163. data/docs/models/RequestMetadata.md +10 -2
  164. data/docs/models/RequestProperties.md +12 -4
  165. data/docs/models/RequestStatus.md +13 -5
  166. data/docs/models/RequestStatusMetadata.md +12 -4
  167. data/docs/models/RequestTarget.md +7 -3
  168. data/docs/models/Requests.md +22 -8
  169. data/docs/models/Resource.md +18 -6
  170. data/docs/models/ResourceEntities.md +2 -0
  171. data/docs/models/ResourceGroups.md +13 -5
  172. data/docs/models/ResourceLimits.md +88 -44
  173. data/docs/models/ResourceProperties.md +4 -0
  174. data/docs/models/ResourceReference.md +9 -3
  175. data/docs/models/Resources.md +13 -5
  176. data/docs/models/ResourcesUsers.md +13 -5
  177. data/docs/models/S3Bucket.md +4 -2
  178. data/docs/models/S3Key.md +15 -5
  179. data/docs/models/S3KeyMetadata.md +7 -3
  180. data/docs/models/S3KeyProperties.md +7 -3
  181. data/docs/models/S3Keys.md +13 -5
  182. data/docs/models/S3ObjectStorageSSO.md +2 -0
  183. data/docs/models/Server.md +18 -6
  184. data/docs/models/ServerEntities.md +9 -3
  185. data/docs/models/ServerProperties.md +33 -13
  186. data/docs/models/Servers.md +22 -8
  187. data/docs/models/Snapshot.md +15 -5
  188. data/docs/models/SnapshotProperties.md +55 -23
  189. data/docs/models/Snapshots.md +13 -5
  190. data/docs/models/TargetGroup.md +15 -5
  191. data/docs/models/TargetGroupHealthCheck.md +10 -4
  192. data/docs/models/TargetGroupHttpHealthCheck.md +22 -10
  193. data/docs/models/TargetGroupProperties.md +20 -8
  194. data/docs/models/TargetGroupPut.md +13 -5
  195. data/docs/models/TargetGroupTarget.md +16 -6
  196. data/docs/models/TargetGroups.md +22 -8
  197. data/docs/models/TargetPortRange.md +7 -3
  198. data/docs/models/Template.md +15 -5
  199. data/docs/models/TemplateProperties.md +10 -2
  200. data/docs/models/Templates.md +13 -5
  201. data/docs/models/Token.md +2 -0
  202. data/docs/models/User.md +18 -6
  203. data/docs/models/UserMetadata.md +8 -2
  204. data/docs/models/UserPost.md +2 -0
  205. data/docs/models/UserProperties.md +26 -10
  206. data/docs/models/UserPropertiesPost.md +26 -10
  207. data/docs/models/UserPropertiesPut.md +25 -9
  208. data/docs/models/UserPut.md +4 -0
  209. data/docs/models/Users.md +22 -8
  210. data/docs/models/UsersEntities.md +7 -3
  211. data/docs/models/Volume.md +15 -5
  212. data/docs/models/VolumeProperties.md +74 -30
  213. data/docs/models/Volumes.md +22 -8
  214. data/docs/summary.md +22 -4
  215. data/lib/ionoscloud/api/_api.rb +4 -4
  216. data/lib/ionoscloud/api/application_load_balancers_api.rb +86 -86
  217. data/lib/ionoscloud/api/contract_resources_api.rb +4 -4
  218. data/lib/ionoscloud/api/data_centers_api.rb +12 -12
  219. data/lib/ionoscloud/api/firewall_rules_api.rb +8 -8
  220. data/lib/ionoscloud/api/flow_logs_api.rb +4 -4
  221. data/lib/ionoscloud/api/images_api.rb +4 -4
  222. data/lib/ionoscloud/api/ip_blocks_api.rb +8 -8
  223. data/lib/ionoscloud/api/kubernetes_api.rb +70 -70
  224. data/lib/ionoscloud/api/labels_api.rb +36 -36
  225. data/lib/ionoscloud/api/lans_api.rb +2 -2
  226. data/lib/ionoscloud/api/load_balancers_api.rb +10 -10
  227. data/lib/ionoscloud/api/locations_api.rb +12 -12
  228. data/lib/ionoscloud/api/nat_gateways_api.rb +18 -18
  229. data/lib/ionoscloud/api/network_interfaces_api.rb +4 -4
  230. data/lib/ionoscloud/api/network_load_balancers_api.rb +12 -12
  231. data/lib/ionoscloud/api/private_cross_connects_api.rb +4 -4
  232. data/lib/ionoscloud/api/servers_api.rb +62 -62
  233. data/lib/ionoscloud/api/snapshots_api.rb +4 -4
  234. data/lib/ionoscloud/api/target_groups_api.rb +24 -24
  235. data/lib/ionoscloud/api/templates_api.rb +10 -10
  236. data/lib/ionoscloud/api/user_management_api.rb +4 -4
  237. data/lib/ionoscloud/api/user_s3_keys_api.rb +4 -4
  238. data/lib/ionoscloud/api/volumes_api.rb +9 -9
  239. data/lib/ionoscloud/api_client.rb +1 -1
  240. data/lib/ionoscloud/models/application_load_balancer.rb +27 -27
  241. data/lib/ionoscloud/models/application_load_balancer_forwarding_rule.rb +33 -33
  242. data/lib/ionoscloud/models/application_load_balancer_forwarding_rule_properties.rb +54 -54
  243. data/lib/ionoscloud/models/application_load_balancer_forwarding_rule_put.rb +29 -29
  244. data/lib/ionoscloud/models/application_load_balancer_forwarding_rules.rb +40 -40
  245. data/lib/ionoscloud/models/application_load_balancer_http_rule.rb +69 -81
  246. data/lib/ionoscloud/models/application_load_balancer_http_rule_condition.rb +43 -43
  247. data/lib/ionoscloud/models/application_load_balancer_properties.rb +40 -40
  248. data/lib/ionoscloud/models/application_load_balancer_put.rb +29 -29
  249. data/lib/ionoscloud/models/application_load_balancers.rb +40 -40
  250. data/lib/ionoscloud/models/attached_volumes.rb +40 -40
  251. data/lib/ionoscloud/models/backup_unit.rb +38 -38
  252. data/lib/ionoscloud/models/backup_unit_properties.rb +20 -20
  253. data/lib/ionoscloud/models/backup_units.rb +32 -32
  254. data/lib/ionoscloud/models/balanced_nics.rb +40 -40
  255. data/lib/ionoscloud/models/cdroms.rb +40 -40
  256. data/lib/ionoscloud/models/connectable_datacenter.rb +13 -13
  257. data/lib/ionoscloud/models/contract.rb +16 -16
  258. data/lib/ionoscloud/models/contract_properties.rb +19 -19
  259. data/lib/ionoscloud/models/contracts.rb +28 -28
  260. data/lib/ionoscloud/models/data_center_entities.rb +32 -32
  261. data/lib/ionoscloud/models/datacenter.rb +27 -27
  262. data/lib/ionoscloud/models/datacenter_element_metadata.rb +39 -39
  263. data/lib/ionoscloud/models/datacenter_properties.rb +37 -37
  264. data/lib/ionoscloud/models/datacenters.rb +40 -40
  265. data/lib/ionoscloud/models/firewall_rule.rb +33 -33
  266. data/lib/ionoscloud/models/firewall_rules.rb +40 -40
  267. data/lib/ionoscloud/models/firewallrule_properties.rb +144 -164
  268. data/lib/ionoscloud/models/flow_log.rb +33 -33
  269. data/lib/ionoscloud/models/flow_log_properties.rb +31 -31
  270. data/lib/ionoscloud/models/flow_log_put.rb +29 -29
  271. data/lib/ionoscloud/models/flow_logs.rb +40 -40
  272. data/lib/ionoscloud/models/group.rb +27 -27
  273. data/lib/ionoscloud/models/group_entities.rb +13 -13
  274. data/lib/ionoscloud/models/group_members.rb +28 -28
  275. data/lib/ionoscloud/models/group_properties.rb +144 -90
  276. data/lib/ionoscloud/models/group_share.rb +29 -29
  277. data/lib/ionoscloud/models/group_shares.rb +28 -28
  278. data/lib/ionoscloud/models/group_users.rb +28 -28
  279. data/lib/ionoscloud/models/groups.rb +28 -28
  280. data/lib/ionoscloud/models/image.rb +33 -33
  281. data/lib/ionoscloud/models/image_properties.rb +152 -152
  282. data/lib/ionoscloud/models/images.rb +28 -28
  283. data/lib/ionoscloud/models/info.rb +3 -3
  284. data/lib/ionoscloud/models/ip_block.rb +33 -33
  285. data/lib/ionoscloud/models/ip_block_properties.rb +26 -26
  286. data/lib/ionoscloud/models/ip_blocks.rb +40 -40
  287. data/lib/ionoscloud/models/ip_consumer.rb +51 -51
  288. data/lib/ionoscloud/models/kubernetes_auto_scaling.rb +21 -21
  289. data/lib/ionoscloud/models/kubernetes_cluster.rb +33 -33
  290. data/lib/ionoscloud/models/kubernetes_cluster_for_post.rb +33 -33
  291. data/lib/ionoscloud/models/kubernetes_cluster_for_put.rb +33 -33
  292. data/lib/ionoscloud/models/kubernetes_cluster_properties.rb +47 -47
  293. data/lib/ionoscloud/models/kubernetes_cluster_properties_for_post.rb +21 -21
  294. data/lib/ionoscloud/models/kubernetes_cluster_properties_for_put.rb +21 -21
  295. data/lib/ionoscloud/models/kubernetes_clusters.rb +32 -32
  296. data/lib/ionoscloud/models/kubernetes_maintenance_window.rb +2 -2
  297. data/lib/ionoscloud/models/kubernetes_node.rb +38 -38
  298. data/lib/ionoscloud/models/kubernetes_node_metadata.rb +31 -31
  299. data/lib/ionoscloud/models/kubernetes_node_pool.rb +38 -38
  300. data/lib/ionoscloud/models/kubernetes_node_pool_for_post.rb +38 -38
  301. data/lib/ionoscloud/models/kubernetes_node_pool_for_put.rb +38 -38
  302. data/lib/ionoscloud/models/kubernetes_node_pool_lan.rb +30 -12
  303. data/lib/ionoscloud/models/kubernetes_node_pool_lan_routes.rb +15 -15
  304. data/lib/ionoscloud/models/kubernetes_node_pool_properties.rb +149 -149
  305. data/lib/ionoscloud/models/kubernetes_node_pool_properties_for_post.rb +148 -148
  306. data/lib/ionoscloud/models/kubernetes_node_pool_properties_for_put.rb +53 -53
  307. data/lib/ionoscloud/models/kubernetes_node_pools.rb +32 -32
  308. data/lib/ionoscloud/models/kubernetes_node_properties.rb +29 -29
  309. data/lib/ionoscloud/models/kubernetes_nodes.rb +32 -32
  310. data/lib/ionoscloud/models/label.rb +38 -38
  311. data/lib/ionoscloud/models/label_properties.rb +15 -15
  312. data/lib/ionoscloud/models/label_resource.rb +38 -38
  313. data/lib/ionoscloud/models/label_resources.rb +47 -47
  314. data/lib/ionoscloud/models/labels.rb +32 -32
  315. data/lib/ionoscloud/models/lan.rb +27 -27
  316. data/lib/ionoscloud/models/lan_nics.rb +40 -40
  317. data/lib/ionoscloud/models/lan_post.rb +35 -35
  318. data/lib/ionoscloud/models/lan_properties.rb +14 -14
  319. data/lib/ionoscloud/models/lan_properties_post.rb +14 -14
  320. data/lib/ionoscloud/models/lans.rb +40 -40
  321. data/lib/ionoscloud/models/loadbalancer.rb +27 -27
  322. data/lib/ionoscloud/models/loadbalancer_properties.rb +15 -32
  323. data/lib/ionoscloud/models/loadbalancers.rb +40 -40
  324. data/lib/ionoscloud/models/location.rb +33 -33
  325. data/lib/ionoscloud/models/location_properties.rb +17 -17
  326. data/lib/ionoscloud/models/locations.rb +28 -28
  327. data/lib/ionoscloud/models/nat_gateway.rb +27 -27
  328. data/lib/ionoscloud/models/nat_gateway_entities.rb +13 -13
  329. data/lib/ionoscloud/models/nat_gateway_lan_properties.rb +17 -17
  330. data/lib/ionoscloud/models/nat_gateway_properties.rb +20 -20
  331. data/lib/ionoscloud/models/nat_gateway_put.rb +29 -29
  332. data/lib/ionoscloud/models/nat_gateway_rule.rb +33 -33
  333. data/lib/ionoscloud/models/nat_gateway_rule_properties.rb +32 -32
  334. data/lib/ionoscloud/models/nat_gateway_rule_put.rb +29 -29
  335. data/lib/ionoscloud/models/nat_gateway_rules.rb +28 -28
  336. data/lib/ionoscloud/models/nat_gateways.rb +40 -40
  337. data/lib/ionoscloud/models/network_load_balancer.rb +27 -27
  338. data/lib/ionoscloud/models/network_load_balancer_forwarding_rule.rb +33 -33
  339. data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_health_check.rb +15 -15
  340. data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_properties.rb +47 -47
  341. data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_put.rb +29 -29
  342. data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_target.rb +19 -19
  343. data/lib/ionoscloud/models/network_load_balancer_forwarding_rules.rb +40 -40
  344. data/lib/ionoscloud/models/network_load_balancer_properties.rb +38 -38
  345. data/lib/ionoscloud/models/network_load_balancer_put.rb +29 -29
  346. data/lib/ionoscloud/models/network_load_balancers.rb +40 -40
  347. data/lib/ionoscloud/models/nic.rb +27 -27
  348. data/lib/ionoscloud/models/nic_entities.rb +13 -13
  349. data/lib/ionoscloud/models/nic_properties.rb +66 -64
  350. data/lib/ionoscloud/models/nic_put.rb +29 -29
  351. data/lib/ionoscloud/models/nics.rb +40 -40
  352. data/lib/ionoscloud/models/no_state_meta_data.rb +39 -39
  353. data/lib/ionoscloud/models/pagination_links.rb +18 -18
  354. data/lib/ionoscloud/models/peer.rb +29 -29
  355. data/lib/ionoscloud/models/private_cross_connect.rb +33 -33
  356. data/lib/ionoscloud/models/private_cross_connect_properties.rb +22 -22
  357. data/lib/ionoscloud/models/private_cross_connects.rb +28 -28
  358. data/lib/ionoscloud/models/request.rb +33 -33
  359. data/lib/ionoscloud/models/request_metadata.rb +14 -14
  360. data/lib/ionoscloud/models/request_properties.rb +13 -13
  361. data/lib/ionoscloud/models/request_status.rb +27 -27
  362. data/lib/ionoscloud/models/request_status_metadata.rb +18 -18
  363. data/lib/ionoscloud/models/request_target.rb +15 -15
  364. data/lib/ionoscloud/models/requests.rb +49 -49
  365. data/lib/ionoscloud/models/resource.rb +27 -27
  366. data/lib/ionoscloud/models/resource_groups.rb +28 -28
  367. data/lib/ionoscloud/models/resource_limits.rb +205 -205
  368. data/lib/ionoscloud/models/resource_reference.rb +20 -20
  369. data/lib/ionoscloud/models/resources.rb +28 -28
  370. data/lib/ionoscloud/models/resources_users.rb +28 -28
  371. data/lib/ionoscloud/models/s3_bucket.rb +1 -1
  372. data/lib/ionoscloud/models/s3_key.rb +33 -33
  373. data/lib/ionoscloud/models/s3_key_metadata.rb +15 -15
  374. data/lib/ionoscloud/models/s3_key_properties.rb +15 -15
  375. data/lib/ionoscloud/models/s3_keys.rb +28 -28
  376. data/lib/ionoscloud/models/server.rb +27 -27
  377. data/lib/ionoscloud/models/server_entities.rb +13 -13
  378. data/lib/ionoscloud/models/server_properties.rb +77 -87
  379. data/lib/ionoscloud/models/servers.rb +40 -40
  380. data/lib/ionoscloud/models/snapshot.rb +33 -33
  381. data/lib/ionoscloud/models/snapshot_properties.rb +109 -109
  382. data/lib/ionoscloud/models/snapshots.rb +28 -28
  383. data/lib/ionoscloud/models/target_group.rb +33 -33
  384. data/lib/ionoscloud/models/target_group_health_check.rb +15 -15
  385. data/lib/ionoscloud/models/target_group_http_health_check.rb +49 -49
  386. data/lib/ionoscloud/models/target_group_properties.rb +52 -52
  387. data/lib/ionoscloud/models/target_group_put.rb +29 -29
  388. data/lib/ionoscloud/models/target_group_target.rb +38 -38
  389. data/lib/ionoscloud/models/target_groups.rb +40 -40
  390. data/lib/ionoscloud/models/target_port_range.rb +15 -15
  391. data/lib/ionoscloud/models/template.rb +33 -33
  392. data/lib/ionoscloud/models/template_properties.rb +20 -20
  393. data/lib/ionoscloud/models/templates.rb +28 -28
  394. data/lib/ionoscloud/models/user.rb +27 -27
  395. data/lib/ionoscloud/models/user_metadata.rb +14 -14
  396. data/lib/ionoscloud/models/user_properties.rb +36 -36
  397. data/lib/ionoscloud/models/user_properties_post.rb +36 -36
  398. data/lib/ionoscloud/models/user_properties_put.rb +48 -48
  399. data/lib/ionoscloud/models/users.rb +40 -40
  400. data/lib/ionoscloud/models/users_entities.rb +13 -13
  401. data/lib/ionoscloud/models/volume.rb +33 -33
  402. data/lib/ionoscloud/models/volume_properties.rb +185 -184
  403. data/lib/ionoscloud/models/volumes.rb +40 -40
  404. data/lib/ionoscloud/version.rb +1 -1
  405. metadata +2 -2
@@ -16,38 +16,38 @@ require 'time'
16
16
  module Ionoscloud
17
17
  class TargetGroupTarget
18
18
 
19
- # The IP of the balanced target VM.
20
- attr_accessor :ip
19
+ # When the health check is enabled, the target is available only when it accepts regular TCP or HTTP connection attempts for state checking. The state check consists of one connection attempt with the target's address and port. The default value is 'TRUE'.
20
+ attr_accessor :health_check_enabled
21
21
 
22
22
 
23
- # The port of the balanced target service; valid range is 1 to 65535.
24
- attr_accessor :port
23
+ # The IP address of the balanced target.
24
+ attr_accessor :ip
25
25
 
26
26
 
27
- # Traffic is distributed in proportion to target weight, relative to the combined weight of all targets. A target with higher weight receives a greater share of traffic. Valid range is 0 to 256 and default is 1; targets with weight of 0 do not participate in load balancing but still accept persistent connections. It is best use values in the middle of the range to leave room for later adjustments.
28
- attr_accessor :weight
27
+ # When the maintenance mode is enabled, the target is prevented from receiving traffic; the default value is 'FALSE'.
28
+ attr_accessor :maintenance_enabled
29
29
 
30
30
 
31
- # When the health check is enabled, the target is available only when it accepts regular TCP or HTTP connection attempts for state checking. The state check consists of one connection attempt with the target's address and port. The default value is 'TRUE'.
32
- attr_accessor :health_check_enabled
31
+ # The port of the balanced target service; the valid range is 1 to 65535.
32
+ attr_accessor :port
33
33
 
34
34
 
35
- # When the maintenance mode is enabled, the target is prevented from receiving traffic; the default value is 'FALSE'.
36
- attr_accessor :maintenance_enabled
35
+ # The traffic is distributed proportionally to target weight, which is the ratio of the total weight of all targets. A target with higher weight receives a larger share of traffic. The valid range is from 0 to 256; the default value is '1'. Targets with a weight of '0' do not participate in load balancing but still accept persistent connections. We recommend using values in the middle range to leave room for later adjustments.
36
+ attr_accessor :weight
37
37
 
38
38
  # Attribute mapping from ruby-style variable name to JSON key.
39
39
  def self.attribute_map
40
40
  {
41
41
 
42
- :'ip' => :'ip',
42
+ :'health_check_enabled' => :'healthCheckEnabled',
43
43
 
44
- :'port' => :'port',
44
+ :'ip' => :'ip',
45
45
 
46
- :'weight' => :'weight',
46
+ :'maintenance_enabled' => :'maintenanceEnabled',
47
47
 
48
- :'health_check_enabled' => :'healthCheckEnabled',
48
+ :'port' => :'port',
49
49
 
50
- :'maintenance_enabled' => :'maintenanceEnabled'
50
+ :'weight' => :'weight'
51
51
  }
52
52
  end
53
53
 
@@ -60,15 +60,15 @@ module Ionoscloud
60
60
  def self.openapi_types
61
61
  {
62
62
 
63
- :'ip' => :'String',
63
+ :'health_check_enabled' => :'Boolean',
64
64
 
65
- :'port' => :'Integer',
65
+ :'ip' => :'String',
66
66
 
67
- :'weight' => :'Integer',
67
+ :'maintenance_enabled' => :'Boolean',
68
68
 
69
- :'health_check_enabled' => :'Boolean',
69
+ :'port' => :'Integer',
70
70
 
71
- :'maintenance_enabled' => :'Boolean'
71
+ :'weight' => :'Integer'
72
72
  }
73
73
  end
74
74
 
@@ -99,28 +99,28 @@ module Ionoscloud
99
99
  }
100
100
 
101
101
 
102
- if attributes.key?(:'ip')
103
- self.ip = attributes[:'ip']
102
+ if attributes.key?(:'health_check_enabled')
103
+ self.health_check_enabled = attributes[:'health_check_enabled']
104
104
  end
105
105
 
106
106
 
107
- if attributes.key?(:'port')
108
- self.port = attributes[:'port']
107
+ if attributes.key?(:'ip')
108
+ self.ip = attributes[:'ip']
109
109
  end
110
110
 
111
111
 
112
- if attributes.key?(:'weight')
113
- self.weight = attributes[:'weight']
112
+ if attributes.key?(:'maintenance_enabled')
113
+ self.maintenance_enabled = attributes[:'maintenance_enabled']
114
114
  end
115
115
 
116
116
 
117
- if attributes.key?(:'health_check_enabled')
118
- self.health_check_enabled = attributes[:'health_check_enabled']
117
+ if attributes.key?(:'port')
118
+ self.port = attributes[:'port']
119
119
  end
120
120
 
121
121
 
122
- if attributes.key?(:'maintenance_enabled')
123
- self.maintenance_enabled = attributes[:'maintenance_enabled']
122
+ if attributes.key?(:'weight')
123
+ self.weight = attributes[:'weight']
124
124
  end
125
125
  end
126
126
 
@@ -129,11 +129,13 @@ module Ionoscloud
129
129
  def list_invalid_properties
130
130
  invalid_properties = Array.new
131
131
 
132
+
132
133
  if @ip.nil?
133
134
  invalid_properties.push('invalid value for "ip", ip cannot be nil.')
134
135
  end
135
136
 
136
137
 
138
+
137
139
  if @port.nil?
138
140
  invalid_properties.push('invalid value for "port", port cannot be nil.')
139
141
  end
@@ -143,8 +145,6 @@ module Ionoscloud
143
145
  invalid_properties.push('invalid value for "weight", weight cannot be nil.')
144
146
  end
145
147
 
146
-
147
-
148
148
  invalid_properties
149
149
  end
150
150
 
@@ -152,13 +152,13 @@ module Ionoscloud
152
152
  # @return true if the model is valid
153
153
  def valid?
154
154
 
155
+
155
156
  return false if @ip.nil?
156
157
 
158
+
157
159
  return false if @port.nil?
158
160
 
159
161
  return false if @weight.nil?
160
-
161
-
162
162
  true
163
163
  end
164
164
 
@@ -172,11 +172,11 @@ module Ionoscloud
172
172
  def ==(o)
173
173
  return true if self.equal?(o)
174
174
  self.class == o.class &&
175
+ health_check_enabled == o.health_check_enabled &&
175
176
  ip == o.ip &&
177
+ maintenance_enabled == o.maintenance_enabled &&
176
178
  port == o.port &&
177
- weight == o.weight &&
178
- health_check_enabled == o.health_check_enabled &&
179
- maintenance_enabled == o.maintenance_enabled
179
+ weight == o.weight
180
180
  end
181
181
 
182
182
  # @see the `==` method
@@ -188,7 +188,7 @@ module Ionoscloud
188
188
  # Calculates hash code according to all attributes.
189
189
  # @return [Integer] Hash code
190
190
  def hash
191
- [ip, port, weight, health_check_enabled, maintenance_enabled].hash
191
+ [health_check_enabled, ip, maintenance_enabled, port, weight].hash
192
192
  end
193
193
 
194
194
  # Builds the object from hash
@@ -16,49 +16,49 @@ require 'time'
16
16
  module Ionoscloud
17
17
  class TargetGroups
18
18
 
19
- # The resource's unique identifier.
20
- attr_accessor :id
19
+ attr_accessor :_links
21
20
 
22
21
 
23
- # The type of object that has been created.
24
- attr_accessor :type
22
+ # The URL to the object representation (absolute path).
23
+ attr_accessor :href
25
24
 
26
25
 
27
- # URL to the object representation (absolute path).
28
- attr_accessor :href
26
+ # The resource's unique identifier.
27
+ attr_accessor :id
29
28
 
30
29
 
31
30
  # Array of items in the collection.
32
31
  attr_accessor :items
33
32
 
34
33
 
35
- # The offset, specified in the request (if not is specified, 0 is used by default).
36
- attr_accessor :offset
37
-
38
-
39
34
  # The limit, specified in the request (if not specified, the endpoint's default pagination limit is used).
40
35
  attr_accessor :limit
41
36
 
42
37
 
43
- attr_accessor :_links
38
+ # The offset, specified in the request (if not is specified, 0 is used by default).
39
+ attr_accessor :offset
40
+
41
+
42
+ # The type of object that has been created.
43
+ attr_accessor :type
44
44
 
45
45
  # Attribute mapping from ruby-style variable name to JSON key.
46
46
  def self.attribute_map
47
47
  {
48
48
 
49
- :'id' => :'id',
50
-
51
- :'type' => :'type',
49
+ :'_links' => :'_links',
52
50
 
53
51
  :'href' => :'href',
54
52
 
55
- :'items' => :'items',
53
+ :'id' => :'id',
56
54
 
57
- :'offset' => :'offset',
55
+ :'items' => :'items',
58
56
 
59
57
  :'limit' => :'limit',
60
58
 
61
- :'_links' => :'_links'
59
+ :'offset' => :'offset',
60
+
61
+ :'type' => :'type'
62
62
  }
63
63
  end
64
64
 
@@ -71,19 +71,19 @@ module Ionoscloud
71
71
  def self.openapi_types
72
72
  {
73
73
 
74
- :'id' => :'String',
75
-
76
- :'type' => :'Type',
74
+ :'_links' => :'PaginationLinks',
77
75
 
78
76
  :'href' => :'String',
79
77
 
80
- :'items' => :'Array<TargetGroup>',
78
+ :'id' => :'String',
81
79
 
82
- :'offset' => :'Float',
80
+ :'items' => :'Array<TargetGroup>',
83
81
 
84
82
  :'limit' => :'Float',
85
83
 
86
- :'_links' => :'PaginationLinks'
84
+ :'offset' => :'Float',
85
+
86
+ :'type' => :'Type'
87
87
  }
88
88
  end
89
89
 
@@ -116,18 +116,18 @@ module Ionoscloud
116
116
  }
117
117
 
118
118
 
119
- if attributes.key?(:'id')
120
- self.id = attributes[:'id']
119
+ if attributes.key?(:'_links')
120
+ self._links = attributes[:'_links']
121
121
  end
122
122
 
123
123
 
124
- if attributes.key?(:'type')
125
- self.type = attributes[:'type']
124
+ if attributes.key?(:'href')
125
+ self.href = attributes[:'href']
126
126
  end
127
127
 
128
128
 
129
- if attributes.key?(:'href')
130
- self.href = attributes[:'href']
129
+ if attributes.key?(:'id')
130
+ self.id = attributes[:'id']
131
131
  end
132
132
 
133
133
 
@@ -136,18 +136,18 @@ module Ionoscloud
136
136
  end
137
137
 
138
138
 
139
- if attributes.key?(:'offset')
140
- self.offset = attributes[:'offset']
139
+ if attributes.key?(:'limit')
140
+ self.limit = attributes[:'limit']
141
141
  end
142
142
 
143
143
 
144
- if attributes.key?(:'limit')
145
- self.limit = attributes[:'limit']
144
+ if attributes.key?(:'offset')
145
+ self.offset = attributes[:'offset']
146
146
  end
147
147
 
148
148
 
149
- if attributes.key?(:'_links')
150
- self._links = attributes[:'_links']
149
+ if attributes.key?(:'type')
150
+ self.type = attributes[:'type']
151
151
  end
152
152
  end
153
153
 
@@ -190,13 +190,13 @@ module Ionoscloud
190
190
  def ==(o)
191
191
  return true if self.equal?(o)
192
192
  self.class == o.class &&
193
- id == o.id &&
194
- type == o.type &&
193
+ _links == o._links &&
195
194
  href == o.href &&
195
+ id == o.id &&
196
196
  items == o.items &&
197
- offset == o.offset &&
198
197
  limit == o.limit &&
199
- _links == o._links
198
+ offset == o.offset &&
199
+ type == o.type
200
200
  end
201
201
 
202
202
  # @see the `==` method
@@ -208,7 +208,7 @@ module Ionoscloud
208
208
  # Calculates hash code according to all attributes.
209
209
  # @return [Integer] Hash code
210
210
  def hash
211
- [id, type, href, items, offset, limit, _links].hash
211
+ [_links, href, id, items, limit, offset, type].hash
212
212
  end
213
213
 
214
214
  # Builds the object from hash
@@ -16,20 +16,20 @@ require 'time'
16
16
  module Ionoscloud
17
17
  class TargetPortRange
18
18
 
19
- # Target port range start associated with the NAT Gateway rule.
20
- attr_accessor :start
21
-
22
-
23
19
  # Target port range end associated with the NAT Gateway rule.
24
20
  attr_accessor :_end
25
21
 
22
+
23
+ # Target port range start associated with the NAT Gateway rule.
24
+ attr_accessor :start
25
+
26
26
  # Attribute mapping from ruby-style variable name to JSON key.
27
27
  def self.attribute_map
28
28
  {
29
29
 
30
- :'start' => :'start',
30
+ :'_end' => :'end',
31
31
 
32
- :'_end' => :'end'
32
+ :'start' => :'start'
33
33
  }
34
34
  end
35
35
 
@@ -42,9 +42,9 @@ module Ionoscloud
42
42
  def self.openapi_types
43
43
  {
44
44
 
45
- :'start' => :'Integer',
45
+ :'_end' => :'Integer',
46
46
 
47
- :'_end' => :'Integer'
47
+ :'start' => :'Integer'
48
48
  }
49
49
  end
50
50
 
@@ -72,13 +72,13 @@ module Ionoscloud
72
72
  }
73
73
 
74
74
 
75
- if attributes.key?(:'start')
76
- self.start = attributes[:'start']
75
+ if attributes.key?(:'_end')
76
+ self._end = attributes[:'_end']
77
77
  end
78
78
 
79
79
 
80
- if attributes.key?(:'_end')
81
- self._end = attributes[:'_end']
80
+ if attributes.key?(:'start')
81
+ self.start = attributes[:'start']
82
82
  end
83
83
  end
84
84
 
@@ -106,8 +106,8 @@ module Ionoscloud
106
106
  def ==(o)
107
107
  return true if self.equal?(o)
108
108
  self.class == o.class &&
109
- start == o.start &&
110
- _end == o._end
109
+ _end == o._end &&
110
+ start == o.start
111
111
  end
112
112
 
113
113
  # @see the `==` method
@@ -119,7 +119,7 @@ module Ionoscloud
119
119
  # Calculates hash code according to all attributes.
120
120
  # @return [Integer] Hash code
121
121
  def hash
122
- [start, _end].hash
122
+ [_end, start].hash
123
123
  end
124
124
 
125
125
  # Builds the object from hash
@@ -16,16 +16,12 @@ require 'time'
16
16
  module Ionoscloud
17
17
  class Template
18
18
 
19
- # The resource's unique identifier.
20
- attr_accessor :id
21
-
22
-
23
- # The type of object that has been created.
24
- attr_accessor :type
19
+ # The URL to the object representation (absolute path).
20
+ attr_accessor :href
25
21
 
26
22
 
27
- # URL to the object representation (absolute path).
28
- attr_accessor :href
23
+ # The resource's unique identifier.
24
+ attr_accessor :id
29
25
 
30
26
 
31
27
  attr_accessor :metadata
@@ -33,19 +29,23 @@ module Ionoscloud
33
29
 
34
30
  attr_accessor :properties
35
31
 
32
+
33
+ # The type of object that has been created.
34
+ attr_accessor :type
35
+
36
36
  # Attribute mapping from ruby-style variable name to JSON key.
37
37
  def self.attribute_map
38
38
  {
39
39
 
40
- :'id' => :'id',
41
-
42
- :'type' => :'type',
43
-
44
40
  :'href' => :'href',
45
41
 
42
+ :'id' => :'id',
43
+
46
44
  :'metadata' => :'metadata',
47
45
 
48
- :'properties' => :'properties'
46
+ :'properties' => :'properties',
47
+
48
+ :'type' => :'type'
49
49
  }
50
50
  end
51
51
 
@@ -58,15 +58,15 @@ module Ionoscloud
58
58
  def self.openapi_types
59
59
  {
60
60
 
61
- :'id' => :'String',
62
-
63
- :'type' => :'Type',
64
-
65
61
  :'href' => :'String',
66
62
 
63
+ :'id' => :'String',
64
+
67
65
  :'metadata' => :'DatacenterElementMetadata',
68
66
 
69
- :'properties' => :'TemplateProperties'
67
+ :'properties' => :'TemplateProperties',
68
+
69
+ :'type' => :'Type'
70
70
  }
71
71
  end
72
72
 
@@ -97,18 +97,13 @@ module Ionoscloud
97
97
  }
98
98
 
99
99
 
100
- if attributes.key?(:'id')
101
- self.id = attributes[:'id']
102
- end
103
-
104
-
105
- if attributes.key?(:'type')
106
- self.type = attributes[:'type']
100
+ if attributes.key?(:'href')
101
+ self.href = attributes[:'href']
107
102
  end
108
103
 
109
104
 
110
- if attributes.key?(:'href')
111
- self.href = attributes[:'href']
105
+ if attributes.key?(:'id')
106
+ self.id = attributes[:'id']
112
107
  end
113
108
 
114
109
 
@@ -120,6 +115,11 @@ module Ionoscloud
120
115
  if attributes.key?(:'properties')
121
116
  self.properties = attributes[:'properties']
122
117
  end
118
+
119
+
120
+ if attributes.key?(:'type')
121
+ self.type = attributes[:'type']
122
+ end
123
123
  end
124
124
 
125
125
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -130,11 +130,11 @@ module Ionoscloud
130
130
 
131
131
 
132
132
 
133
-
134
133
  if @properties.nil?
135
134
  invalid_properties.push('invalid value for "properties", properties cannot be nil.')
136
135
  end
137
136
 
137
+
138
138
  invalid_properties
139
139
  end
140
140
 
@@ -145,8 +145,8 @@ module Ionoscloud
145
145
 
146
146
 
147
147
 
148
-
149
148
  return false if @properties.nil?
149
+
150
150
  true
151
151
  end
152
152
 
@@ -160,11 +160,11 @@ module Ionoscloud
160
160
  def ==(o)
161
161
  return true if self.equal?(o)
162
162
  self.class == o.class &&
163
- id == o.id &&
164
- type == o.type &&
165
163
  href == o.href &&
164
+ id == o.id &&
166
165
  metadata == o.metadata &&
167
- properties == o.properties
166
+ properties == o.properties &&
167
+ type == o.type
168
168
  end
169
169
 
170
170
  # @see the `==` method
@@ -176,7 +176,7 @@ module Ionoscloud
176
176
  # Calculates hash code according to all attributes.
177
177
  # @return [Integer] Hash code
178
178
  def hash
179
- [id, type, href, metadata, properties].hash
179
+ [href, id, metadata, properties, type].hash
180
180
  end
181
181
 
182
182
  # Builds the object from hash
@@ -16,14 +16,14 @@ require 'time'
16
16
  module Ionoscloud
17
17
  class TemplateProperties
18
18
 
19
- # The name of the resource.
20
- attr_accessor :name
21
-
22
-
23
19
  # The CPU cores count.
24
20
  attr_accessor :cores
25
21
 
26
22
 
23
+ # The resource name.
24
+ attr_accessor :name
25
+
26
+
27
27
  # The RAM size in MB.
28
28
  attr_accessor :ram
29
29
 
@@ -35,10 +35,10 @@ module Ionoscloud
35
35
  def self.attribute_map
36
36
  {
37
37
 
38
- :'name' => :'name',
39
-
40
38
  :'cores' => :'cores',
41
39
 
40
+ :'name' => :'name',
41
+
42
42
  :'ram' => :'ram',
43
43
 
44
44
  :'storage_size' => :'storageSize'
@@ -54,10 +54,10 @@ module Ionoscloud
54
54
  def self.openapi_types
55
55
  {
56
56
 
57
- :'name' => :'String',
58
-
59
57
  :'cores' => :'Float',
60
58
 
59
+ :'name' => :'String',
60
+
61
61
  :'ram' => :'Float',
62
62
 
63
63
  :'storage_size' => :'Float'
@@ -90,13 +90,13 @@ module Ionoscloud
90
90
  }
91
91
 
92
92
 
93
- if attributes.key?(:'name')
94
- self.name = attributes[:'name']
93
+ if attributes.key?(:'cores')
94
+ self.cores = attributes[:'cores']
95
95
  end
96
96
 
97
97
 
98
- if attributes.key?(:'cores')
99
- self.cores = attributes[:'cores']
98
+ if attributes.key?(:'name')
99
+ self.name = attributes[:'name']
100
100
  end
101
101
 
102
102
 
@@ -115,13 +115,13 @@ module Ionoscloud
115
115
  def list_invalid_properties
116
116
  invalid_properties = Array.new
117
117
 
118
- if @name.nil?
119
- invalid_properties.push('invalid value for "name", name cannot be nil.')
118
+ if @cores.nil?
119
+ invalid_properties.push('invalid value for "cores", cores cannot be nil.')
120
120
  end
121
121
 
122
122
 
123
- if @cores.nil?
124
- invalid_properties.push('invalid value for "cores", cores cannot be nil.')
123
+ if @name.nil?
124
+ invalid_properties.push('invalid value for "name", name cannot be nil.')
125
125
  end
126
126
 
127
127
 
@@ -141,10 +141,10 @@ module Ionoscloud
141
141
  # @return true if the model is valid
142
142
  def valid?
143
143
 
144
- return false if @name.nil?
145
-
146
144
  return false if @cores.nil?
147
145
 
146
+ return false if @name.nil?
147
+
148
148
  return false if @ram.nil?
149
149
 
150
150
  return false if @storage_size.nil?
@@ -160,8 +160,8 @@ module Ionoscloud
160
160
  def ==(o)
161
161
  return true if self.equal?(o)
162
162
  self.class == o.class &&
163
- name == o.name &&
164
163
  cores == o.cores &&
164
+ name == o.name &&
165
165
  ram == o.ram &&
166
166
  storage_size == o.storage_size
167
167
  end
@@ -175,7 +175,7 @@ module Ionoscloud
175
175
  # Calculates hash code according to all attributes.
176
176
  # @return [Integer] Hash code
177
177
  def hash
178
- [name, cores, ram, storage_size].hash
178
+ [cores, name, ram, storage_size].hash
179
179
  end
180
180
 
181
181
  # Builds the object from hash