katapult-ruby 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (239) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +73 -143
  3. data/lib/katapult-ruby/api/core_api.rb +705 -653
  4. data/lib/katapult-ruby/configuration.rb +3 -3
  5. data/lib/katapult-ruby/models/{delete_virtual_machine_part_data_center.rb → address_list.rb} +20 -16
  6. data/lib/katapult-ruby/models/{model_alias.rb → address_list_arguments.rb} +5 -3
  7. data/lib/katapult-ruby/models/{get_disk_part_operating_system.rb → address_list_entry.rb} +15 -4
  8. data/lib/katapult-ruby/models/{ns.rb → address_list_entry_arguments.rb} +16 -4
  9. data/lib/katapult-ruby/models/{aaaa.rb → address_list_entry_lookup.rb} +11 -10
  10. data/lib/katapult-ruby/models/{dns_zone_already_verified_enum.rb → address_list_entry_not_found_enum.rb} +5 -5
  11. data/lib/katapult-ruby/models/{a.rb → address_list_lookup.rb} +11 -10
  12. data/lib/katapult-ruby/models/{property_type_enum.rb → address_list_not_found_enum.rb} +5 -7
  13. data/lib/katapult-ruby/models/certificate.rb +8 -0
  14. data/lib/katapult-ruby/models/country.rb +1 -0
  15. data/lib/katapult-ruby/models/data_center.rb +1 -0
  16. data/lib/katapult-ruby/models/{dns_zone_not_verified.rb → decimal_or_unlimited.rb} +20 -10
  17. data/lib/katapult-ruby/models/{patch_load_balancer_part_weights.rb → delete_address_list200_response.rb} +17 -19
  18. data/lib/katapult-ruby/models/{get_dns_records_dns_record200_response.rb → delete_address_list_entry200_response.rb} +14 -14
  19. data/lib/katapult-ruby/models/{delete_dns_zones_dns_zone200_response.rb → delete_address_list_entry_request.rb} +14 -14
  20. data/lib/katapult-ruby/models/{get_disk_template_part_badge.rb → delete_address_list_request.rb} +17 -10
  21. data/lib/katapult-ruby/models/delete_disk_backup_policy_schedule200_response_disk_backup_policy.rb +1 -0
  22. data/lib/katapult-ruby/models/{delete_dns_records_dns_record_request.rb → delete_dns_record_request.rb} +3 -3
  23. data/lib/katapult-ruby/models/{delete_dns_zones_dns_zone_request.rb → delete_dns_zone_request.rb} +3 -3
  24. data/lib/katapult-ruby/models/delete_file_storage_volume200_response_file_storage_volume.rb +2 -0
  25. data/lib/katapult-ruby/models/delete_file_storage_volume_part_data_center.rb +1 -0
  26. data/lib/katapult-ruby/models/delete_load_balancer200_response_load_balancer.rb +1 -0
  27. data/lib/katapult-ruby/models/delete_virtual_machine200_response_virtual_machine.rb +27 -9
  28. data/lib/katapult-ruby/models/disk.rb +3 -0
  29. data/lib/katapult-ruby/models/disk_installation_attribute.rb +2 -0
  30. data/lib/katapult-ruby/models/disk_io_profile.rb +2 -0
  31. data/lib/katapult-ruby/models/disk_template.rb +3 -0
  32. data/lib/katapult-ruby/models/dns_record.rb +3 -0
  33. data/lib/katapult-ruby/models/dns_record_arguments.rb +24 -14
  34. data/lib/katapult-ruby/models/{get_virtual_machine_part_gpus.rb → dns_record_content_arguments.rb} +115 -55
  35. data/lib/katapult-ruby/models/{get_dns_zones_dns_zone200_response.rb → dns_record_content_arguments_for_a.rb} +11 -17
  36. data/lib/katapult-ruby/models/dns_record_content_arguments_for_aaaa.rb +215 -0
  37. data/lib/katapult-ruby/models/dns_record_content_arguments_for_alias.rb +215 -0
  38. data/lib/katapult-ruby/models/{delete_virtual_machine_part_operating_system.rb → dns_record_content_arguments_for_caa.rb} +23 -22
  39. data/lib/katapult-ruby/models/dns_record_content_arguments_for_cname.rb +215 -0
  40. data/lib/katapult-ruby/models/dns_record_content_arguments_for_ips.rb +215 -0
  41. data/lib/katapult-ruby/models/{cname.rb → dns_record_content_arguments_for_mx.rb} +11 -10
  42. data/lib/katapult-ruby/models/dns_record_content_arguments_for_ns.rb +215 -0
  43. data/lib/katapult-ruby/models/dns_record_content_arguments_for_ptr.rb +215 -0
  44. data/lib/katapult-ruby/models/{srv.rb → dns_record_content_arguments_for_srv.rb} +5 -13
  45. data/lib/katapult-ruby/models/{sshfp.rb → dns_record_content_arguments_for_sshfp.rb} +4 -3
  46. data/lib/katapult-ruby/models/{dns_record_properties.rb → dns_record_content_arguments_for_txt.rb} +11 -10
  47. data/lib/katapult-ruby/models/dns_record_content_arguments_for_virtual_machine.rb +215 -0
  48. data/lib/katapult-ruby/models/dns_record_content_attributes.rb +14 -0
  49. data/lib/katapult-ruby/models/dns_zone.rb +10 -19
  50. data/lib/katapult-ruby/models/dns_zone_arguments.rb +9 -15
  51. data/lib/katapult-ruby/models/{get_dns_zones_dns_zone_verification_details422_response.rb → get_address_list404_response.rb} +4 -4
  52. data/lib/katapult-ruby/models/{delete_virtual_machine_part_currency.rb → get_address_list_entries200_response.rb} +33 -34
  53. data/lib/katapult-ruby/models/get_address_list_entry404_response.rb +254 -0
  54. data/lib/katapult-ruby/models/{dns_zone_verification_details.rb → get_address_lists200_response.rb} +35 -11
  55. data/lib/katapult-ruby/models/{patch_virtual_machine_part_operating_system.rb → get_address_lists200_response_address_lists.rb} +12 -10
  56. data/lib/katapult-ruby/models/get_data_center200_response_data_center.rb +1 -0
  57. data/lib/katapult-ruby/models/get_data_center_default_network200_response_network.rb +1 -0
  58. data/lib/katapult-ruby/models/get_data_center_default_network_part_data_center.rb +1 -0
  59. data/lib/katapult-ruby/models/get_data_centers200_response_data_centers.rb +1 -0
  60. data/lib/katapult-ruby/models/get_disk200_response_disk.rb +5 -2
  61. data/lib/katapult-ruby/models/get_disk_backup_policy200_response_disk_backup_policy.rb +2 -1
  62. data/lib/katapult-ruby/models/get_disk_template200_response_disk_template.rb +4 -1
  63. data/lib/katapult-ruby/models/{get_dns_records_dns_record404_response.rb → get_dns_record404_response.rb} +3 -3
  64. data/lib/katapult-ruby/models/{get_dns_zones_dns_zone404_response.rb → get_dns_zone404_response.rb} +3 -3
  65. data/lib/katapult-ruby/models/get_file_storage_volume200_response_file_storage_volume.rb +2 -0
  66. data/lib/katapult-ruby/models/get_file_storage_volume_part_data_center.rb +1 -0
  67. data/lib/katapult-ruby/models/get_gpu_type_part_data_centers.rb +1 -0
  68. data/lib/katapult-ruby/models/get_gpu_types_part_data_centers.rb +1 -0
  69. data/lib/katapult-ruby/models/get_load_balancer200_response_load_balancer.rb +4 -5
  70. data/lib/katapult-ruby/models/get_load_balancer_part_data_center.rb +1 -0
  71. data/lib/katapult-ruby/models/get_load_balancers_rules_load_balancer_rule200_response_load_balancer_rule.rb +2 -0
  72. data/lib/katapult-ruby/models/{get_organization_users_with_access_part_user.rb → get_organization_address_lists200_response.rb} +33 -34
  73. data/lib/katapult-ruby/models/{get_virtual_machine_part_attached_iso.rb → get_organization_address_lists200_response_address_lists.rb} +12 -10
  74. data/lib/katapult-ruby/models/get_organization_available_networks200_response_networks.rb +1 -0
  75. data/lib/katapult-ruby/models/get_organization_available_networks_part_data_center.rb +1 -0
  76. data/lib/katapult-ruby/models/get_organization_certificates200_response_certificates.rb +2 -0
  77. data/lib/katapult-ruby/models/get_organization_disk_templates200_response_disk_templates.rb +3 -0
  78. data/lib/katapult-ruby/models/get_organization_disks200_response_disk.rb +1 -0
  79. data/lib/katapult-ruby/models/get_organization_file_storage_volumes200_response_file_storage_volumes.rb +2 -0
  80. data/lib/katapult-ruby/models/get_organization_file_storage_volumes_part_data_center.rb +1 -0
  81. data/lib/katapult-ruby/models/get_organization_ip_addresses200_response_ip_addresses.rb +2 -0
  82. data/lib/katapult-ruby/models/get_organization_load_balancers200_response_load_balancers.rb +3 -4
  83. data/lib/katapult-ruby/models/{delete_dns_records_dns_record200_response.rb → get_organization_policy_limits200_response.rb} +14 -14
  84. data/lib/katapult-ruby/models/get_organization_users_with_access200_response_users.rb +2 -1
  85. data/lib/katapult-ruby/models/get_organization_virtual_machines200_response_virtual_machines.rb +3 -1
  86. data/lib/katapult-ruby/models/get_security_group_rules200_response_security_group_rules.rb +2 -0
  87. data/lib/katapult-ruby/models/get_security_groups_rules_security_group_rule200_response_security_group_rule.rb +2 -0
  88. data/lib/katapult-ruby/models/get_virtual_machine200_response_virtual_machine.rb +27 -9
  89. data/lib/katapult-ruby/models/get_virtual_machine_authorized_keys404_response.rb +254 -0
  90. data/lib/katapult-ruby/models/get_virtual_machine_packages200_response_virtual_machine_packages.rb +1 -0
  91. data/lib/katapult-ruby/models/get_virtual_machines_builds_virtual_machine_build200_response_virtual_machine_build.rb +1 -0
  92. data/lib/katapult-ruby/models/get_zones200_response_zones.rb +1 -0
  93. data/lib/katapult-ruby/models/get_zones_part_data_center.rb +1 -0
  94. data/lib/katapult-ruby/models/{mx.rb → integer_or_unlimited.rb} +17 -16
  95. data/lib/katapult-ruby/models/invalid_api_token.rb +1 -0
  96. data/lib/katapult-ruby/models/ip_address.rb +3 -0
  97. data/lib/katapult-ruby/models/iso.rb +1 -0
  98. data/lib/katapult-ruby/models/{get_load_balancer_part_weights.rb → load_balancer_weight.rb} +3 -3
  99. data/lib/katapult-ruby/models/network.rb +1 -0
  100. data/lib/katapult-ruby/models/network_speed_profile.rb +2 -0
  101. data/lib/katapult-ruby/models/{infrastructure_dns_zone_cannot_be_edited_enum.rb → no_virtual_machine_for_api_token_enum.rb} +5 -5
  102. data/lib/katapult-ruby/models/object_in_trash.rb +1 -0
  103. data/lib/katapult-ruby/models/operating_system.rb +1 -0
  104. data/lib/katapult-ruby/models/organization.rb +10 -0
  105. data/lib/katapult-ruby/models/organization_policy.rb +349 -0
  106. data/lib/katapult-ruby/models/pagination_object.rb +2 -0
  107. data/lib/katapult-ruby/models/{delete_virtual_machine_part_zone.rb → patch_address_list_entry_request.rb} +30 -34
  108. data/lib/katapult-ruby/models/{get_disk_part_disk_template.rb → patch_address_list_request.rb} +30 -34
  109. data/lib/katapult-ruby/models/patch_file_storage_volume200_response_file_storage_volume.rb +2 -0
  110. data/lib/katapult-ruby/models/patch_file_storage_volume_part_data_center.rb +1 -0
  111. data/lib/katapult-ruby/models/patch_load_balancer200_response_load_balancer.rb +4 -5
  112. data/lib/katapult-ruby/models/patch_load_balancer_part_data_center.rb +1 -0
  113. data/lib/katapult-ruby/models/patch_load_balancers_rules_load_balancer_rule200_response_load_balancer_rule.rb +2 -0
  114. data/lib/katapult-ruby/models/patch_security_groups_rules_security_group_rule200_response_security_group_rule.rb +2 -0
  115. data/lib/katapult-ruby/models/patch_virtual_machine200_response_virtual_machine.rb +27 -9
  116. data/lib/katapult-ruby/models/permission_denied.rb +1 -0
  117. data/lib/katapult-ruby/models/post_address_list_entries201_response.rb +221 -0
  118. data/lib/katapult-ruby/models/{get_virtual_machine_part_currency.rb → post_address_list_entries_request.rb} +30 -34
  119. data/lib/katapult-ruby/models/post_disk_disk_backup_policies200_response_disk_backup_policy.rb +2 -1
  120. data/lib/katapult-ruby/models/{post_dns_zones_dns_zone_verify422_response.rb → post_dns_zone_verify422_response.rb} +4 -4
  121. data/lib/katapult-ruby/models/post_load_balancer_rules200_response_load_balancer_rule.rb +2 -0
  122. data/lib/katapult-ruby/models/{post_dns_zones_dns_zone_update_ttl200_response.rb → post_organization_address_lists201_response.rb} +14 -14
  123. data/lib/katapult-ruby/models/{post_organizations_organization_dns_zones_request.rb → post_organization_address_lists_request.rb} +4 -4
  124. data/lib/katapult-ruby/models/post_organization_dns_zones201_response.rb +1 -1
  125. data/lib/katapult-ruby/models/post_organization_dns_zones_request.rb +11 -11
  126. data/lib/katapult-ruby/models/post_organization_file_storage_volumes201_response_file_storage_volume.rb +2 -0
  127. data/lib/katapult-ruby/models/post_organization_file_storage_volumes_part_data_center.rb +1 -0
  128. data/lib/katapult-ruby/models/{post_organization_load_balancers200_response.rb → post_organization_load_balancers201_response.rb} +4 -4
  129. data/lib/katapult-ruby/models/{post_organization_load_balancers200_response_load_balancer.rb → post_organization_load_balancers201_response_load_balancer.rb} +7 -8
  130. data/lib/katapult-ruby/models/post_organization_load_balancers_part_data_center.rb +1 -0
  131. data/lib/katapult-ruby/models/post_security_group_rules200_response_security_group_rule.rb +2 -0
  132. data/lib/katapult-ruby/models/post_virtual_machine_disk_backup_policies200_response_disk_backup_policy.rb +2 -1
  133. data/lib/katapult-ruby/models/record_content_attributes_for_a.rb +1 -0
  134. data/lib/katapult-ruby/models/record_content_attributes_for_aaaa.rb +1 -0
  135. data/lib/katapult-ruby/models/record_content_attributes_for_alias.rb +1 -0
  136. data/lib/katapult-ruby/models/record_content_attributes_for_caa.rb +3 -0
  137. data/lib/katapult-ruby/models/record_content_attributes_for_cname.rb +1 -0
  138. data/lib/katapult-ruby/models/record_content_attributes_for_ips.rb +1 -0
  139. data/lib/katapult-ruby/models/record_content_attributes_for_mx.rb +1 -0
  140. data/lib/katapult-ruby/models/record_content_attributes_for_ns.rb +1 -0
  141. data/lib/katapult-ruby/models/record_content_attributes_for_ptr.rb +1 -0
  142. data/lib/katapult-ruby/models/record_content_attributes_for_srv.rb +3 -0
  143. data/lib/katapult-ruby/models/record_content_attributes_for_sshfp.rb +3 -0
  144. data/lib/katapult-ruby/models/record_content_attributes_for_txt.rb +1 -0
  145. data/lib/katapult-ruby/models/record_content_attributes_for_virtual_machine.rb +1 -0
  146. data/lib/katapult-ruby/models/{get_disk_backup_policy_part_schedule.rb → schedule.rb} +3 -3
  147. data/lib/katapult-ruby/models/task.rb +2 -0
  148. data/lib/katapult-ruby/models/template_spec_field.rb +3 -0
  149. data/lib/katapult-ruby/models/virtual_machine.rb +19 -1
  150. data/lib/katapult-ruby/models/virtual_machine_flexible_resources.rb +13 -4
  151. data/lib/katapult-ruby/models/virtual_machine_gpu.rb +2 -0
  152. data/lib/katapult-ruby/models/virtual_machine_package.rb +15 -4
  153. data/lib/katapult-ruby/models/virtual_machine_state_enum.rb +2 -1
  154. data/lib/katapult-ruby/models/zone.rb +1 -0
  155. data/lib/katapult-ruby/version.rb +1 -1
  156. data/lib/katapult-ruby.rb +54 -125
  157. metadata +57 -128
  158. data/lib/katapult-ruby/models/caa.rb +0 -254
  159. data/lib/katapult-ruby/models/delete_dns_zones_dns_zone200_response_dns_zone.rb +0 -250
  160. data/lib/katapult-ruby/models/delete_virtual_machine_part_attached_iso.rb +0 -232
  161. data/lib/katapult-ruby/models/delete_virtual_machine_part_badge.rb +0 -259
  162. data/lib/katapult-ruby/models/delete_virtual_machine_part_country.rb +0 -259
  163. data/lib/katapult-ruby/models/delete_virtual_machine_part_country_state.rb +0 -241
  164. data/lib/katapult-ruby/models/delete_virtual_machine_part_gpus.rb +0 -274
  165. data/lib/katapult-ruby/models/delete_virtual_machine_part_group.rb +0 -250
  166. data/lib/katapult-ruby/models/delete_virtual_machine_part_icon.rb +0 -259
  167. data/lib/katapult-ruby/models/delete_virtual_machine_part_ip_addresses.rb +0 -286
  168. data/lib/katapult-ruby/models/delete_virtual_machine_part_network.rb +0 -241
  169. data/lib/katapult-ruby/models/delete_virtual_machine_part_organization.rb +0 -367
  170. data/lib/katapult-ruby/models/delete_virtual_machine_part_package.rb +0 -317
  171. data/lib/katapult-ruby/models/delete_virtual_machine_part_tags.rb +0 -263
  172. data/lib/katapult-ruby/models/delete_virtual_machine_part_type.rb +0 -259
  173. data/lib/katapult-ruby/models/dns_record_properties_arguments.rb +0 -363
  174. data/lib/katapult-ruby/models/dns_record_properties_properties.rb +0 -114
  175. data/lib/katapult-ruby/models/dns_record_type_enum.rb +0 -49
  176. data/lib/katapult-ruby/models/get_disk_part_attributes.rb +0 -250
  177. data/lib/katapult-ruby/models/get_disk_part_disk_template_version.rb +0 -232
  178. data/lib/katapult-ruby/models/get_disk_part_installation.rb +0 -234
  179. data/lib/katapult-ruby/models/get_disk_part_io_profile.rb +0 -250
  180. data/lib/katapult-ruby/models/get_disk_template_part_operating_system.rb +0 -232
  181. data/lib/katapult-ruby/models/get_dns_records_dns_record200_response_dns_record.rb +0 -272
  182. data/lib/katapult-ruby/models/get_dns_zones_dns_zone_records200_response.rb +0 -224
  183. data/lib/katapult-ruby/models/get_dns_zones_dns_zone_records200_response_dns_records.rb +0 -272
  184. data/lib/katapult-ruby/models/get_dns_zones_dns_zone_verification_details200_response.rb +0 -221
  185. data/lib/katapult-ruby/models/get_organization_virtual_machines_part_data_center.rb +0 -232
  186. data/lib/katapult-ruby/models/get_organization_virtual_machines_part_zone.rb +0 -241
  187. data/lib/katapult-ruby/models/get_virtual_machine_part_badge.rb +0 -259
  188. data/lib/katapult-ruby/models/get_virtual_machine_part_country.rb +0 -259
  189. data/lib/katapult-ruby/models/get_virtual_machine_part_country_state.rb +0 -241
  190. data/lib/katapult-ruby/models/get_virtual_machine_part_data_center.rb +0 -241
  191. data/lib/katapult-ruby/models/get_virtual_machine_part_group.rb +0 -250
  192. data/lib/katapult-ruby/models/get_virtual_machine_part_icon.rb +0 -259
  193. data/lib/katapult-ruby/models/get_virtual_machine_part_ip_addresses.rb +0 -286
  194. data/lib/katapult-ruby/models/get_virtual_machine_part_network.rb +0 -241
  195. data/lib/katapult-ruby/models/get_virtual_machine_part_operating_system.rb +0 -232
  196. data/lib/katapult-ruby/models/get_virtual_machine_part_organization.rb +0 -367
  197. data/lib/katapult-ruby/models/get_virtual_machine_part_package.rb +0 -317
  198. data/lib/katapult-ruby/models/get_virtual_machine_part_tags.rb +0 -263
  199. data/lib/katapult-ruby/models/get_virtual_machine_part_type.rb +0 -259
  200. data/lib/katapult-ruby/models/get_virtual_machine_part_zone.rb +0 -241
  201. data/lib/katapult-ruby/models/infrastructure_dns_zone_cannot_be_edited_schema.rb +0 -255
  202. data/lib/katapult-ruby/models/one_of_infrastructure_dns_zone_cannot_be_edited403_res.rb +0 -107
  203. data/lib/katapult-ruby/models/patch_dns_records_dns_record200_response.rb +0 -221
  204. data/lib/katapult-ruby/models/patch_dns_records_dns_record200_response_dns_record.rb +0 -272
  205. data/lib/katapult-ruby/models/patch_dns_records_dns_record_request.rb +0 -237
  206. data/lib/katapult-ruby/models/patch_virtual_machine_part_attached_iso.rb +0 -232
  207. data/lib/katapult-ruby/models/patch_virtual_machine_part_badge.rb +0 -259
  208. data/lib/katapult-ruby/models/patch_virtual_machine_part_country.rb +0 -259
  209. data/lib/katapult-ruby/models/patch_virtual_machine_part_country_state.rb +0 -241
  210. data/lib/katapult-ruby/models/patch_virtual_machine_part_currency.rb +0 -241
  211. data/lib/katapult-ruby/models/patch_virtual_machine_part_data_center.rb +0 -241
  212. data/lib/katapult-ruby/models/patch_virtual_machine_part_gpus.rb +0 -274
  213. data/lib/katapult-ruby/models/patch_virtual_machine_part_group.rb +0 -250
  214. data/lib/katapult-ruby/models/patch_virtual_machine_part_icon.rb +0 -259
  215. data/lib/katapult-ruby/models/patch_virtual_machine_part_ip_addresses.rb +0 -286
  216. data/lib/katapult-ruby/models/patch_virtual_machine_part_network.rb +0 -241
  217. data/lib/katapult-ruby/models/patch_virtual_machine_part_organization.rb +0 -367
  218. data/lib/katapult-ruby/models/patch_virtual_machine_part_package.rb +0 -317
  219. data/lib/katapult-ruby/models/patch_virtual_machine_part_tags.rb +0 -263
  220. data/lib/katapult-ruby/models/patch_virtual_machine_part_type.rb +0 -259
  221. data/lib/katapult-ruby/models/patch_virtual_machine_part_zone.rb +0 -241
  222. data/lib/katapult-ruby/models/post_disk_disk_backup_policies_part_schedule.rb +0 -272
  223. data/lib/katapult-ruby/models/post_dns_zones_dns_zone_records200_response.rb +0 -221
  224. data/lib/katapult-ruby/models/post_dns_zones_dns_zone_records200_response_dns_record.rb +0 -272
  225. data/lib/katapult-ruby/models/post_dns_zones_dns_zone_records_request.rb +0 -237
  226. data/lib/katapult-ruby/models/post_dns_zones_dns_zone_update_ttl200_response_dns_zone.rb +0 -250
  227. data/lib/katapult-ruby/models/post_dns_zones_dns_zone_update_ttl_request.rb +0 -238
  228. data/lib/katapult-ruby/models/post_dns_zones_dns_zone_verify200_response.rb +0 -221
  229. data/lib/katapult-ruby/models/post_organization_dns_zones201_response_dns_zone.rb +0 -250
  230. data/lib/katapult-ruby/models/post_organization_load_balancers_part_weights.rb +0 -223
  231. data/lib/katapult-ruby/models/post_organization_managed201_response.rb +0 -221
  232. data/lib/katapult-ruby/models/post_organization_managed201_response_organization.rb +0 -367
  233. data/lib/katapult-ruby/models/post_organization_managed_part_country.rb +0 -259
  234. data/lib/katapult-ruby/models/post_organization_managed_part_country_state.rb +0 -241
  235. data/lib/katapult-ruby/models/post_organization_managed_part_currency.rb +0 -241
  236. data/lib/katapult-ruby/models/post_organizations_organization_dns_zones201_response.rb +0 -221
  237. data/lib/katapult-ruby/models/post_organizations_organization_dns_zones201_response_dns_zone.rb +0 -241
  238. data/lib/katapult-ruby/models/post_virtual_machine_disk_backup_policies_part_schedule.rb +0 -272
  239. data/lib/katapult-ruby/models/txt.rb +0 -214
