katapult-ruby 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (184) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +121 -57
  3. data/lib/katapult-ruby/models/{interface_not_found_response.rb → api_authenticator400_schema.rb} +5 -17
  4. data/lib/katapult-ruby/models/certificate_not_found_enum.rb +39 -0
  5. data/lib/katapult-ruby/models/country_not_found_enum.rb +39 -0
  6. data/lib/katapult-ruby/models/country_state_not_found_enum.rb +39 -0
  7. data/lib/katapult-ruby/models/currency_not_found_enum.rb +39 -0
  8. data/lib/katapult-ruby/models/data_center_not_found_enum.rb +39 -0
  9. data/lib/katapult-ruby/models/{location_required_response.rb → data_center_not_found_schema.rb} +5 -17
  10. data/lib/katapult-ruby/models/delete_ip_address409_response.rb +1 -13
  11. data/lib/katapult-ruby/models/delete_ssh_key404_response.rb +1 -13
  12. data/lib/katapult-ruby/models/delete_ssh_key409_response.rb +1 -13
  13. data/lib/katapult-ruby/models/deletion_restricted_enum.rb +39 -0
  14. data/lib/katapult-ruby/models/disk_backup_policy_not_found_enum.rb +39 -0
  15. data/lib/katapult-ruby/models/disk_not_found_enum.rb +39 -0
  16. data/lib/katapult-ruby/models/disk_template_not_found_enum.rb +39 -0
  17. data/lib/katapult-ruby/models/{ip_already_allocated_response.rb → disk_template_not_found_schema.rb} +5 -17
  18. data/lib/katapult-ruby/models/disk_template_version_not_found_enum.rb +39 -0
  19. data/lib/katapult-ruby/models/dns_record_not_found_enum.rb +39 -0
  20. data/lib/katapult-ruby/models/dns_zone_already_verified_enum.rb +39 -0
  21. data/lib/katapult-ruby/models/dns_zone_not_found_enum.rb +39 -0
  22. data/lib/katapult-ruby/models/dns_zone_not_verified_enum.rb +39 -0
  23. data/lib/katapult-ruby/models/file_storage_volume_not_found_enum.rb +39 -0
  24. data/lib/katapult-ruby/models/flexible_resources_unavailable_to_organization_enum.rb +39 -0
  25. data/lib/katapult-ruby/models/{flexible_resources_unavailable_to_organization_response.rb → flexible_resources_unavailable_to_organization_schema.rb} +4 -16
  26. data/lib/katapult-ruby/models/get_certificate404_response.rb +1 -13
  27. data/lib/katapult-ruby/models/get_country404_response.rb +1 -13
  28. data/lib/katapult-ruby/models/get_country_state404_response.rb +1 -13
  29. data/lib/katapult-ruby/models/get_currency404_response.rb +1 -13
  30. data/lib/katapult-ruby/models/get_data_center404_response.rb +1 -13
  31. data/lib/katapult-ruby/models/get_data_centers400_response.rb +1 -13
  32. data/lib/katapult-ruby/models/get_data_centers429_response.rb +1 -13
  33. data/lib/katapult-ruby/models/get_disk404_response.rb +1 -13
  34. data/lib/katapult-ruby/models/get_disk_backup_policy404_response.rb +1 -13
  35. data/lib/katapult-ruby/models/get_disk_template404_response.rb +1 -13
  36. data/lib/katapult-ruby/models/get_disk_template_version404_response.rb +1 -13
  37. data/lib/katapult-ruby/models/get_dns_records_dns_record404_response.rb +1 -13
  38. data/lib/katapult-ruby/models/get_dns_zones_dns_zone404_response.rb +1 -13
  39. data/lib/katapult-ruby/models/get_dns_zones_dns_zone_verification_details422_response.rb +1 -13
  40. data/lib/katapult-ruby/models/get_file_storage_volume404_response.rb +1 -13
  41. data/lib/katapult-ruby/models/get_gpu_type404_response.rb +1 -13
  42. data/lib/katapult-ruby/models/get_ip_address404_response.rb +1 -13
  43. data/lib/katapult-ruby/models/get_load_balancer404_response.rb +1 -13
  44. data/lib/katapult-ruby/models/get_load_balancers_rules_load_balancer_rule404_response.rb +1 -13
  45. data/lib/katapult-ruby/models/get_network404_response.rb +1 -13
  46. data/lib/katapult-ruby/models/get_operating_system404_response.rb +1 -13
  47. data/lib/katapult-ruby/models/get_organization404_response.rb +1 -13
  48. data/lib/katapult-ruby/models/get_security_group404_response.rb +1 -13
  49. data/lib/katapult-ruby/models/get_security_groups_rules_security_group_rule404_response.rb +1 -13
  50. data/lib/katapult-ruby/models/get_tag404_response.rb +1 -13
  51. data/lib/katapult-ruby/models/get_task404_response.rb +1 -13
  52. data/lib/katapult-ruby/models/get_trash_object404_response.rb +1 -13
  53. data/lib/katapult-ruby/models/get_users_current404_response.rb +1 -13
  54. data/lib/katapult-ruby/models/get_virtual_machine_disks404_response.rb +1 -13
  55. data/lib/katapult-ruby/models/get_virtual_machine_disks406_response.rb +1 -13
  56. data/lib/katapult-ruby/models/get_virtual_machine_group404_response.rb +1 -13
  57. data/lib/katapult-ruby/models/get_virtual_machine_package404_response.rb +1 -13
  58. data/lib/katapult-ruby/models/get_virtual_machines_builds_virtual_machine_build404_response.rb +1 -13
  59. data/lib/katapult-ruby/models/get_vmnivmni404_response.rb +1 -13
  60. data/lib/katapult-ruby/models/get_zone404_response.rb +1 -13
  61. data/lib/katapult-ruby/models/gpu_type_not_found_enum.rb +39 -0
  62. data/lib/katapult-ruby/models/identity_not_linked_to_web_session_enum.rb +39 -0
  63. data/lib/katapult-ruby/models/{network_speed_profile_not_found_response.rb → identity_not_linked_to_web_session_schema.rb} +5 -17
  64. data/lib/katapult-ruby/models/infrastructure_dns_zone_cannot_be_edited_enum.rb +39 -0
  65. data/lib/katapult-ruby/models/{infrastructure_dns_zone_cannot_be_edited_response.rb → infrastructure_dns_zone_cannot_be_edited_schema.rb} +4 -16
  66. data/lib/katapult-ruby/models/interface_not_found_enum.rb +39 -0
  67. data/lib/katapult-ruby/models/{network_not_found_response.rb → interface_not_found_schema.rb} +5 -17
  68. data/lib/katapult-ruby/models/invalid_api_token_enum.rb +39 -0
  69. data/lib/katapult-ruby/models/{invalid_api_token_response.rb → invalid_api_token_schema.rb} +4 -16
  70. data/lib/katapult-ruby/models/invalid_ip_enum.rb +39 -0
  71. data/lib/katapult-ruby/models/{invalid_ip_response.rb → invalid_ip_schema.rb} +4 -16
  72. data/lib/katapult-ruby/models/invalid_spec_xml_enum.rb +39 -0
  73. data/lib/katapult-ruby/models/invalid_spec_xml_schema.rb +255 -0
  74. data/lib/katapult-ruby/models/invalid_timestamp_enum.rb +39 -0
  75. data/lib/katapult-ruby/models/{invalid_spec_xml_response.rb → invalid_timestamp_schema.rb} +6 -18
  76. data/lib/katapult-ruby/models/ip_address_not_found_enum.rb +39 -0
  77. data/lib/katapult-ruby/models/{ip_address_not_found_response.rb → ip_address_not_found_schema.rb} +4 -16
  78. data/lib/katapult-ruby/models/ip_already_allocated_enum.rb +39 -0
  79. data/lib/katapult-ruby/models/ip_already_allocated_schema.rb +255 -0
  80. data/lib/katapult-ruby/models/load_balancer_not_found_enum.rb +39 -0
  81. data/lib/katapult-ruby/models/load_balancer_rule_not_found_enum.rb +39 -0
  82. data/lib/katapult-ruby/models/location_required_enum.rb +39 -0
  83. data/lib/katapult-ruby/models/location_required_schema.rb +255 -0
  84. data/lib/katapult-ruby/models/missing_api_token_enum.rb +39 -0
  85. data/lib/katapult-ruby/models/network_not_found_enum.rb +39 -0
  86. data/lib/katapult-ruby/models/network_not_found_schema.rb +255 -0
  87. data/lib/katapult-ruby/models/network_speed_profile_not_found_enum.rb +39 -0
  88. data/lib/katapult-ruby/models/network_speed_profile_not_found_schema.rb +255 -0
  89. data/lib/katapult-ruby/models/no_allocation_enum.rb +39 -0
  90. data/lib/katapult-ruby/models/no_available_addresses_enum.rb +39 -0
  91. data/lib/katapult-ruby/models/no_interface_available_enum.rb +39 -0
  92. data/lib/katapult-ruby/models/{data_center_not_found_response.rb → no_interface_available_schema.rb} +5 -17
  93. data/lib/katapult-ruby/models/no_user_associated_with_identity_enum.rb +39 -0
  94. data/lib/katapult-ruby/models/object_in_trash_enum.rb +39 -0
  95. data/lib/katapult-ruby/models/{object_in_trash_response.rb → object_in_trash_schema.rb} +4 -16
  96. data/lib/katapult-ruby/models/one_of_api_authenticator403_response.rb +3 -3
  97. data/lib/katapult-ruby/models/{one_of_data_center_not_found_virtual_machine_package_not_found_zone_not_found404_error.rb → one_of_data_center_not_found_virtual_machine_package_not_found_zone_not_found404_res.rb} +7 -7
  98. data/lib/katapult-ruby/models/{one_of_flexible_resources_unavailable_to_organization_permission_denied403_error.rb → one_of_flexible_resources_unavailable_to_organization_permission_denied403_res.rb} +6 -6
  99. data/lib/katapult-ruby/models/one_of_identity_not_linked_to_web_session400_res.rb +105 -0
  100. data/lib/katapult-ruby/models/one_of_infrastructure_dns_zone_cannot_be_edited403_res.rb +107 -0
  101. data/lib/katapult-ruby/models/{one_of_interface_not_found_network_not_found_virtual_machine_not_found404_error.rb → one_of_interface_not_found_network_not_found_virtual_machine_not_found404_res.rb} +4 -4
  102. data/lib/katapult-ruby/models/{one_of_invalid_spec_xml400_error.rb → one_of_invalid_spec_xml400_res.rb} +3 -3
  103. data/lib/katapult-ruby/models/{one_of_invalid_timestamp400_error.rb → one_of_invalid_timestamp400_res.rb} +3 -3
  104. data/lib/katapult-ruby/models/{one_of_ip_address_not_found_virtual_machine_network_interface_not_found404_error.rb → one_of_ip_address_not_found_virtual_machine_network_interface_not_found404_res.rb} +3 -3
  105. data/lib/katapult-ruby/models/one_of_ip_address_not_found_virtual_machine_not_found404_res.rb +105 -0
  106. data/lib/katapult-ruby/models/{one_of_ip_already_allocated_invalid_ip422_error.rb → one_of_ip_already_allocated_invalid_ip422_res.rb} +3 -3
  107. data/lib/katapult-ruby/models/one_of_ip_already_allocated_no_interface_available422_res.rb +105 -0
  108. data/lib/katapult-ruby/models/{one_of_object_in_trash_task_queueing_error406_error.rb → one_of_location_required_validation_error422_res.rb} +3 -3
  109. data/lib/katapult-ruby/models/{one_of_location_required_validation_error422_error.rb → one_of_network_not_found_organization_not_found404_res.rb} +3 -3
  110. data/lib/katapult-ruby/models/{one_of_network_speed_profile_not_found_virtual_machine_network_interface_not_found404_error.rb → one_of_network_speed_profile_not_found_virtual_machine_network_interface_not_found404_res.rb} +3 -3
  111. data/lib/katapult-ruby/models/one_of_object_in_trash_task_queueing_error406_res.rb +105 -0
  112. data/lib/katapult-ruby/models/one_of_object_in_trash_virtual_machine_must_be_started406_res.rb +105 -0
  113. data/lib/katapult-ruby/models/{one_of_ip_address_not_found_virtual_machine_not_found404_error.rb → one_of_operating_system_not_found_organization_not_found404_res.rb} +3 -3
  114. data/lib/katapult-ruby/models/one_of_organization_limit_reached_validation_error422_res.rb +105 -0
  115. data/lib/katapult-ruby/models/{one_of_infrastructure_dns_zone_cannot_be_edited403_error.rb → one_of_organization_not_activated_organization_suspended403_res.rb} +6 -5
  116. data/lib/katapult-ruby/models/{one_of_organization_not_activated_organization_suspended_permission_denied403_error.rb → one_of_organization_not_activated_organization_suspended_permission_denied403_res.rb} +7 -7
  117. data/lib/katapult-ruby/models/{one_of_organization_not_activated_permission_denied_resource_creation_restricted403_error.rb → one_of_organization_not_activated_permission_denied_resource_creation_restricted403_res.rb} +8 -8
  118. data/lib/katapult-ruby/models/{one_of_identity_not_linked_to_web_session400_error.rb → one_of_permission_denied403_res.rb} +5 -3
  119. data/lib/katapult-ruby/models/{one_of_virtual_machine_not_found_virtual_machine_package_not_found404_error.rb → one_of_virtual_machine_not_found_virtual_machine_package_not_found404_res.rb} +3 -3
  120. data/lib/katapult-ruby/models/operating_system_not_found_enum.rb +39 -0
  121. data/lib/katapult-ruby/models/{organization_suspended_response.rb → operating_system_not_found_schema.rb} +5 -17
  122. data/lib/katapult-ruby/models/organization_limit_reached_enum.rb +39 -0
  123. data/lib/katapult-ruby/models/{virtual_machine_not_found_response.rb → organization_limit_reached_schema.rb} +5 -17
  124. data/lib/katapult-ruby/models/organization_not_activated_enum.rb +39 -0
  125. data/lib/katapult-ruby/models/{organization_not_activated_response.rb → organization_not_activated_schema.rb} +4 -16
  126. data/lib/katapult-ruby/models/organization_not_found_enum.rb +39 -0
  127. data/lib/katapult-ruby/models/organization_not_found_schema.rb +255 -0
  128. data/lib/katapult-ruby/models/organization_suspended_enum.rb +39 -0
  129. data/lib/katapult-ruby/models/{api_authenticator400_response.rb → organization_suspended_schema.rb} +5 -17
  130. data/lib/katapult-ruby/models/patch_virtual_machine_network_interface_update_speed_profile406_response.rb +1 -13
  131. data/lib/katapult-ruby/models/patch_virtual_machine_network_interface_update_speed_profile422_response.rb +1 -13
  132. data/lib/katapult-ruby/models/permission_denied_enum.rb +39 -0
  133. data/lib/katapult-ruby/models/{permission_denied_response.rb → permission_denied_schema.rb} +4 -16
  134. data/lib/katapult-ruby/models/post_dns_zones_dns_zone_verify422_response.rb +1 -13
  135. data/lib/katapult-ruby/models/post_ip_address_unallocate422_response.rb +1 -13
  136. data/lib/katapult-ruby/models/post_organization_ip_addresses503_response.rb +1 -13
  137. data/lib/katapult-ruby/models/post_organization_virtual_machines_build_from_spec422_response.rb +1 -13
  138. data/lib/katapult-ruby/models/rate_limit_reached_enum.rb +39 -0
  139. data/lib/katapult-ruby/models/resource_creation_restricted_enum.rb +39 -0
  140. data/lib/katapult-ruby/models/{organization_limit_reached_response.rb → resource_creation_restricted_schema.rb} +6 -18
  141. data/lib/katapult-ruby/models/resource_does_not_support_unallocation_enum.rb +39 -0
  142. data/lib/katapult-ruby/models/scope_not_granted_error_enum.rb +39 -0
  143. data/lib/katapult-ruby/models/{scope_not_granted_error_response.rb → scope_not_granted_error_schema.rb} +4 -16
  144. data/lib/katapult-ruby/models/security_group_not_found_enum.rb +39 -0
  145. data/lib/katapult-ruby/models/security_group_rule_not_found_enum.rb +39 -0
  146. data/lib/katapult-ruby/models/speed_profile_already_assigned_enum.rb +39 -0
  147. data/lib/katapult-ruby/models/ssh_key_not_found_enum.rb +39 -0
  148. data/lib/katapult-ruby/models/tag_not_found_enum.rb +39 -0
  149. data/lib/katapult-ruby/models/task_not_found_enum.rb +39 -0
  150. data/lib/katapult-ruby/models/task_queueing_error_enum.rb +39 -0
  151. data/lib/katapult-ruby/models/{task_queueing_error_response.rb → task_queueing_error_schema.rb} +4 -16
  152. data/lib/katapult-ruby/models/trash_object_not_found_enum.rb +39 -0
  153. data/lib/katapult-ruby/models/unauthorized_network_for_api_token_enum.rb +39 -0
  154. data/lib/katapult-ruby/models/{unauthorized_network_for_api_token_response.rb → unauthorized_network_for_api_token_schema.rb} +4 -16
  155. data/lib/katapult-ruby/models/validation_error_enum.rb +39 -0
  156. data/lib/katapult-ruby/models/{validation_error_response.rb → validation_error_schema.rb} +4 -16
  157. data/lib/katapult-ruby/models/virtual_machine_build_not_found_enum.rb +39 -0
  158. data/lib/katapult-ruby/models/virtual_machine_group_not_found_enum.rb +39 -0
  159. data/lib/katapult-ruby/models/virtual_machine_must_be_started_enum.rb +39 -0
  160. data/lib/katapult-ruby/models/{virtual_machine_must_be_started_response.rb → virtual_machine_must_be_started_schema.rb} +4 -16
  161. data/lib/katapult-ruby/models/virtual_machine_network_interface_not_found_enum.rb +39 -0
  162. data/lib/katapult-ruby/models/{virtual_machine_network_interface_not_found_response.rb → virtual_machine_network_interface_not_found_schema.rb} +4 -16
  163. data/lib/katapult-ruby/models/virtual_machine_not_found_enum.rb +39 -0
  164. data/lib/katapult-ruby/models/{organization_not_found_response.rb → virtual_machine_not_found_schema.rb} +5 -17
  165. data/lib/katapult-ruby/models/virtual_machine_package_not_found_enum.rb +39 -0
  166. data/lib/katapult-ruby/models/{virtual_machine_package_not_found_response.rb → virtual_machine_package_not_found_schema.rb} +4 -16
  167. data/lib/katapult-ruby/models/zone_not_found_enum.rb +39 -0
  168. data/lib/katapult-ruby/models/{zone_not_found_response.rb → zone_not_found_schema.rb} +4 -16
  169. data/lib/katapult-ruby/version.rb +1 -1
  170. data/lib/katapult-ruby.rb +121 -57
  171. metadata +123 -59
  172. data/lib/katapult-ruby/models/disk_template_not_found_response.rb +0 -267
  173. data/lib/katapult-ruby/models/identity_not_linked_to_web_session_response.rb +0 -267
  174. data/lib/katapult-ruby/models/invalid_timestamp_response.rb +0 -267
  175. data/lib/katapult-ruby/models/no_interface_available_response.rb +0 -267
  176. data/lib/katapult-ruby/models/one_of_ip_already_allocated_no_interface_available422_error.rb +0 -105
  177. data/lib/katapult-ruby/models/one_of_network_not_found_organization_not_found404_error.rb +0 -105
  178. data/lib/katapult-ruby/models/one_of_object_in_trash_virtual_machine_must_be_started406_error.rb +0 -105
  179. data/lib/katapult-ruby/models/one_of_operating_system_not_found_organization_not_found404_error.rb +0 -105
  180. data/lib/katapult-ruby/models/one_of_organization_limit_reached_validation_error422_error.rb +0 -105
  181. data/lib/katapult-ruby/models/one_of_organization_not_activated_organization_suspended403_error.rb +0 -108
  182. data/lib/katapult-ruby/models/one_of_permission_denied403_error.rb +0 -107
  183. data/lib/katapult-ruby/models/operating_system_not_found_response.rb +0 -267
  184. data/lib/katapult-ruby/models/resource_creation_restricted_response.rb +0 -267