@@ -14,7 +14,7 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module KatapultAPI
17
- class GetDnsZonesDnsZone404Response
17
+ class GetDnsZone404Response
18
18
  attr_accessor :code
19
19
 
20
20
  attr_accessor :description
@@ -76,13 +76,13 @@ module KatapultAPI
76
76
  # @param [Hash] attributes Model attributes in the form of hash
77
77
  def initialize(attributes = {})
78
78
  if (!attributes.is_a?(Hash))
79
- fail ArgumentError, "The input argument (attributes) must be a hash in `KatapultAPI::GetDnsZonesDnsZone404Response` initialize method"
79
+ fail ArgumentError, "The input argument (attributes) must be a hash in `KatapultAPI::GetDnsZone404Response` initialize method"
80
80
  end
81
81
 
82
82
  # check to see if the attribute exists and convert string to symbol for hash key
83
83
  attributes = attributes.each_with_object({}) { |(k, v), h|
84
84
  if (!self.class.attribute_map.key?(k.to_sym))
85
- fail ArgumentError, "`#{k}` is not a valid attribute in `KatapultAPI::GetDnsZonesDnsZone404Response`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
85
+ fail ArgumentError, "`#{k}` is not a valid attribute in `KatapultAPI::GetDnsZone404Response`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
86
86
  end
87
87
  h[k.to_sym] = v
88
88
  }
@@ -87,6 +87,8 @@ module KatapultAPI
87
87
  # List of attributes with nullable: true
88
88
  def self.openapi_nullable
89
89
  Set.new([
90
+ :'nfs_location',
91
+ :'size'
90
92
  ])
91
93
  end
92
94
 
@@ -47,6 +47,7 @@ module KatapultAPI
47
47
  # List of attributes with nullable: true
48
48
  def self.openapi_nullable
49
49
  Set.new([
50
+ :'permalink'
50
51
  ])
51
52
  end
52
53
 
@@ -47,6 +47,7 @@ module KatapultAPI
47
47
  # List of attributes with nullable: true
48
48
  def self.openapi_nullable
49
49
  Set.new([
50
+ :'permalink'
50
51
  ])
51
52
  end
52
53
 
@@ -47,6 +47,7 @@ module KatapultAPI
47
47
  # List of attributes with nullable: true
48
48
  def self.openapi_nullable
49
49
  Set.new([
50
+ :'permalink'
50
51
  ])
51
52
  end
52
53
 
@@ -99,13 +99,13 @@ module KatapultAPI
99
99
  :'resource_type' => :'LoadBalancerResourceTypesEnum',
100
100
  :'resources' => :'Array<LoadBalancerResource>',
101
101
  :'resource_ids' => :'Array<String>',