@@ -15,7 +15,7 @@ require 'time'
15
15
 
16
16
  module KatapultAPI
17
17
  # No zone was found matching any of the criteria provided in the arguments
18
- class ZoneNotFoundResponse
18
+ class ZoneNotFoundSchema
19
19
  attr_accessor :code
20
20
 
21
21
  attr_accessor :description
@@ -61,7 +61,7 @@ module KatapultAPI
61
61
  # Attribute type mapping.
62
62
  def self.openapi_types
63
63
  {
64
- :'code' => :'String',
64
+ :'code' => :'ZoneNotFoundEnum',
65
65
  :'description' => :'String',
66
66
  :'detail' => :'Object'
67
67
  }
@@ -77,13 +77,13 @@ module KatapultAPI
77
77
  # @param [Hash] attributes Model attributes in the form of hash
78
78
  def initialize(attributes = {})
79
79
  if (!attributes.is_a?(Hash))
80
- fail ArgumentError, "The input argument (attributes) must be a hash in `KatapultAPI::ZoneNotFoundResponse` initialize method"
80
+ fail ArgumentError, "The input argument (attributes) must be a hash in `KatapultAPI::ZoneNotFoundSchema` initialize method"
81
81
  end
82
82
 
83
83
  # check to see if the attribute exists and convert string to symbol for hash key