102
- :'ip_address' => :'Array<GetLoadBalancerPartIPAddress>',
102
+ :'ip_address' => :'GetLoadBalancerPartIPAddress',
103
103
  :'https_redirect' => :'Boolean',
104
104
  :'backend_certificate' => :'String',
105
105
  :'backend_certificate_key' => :'String',
106
106
  :'data_center' => :'GetLoadBalancerPartDataCenter',
107
107
  :'enable_weighting' => :'Boolean',
108
- :'weights' => :'Array<GetLoadBalancerPartWeights>',
108
+ :'weights' => :'Array<LoadBalancerWeight>',
109
109
  :'standby_vms' => :'Array<String>'
110
110
  }
111
111
  end
@@ -113,6 +113,7 @@ module KatapultAPI
113
113
  # List of attributes with nullable: true
114
114
  def self.openapi_nullable
115
115
  Set.new([
116
+ :'api_reference',
116
117
  ])
117
118
  end
118
119
 
@@ -160,9 +161,7 @@ module KatapultAPI
160
161
  end
161
162
 
162
163
  if attributes.key?(:'ip_address')
163
- if (value = attributes[:'ip_address']).is_a?(Array)
164
- self.ip_address = value
165
- end
164
+ self.ip_address = attributes[:'ip_address']
166
165
  end
167
166
 
168
167
  if attributes.key?(:'https_redirect')
@@ -47,6 +47,7 @@ module KatapultAPI
47
47
  # List of attributes with nullable: true
48
48
  def self.openapi_nullable
49
49
  Set.new([
50
+ :'permalink'
50
51
  ])
51
52
  end
52
53
 
@@ -129,6 +129,8 @@ module KatapultAPI
129
129
  # List of attributes with nullable: true
130
130
  def self.openapi_nullable
131
131
  Set.new([
132
+ :'check_protocol',
133
+ :'check_http_statuses',
132
134
  ])
133
135
  end
134
136
 
@@ -14,22 +14,17 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module KatapultAPI
17
- class GetOrganizationUsersWithAccessPartUser
18
- attr_accessor :id
17
+ class GetOrganizationAddressLists200Response
18
+ attr_accessor :pagination
19
19
 
20
- attr_accessor :first_name
21
-
22
- attr_accessor :last_name
23
-
24
- attr_accessor :avatar_url
20
+ # A list of all address lists for the given organization.
21
+ attr_accessor :address_lists
25
22
 
26
23
  # Attribute mapping from ruby-style variable name to JSON key.
27
24
  def self.attribute_map
28
25
  {
29
- :'id' => :'id',
30
- :'first_name' => :'first_name',
31
- :'last_name' => :'last_name',
32
- :'avatar_url' => :'avatar_url'
26
+ :'pagination' => :'pagination',
27
+ :'address_lists' => :'address_lists'
33
28
  }
34
29
  end
35
30
 
@@ -41,10 +36,8 @@ module KatapultAPI
41
36
  # Attribute type mapping.
42
37
  def self.openapi_types
43
38
  {
44
- :'id' => :'String',
45
- :'first_name' => :'String',
46
- :'last_name' => :'String',
47
- :'avatar_url' => :'String'
39
+ :'pagination' => :'PaginationObject',
40
+ :'address_lists' => :'Array<GetOrganizationAddressLists200ResponseAddressLists>'
48
41
  }
49
42
  end
50
43
 
@@ -58,31 +51,29 @@ module KatapultAPI
58
51
  # @param [Hash] attributes Model attributes in the form of hash
59
52
  def initialize(attributes = {})
60
53
  if (!attributes.is_a?(Hash))
61
- fail ArgumentError, "The input argument (attributes) must be a hash in `KatapultAPI::GetOrganizationUsersWithAccessPartUser` initialize method"
54
+ fail ArgumentError, "The input argument (attributes) must be a hash in `KatapultAPI::GetOrganizationAddressLists200Response` initialize method"
62
55
  end
63
56
 
64
57
  # check to see if the attribute exists and convert string to symbol for hash key
65
58
  attributes = attributes.each_with_object({}) { |(k, v), h|
66
59
  if (!self.class.attribute_map.key?(k.to_sym))
67
- fail ArgumentError, "`#{k}` is not a valid attribute in `KatapultAPI::GetOrganizationUsersWithAccessPartUser`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
60
+ fail ArgumentError, "`#{k}` is not a valid attribute in `KatapultAPI::GetOrganizationAddressLists200Response`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
68
61
  end
69
62
  h[k.to_sym] = v
70
63
  }