84
84
  attributes = attributes.each_with_object({}) { |(k, v), h|
85
85
  if (!self.class.attribute_map.key?(k.to_sym))
86
- fail ArgumentError, "`#{k}` is not a valid attribute in `KatapultAPI::ZoneNotFoundResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
86
+ fail ArgumentError, "`#{k}` is not a valid attribute in `KatapultAPI::ZoneNotFoundSchema`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
87
87
  end
88
88
  h[k.to_sym] = v
89
89
  }
@@ -113,21 +113,9 @@ module KatapultAPI
113
113
  # @return true if the model is valid
114
114
  def valid?
115
115
  warn '[DEPRECATED] the `valid?` method is obsolete'
116
- code_validator = EnumAttributeValidator.new('String', ["zone_not_found"])
117
- return false unless code_validator.valid?(@code)
118
116
  true
119
117
  end
120
118
 
121
- # Custom attribute writer method checking allowed values (enum).
122
- # @param [Object] code Object to be assigned
123
- def code=(code)
124
- validator = EnumAttributeValidator.new('String', ["zone_not_found"])
125
- unless validator.valid?(code)
126
- fail ArgumentError, "invalid value for \"code\", must be one of #{validator.allowable_values}."
127
- end
128
- @code = code
129
- end
130
-
131
119
  # Checks equality by comparing each attribute.