71
64
 
72
- if attributes.key?(:'id')
73
- self.id = attributes[:'id']
74
- end
75
-
76
- if attributes.key?(:'first_name')
77
- self.first_name = attributes[:'first_name']
78
- end
79
-
80
- if attributes.key?(:'last_name')
81
- self.last_name = attributes[:'last_name']
65
+ if attributes.key?(:'pagination')
66
+ self.pagination = attributes[:'pagination']
67
+ else
68
+ self.pagination = nil
82
69
  end
83
70
 
84
- if attributes.key?(:'avatar_url')
85
- self.avatar_url = attributes[:'avatar_url']
71
+ if attributes.key?(:'address_lists')
72
+ if (value = attributes[:'address_lists']).is_a?(Array)
73
+ self.address_lists = value
74
+ end
75
+ else
76
+ self.address_lists = nil
86
77
  end
87
78
  end
88
79
 
@@ -91,6 +82,14 @@ module KatapultAPI
91
82
  def list_invalid_properties
92
83
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
93
84
  invalid_properties = Array.new
85
+ if @pagination.nil?
86
+ invalid_properties.push('invalid value for "pagination", pagination cannot be nil.')
87
+ end
88
+
89
+ if @address_lists.nil?
90
+ invalid_properties.push('invalid value for "address_lists", address_lists cannot be nil.')
91
+ end
92
+
94
93
  invalid_properties
95
94
  end
96
95
 
@@ -98,6 +97,8 @@ module KatapultAPI
98
97
  # @return true if the model is valid
99
98
  def valid?
100
99
  warn '[DEPRECATED] the `valid?` method is obsolete'
100
+ return false if @pagination.nil?
101
+ return false if @address_lists.nil?
101
102
  true
102
103
  end
103
104
 
@@ -106,10 +107,8 @@ module KatapultAPI
106
107
  def ==(o)
107
108
  return true if self.equal?(o)
108
109
  self.class == o.class &&
109
- id == o.id &&
110
- first_name == o.first_name &&
111
- last_name == o.last_name &&
112
- avatar_url == o.avatar_url
110
+ pagination == o.pagination &&
111
+ address_lists == o.address_lists
113
112
  end
114
113
 
115
114
  # @see the `==` method
@@ -121,7 +120,7 @@ module KatapultAPI
121
120
  # Calculates hash code according to all attributes.
122
121
  # @return [Integer] Hash code
123
122
  def hash
124
- [id, first_name, last_name, avatar_url].hash
123
+ [pagination, address_lists].hash
125
124
  end
126
125
 
127
126
  # Builds the object from hash
@@ -14,19 +14,21 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module KatapultAPI
17
- class GetVirtualMachinePartAttachedISO
17
+ class GetOrganizationAddressLists200ResponseAddressLists
18
18
  attr_accessor :id
19
19
 
20
+ # Name of the address list.
20
21
  attr_accessor :name
21
22
 
22
- attr_accessor :operating_system
23
+ # Whether the address list is global or not.
24
+ attr_accessor :global
23
25
 
24
26
  # Attribute mapping from ruby-style variable name to JSON key.
25
27
  def self.attribute_map
26
28
  {
27
29
  :'id' => :'id',
28
30
  :'name' => :'name',
29
- :'operating_system' => :'operating_system'
31
+ :'global' => :'global'
30
32
  }
31
33
  end
32
34
 
@@ -40,7 +42,7 @@ module KatapultAPI
40
42
  {
41
43
  :'id' => :'String',
42
44
  :'name' => :'String',
43
- :'operating_system' => :'GetVirtualMachinePartOperatingSystem'
45
+ :'global' => :'Boolean'
44
46
  }
45
47
  end
46
48
 
@@ -54,13 +56,13 @@ module KatapultAPI
54
56
  # @param [Hash] attributes Model attributes in the form of hash
55
57
  def initialize(attributes = {})
56
58
  if (!attributes.is_a?(Hash))
57
- fail ArgumentError, "The input argument (attributes) must be a hash in `KatapultAPI::GetVirtualMachinePartAttachedISO` initialize method"
59
+ fail ArgumentError, "The input argument (attributes) must be a hash in `KatapultAPI::GetOrganizationAddressLists200ResponseAddressLists` initialize method"
58
60
  end
59
61
 
60
62
  # check to see if the attribute exists and convert string to symbol for hash key
61
63
  attributes = attributes.each_with_object({}) { |(k, v), h|
62
64
  if (!self.class.attribute_map.key?(k.to_sym))
63
- fail ArgumentError, "`#{k}` is not a valid attribute in `KatapultAPI::GetVirtualMachinePartAttachedISO`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
65
+ fail ArgumentError, "`#{k}` is not a valid attribute in `KatapultAPI::GetOrganizationAddressLists200ResponseAddressLists`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
64
66
  end
65
67
  h[k.to_sym] = v
66
68
  }
@@ -73,8 +75,8 @@ module KatapultAPI
73
75
  self.name = attributes[:'name']
74
76
  end
75
77
 
76
- if attributes.key?(:'operating_system')
77
- self.operating_system = attributes[:'operating_system']
78
+ if attributes.key?(:'global')
79
+ self.global = attributes[:'global']
78
80
  end
79
81
  end
80
82
 
@@ -100,7 +102,7 @@ module KatapultAPI
100
102
  self.class == o.class &&
101
103
  id == o.id &&
102
104
  name == o.name &&
103
- operating_system == o.operating_system
105
+ global == o.global
104
106
  end
105
107
 
106
108
  # @see the `==` method
@@ -112,7 +114,7 @@ module KatapultAPI
112
114
  # Calculates hash code according to all attributes.
113
115
  # @return [Integer] Hash code
114
116
  def hash
115
- [id, name, operating_system].hash
117
+ [id, name, global].hash
116
118
  end
117
119
 
118
120
  # Builds the object from hash
@@ -51,6 +51,7 @@ module KatapultAPI
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
+ :'permalink',
54
55
  ])
55
56
  end
56
57
 
@@ -47,6 +47,7 @@ module KatapultAPI
47
47
  # List of attributes with nullable: true
48
48
  def self.openapi_nullable
49
49
  Set.new([
50
+ :'permalink'
50
51
  ])
51
52
  end
52
53
 
@@ -81,6 +81,8 @@ module KatapultAPI
81
81
  # List of attributes with nullable: true