132
120
  # @param [Object] Object to be compared
133
121
  def ==(o)
@@ -11,5 +11,5 @@ OpenAPI Generator version: 7.1.0
11
11
  =end
12
12
 
13
13
  module KatapultAPI
14
- VERSION = '0.0.4'
14
+ VERSION = '0.0.5'
15
15
  end
data/lib/katapult-ruby.rb CHANGED
@@ -19,7 +19,7 @@ require 'katapult-ruby/configuration'
19
19
  # Models
20
20
  require 'katapult-ruby/models/a'
21
21
  require 'katapult-ruby/models/aaaa'
22
- require 'katapult-ruby/models/api_authenticator400_response'
22
+ require 'katapult-ruby/models/api_authenticator400_schema'
23
23
  require 'katapult-ruby/models/attachment'
24
24
  require 'katapult-ruby/models/auth_ssh_key'
25
25
  require 'katapult-ruby/models/auth_ssh_key_lookup'
@@ -28,27 +28,36 @@ require 'katapult-ruby/models/caa'
28
28
  require 'katapult-ruby/models/cname'
29
29
  require 'katapult-ruby/models/certificate'
30
30
  require 'katapult-ruby/models/certificate_lookup'
31
+ require 'katapult-ruby/models/certificate_not_found_enum'
31
32
  require 'katapult-ruby/models/certificate_state_enum'
32
33
  require 'katapult-ruby/models/country'
34
+ require 'katapult-ruby/models/country_not_found_enum'
33
35
  require 'katapult-ruby/models/country_state'
36
+ require 'katapult-ruby/models/country_state_not_found_enum'
34
37
  require 'katapult-ruby/models/currency'
38
+ require 'katapult-ruby/models/currency_not_found_enum'
35
39
  require 'katapult-ruby/models/dns_record'