82
82
  def self.openapi_nullable
83
83
  Set.new([
84
+ :'expires_at',
85
+ :'last_issued_at'
84
86
  ])
85
87
  end
86
88
 
@@ -63,6 +63,9 @@ module KatapultAPI
63
63
  # List of attributes with nullable: true
64
64
  def self.openapi_nullable
65
65
  Set.new([
66
+ :'description',
67
+ :'latest_version',
68
+ :'operating_system'
66
69
  ])
67
70
  end
68
71
 
@@ -81,6 +81,7 @@ module KatapultAPI
81
81
  # List of attributes with nullable: true
82
82
  def self.openapi_nullable
83
83
  Set.new([
84
+ :'virtual_machine_disk'
84
85
  ])
85
86
  end
86
87
 
@@ -87,6 +87,8 @@ module KatapultAPI
87
87
  # List of attributes with nullable: true
88
88
  def self.openapi_nullable
89
89
  Set.new([
90
+ :'nfs_location',
91
+ :'size'
90
92
  ])
91
93
  end
92
94
 
@@ -47,6 +47,7 @@ module KatapultAPI
47
47
  # List of attributes with nullable: true
48
48
  def self.openapi_nullable
49
49
  Set.new([
50
+ :'permalink'
50
51
  ])
51
52
  end
52
53
 
@@ -59,6 +59,8 @@ module KatapultAPI
59
59
  # List of attributes with nullable: true
60
60
  def self.openapi_nullable
61
61
  Set.new([
62
+ :'allocation_id',
63
+ :'allocation_type'
62
64
  ])
63
65
  end
64
66
 
@@ -81,7 +81,7 @@ module KatapultAPI
81
81
  :'resource_type' => :'LoadBalancerResourceTypesEnum',
82
82
  :'resources' => :'Array<LoadBalancerResource>',
83
83
  :'resource_ids' => :'Array<String>',
84
- :'ip_address' => :'Array<GetOrganizationLoadBalancersPartIPAddress>',
84
+ :'ip_address' => :'GetOrganizationLoadBalancersPartIPAddress',
85
85
  :'data_center' => :'GetOrganizationLoadBalancersPartDataCenter'
86
86
  }
87
87
  end
@@ -89,6 +89,7 @@ module KatapultAPI
89
89
  # List of attributes with nullable: true
90
90
  def self.openapi_nullable
91
91
  Set.new([
92
+ :'api_reference',
92
93
  ])
93
94
  end
94
95
 
@@ -136,9 +137,7 @@ module KatapultAPI
136
137
  end
137
138
 
138
139
  if attributes.key?(:'ip_address')
139
- if (value = attributes[:'ip_address']).is_a?(Array)
140
- self.ip_address = value
141
- end
140
+ self.ip_address = attributes[:'ip_address']
142
141
  end
143
142
 
144
143
  if attributes.key?(:'data_center')
@@ -14,13 +14,13 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module KatapultAPI
17
- class DeleteDnsRecordsDnsRecord200Response
18
- attr_accessor :success
17
+ class GetOrganizationPolicyLimits200Response
18
+ attr_accessor :policy_limits
19
19
 
20
20
  # Attribute mapping from ruby-style variable name to JSON key.
21
21
  def self.attribute_map
22
22
  {
23
- :'success' => :'success'
23
+ :'policy_limits' => :'policy_limits'
24
24
  }
25
25
  end
26
26
 
@@ -32,7 +32,7 @@ module KatapultAPI
32
32
  # Attribute type mapping.
33
33
  def self.openapi_types
34
34
  {
35
- :'success' => :'Boolean'
35
+ :'policy_limits' => :'OrganizationPolicy'
36
36
  }
37
37
  end
38
38
 
@@ -46,21 +46,21 @@ module KatapultAPI
46
46
  # @param [Hash] attributes Model attributes in the form of hash
47
47
  def initialize(attributes = {})
48
48
  if (!attributes.is_a?(Hash))
49
- fail ArgumentError, "The input argument (attributes) must be a hash in `KatapultAPI::DeleteDnsRecordsDnsRecord200Response` initialize method"
49
+ fail ArgumentError, "The input argument (attributes) must be a hash in `KatapultAPI::GetOrganizationPolicyLimits200Response` initialize method"
50
50
  end
51
51
 
52
52
  # check to see if the attribute exists and convert string to symbol for hash key
53
53
  attributes = attributes.each_with_object({}) { |(k, v), h|
54
54
  if (!self.class.attribute_map.key?(k.to_sym))
55
- fail ArgumentError, "`#{k}` is not a valid attribute in `KatapultAPI::DeleteDnsRecordsDnsRecord200Response`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
55
+ fail ArgumentError, "`#{k}` is not a valid attribute in `KatapultAPI::GetOrganizationPolicyLimits200Response`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
56
56
  end
57
57
  h[k.to_sym] = v
58
58
  }
59
59
 
60
- if attributes.key?(:'success')
61
- self.success = attributes[:'success']
60
+ if attributes.key?(:'policy_limits')
61
+ self.policy_limits = attributes[:'policy_limits']
62
62
  else
63
- self.success = nil
63
+ self.policy_limits = nil
64
64
  end
65
65
  end
66
66
 
@@ -69,8 +69,8 @@ module KatapultAPI
69
69
  def list_invalid_properties
70
70
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
71
71
  invalid_properties = Array.new
72
- if @success.nil?
73
- invalid_properties.push('invalid value for "success", success cannot be nil.')
72
+ if @policy_limits.nil?
73
+ invalid_properties.push('invalid value for "policy_limits", policy_limits cannot be nil.')
74
74
  end
75
75
 
76
76
  invalid_properties
@@ -80,7 +80,7 @@ module KatapultAPI
80
80
  # @return true if the model is valid
81
81
  def valid?
82
82
  warn '[DEPRECATED] the `valid?` method is obsolete'
83
- return false if @success.nil?
83
+ return false if @policy_limits.nil?
84
84
  true
85
85
  end
86
86
 
@@ -89,7 +89,7 @@ module KatapultAPI
89
89
  def ==(o)
90
90
  return true if self.equal?(o)
91
91
  self.class == o.class &&
92
- success == o.success
92
+ policy_limits == o.policy_limits
93
93
  end
94
94
 
95
95
  # @see the `==` method
@@ -101,7 +101,7 @@ module KatapultAPI
101
101
  # Calculates hash code according to all attributes.
102
102
  # @return [Integer] Hash code
103
103
  def hash
104
- [success].hash
104
+ [policy_limits].hash
105
105
  end