36
40
  require 'katapult-ruby/models/dns_record_arguments'
37
41
  require 'katapult-ruby/models/dns_record_content_attributes'
38
42
  require 'katapult-ruby/models/dns_record_lookup'
43
+ require 'katapult-ruby/models/dns_record_not_found_enum'
39
44
  require 'katapult-ruby/models/dns_record_properties'
40
45
  require 'katapult-ruby/models/dns_record_properties_arguments'
41
46
  require 'katapult-ruby/models/dns_record_properties_properties'
42
47
  require 'katapult-ruby/models/dns_record_type_enum'
43
48
  require 'katapult-ruby/models/dns_record_types_enum'
44
49
  require 'katapult-ruby/models/dns_zone'
50
+ require 'katapult-ruby/models/dns_zone_already_verified_enum'
45
51
  require 'katapult-ruby/models/dns_zone_arguments'
46
52
  require 'katapult-ruby/models/dns_zone_lookup'
53
+ require 'katapult-ruby/models/dns_zone_not_found_enum'
47
54
  require 'katapult-ruby/models/dns_zone_not_verified'
55
+ require 'katapult-ruby/models/dns_zone_not_verified_enum'
48
56
  require 'katapult-ruby/models/dns_zone_verification_details'
49
57
  require 'katapult-ruby/models/data_center'
50
58
  require 'katapult-ruby/models/data_center_lookup'
51
- require 'katapult-ruby/models/data_center_not_found_response'
59
+ require 'katapult-ruby/models/data_center_not_found_enum'
60
+ require 'katapult-ruby/models/data_center_not_found_schema'
52
61
  require 'katapult-ruby/models/delete_dns_zones_dns_zone200_response_dns_zone'
53
62
  require 'katapult-ruby/models/delete_disk_backup_policy200_response'
54
63
  require 'katapult-ruby/models/delete_disk_backup_policy200_response_disk_backup_policy'
@@ -109,26 +118,34 @@ require 'katapult-ruby/models/delete_virtual_machine_part_type'
109
118
  require 'katapult-ruby/models/delete_virtual_machine_part_zone'
110
119
  require 'katapult-ruby/models/delete_virtual_machine_request'
111
120
  require 'katapult-ruby/models/deletion_restricted'
121
+ require 'katapult-ruby/models/deletion_restricted_enum'
112
122
  require 'katapult-ruby/models/disk'
113
123
  require 'katapult-ruby/models/disk_backup_policy_arguments'
114
124
  require 'katapult-ruby/models/disk_backup_policy_lookup'
125
+ require 'katapult-ruby/models/disk_backup_policy_not_found_enum'
115
126
  require 'katapult-ruby/models/disk_backup_policy_target'
116
127
  require 'katapult-ruby/models/disk_backup_policy_target_target'
117
128
  require 'katapult-ruby/models/disk_io_profile'
118
129
  require 'katapult-ruby/models/disk_installation'
119
130
  require 'katapult-ruby/models/disk_installation_attribute'
120
131
  require 'katapult-ruby/models/disk_lookup'
132
+ require 'katapult-ruby/models/disk_not_found_enum'
121
133
  require 'katapult-ruby/models/disk_state_enum'
122
134
  require 'katapult-ruby/models/disk_template'
123
135
  require 'katapult-ruby/models/disk_template_lookup'
124
- require 'katapult-ruby/models/disk_template_not_found_response'
136
+ require 'katapult-ruby/models/disk_template_not_found_enum'
137
+ require 'katapult-ruby/models/disk_template_not_found_schema'
125
138
  require 'katapult-ruby/models/disk_template_version'
139
+ require 'katapult-ruby/models/disk_template_version_not_found_enum'
126
140
  require 'katapult-ruby/models/file_storage_volume_arguments'
127
141
  require 'katapult-ruby/models/file_storage_volume_lookup'
142
+ require 'katapult-ruby/models/file_storage_volume_not_found_enum'
128
143
  require 'katapult-ruby/models/file_storage_volume_state_enum'
129
- require 'katapult-ruby/models/flexible_resources_unavailable_to_organization_response'
144
+ require 'katapult-ruby/models/flexible_resources_unavailable_to_organization_enum'
145
+ require 'katapult-ruby/models/flexible_resources_unavailable_to_organization_schema'
130
146
  require 'katapult-ruby/models/gpu_type'
131
147
  require 'katapult-ruby/models/gpu_type_lookup'
148
+ require 'katapult-ruby/models/gpu_type_not_found_enum'
132
149
  require 'katapult-ruby/models/get_certificate200_response'
133
150
  require 'katapult-ruby/models/get_certificate404_response'
134
151
  require 'katapult-ruby/models/get_countries200_response'
@@ -368,23 +385,33 @@ require 'katapult-ruby/models/get_zones200_response_zones'
368
385
  require 'katapult-ruby/models/get_zones_part_data_center'
369
386
  require 'katapult-ruby/models/ip_address'
370
387
  require 'katapult-ruby/models/ip_address_lookup'
371
- require 'katapult-ruby/models/ip_address_not_found_response'
388
+ require 'katapult-ruby/models/ip_address_not_found_enum'
389
+ require 'katapult-ruby/models/ip_address_not_found_schema'
372
390
  require 'katapult-ruby/models/ip_address_version_enum'
373
- require 'katapult-ruby/models/ip_already_allocated_response'
391
+ require 'katapult-ruby/models/ip_already_allocated_enum'
392
+ require 'katapult-ruby/models/ip_already_allocated_schema'
374
393
  require 'katapult-ruby/models/iso'
375
- require 'katapult-ruby/models/identity_not_linked_to_web_session_response'
376
- require 'katapult-ruby/models/infrastructure_dns_zone_cannot_be_edited_response'
377
- require 'katapult-ruby/models/interface_not_found_response'
394
+ require 'katapult-ruby/models/identity_not_linked_to_web_session_enum'
395
+ require 'katapult-ruby/models/identity_not_linked_to_web_session_schema'
396
+ require 'katapult-ruby/models/infrastructure_dns_zone_cannot_be_edited_enum'
397
+ require 'katapult-ruby/models/infrastructure_dns_zone_cannot_be_edited_schema'
398
+ require 'katapult-ruby/models/interface_not_found_enum'
399
+ require 'katapult-ruby/models/interface_not_found_schema'
378
400
  require 'katapult-ruby/models/invalid_api_token'