106
106
 
107
107
  # Builds the object from hash
@@ -32,13 +32,14 @@ module KatapultAPI
32
32
  # Attribute type mapping.
33
33
  def self.openapi_types
34
34
  {
35
- :'user' => :'GetOrganizationUsersWithAccessPartUser'
35
+ :'user' => :'User'
36
36
  }
37
37
  end
38
38
 
39
39
  # List of attributes with nullable: true
40
40
  def self.openapi_nullable
41
41
  Set.new([
42
+ :'user'
42
43
  ])
43
44
  end
44
45
 
@@ -61,7 +61,7 @@ module KatapultAPI
61
61
  :'hostname' => :'String',
62
62
  :'fqdn' => :'String',
63
63
  :'created_at' => :'Integer',
64
- :'zone' => :'GetOrganizationVirtualMachinesPartZone',
64
+ :'zone' => :'Zone',
65
65
  :'package' => :'GetOrganizationVirtualMachinesPartPackage',
66
66
  :'gpu_type' => :'GetOrganizationVirtualMachinesPartGPUType',
67
67
  :'ip_addresses' => :'Array<GetOrganizationVirtualMachinesPartIPAddresses>'
@@ -71,6 +71,8 @@ module KatapultAPI
71
71
  # List of attributes with nullable: true
72
72
  def self.openapi_nullable
73
73
  Set.new([
74
+ :'package',
75
+ :'gpu_type',
74
76
  ])
75
77
  end
76
78
 
@@ -85,6 +85,8 @@ module KatapultAPI
85
85
  # List of attributes with nullable: true
86
86
  def self.openapi_nullable
87
87
  Set.new([
88
+ :'ports',
89
+ :'notes'
88
90
  ])
89
91
  end
90
92
 
@@ -89,6 +89,8 @@ module KatapultAPI
89
89
  # List of attributes with nullable: true
90
90
  def self.openapi_nullable
91
91
  Set.new([
92
+ :'ports',
93
+ :'notes'
92
94
  ])
93
95
  end
94
96
 
@@ -45,6 +45,8 @@ module KatapultAPI
45
45
 
46
46
  attr_accessor :cpu_cores
47
47
 
48
+ attr_accessor :use_dedicated_cpus
49
+
48
50
  attr_accessor :gpu_type
49
51
 
50
52
  attr_accessor :gpus
@@ -95,6 +97,7 @@ module KatapultAPI
95
97
  :'attached_iso' => :'attached_iso',
96
98
  :'memory_in_gb' => :'memory_in_gb',
97
99
  :'cpu_cores' => :'cpu_cores',
100
+ :'use_dedicated_cpus' => :'use_dedicated_cpus',
98
101
  :'gpu_type' => :'gpu_type',
99
102
  :'gpus' => :'gpus',
100
103
  :'tags' => :'tags',
@@ -119,24 +122,34 @@ module KatapultAPI
119
122
  :'created_at' => :'Integer',
120
123
  :'initial_root_password' => :'String',
121
124
  :'state' => :'VirtualMachineStateEnum',
122
- :'zone' => :'GetVirtualMachinePartZone',
123
- :'organization' => :'GetVirtualMachinePartOrganization',
124
- :'group' => :'GetVirtualMachinePartGroup',
125
- :'package' => :'GetVirtualMachinePartPackage',
126
- :'attached_iso' => :'GetVirtualMachinePartAttachedISO',
125
+ :'zone' => :'Zone',
126
+ :'organization' => :'Organization',
127
+ :'group' => :'VirtualMachineGroup',
128
+ :'package' => :'VirtualMachinePackage',
129
+ :'attached_iso' => :'ISO',
127
130
  :'memory_in_gb' => :'Integer',
128
131
  :'cpu_cores' => :'Integer',
132
+ :'use_dedicated_cpus' => :'Boolean',
129
133
  :'gpu_type' => :'GetVirtualMachinePartGPUType',
130
- :'gpus' => :'Array<GetVirtualMachinePartGPUs>',
131
- :'tags' => :'Array<GetVirtualMachinePartTags>',
134
+ :'gpus' => :'Array<VirtualMachineGPU>',
135
+ :'tags' => :'Array<Tag>',
132
136
  :'tag_names' => :'Array<String>',
133
- :'ip_addresses' => :'Array<GetVirtualMachinePartIPAddresses>'
137
+ :'ip_addresses' => :'Array<IPAddress>'
134
138
  }
135
139
  end
136
140
 
137
141
  # List of attributes with nullable: true
138
142
  def self.openapi_nullable
139
143
  Set.new([
144
+ :'description',
145
+ :'initial_root_password',
146
+ :'group',
147
+ :'package',
148
+ :'attached_iso',
149
+ :'memory_in_gb',
150
+ :'cpu_cores',
151
+ :'use_dedicated_cpus',
152
+ :'gpu_type',
140
153
  ])
141
154
  end
142
155
 
@@ -215,6 +228,10 @@ module KatapultAPI
215
228
  self.cpu_cores = attributes[:'cpu_cores']
216
229
  end
217
230
 
231
+ if attributes.key?(:'use_dedicated_cpus')
232
+ self.use_dedicated_cpus = attributes[:'use_dedicated_cpus']
233
+ end
234
+
218
235
  if attributes.key?(:'gpu_type')
219
236
  self.gpu_type = attributes[:'gpu_type']
220
237
  end
@@ -279,6 +296,7 @@ module KatapultAPI
279
296
  attached_iso == o.attached_iso &&
280
297
  memory_in_gb == o.memory_in_gb &&
281
298
  cpu_cores == o.cpu_cores &&
299
+ use_dedicated_cpus == o.use_dedicated_cpus &&
282
300
  gpu_type == o.gpu_type &&
283
301
  gpus == o.gpus &&
284
302
  tags == o.tags &&
@@ -295,7 +313,7 @@ module KatapultAPI
295
313
  # Calculates hash code according to all attributes.
296
314
  # @return [Integer] Hash code
297
315
  def hash
298
- [id, name, hostname, fqdn, description, created_at, initial_root_password, state, zone, organization, group, package, attached_iso, memory_in_gb, cpu_cores, gpu_type, gpus, tags, tag_names, ip_addresses].hash
316
+ [id, name, hostname, fqdn, description, created_at, initial_root_password, state, zone, organization, group, package, attached_iso, memory_in_gb, cpu_cores, use_dedicated_cpus, gpu_type, gpus, tags, tag_names, ip_addresses].hash
299
317
  end
300
318
 
301
319
  # Builds the object from hash