379
- require 'katapult-ruby/models/invalid_api_token_response'
380
- require 'katapult-ruby/models/invalid_ip_response'
401
+ require 'katapult-ruby/models/invalid_api_token_enum'
402
+ require 'katapult-ruby/models/invalid_api_token_schema'
403
+ require 'katapult-ruby/models/invalid_ip_enum'
404
+ require 'katapult-ruby/models/invalid_ip_schema'
381
405
  require 'katapult-ruby/models/invalid_spec_xml'
382
- require 'katapult-ruby/models/invalid_spec_xml_response'
383
- require 'katapult-ruby/models/invalid_timestamp_response'
406
+ require 'katapult-ruby/models/invalid_spec_xml_enum'
407
+ require 'katapult-ruby/models/invalid_spec_xml_schema'
408
+ require 'katapult-ruby/models/invalid_timestamp_enum'
409
+ require 'katapult-ruby/models/invalid_timestamp_schema'
384
410
  require 'katapult-ruby/models/issuer_enum'
385
411
  require 'katapult-ruby/models/key_value'
386
412
  require 'katapult-ruby/models/load_balancer_arguments'
387
413
  require 'katapult-ruby/models/load_balancer_lookup'
414
+ require 'katapult-ruby/models/load_balancer_not_found_enum'
388
415
  require 'katapult-ruby/models/load_balancer_resource'
389
416
  require 'katapult-ruby/models/load_balancer_resource_resources'
390
417
  require 'katapult-ruby/models/load_balancer_resource_types_enum'
@@ -393,53 +420,68 @@ require 'katapult-ruby/models/load_balancer_rule_arguments'
393
420
  require 'katapult-ruby/models/load_balancer_rule_check_protocol_enum'
394
421
  require 'katapult-ruby/models/load_balancer_rule_http_statuses_enum'
395
422
  require 'katapult-ruby/models/load_balancer_rule_lookup'
423
+ require 'katapult-ruby/models/load_balancer_rule_not_found_enum'
396
424
  require 'katapult-ruby/models/load_balancer_rule_protocol_enum'
397
425
  require 'katapult-ruby/models/load_balancer_weights_arguments'
398
- require 'katapult-ruby/models/location_required_response'
426
+ require 'katapult-ruby/models/location_required_enum'
427
+ require 'katapult-ruby/models/location_required_schema'
399
428
  require 'katapult-ruby/models/mx'
429
+ require 'katapult-ruby/models/missing_api_token_enum'
400
430
  require 'katapult-ruby/models/model_alias'
401
431
  require 'katapult-ruby/models/ns'
402
432
  require 'katapult-ruby/models/network'
403
433
  require 'katapult-ruby/models/network_lookup'
404
- require 'katapult-ruby/models/network_not_found_response'
434
+ require 'katapult-ruby/models/network_not_found_enum'
435
+ require 'katapult-ruby/models/network_not_found_schema'
405
436
  require 'katapult-ruby/models/network_speed_profile'
406
437
  require 'katapult-ruby/models/network_speed_profile_lookup'
407
- require 'katapult-ruby/models/network_speed_profile_not_found_response'
408
- require 'katapult-ruby/models/no_interface_available_response'
438
+ require 'katapult-ruby/models/network_speed_profile_not_found_enum'
439
+ require 'katapult-ruby/models/network_speed_profile_not_found_schema'
440
+ require 'katapult-ruby/models/no_allocation_enum'
441
+ require 'katapult-ruby/models/no_available_addresses_enum'
442
+ require 'katapult-ruby/models/no_interface_available_enum'
443
+ require 'katapult-ruby/models/no_interface_available_schema'
444
+ require 'katapult-ruby/models/no_user_associated_with_identity_enum'
409
445
  require 'katapult-ruby/models/object_in_trash'
410
- require 'katapult-ruby/models/object_in_trash_response'
446
+ require 'katapult-ruby/models/object_in_trash_enum'
447
+ require 'katapult-ruby/models/object_in_trash_schema'
411
448
  require 'katapult-ruby/models/one_of_api_authenticator403_response'
412
- require 'katapult-ruby/models/one_of_data_center_not_found_virtual_machine_package_not_found_zone_not_found404_error'
413
- require 'katapult-ruby/models/one_of_flexible_resources_unavailable_to_organization_permission_denied403_error'
414
- require 'katapult-ruby/models/one_of_ip_address_not_found_virtual_machine_network_interface_not_found404_error'
415
- require 'katapult-ruby/models/one_of_ip_address_not_found_virtual_machine_not_found404_error'
416
- require 'katapult-ruby/models/one_of_ip_already_allocated_invalid_ip422_error'
417
- require 'katapult-ruby/models/one_of_ip_already_allocated_no_interface_available422_error'
418
- require 'katapult-ruby/models/one_of_identity_not_linked_to_web_session400_error'
419
- require 'katapult-ruby/models/one_of_infrastructure_dns_zone_cannot_be_edited403_error'
420
- require 'katapult-ruby/models/one_of_interface_not_found_network_not_found_virtual_machine_not_found404_error'
421
- require 'katapult-ruby/models/one_of_invalid_spec_xml400_error'
422
- require 'katapult-ruby/models/one_of_invalid_timestamp400_error'
423
- require 'katapult-ruby/models/one_of_location_required_validation_error422_error'
424
- require 'katapult-ruby/models/one_of_network_not_found_organization_not_found404_error'
425
- require 'katapult-ruby/models/one_of_network_speed_profile_not_found_virtual_machine_network_interface_not_found404_error'
426
- require 'katapult-ruby/models/one_of_object_in_trash_task_queueing_error406_error'
427
- require 'katapult-ruby/models/one_of_object_in_trash_virtual_machine_must_be_started406_error'
428
- require 'katapult-ruby/models/one_of_operating_system_not_found_organization_not_found404_error'
429
- require 'katapult-ruby/models/one_of_organization_limit_reached_validation_error422_error'
430
- require 'katapult-ruby/models/one_of_organization_not_activated_organization_suspended403_error'
431
- require 'katapult-ruby/models/one_of_organization_not_activated_organization_suspended_permission_denied403_error'
432
- require 'katapult-ruby/models/one_of_organization_not_activated_permission_denied_resource_creation_restricted403_error'
433
- require 'katapult-ruby/models/one_of_permission_denied403_error'
434
- require 'katapult-ruby/models/one_of_virtual_machine_not_found_virtual_machine_package_not_found404_error'
449
+ require 'katapult-ruby/models/one_of_data_center_not_found_virtual_machine_package_not_found_zone_not_found404_res'
450
+ require 'katapult-ruby/models/one_of_flexible_resources_unavailable_to_organization_permission_denied403_res'
451
+ require 'katapult-ruby/models/one_of_ip_address_not_found_virtual_machine_network_interface_not_found404_res'
452
+ require 'katapult-ruby/models/one_of_ip_address_not_found_virtual_machine_not_found404_res'
453
+ require 'katapult-ruby/models/one_of_ip_already_allocated_invalid_ip422_res'
454
+ require 'katapult-ruby/models/one_of_ip_already_allocated_no_interface_available422_res'
455
+ require 'katapult-ruby/models/one_of_identity_not_linked_to_web_session400_res'
456
+ require 'katapult-ruby/models/one_of_infrastructure_dns_zone_cannot_be_edited403_res'
457
+ require 'katapult-ruby/models/one_of_interface_not_found_network_not_found_virtual_machine_not_found404_res'
458
+ require 'katapult-ruby/models/one_of_invalid_spec_xml400_res'
459
+ require 'katapult-ruby/models/one_of_invalid_timestamp400_res'
460
+ require 'katapult-ruby/models/one_of_location_required_validation_error422_res'
461
+ require 'katapult-ruby/models/one_of_network_not_found_organization_not_found404_res'
462
+ require 'katapult-ruby/models/one_of_network_speed_profile_not_found_virtual_machine_network_interface_not_found404_res'
463
+ require 'katapult-ruby/models/one_of_object_in_trash_task_queueing_error406_res'
464
+ require 'katapult-ruby/models/one_of_object_in_trash_virtual_machine_must_be_started406_res'
465
+ require 'katapult-ruby/models/one_of_operating_system_not_found_organization_not_found404_res'
466
+ require 'katapult-ruby/models/one_of_organization_limit_reached_validation_error422_res'
467
+ require 'katapult-ruby/models/one_of_organization_not_activated_organization_suspended403_res'
468
+ require 'katapult-ruby/models/one_of_organization_not_activated_organization_suspended_permission_denied403_res'
469
+ require 'katapult-ruby/models/one_of_organization_not_activated_permission_denied_resource_creation_restricted403_res'
470
+ require 'katapult-ruby/models/one_of_permission_denied403_res'
471
+ require 'katapult-ruby/models/one_of_virtual_machine_not_found_virtual_machine_package_not_found404_res'
435
472
  require 'katapult-ruby/models/operating_system'
436
- require 'katapult-ruby/models/operating_system_not_found_response'
473
+ require 'katapult-ruby/models/operating_system_not_found_enum'
474
+ require 'katapult-ruby/models/operating_system_not_found_schema'
437
475
  require 'katapult-ruby/models/organization'
438
- require 'katapult-ruby/models/organization_limit_reached_response'
476
+ require 'katapult-ruby/models/organization_limit_reached_enum'
477
+ require 'katapult-ruby/models/organization_limit_reached_schema'
439
478
  require 'katapult-ruby/models/organization_lookup'
440
- require 'katapult-ruby/models/organization_not_activated_response'
441
- require 'katapult-ruby/models/organization_not_found_response'
442
- require 'katapult-ruby/models/organization_suspended_response'
479
+ require 'katapult-ruby/models/organization_not_activated_enum'
480
+ require 'katapult-ruby/models/organization_not_activated_schema'
481
+ require 'katapult-ruby/models/organization_not_found_enum'
482
+ require 'katapult-ruby/models/organization_not_found_schema'
483
+ require 'katapult-ruby/models/organization_suspended_enum'
484
+ require 'katapult-ruby/models/organization_suspended_schema'
443
485
  require 'katapult-ruby/models/pagination_object'
444
486
  require 'katapult-ruby/models/patch_dns_records_dns_record200_response_dns_record'
445
487
  require 'katapult-ruby/models/patch_disk_backup_policy200_response'
@@ -503,7 +545,8 @@ require 'katapult-ruby/models/patch_virtual_machine_part_type'
503
545
  require 'katapult-ruby/models/patch_virtual_machine_part_zone'
504
546
  require 'katapult-ruby/models/patch_virtual_machine_request'
505
547
  require 'katapult-ruby/models/permission_denied'
506
- require 'katapult-ruby/models/permission_denied_response'
548
+ require 'katapult-ruby/models/permission_denied_enum'
549
+ require 'katapult-ruby/models/permission_denied_schema'
507
550
  require 'katapult-ruby/models/post_dns_zones_dns_zone_records200_response_dns_record'
508
551
  require 'katapult-ruby/models/post_dns_zones_dns_zone_update_ttl200_response_dns_zone'
509
552
  require 'katapult-ruby/models/post_disk_disk_backup_policies200_response'
@@ -604,6 +647,7 @@ require 'katapult-ruby/models/put_virtual_machine_flexible_resources_request'
604
647
  require 'katapult-ruby/models/put_virtual_machine_package200_response'
605
648
  require 'katapult-ruby/models/put_virtual_machine_package_request'
606
649
  require 'katapult-ruby/models/rate_limit_reached'
650
+ require 'katapult-ruby/models/rate_limit_reached_enum'
607
651
  require 'katapult-ruby/models/record_content_attributes_for_a'
608
652
  require 'katapult-ruby/models/record_content_attributes_for_aaaa'
609
653
  require 'katapult-ruby/models/record_content_attributes_for_alias'
@@ -618,43 +662,57 @@ require 'katapult-ruby/models/record_content_attributes_for_sshfp'
618
662
  require 'katapult-ruby/models/record_content_attributes_for_txt'
619
663
  require 'katapult-ruby/models/record_content_attributes_for_virtual_machine'
620
664
  require 'katapult-ruby/models/resource_creation_restricted'
621
- require 'katapult-ruby/models/resource_creation_restricted_response'
665
+ require 'katapult-ruby/models/resource_creation_restricted_enum'
666
+ require 'katapult-ruby/models/resource_creation_restricted_schema'
667
+ require 'katapult-ruby/models/resource_does_not_support_unallocation_enum'
622
668
  require 'katapult-ruby/models/srv'
623
669
  require 'katapult-ruby/models/sshfp'
670
+ require 'katapult-ruby/models/ssh_key_not_found_enum'
624
671
  require 'katapult-ruby/models/schedule_arguments'
625
672
  require 'katapult-ruby/models/schedule_interval_type_enum'
626
673
  require 'katapult-ruby/models/scope_not_granted_error'
627
- require 'katapult-ruby/models/scope_not_granted_error_response'
674
+ require 'katapult-ruby/models/scope_not_granted_error_enum'
675
+ require 'katapult-ruby/models/scope_not_granted_error_schema'
628
676
  require 'katapult-ruby/models/security_group'
629
677
  require 'katapult-ruby/models/security_group_arguments'
630
678
  require 'katapult-ruby/models/security_group_lookup'
679
+ require 'katapult-ruby/models/security_group_not_found_enum'
631
680
  require 'katapult-ruby/models/security_group_rule_action_enum'
632
681
  require 'katapult-ruby/models/security_group_rule_arguments'
633
682
  require 'katapult-ruby/models/security_group_rule_direction_enum'
634
683
  require 'katapult-ruby/models/security_group_rule_lookup'
684
+ require 'katapult-ruby/models/security_group_rule_not_found_enum'
635
685
  require 'katapult-ruby/models/security_group_rule_protocol_enum'
686
+ require 'katapult-ruby/models/speed_profile_already_assigned_enum'
636
687
  require 'katapult-ruby/models/storage_speed_enum'
637
688
  require 'katapult-ruby/models/txt'
638
689
  require 'katapult-ruby/models/tag'
639
690
  require 'katapult-ruby/models/tag_arguments'
640
691
  require 'katapult-ruby/models/tag_colors_enum'
641
692
  require 'katapult-ruby/models/tag_lookup'
693
+ require 'katapult-ruby/models/tag_not_found_enum'
642
694
  require 'katapult-ruby/models/task'
695
+ require 'katapult-ruby/models/task_not_found_enum'
643
696
  require 'katapult-ruby/models/task_queueing_error'
644
- require 'katapult-ruby/models/task_queueing_error_response'
697
+ require 'katapult-ruby/models/task_queueing_error_enum'
698
+ require 'katapult-ruby/models/task_queueing_error_schema'
645
699
  require 'katapult-ruby/models/task_status_enum'
646
700
  require 'katapult-ruby/models/template_spec'
647
701
  require 'katapult-ruby/models/template_spec_field'
648
702
  require 'katapult-ruby/models/template_spec_field_type_enum'
649
703
  require 'katapult-ruby/models/trash_object'
650
704
  require 'katapult-ruby/models/trash_object_lookup'
705
+ require 'katapult-ruby/models/trash_object_not_found_enum'
651
706
  require 'katapult-ruby/models/unauthorized_network_for_api_token'
652
- require 'katapult-ruby/models/unauthorized_network_for_api_token_response'
707
+ require 'katapult-ruby/models/unauthorized_network_for_api_token_enum'
708
+ require 'katapult-ruby/models/unauthorized_network_for_api_token_schema'
653
709
  require 'katapult-ruby/models/user'
654
710
  require 'katapult-ruby/models/validation_error'
655
- require 'katapult-ruby/models/validation_error_response'
711
+ require 'katapult-ruby/models/validation_error_enum'
712
+ require 'katapult-ruby/models/validation_error_schema'
656
713
  require 'katapult-ruby/models/virtual_machine'
657
714
  require 'katapult-ruby/models/virtual_machine_arguments'
715
+ require 'katapult-ruby/models/virtual_machine_build_not_found_enum'
658
716
  require 'katapult-ruby/models/virtual_machine_build_state_enum'
659
717
  require 'katapult-ruby/models/virtual_machine_disk'
660
718
  require 'katapult-ruby/models/virtual_machine_disk_attachment_state_enum'
@@ -665,19 +723,25 @@ require 'katapult-ruby/models/virtual_machine_gpu_status_enum'
665
723
  require 'katapult-ruby/models/virtual_machine_group'
666
724
  require 'katapult-ruby/models/virtual_machine_group_arguments'
667
725
  require 'katapult-ruby/models/virtual_machine_group_lookup'
726
+ require 'katapult-ruby/models/virtual_machine_group_not_found_enum'
668
727
  require 'katapult-ruby/models/virtual_machine_lookup'
669
728
  require 'katapult-ruby/models/virtual_machine_must_be_started'
670
- require 'katapult-ruby/models/virtual_machine_must_be_started_response'
729
+ require 'katapult-ruby/models/virtual_machine_must_be_started_enum'
730
+ require 'katapult-ruby/models/virtual_machine_must_be_started_schema'
671
731
  require 'katapult-ruby/models/virtual_machine_network_interface_lookup'
672
- require 'katapult-ruby/models/virtual_machine_network_interface_not_found_response'
673
- require 'katapult-ruby/models/virtual_machine_not_found_response'
732
+ require 'katapult-ruby/models/virtual_machine_network_interface_not_found_enum'
733
+ require 'katapult-ruby/models/virtual_machine_network_interface_not_found_schema'
734
+ require 'katapult-ruby/models/virtual_machine_not_found_enum'
735
+ require 'katapult-ruby/models/virtual_machine_not_found_schema'
674
736
  require 'katapult-ruby/models/virtual_machine_package'
675
737
  require 'katapult-ruby/models/virtual_machine_package_lookup'
676
- require 'katapult-ruby/models/virtual_machine_package_not_found_response'
738
+ require 'katapult-ruby/models/virtual_machine_package_not_found_enum'
739
+ require 'katapult-ruby/models/virtual_machine_package_not_found_schema'
677
740
  require 'katapult-ruby/models/virtual_machine_state_enum'
678
741
  require 'katapult-ruby/models/zone'
679
742
  require 'katapult-ruby/models/zone_lookup'
680
- require 'katapult-ruby/models/zone_not_found_response'
743
+ require 'katapult-ruby/models/zone_not_found_enum'
744
+ require 'katapult-ruby/models/zone_not_found_schema'
681
745
 
682
746
  # APIs
683
747
  require 'katapult-ruby/api/core_api'