topological_inventory-ingress_api-client 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (610) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +9 -0
  3. data/LICENSE.txt +202 -0
  4. data/README.md +284 -0
  5. data/Rakefile +10 -0
  6. data/docs/Cluster.md +31 -0
  7. data/docs/ClusterAllOf.md +31 -0
  8. data/docs/ClusterReference.md +21 -0
  9. data/docs/ClusterReferenceReference.md +17 -0
  10. data/docs/ClusterTag.md +19 -0
  11. data/docs/ClusterTagAllOf.md +19 -0
  12. data/docs/Container.md +33 -0
  13. data/docs/ContainerAllOf.md +33 -0
  14. data/docs/ContainerGroup.md +35 -0
  15. data/docs/ContainerGroupAllOf.md +35 -0
  16. data/docs/ContainerGroupReference.md +21 -0
  17. data/docs/ContainerGroupTag.md +19 -0
  18. data/docs/ContainerGroupTagAllOf.md +19 -0
  19. data/docs/ContainerImage.md +31 -0
  20. data/docs/ContainerImageAllOf.md +31 -0
  21. data/docs/ContainerImageReference.md +21 -0
  22. data/docs/ContainerImageTag.md +19 -0
  23. data/docs/ContainerImageTagAllOf.md +19 -0
  24. data/docs/ContainerNode.md +49 -0
  25. data/docs/ContainerNodeAllOf.md +49 -0
  26. data/docs/ContainerNodeReference.md +21 -0
  27. data/docs/ContainerNodeReferenceByName.md +21 -0
  28. data/docs/ContainerNodeReferenceByNameReference.md +17 -0
  29. data/docs/ContainerNodeTag.md +19 -0
  30. data/docs/ContainerNodeTagAllOf.md +19 -0
  31. data/docs/ContainerProject.md +33 -0
  32. data/docs/ContainerProjectAllOf.md +33 -0
  33. data/docs/ContainerProjectReference.md +21 -0
  34. data/docs/ContainerProjectReferenceByName.md +21 -0
  35. data/docs/ContainerProjectTag.md +19 -0
  36. data/docs/ContainerProjectTagAllOf.md +19 -0
  37. data/docs/ContainerResourceQuota.md +35 -0
  38. data/docs/ContainerResourceQuotaAllOf.md +35 -0
  39. data/docs/ContainerTemplate.md +31 -0
  40. data/docs/ContainerTemplateAllOf.md +31 -0
  41. data/docs/ContainerTemplateReference.md +21 -0
  42. data/docs/ContainerTemplateTag.md +19 -0
  43. data/docs/ContainerTemplateTagAllOf.md +19 -0
  44. data/docs/CrossLinkVmReference.md +21 -0
  45. data/docs/CrossLinkVmReferenceReference.md +17 -0
  46. data/docs/Datastore.md +37 -0
  47. data/docs/DatastoreAllOf.md +37 -0
  48. data/docs/DatastoreMount.md +23 -0
  49. data/docs/DatastoreMountAllOf.md +23 -0
  50. data/docs/DatastoreReference.md +21 -0
  51. data/docs/DatastoreReferenceReference.md +17 -0
  52. data/docs/DatastoreTag.md +19 -0
  53. data/docs/DatastoreTagAllOf.md +19 -0
  54. data/docs/DefaultApi.md +97 -0
  55. data/docs/Flavor.md +33 -0
  56. data/docs/FlavorAllOf.md +33 -0
  57. data/docs/FlavorReference.md +21 -0
  58. data/docs/FlavorReferenceReference.md +17 -0
  59. data/docs/Host.md +43 -0
  60. data/docs/HostAllOf.md +43 -0
  61. data/docs/HostReference.md +21 -0
  62. data/docs/HostTag.md +19 -0
  63. data/docs/HostTagAllOf.md +19 -0
  64. data/docs/Inventory.md +33 -0
  65. data/docs/InventoryCollection.md +21 -0
  66. data/docs/InventoryCollectionCluster.md +21 -0
  67. data/docs/InventoryCollectionClusterTag.md +21 -0
  68. data/docs/InventoryCollectionContainer.md +21 -0
  69. data/docs/InventoryCollectionContainerGroup.md +21 -0
  70. data/docs/InventoryCollectionContainerGroupTag.md +21 -0
  71. data/docs/InventoryCollectionContainerImage.md +21 -0
  72. data/docs/InventoryCollectionContainerImageTag.md +21 -0
  73. data/docs/InventoryCollectionContainerNode.md +21 -0
  74. data/docs/InventoryCollectionContainerNodeTag.md +21 -0
  75. data/docs/InventoryCollectionContainerProject.md +21 -0
  76. data/docs/InventoryCollectionContainerProjectTag.md +21 -0
  77. data/docs/InventoryCollectionContainerResourceQuota.md +21 -0
  78. data/docs/InventoryCollectionContainerTemplate.md +21 -0
  79. data/docs/InventoryCollectionContainerTemplateTag.md +21 -0
  80. data/docs/InventoryCollectionDatastore.md +21 -0
  81. data/docs/InventoryCollectionDatastoreMount.md +21 -0
  82. data/docs/InventoryCollectionDatastoreTag.md +21 -0
  83. data/docs/InventoryCollectionFlavor.md +21 -0
  84. data/docs/InventoryCollectionHost.md +21 -0
  85. data/docs/InventoryCollectionHostTag.md +21 -0
  86. data/docs/InventoryCollectionIpaddress.md +21 -0
  87. data/docs/InventoryCollectionIpaddressTag.md +21 -0
  88. data/docs/InventoryCollectionNetwork.md +21 -0
  89. data/docs/InventoryCollectionNetworkAdapter.md +21 -0
  90. data/docs/InventoryCollectionNetworkAdapterTag.md +21 -0
  91. data/docs/InventoryCollectionNetworkTag.md +21 -0
  92. data/docs/InventoryCollectionOrchestrationStack.md +21 -0
  93. data/docs/InventoryCollectionReservation.md +21 -0
  94. data/docs/InventoryCollectionReservationTag.md +21 -0
  95. data/docs/InventoryCollectionSecurityGroup.md +21 -0
  96. data/docs/InventoryCollectionSecurityGroupTag.md +21 -0
  97. data/docs/InventoryCollectionServiceCredential.md +21 -0
  98. data/docs/InventoryCollectionServiceInstance.md +21 -0
  99. data/docs/InventoryCollectionServiceInstanceNode.md +21 -0
  100. data/docs/InventoryCollectionServiceInventory.md +21 -0
  101. data/docs/InventoryCollectionServiceInventoryTag.md +21 -0
  102. data/docs/InventoryCollectionServiceOffering.md +21 -0
  103. data/docs/InventoryCollectionServiceOfferingIcon.md +21 -0
  104. data/docs/InventoryCollectionServiceOfferingNode.md +21 -0
  105. data/docs/InventoryCollectionServiceOfferingTag.md +21 -0
  106. data/docs/InventoryCollectionServicePlan.md +21 -0
  107. data/docs/InventoryCollectionSourceRegion.md +21 -0
  108. data/docs/InventoryCollectionSubnet.md +21 -0
  109. data/docs/InventoryCollectionSubnetTag.md +21 -0
  110. data/docs/InventoryCollectionSubscription.md +21 -0
  111. data/docs/InventoryCollectionTag.md +21 -0
  112. data/docs/InventoryCollectionVm.md +21 -0
  113. data/docs/InventoryCollectionVmSecurityGroup.md +21 -0
  114. data/docs/InventoryCollectionVmTag.md +21 -0
  115. data/docs/InventoryCollectionVolume.md +21 -0
  116. data/docs/InventoryCollectionVolumeAttachment.md +21 -0
  117. data/docs/InventoryCollectionVolumeType.md +21 -0
  118. data/docs/InventoryObjectLazy.md +21 -0
  119. data/docs/Ipaddress.md +41 -0
  120. data/docs/IpaddressAllOf.md +41 -0
  121. data/docs/IpaddressReference.md +21 -0
  122. data/docs/IpaddressTag.md +19 -0
  123. data/docs/IpaddressTagAllOf.md +19 -0
  124. data/docs/Network.md +39 -0
  125. data/docs/NetworkAdapter.md +37 -0
  126. data/docs/NetworkAdapterAllOf.md +37 -0
  127. data/docs/NetworkAdapterReference.md +21 -0
  128. data/docs/NetworkAdapterTag.md +19 -0
  129. data/docs/NetworkAdapterTagAllOf.md +19 -0
  130. data/docs/NetworkAllOf.md +39 -0
  131. data/docs/NetworkReference.md +21 -0
  132. data/docs/NetworkTag.md +19 -0
  133. data/docs/NetworkTagAllOf.md +19 -0
  134. data/docs/OrchestrationStack.md +35 -0
  135. data/docs/OrchestrationStackAllOf.md +35 -0
  136. data/docs/OrchestrationStackReference.md +21 -0
  137. data/docs/Reservation.md +39 -0
  138. data/docs/ReservationAllOf.md +39 -0
  139. data/docs/ReservationReference.md +21 -0
  140. data/docs/ReservationTag.md +19 -0
  141. data/docs/ReservationTagAllOf.md +19 -0
  142. data/docs/Schema.md +17 -0
  143. data/docs/SecurityGroup.md +39 -0
  144. data/docs/SecurityGroupAllOf.md +39 -0
  145. data/docs/SecurityGroupReference.md +21 -0
  146. data/docs/SecurityGroupTag.md +19 -0
  147. data/docs/SecurityGroupTagAllOf.md +19 -0
  148. data/docs/ServiceCredential.md +31 -0
  149. data/docs/ServiceCredentialAllOf.md +31 -0
  150. data/docs/ServiceCredentialReference.md +21 -0
  151. data/docs/ServiceInstance.md +45 -0
  152. data/docs/ServiceInstanceAllOf.md +45 -0
  153. data/docs/ServiceInstanceNode.md +37 -0
  154. data/docs/ServiceInstanceNodeAllOf.md +37 -0
  155. data/docs/ServiceInstanceReference.md +21 -0
  156. data/docs/ServiceInventory.md +31 -0
  157. data/docs/ServiceInventoryAllOf.md +31 -0
  158. data/docs/ServiceInventoryReference.md +21 -0
  159. data/docs/ServiceInventoryTag.md +19 -0
  160. data/docs/ServiceInventoryTagAllOf.md +19 -0
  161. data/docs/ServiceOffering.md +51 -0
  162. data/docs/ServiceOfferingAllOf.md +51 -0
  163. data/docs/ServiceOfferingIcon.md +19 -0
  164. data/docs/ServiceOfferingIconAllOf.md +19 -0
  165. data/docs/ServiceOfferingIconReference.md +21 -0
  166. data/docs/ServiceOfferingNode.md +37 -0
  167. data/docs/ServiceOfferingNodeAllOf.md +37 -0
  168. data/docs/ServiceOfferingReference.md +21 -0
  169. data/docs/ServiceOfferingTag.md +19 -0
  170. data/docs/ServiceOfferingTagAllOf.md +19 -0
  171. data/docs/ServicePlan.md +43 -0
  172. data/docs/ServicePlanAllOf.md +43 -0
  173. data/docs/ServicePlanReference.md +21 -0
  174. data/docs/SourceRegion.md +23 -0
  175. data/docs/SourceRegionAllOf.md +23 -0
  176. data/docs/SourceRegionReference.md +21 -0
  177. data/docs/Subnet.md +41 -0
  178. data/docs/SubnetAllOf.md +41 -0
  179. data/docs/SubnetReference.md +21 -0
  180. data/docs/SubnetTag.md +19 -0
  181. data/docs/SubnetTagAllOf.md +19 -0
  182. data/docs/Subscription.md +21 -0
  183. data/docs/SubscriptionAllOf.md +21 -0
  184. data/docs/SubscriptionReference.md +21 -0
  185. data/docs/Tag.md +23 -0
  186. data/docs/TagAllOf.md +23 -0
  187. data/docs/TagReference.md +21 -0
  188. data/docs/TagReferenceReference.md +21 -0
  189. data/docs/Vm.md +55 -0
  190. data/docs/VmAllOf.md +55 -0
  191. data/docs/VmReference.md +21 -0
  192. data/docs/VmSecurityGroup.md +19 -0
  193. data/docs/VmSecurityGroupAllOf.md +19 -0
  194. data/docs/VmTag.md +19 -0
  195. data/docs/VmTagAllOf.md +19 -0
  196. data/docs/Volume.md +41 -0
  197. data/docs/VolumeAllOf.md +41 -0
  198. data/docs/VolumeAttachment.md +23 -0
  199. data/docs/VolumeAttachmentAllOf.md +23 -0
  200. data/docs/VolumeReference.md +21 -0
  201. data/docs/VolumeType.md +25 -0
  202. data/docs/VolumeTypeAllOf.md +25 -0
  203. data/docs/VolumeTypeReference.md +21 -0
  204. data/git_push.sh +58 -0
  205. data/lib/topological_inventory-ingress_api-client.rb +237 -0
  206. data/lib/topological_inventory-ingress_api-client/api/default_api.rb +138 -0
  207. data/lib/topological_inventory-ingress_api-client/api_client.rb +385 -0
  208. data/lib/topological_inventory-ingress_api-client/api_error.rb +57 -0
  209. data/lib/topological_inventory-ingress_api-client/configuration.rb +261 -0
  210. data/lib/topological_inventory-ingress_api-client/models/cluster.rb +289 -0
  211. data/lib/topological_inventory-ingress_api-client/models/cluster_all_of.rb +281 -0
  212. data/lib/topological_inventory-ingress_api-client/models/cluster_reference.rb +281 -0
  213. data/lib/topological_inventory-ingress_api-client/models/cluster_reference_reference.rb +211 -0
  214. data/lib/topological_inventory-ingress_api-client/models/cluster_tag.rb +233 -0
  215. data/lib/topological_inventory-ingress_api-client/models/cluster_tag_all_of.rb +225 -0
  216. data/lib/topological_inventory-ingress_api-client/models/container.rb +303 -0
  217. data/lib/topological_inventory-ingress_api-client/models/container_all_of.rb +295 -0
  218. data/lib/topological_inventory-ingress_api-client/models/container_group.rb +307 -0
  219. data/lib/topological_inventory-ingress_api-client/models/container_group_all_of.rb +299 -0
  220. data/lib/topological_inventory-ingress_api-client/models/container_group_reference.rb +281 -0
  221. data/lib/topological_inventory-ingress_api-client/models/container_group_tag.rb +233 -0
  222. data/lib/topological_inventory-ingress_api-client/models/container_group_tag_all_of.rb +225 -0
  223. data/lib/topological_inventory-ingress_api-client/models/container_image.rb +289 -0
  224. data/lib/topological_inventory-ingress_api-client/models/container_image_all_of.rb +281 -0
  225. data/lib/topological_inventory-ingress_api-client/models/container_image_reference.rb +281 -0
  226. data/lib/topological_inventory-ingress_api-client/models/container_image_tag.rb +233 -0
  227. data/lib/topological_inventory-ingress_api-client/models/container_image_tag_all_of.rb +225 -0
  228. data/lib/topological_inventory-ingress_api-client/models/container_node.rb +383 -0
  229. data/lib/topological_inventory-ingress_api-client/models/container_node_all_of.rb +375 -0
  230. data/lib/topological_inventory-ingress_api-client/models/container_node_reference.rb +281 -0
  231. data/lib/topological_inventory-ingress_api-client/models/container_node_reference_by_name.rb +281 -0
  232. data/lib/topological_inventory-ingress_api-client/models/container_node_reference_by_name_reference.rb +207 -0
  233. data/lib/topological_inventory-ingress_api-client/models/container_node_tag.rb +233 -0
  234. data/lib/topological_inventory-ingress_api-client/models/container_node_tag_all_of.rb +225 -0
  235. data/lib/topological_inventory-ingress_api-client/models/container_project.rb +299 -0
  236. data/lib/topological_inventory-ingress_api-client/models/container_project_all_of.rb +291 -0
  237. data/lib/topological_inventory-ingress_api-client/models/container_project_reference.rb +281 -0
  238. data/lib/topological_inventory-ingress_api-client/models/container_project_reference_by_name.rb +281 -0
  239. data/lib/topological_inventory-ingress_api-client/models/container_project_tag.rb +233 -0
  240. data/lib/topological_inventory-ingress_api-client/models/container_project_tag_all_of.rb +225 -0
  241. data/lib/topological_inventory-ingress_api-client/models/container_resource_quota.rb +308 -0
  242. data/lib/topological_inventory-ingress_api-client/models/container_resource_quota_all_of.rb +300 -0
  243. data/lib/topological_inventory-ingress_api-client/models/container_template.rb +288 -0
  244. data/lib/topological_inventory-ingress_api-client/models/container_template_all_of.rb +280 -0
  245. data/lib/topological_inventory-ingress_api-client/models/container_template_reference.rb +281 -0
  246. data/lib/topological_inventory-ingress_api-client/models/container_template_tag.rb +233 -0
  247. data/lib/topological_inventory-ingress_api-client/models/container_template_tag_all_of.rb +225 -0
  248. data/lib/topological_inventory-ingress_api-client/models/cross_link_vm_reference.rb +281 -0
  249. data/lib/topological_inventory-ingress_api-client/models/cross_link_vm_reference_reference.rb +207 -0
  250. data/lib/topological_inventory-ingress_api-client/models/datastore.rb +327 -0
  251. data/lib/topological_inventory-ingress_api-client/models/datastore_all_of.rb +319 -0
  252. data/lib/topological_inventory-ingress_api-client/models/datastore_mount.rb +253 -0
  253. data/lib/topological_inventory-ingress_api-client/models/datastore_mount_all_of.rb +245 -0
  254. data/lib/topological_inventory-ingress_api-client/models/datastore_reference.rb +281 -0
  255. data/lib/topological_inventory-ingress_api-client/models/datastore_reference_reference.rb +212 -0
  256. data/lib/topological_inventory-ingress_api-client/models/datastore_tag.rb +233 -0
  257. data/lib/topological_inventory-ingress_api-client/models/datastore_tag_all_of.rb +225 -0
  258. data/lib/topological_inventory-ingress_api-client/models/flavor.rb +307 -0
  259. data/lib/topological_inventory-ingress_api-client/models/flavor_all_of.rb +299 -0
  260. data/lib/topological_inventory-ingress_api-client/models/flavor_reference.rb +281 -0
  261. data/lib/topological_inventory-ingress_api-client/models/flavor_reference_reference.rb +212 -0
  262. data/lib/topological_inventory-ingress_api-client/models/host.rb +349 -0
  263. data/lib/topological_inventory-ingress_api-client/models/host_all_of.rb +341 -0
  264. data/lib/topological_inventory-ingress_api-client/models/host_reference.rb +281 -0
  265. data/lib/topological_inventory-ingress_api-client/models/host_tag.rb +233 -0
  266. data/lib/topological_inventory-ingress_api-client/models/host_tag_all_of.rb +225 -0
  267. data/lib/topological_inventory-ingress_api-client/models/inventory.rb +280 -0
  268. data/lib/topological_inventory-ingress_api-client/models/inventory_collection.rb +233 -0
  269. data/lib/topological_inventory-ingress_api-client/models/inventory_collection_cluster.rb +233 -0
  270. data/lib/topological_inventory-ingress_api-client/models/inventory_collection_cluster_tag.rb +233 -0
  271. data/lib/topological_inventory-ingress_api-client/models/inventory_collection_container.rb +233 -0
  272. data/lib/topological_inventory-ingress_api-client/models/inventory_collection_container_group.rb +233 -0
  273. data/lib/topological_inventory-ingress_api-client/models/inventory_collection_container_group_tag.rb +233 -0
  274. data/lib/topological_inventory-ingress_api-client/models/inventory_collection_container_image.rb +233 -0
  275. data/lib/topological_inventory-ingress_api-client/models/inventory_collection_container_image_tag.rb +233 -0
  276. data/lib/topological_inventory-ingress_api-client/models/inventory_collection_container_node.rb +233 -0
  277. data/lib/topological_inventory-ingress_api-client/models/inventory_collection_container_node_tag.rb +233 -0
  278. data/lib/topological_inventory-ingress_api-client/models/inventory_collection_container_project.rb +233 -0
  279. data/lib/topological_inventory-ingress_api-client/models/inventory_collection_container_project_tag.rb +233 -0
  280. data/lib/topological_inventory-ingress_api-client/models/inventory_collection_container_resource_quota.rb +233 -0
  281. data/lib/topological_inventory-ingress_api-client/models/inventory_collection_container_template.rb +233 -0
  282. data/lib/topological_inventory-ingress_api-client/models/inventory_collection_container_template_tag.rb +233 -0
  283. data/lib/topological_inventory-ingress_api-client/models/inventory_collection_datastore.rb +233 -0
  284. data/lib/topological_inventory-ingress_api-client/models/inventory_collection_datastore_mount.rb +233 -0
  285. data/lib/topological_inventory-ingress_api-client/models/inventory_collection_datastore_tag.rb +233 -0
  286. data/lib/topological_inventory-ingress_api-client/models/inventory_collection_flavor.rb +233 -0
  287. data/lib/topological_inventory-ingress_api-client/models/inventory_collection_host.rb +233 -0
  288. data/lib/topological_inventory-ingress_api-client/models/inventory_collection_host_tag.rb +233 -0
  289. data/lib/topological_inventory-ingress_api-client/models/inventory_collection_ipaddress.rb +233 -0
  290. data/lib/topological_inventory-ingress_api-client/models/inventory_collection_ipaddress_tag.rb +233 -0
  291. data/lib/topological_inventory-ingress_api-client/models/inventory_collection_network.rb +233 -0
  292. data/lib/topological_inventory-ingress_api-client/models/inventory_collection_network_adapter.rb +233 -0
  293. data/lib/topological_inventory-ingress_api-client/models/inventory_collection_network_adapter_tag.rb +233 -0
  294. data/lib/topological_inventory-ingress_api-client/models/inventory_collection_network_tag.rb +233 -0
  295. data/lib/topological_inventory-ingress_api-client/models/inventory_collection_orchestration_stack.rb +233 -0
  296. data/lib/topological_inventory-ingress_api-client/models/inventory_collection_reservation.rb +233 -0
  297. data/lib/topological_inventory-ingress_api-client/models/inventory_collection_reservation_tag.rb +233 -0
  298. data/lib/topological_inventory-ingress_api-client/models/inventory_collection_security_group.rb +233 -0
  299. data/lib/topological_inventory-ingress_api-client/models/inventory_collection_security_group_tag.rb +233 -0
  300. data/lib/topological_inventory-ingress_api-client/models/inventory_collection_service_credential.rb +233 -0
  301. data/lib/topological_inventory-ingress_api-client/models/inventory_collection_service_instance.rb +233 -0
  302. data/lib/topological_inventory-ingress_api-client/models/inventory_collection_service_instance_node.rb +233 -0
  303. data/lib/topological_inventory-ingress_api-client/models/inventory_collection_service_inventory.rb +233 -0
  304. data/lib/topological_inventory-ingress_api-client/models/inventory_collection_service_inventory_tag.rb +233 -0
  305. data/lib/topological_inventory-ingress_api-client/models/inventory_collection_service_offering.rb +233 -0
  306. data/lib/topological_inventory-ingress_api-client/models/inventory_collection_service_offering_icon.rb +233 -0
  307. data/lib/topological_inventory-ingress_api-client/models/inventory_collection_service_offering_node.rb +233 -0
  308. data/lib/topological_inventory-ingress_api-client/models/inventory_collection_service_offering_tag.rb +233 -0
  309. data/lib/topological_inventory-ingress_api-client/models/inventory_collection_service_plan.rb +233 -0
  310. data/lib/topological_inventory-ingress_api-client/models/inventory_collection_source_region.rb +233 -0
  311. data/lib/topological_inventory-ingress_api-client/models/inventory_collection_subnet.rb +233 -0
  312. data/lib/topological_inventory-ingress_api-client/models/inventory_collection_subnet_tag.rb +233 -0
  313. data/lib/topological_inventory-ingress_api-client/models/inventory_collection_subscription.rb +233 -0
  314. data/lib/topological_inventory-ingress_api-client/models/inventory_collection_tag.rb +233 -0
  315. data/lib/topological_inventory-ingress_api-client/models/inventory_collection_vm.rb +233 -0
  316. data/lib/topological_inventory-ingress_api-client/models/inventory_collection_vm_security_group.rb +233 -0
  317. data/lib/topological_inventory-ingress_api-client/models/inventory_collection_vm_tag.rb +233 -0
  318. data/lib/topological_inventory-ingress_api-client/models/inventory_collection_volume.rb +233 -0
  319. data/lib/topological_inventory-ingress_api-client/models/inventory_collection_volume_attachment.rb +233 -0
  320. data/lib/topological_inventory-ingress_api-client/models/inventory_collection_volume_type.rb +233 -0
  321. data/lib/topological_inventory-ingress_api-client/models/inventory_object_lazy.rb +239 -0
  322. data/lib/topological_inventory-ingress_api-client/models/ipaddress.rb +377 -0
  323. data/lib/topological_inventory-ingress_api-client/models/ipaddress_all_of.rb +369 -0
  324. data/lib/topological_inventory-ingress_api-client/models/ipaddress_reference.rb +281 -0
  325. data/lib/topological_inventory-ingress_api-client/models/ipaddress_tag.rb +233 -0
  326. data/lib/topological_inventory-ingress_api-client/models/ipaddress_tag_all_of.rb +225 -0
  327. data/lib/topological_inventory-ingress_api-client/models/network.rb +329 -0
  328. data/lib/topological_inventory-ingress_api-client/models/network_adapter.rb +318 -0
  329. data/lib/topological_inventory-ingress_api-client/models/network_adapter_all_of.rb +310 -0
  330. data/lib/topological_inventory-ingress_api-client/models/network_adapter_reference.rb +281 -0
  331. data/lib/topological_inventory-ingress_api-client/models/network_adapter_tag.rb +233 -0
  332. data/lib/topological_inventory-ingress_api-client/models/network_adapter_tag_all_of.rb +225 -0
  333. data/lib/topological_inventory-ingress_api-client/models/network_all_of.rb +321 -0
  334. data/lib/topological_inventory-ingress_api-client/models/network_reference.rb +281 -0
  335. data/lib/topological_inventory-ingress_api-client/models/network_tag.rb +233 -0
  336. data/lib/topological_inventory-ingress_api-client/models/network_tag_all_of.rb +225 -0
  337. data/lib/topological_inventory-ingress_api-client/models/orchestration_stack.rb +309 -0
  338. data/lib/topological_inventory-ingress_api-client/models/orchestration_stack_all_of.rb +301 -0
  339. data/lib/topological_inventory-ingress_api-client/models/orchestration_stack_reference.rb +281 -0
  340. data/lib/topological_inventory-ingress_api-client/models/reservation.rb +329 -0
  341. data/lib/topological_inventory-ingress_api-client/models/reservation_all_of.rb +321 -0
  342. data/lib/topological_inventory-ingress_api-client/models/reservation_reference.rb +281 -0
  343. data/lib/topological_inventory-ingress_api-client/models/reservation_tag.rb +233 -0
  344. data/lib/topological_inventory-ingress_api-client/models/reservation_tag_all_of.rb +225 -0
  345. data/lib/topological_inventory-ingress_api-client/models/schema.rb +206 -0
  346. data/lib/topological_inventory-ingress_api-client/models/security_group.rb +329 -0
  347. data/lib/topological_inventory-ingress_api-client/models/security_group_all_of.rb +321 -0
  348. data/lib/topological_inventory-ingress_api-client/models/security_group_reference.rb +281 -0
  349. data/lib/topological_inventory-ingress_api-client/models/security_group_tag.rb +233 -0
  350. data/lib/topological_inventory-ingress_api-client/models/security_group_tag_all_of.rb +225 -0
  351. data/lib/topological_inventory-ingress_api-client/models/service_credential.rb +289 -0
  352. data/lib/topological_inventory-ingress_api-client/models/service_credential_all_of.rb +281 -0
  353. data/lib/topological_inventory-ingress_api-client/models/service_credential_reference.rb +281 -0
  354. data/lib/topological_inventory-ingress_api-client/models/service_instance.rb +360 -0
  355. data/lib/topological_inventory-ingress_api-client/models/service_instance_all_of.rb +352 -0
  356. data/lib/topological_inventory-ingress_api-client/models/service_instance_node.rb +319 -0
  357. data/lib/topological_inventory-ingress_api-client/models/service_instance_node_all_of.rb +311 -0
  358. data/lib/topological_inventory-ingress_api-client/models/service_instance_reference.rb +281 -0
  359. data/lib/topological_inventory-ingress_api-client/models/service_inventory.rb +289 -0
  360. data/lib/topological_inventory-ingress_api-client/models/service_inventory_all_of.rb +281 -0
  361. data/lib/topological_inventory-ingress_api-client/models/service_inventory_reference.rb +281 -0
  362. data/lib/topological_inventory-ingress_api-client/models/service_inventory_tag.rb +233 -0
  363. data/lib/topological_inventory-ingress_api-client/models/service_inventory_tag_all_of.rb +225 -0
  364. data/lib/topological_inventory-ingress_api-client/models/service_offering.rb +389 -0
  365. data/lib/topological_inventory-ingress_api-client/models/service_offering_all_of.rb +381 -0
  366. data/lib/topological_inventory-ingress_api-client/models/service_offering_icon.rb +229 -0
  367. data/lib/topological_inventory-ingress_api-client/models/service_offering_icon_all_of.rb +221 -0
  368. data/lib/topological_inventory-ingress_api-client/models/service_offering_icon_reference.rb +281 -0
  369. data/lib/topological_inventory-ingress_api-client/models/service_offering_node.rb +319 -0
  370. data/lib/topological_inventory-ingress_api-client/models/service_offering_node_all_of.rb +311 -0
  371. data/lib/topological_inventory-ingress_api-client/models/service_offering_reference.rb +281 -0
  372. data/lib/topological_inventory-ingress_api-client/models/service_offering_tag.rb +233 -0
  373. data/lib/topological_inventory-ingress_api-client/models/service_offering_tag_all_of.rb +225 -0
  374. data/lib/topological_inventory-ingress_api-client/models/service_plan.rb +349 -0
  375. data/lib/topological_inventory-ingress_api-client/models/service_plan_all_of.rb +341 -0
  376. data/lib/topological_inventory-ingress_api-client/models/service_plan_reference.rb +281 -0
  377. data/lib/topological_inventory-ingress_api-client/models/source_region.rb +249 -0
  378. data/lib/topological_inventory-ingress_api-client/models/source_region_all_of.rb +241 -0
  379. data/lib/topological_inventory-ingress_api-client/models/source_region_reference.rb +281 -0
  380. data/lib/topological_inventory-ingress_api-client/models/subnet.rb +339 -0
  381. data/lib/topological_inventory-ingress_api-client/models/subnet_all_of.rb +331 -0
  382. data/lib/topological_inventory-ingress_api-client/models/subnet_reference.rb +281 -0
  383. data/lib/topological_inventory-ingress_api-client/models/subnet_tag.rb +233 -0
  384. data/lib/topological_inventory-ingress_api-client/models/subnet_tag_all_of.rb +225 -0
  385. data/lib/topological_inventory-ingress_api-client/models/subscription.rb +239 -0
  386. data/lib/topological_inventory-ingress_api-client/models/subscription_all_of.rb +231 -0
  387. data/lib/topological_inventory-ingress_api-client/models/subscription_reference.rb +281 -0
  388. data/lib/topological_inventory-ingress_api-client/models/tag.rb +257 -0
  389. data/lib/topological_inventory-ingress_api-client/models/tag_all_of.rb +249 -0
  390. data/lib/topological_inventory-ingress_api-client/models/tag_reference.rb +281 -0
  391. data/lib/topological_inventory-ingress_api-client/models/tag_reference_reference.rb +239 -0
  392. data/lib/topological_inventory-ingress_api-client/models/vm.rb +413 -0
  393. data/lib/topological_inventory-ingress_api-client/models/vm_all_of.rb +405 -0
  394. data/lib/topological_inventory-ingress_api-client/models/vm_reference.rb +281 -0
  395. data/lib/topological_inventory-ingress_api-client/models/vm_security_group.rb +233 -0
  396. data/lib/topological_inventory-ingress_api-client/models/vm_security_group_all_of.rb +225 -0
  397. data/lib/topological_inventory-ingress_api-client/models/vm_tag.rb +233 -0
  398. data/lib/topological_inventory-ingress_api-client/models/vm_tag_all_of.rb +225 -0
  399. data/lib/topological_inventory-ingress_api-client/models/volume.rb +339 -0
  400. data/lib/topological_inventory-ingress_api-client/models/volume_all_of.rb +331 -0
  401. data/lib/topological_inventory-ingress_api-client/models/volume_attachment.rb +253 -0
  402. data/lib/topological_inventory-ingress_api-client/models/volume_attachment_all_of.rb +245 -0
  403. data/lib/topological_inventory-ingress_api-client/models/volume_reference.rb +281 -0
  404. data/lib/topological_inventory-ingress_api-client/models/volume_type.rb +259 -0
  405. data/lib/topological_inventory-ingress_api-client/models/volume_type_all_of.rb +251 -0
  406. data/lib/topological_inventory-ingress_api-client/models/volume_type_reference.rb +281 -0
  407. data/lib/topological_inventory-ingress_api-client/version.rb +15 -0
  408. data/spec/api/default_api_spec.rb +57 -0
  409. data/spec/api_client_spec.rb +226 -0
  410. data/spec/configuration_spec.rb +42 -0
  411. data/spec/models/cluster_all_of_spec.rb +83 -0
  412. data/spec/models/cluster_reference_reference_spec.rb +41 -0
  413. data/spec/models/cluster_reference_spec.rb +53 -0
  414. data/spec/models/cluster_spec.rb +83 -0
  415. data/spec/models/cluster_tag_all_of_spec.rb +47 -0
  416. data/spec/models/cluster_tag_spec.rb +47 -0
  417. data/spec/models/container_all_of_spec.rb +89 -0
  418. data/spec/models/container_group_all_of_spec.rb +95 -0
  419. data/spec/models/container_group_reference_spec.rb +53 -0
  420. data/spec/models/container_group_spec.rb +95 -0
  421. data/spec/models/container_group_tag_all_of_spec.rb +47 -0
  422. data/spec/models/container_group_tag_spec.rb +47 -0
  423. data/spec/models/container_image_all_of_spec.rb +83 -0
  424. data/spec/models/container_image_reference_spec.rb +53 -0
  425. data/spec/models/container_image_spec.rb +83 -0
  426. data/spec/models/container_image_tag_all_of_spec.rb +47 -0
  427. data/spec/models/container_image_tag_spec.rb +47 -0
  428. data/spec/models/container_node_all_of_spec.rb +137 -0
  429. data/spec/models/container_node_reference_by_name_reference_spec.rb +41 -0
  430. data/spec/models/container_node_reference_by_name_spec.rb +53 -0
  431. data/spec/models/container_node_reference_spec.rb +53 -0
  432. data/spec/models/container_node_spec.rb +137 -0
  433. data/spec/models/container_node_tag_all_of_spec.rb +47 -0
  434. data/spec/models/container_node_tag_spec.rb +47 -0
  435. data/spec/models/container_project_all_of_spec.rb +89 -0
  436. data/spec/models/container_project_reference_by_name_spec.rb +53 -0
  437. data/spec/models/container_project_reference_spec.rb +53 -0
  438. data/spec/models/container_project_spec.rb +89 -0
  439. data/spec/models/container_project_tag_all_of_spec.rb +47 -0
  440. data/spec/models/container_project_tag_spec.rb +47 -0
  441. data/spec/models/container_resource_quota_all_of_spec.rb +95 -0
  442. data/spec/models/container_resource_quota_spec.rb +95 -0
  443. data/spec/models/container_spec.rb +89 -0
  444. data/spec/models/container_template_all_of_spec.rb +83 -0
  445. data/spec/models/container_template_reference_spec.rb +53 -0
  446. data/spec/models/container_template_spec.rb +83 -0
  447. data/spec/models/container_template_tag_all_of_spec.rb +47 -0
  448. data/spec/models/container_template_tag_spec.rb +47 -0
  449. data/spec/models/cross_link_vm_reference_reference_spec.rb +41 -0
  450. data/spec/models/cross_link_vm_reference_spec.rb +53 -0
  451. data/spec/models/datastore_all_of_spec.rb +101 -0
  452. data/spec/models/datastore_mount_all_of_spec.rb +59 -0
  453. data/spec/models/datastore_mount_spec.rb +59 -0
  454. data/spec/models/datastore_reference_reference_spec.rb +41 -0
  455. data/spec/models/datastore_reference_spec.rb +53 -0
  456. data/spec/models/datastore_spec.rb +101 -0
  457. data/spec/models/datastore_tag_all_of_spec.rb +47 -0
  458. data/spec/models/datastore_tag_spec.rb +47 -0
  459. data/spec/models/flavor_all_of_spec.rb +89 -0
  460. data/spec/models/flavor_reference_reference_spec.rb +41 -0
  461. data/spec/models/flavor_reference_spec.rb +53 -0
  462. data/spec/models/flavor_spec.rb +89 -0
  463. data/spec/models/host_all_of_spec.rb +119 -0
  464. data/spec/models/host_reference_spec.rb +53 -0
  465. data/spec/models/host_spec.rb +119 -0
  466. data/spec/models/host_tag_all_of_spec.rb +47 -0
  467. data/spec/models/host_tag_spec.rb +47 -0
  468. data/spec/models/inventory_collection_cluster_spec.rb +53 -0
  469. data/spec/models/inventory_collection_cluster_tag_spec.rb +53 -0
  470. data/spec/models/inventory_collection_container_group_spec.rb +53 -0
  471. data/spec/models/inventory_collection_container_group_tag_spec.rb +53 -0
  472. data/spec/models/inventory_collection_container_image_spec.rb +53 -0
  473. data/spec/models/inventory_collection_container_image_tag_spec.rb +53 -0
  474. data/spec/models/inventory_collection_container_node_spec.rb +53 -0
  475. data/spec/models/inventory_collection_container_node_tag_spec.rb +53 -0
  476. data/spec/models/inventory_collection_container_project_spec.rb +53 -0
  477. data/spec/models/inventory_collection_container_project_tag_spec.rb +53 -0
  478. data/spec/models/inventory_collection_container_resource_quota_spec.rb +53 -0
  479. data/spec/models/inventory_collection_container_spec.rb +53 -0
  480. data/spec/models/inventory_collection_container_template_spec.rb +53 -0
  481. data/spec/models/inventory_collection_container_template_tag_spec.rb +53 -0
  482. data/spec/models/inventory_collection_datastore_mount_spec.rb +53 -0
  483. data/spec/models/inventory_collection_datastore_spec.rb +53 -0
  484. data/spec/models/inventory_collection_datastore_tag_spec.rb +53 -0
  485. data/spec/models/inventory_collection_flavor_spec.rb +53 -0
  486. data/spec/models/inventory_collection_host_spec.rb +53 -0
  487. data/spec/models/inventory_collection_host_tag_spec.rb +53 -0
  488. data/spec/models/inventory_collection_ipaddress_spec.rb +53 -0
  489. data/spec/models/inventory_collection_ipaddress_tag_spec.rb +53 -0
  490. data/spec/models/inventory_collection_network_adapter_spec.rb +53 -0
  491. data/spec/models/inventory_collection_network_adapter_tag_spec.rb +53 -0
  492. data/spec/models/inventory_collection_network_spec.rb +53 -0
  493. data/spec/models/inventory_collection_network_tag_spec.rb +53 -0
  494. data/spec/models/inventory_collection_orchestration_stack_spec.rb +53 -0
  495. data/spec/models/inventory_collection_reservation_spec.rb +53 -0
  496. data/spec/models/inventory_collection_reservation_tag_spec.rb +53 -0
  497. data/spec/models/inventory_collection_security_group_spec.rb +53 -0
  498. data/spec/models/inventory_collection_security_group_tag_spec.rb +53 -0
  499. data/spec/models/inventory_collection_service_credential_spec.rb +53 -0
  500. data/spec/models/inventory_collection_service_instance_node_spec.rb +53 -0
  501. data/spec/models/inventory_collection_service_instance_spec.rb +53 -0
  502. data/spec/models/inventory_collection_service_inventory_spec.rb +53 -0
  503. data/spec/models/inventory_collection_service_inventory_tag_spec.rb +53 -0
  504. data/spec/models/inventory_collection_service_offering_icon_spec.rb +53 -0
  505. data/spec/models/inventory_collection_service_offering_node_spec.rb +53 -0
  506. data/spec/models/inventory_collection_service_offering_spec.rb +53 -0
  507. data/spec/models/inventory_collection_service_offering_tag_spec.rb +53 -0
  508. data/spec/models/inventory_collection_service_plan_spec.rb +53 -0
  509. data/spec/models/inventory_collection_source_region_spec.rb +53 -0
  510. data/spec/models/inventory_collection_spec.rb +53 -0
  511. data/spec/models/inventory_collection_subnet_spec.rb +53 -0
  512. data/spec/models/inventory_collection_subnet_tag_spec.rb +53 -0
  513. data/spec/models/inventory_collection_subscription_spec.rb +53 -0
  514. data/spec/models/inventory_collection_tag_spec.rb +53 -0
  515. data/spec/models/inventory_collection_vm_security_group_spec.rb +53 -0
  516. data/spec/models/inventory_collection_vm_spec.rb +53 -0
  517. data/spec/models/inventory_collection_vm_tag_spec.rb +53 -0
  518. data/spec/models/inventory_collection_volume_attachment_spec.rb +53 -0
  519. data/spec/models/inventory_collection_volume_spec.rb +53 -0
  520. data/spec/models/inventory_collection_volume_type_spec.rb +53 -0
  521. data/spec/models/inventory_object_lazy_spec.rb +53 -0
  522. data/spec/models/inventory_spec.rb +89 -0
  523. data/spec/models/ipaddress_all_of_spec.rb +117 -0
  524. data/spec/models/ipaddress_reference_spec.rb +53 -0
  525. data/spec/models/ipaddress_spec.rb +117 -0
  526. data/spec/models/ipaddress_tag_all_of_spec.rb +47 -0
  527. data/spec/models/ipaddress_tag_spec.rb +47 -0
  528. data/spec/models/network_adapter_all_of_spec.rb +101 -0
  529. data/spec/models/network_adapter_reference_spec.rb +53 -0
  530. data/spec/models/network_adapter_spec.rb +101 -0
  531. data/spec/models/network_adapter_tag_all_of_spec.rb +47 -0
  532. data/spec/models/network_adapter_tag_spec.rb +47 -0
  533. data/spec/models/network_all_of_spec.rb +107 -0
  534. data/spec/models/network_reference_spec.rb +53 -0
  535. data/spec/models/network_spec.rb +107 -0
  536. data/spec/models/network_tag_all_of_spec.rb +47 -0
  537. data/spec/models/network_tag_spec.rb +47 -0
  538. data/spec/models/orchestration_stack_all_of_spec.rb +95 -0
  539. data/spec/models/orchestration_stack_reference_spec.rb +53 -0
  540. data/spec/models/orchestration_stack_spec.rb +95 -0
  541. data/spec/models/reservation_all_of_spec.rb +107 -0
  542. data/spec/models/reservation_reference_spec.rb +53 -0
  543. data/spec/models/reservation_spec.rb +107 -0
  544. data/spec/models/reservation_tag_all_of_spec.rb +47 -0
  545. data/spec/models/reservation_tag_spec.rb +47 -0
  546. data/spec/models/schema_spec.rb +41 -0
  547. data/spec/models/security_group_all_of_spec.rb +107 -0
  548. data/spec/models/security_group_reference_spec.rb +53 -0
  549. data/spec/models/security_group_spec.rb +107 -0
  550. data/spec/models/security_group_tag_all_of_spec.rb +47 -0
  551. data/spec/models/security_group_tag_spec.rb +47 -0
  552. data/spec/models/service_credential_all_of_spec.rb +83 -0
  553. data/spec/models/service_credential_reference_spec.rb +53 -0
  554. data/spec/models/service_credential_spec.rb +83 -0
  555. data/spec/models/service_instance_all_of_spec.rb +125 -0
  556. data/spec/models/service_instance_node_all_of_spec.rb +101 -0
  557. data/spec/models/service_instance_node_spec.rb +95 -0
  558. data/spec/models/service_instance_reference_spec.rb +53 -0
  559. data/spec/models/service_instance_spec.rb +119 -0
  560. data/spec/models/service_inventory_all_of_spec.rb +83 -0
  561. data/spec/models/service_inventory_reference_spec.rb +53 -0
  562. data/spec/models/service_inventory_spec.rb +83 -0
  563. data/spec/models/service_inventory_tag_all_of_spec.rb +47 -0
  564. data/spec/models/service_inventory_tag_spec.rb +47 -0
  565. data/spec/models/service_offering_all_of_spec.rb +143 -0
  566. data/spec/models/service_offering_icon_all_of_spec.rb +47 -0
  567. data/spec/models/service_offering_icon_reference_spec.rb +53 -0
  568. data/spec/models/service_offering_icon_spec.rb +47 -0
  569. data/spec/models/service_offering_node_all_of_spec.rb +101 -0
  570. data/spec/models/service_offering_node_spec.rb +95 -0
  571. data/spec/models/service_offering_reference_spec.rb +53 -0
  572. data/spec/models/service_offering_spec.rb +137 -0
  573. data/spec/models/service_offering_tag_all_of_spec.rb +47 -0
  574. data/spec/models/service_offering_tag_spec.rb +47 -0
  575. data/spec/models/service_plan_all_of_spec.rb +119 -0
  576. data/spec/models/service_plan_reference_spec.rb +53 -0
  577. data/spec/models/service_plan_spec.rb +119 -0
  578. data/spec/models/source_region_all_of_spec.rb +59 -0
  579. data/spec/models/source_region_reference_spec.rb +53 -0
  580. data/spec/models/source_region_spec.rb +59 -0
  581. data/spec/models/subnet_all_of_spec.rb +113 -0
  582. data/spec/models/subnet_reference_spec.rb +53 -0
  583. data/spec/models/subnet_spec.rb +113 -0
  584. data/spec/models/subnet_tag_all_of_spec.rb +47 -0
  585. data/spec/models/subnet_tag_spec.rb +47 -0
  586. data/spec/models/subscription_all_of_spec.rb +53 -0
  587. data/spec/models/subscription_reference_spec.rb +53 -0
  588. data/spec/models/subscription_spec.rb +53 -0
  589. data/spec/models/tag_all_of_spec.rb +59 -0
  590. data/spec/models/tag_reference_reference_spec.rb +53 -0
  591. data/spec/models/tag_reference_spec.rb +53 -0
  592. data/spec/models/tag_spec.rb +59 -0
  593. data/spec/models/vm_all_of_spec.rb +155 -0
  594. data/spec/models/vm_reference_spec.rb +53 -0
  595. data/spec/models/vm_security_group_all_of_spec.rb +47 -0
  596. data/spec/models/vm_security_group_spec.rb +47 -0
  597. data/spec/models/vm_spec.rb +149 -0
  598. data/spec/models/vm_tag_all_of_spec.rb +47 -0
  599. data/spec/models/vm_tag_spec.rb +47 -0
  600. data/spec/models/volume_all_of_spec.rb +113 -0
  601. data/spec/models/volume_attachment_all_of_spec.rb +59 -0
  602. data/spec/models/volume_attachment_spec.rb +59 -0
  603. data/spec/models/volume_reference_spec.rb +53 -0
  604. data/spec/models/volume_spec.rb +113 -0
  605. data/spec/models/volume_type_all_of_spec.rb +65 -0
  606. data/spec/models/volume_type_reference_spec.rb +53 -0
  607. data/spec/models/volume_type_spec.rb +65 -0
  608. data/spec/spec_helper.rb +111 -0
  609. data/topological_inventory-ingress_api-client.gemspec +45 -0
  610. metadata +1032 -0
@@ -0,0 +1,225 @@
1
+ =begin
2
+ #Topological Inventory Ingress API
3
+
4
+ #Topological Inventory Ingress API
5
+
6
+ The version of the OpenAPI document: 0.0.2
7
+ Contact: support@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.2.1
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module TopologicalInventoryIngressApiClient
16
+ class ServiceOfferingTagAllOf
17
+ attr_accessor :service_offering
18
+
19
+ attr_accessor :tag
20
+
21
+ # Attribute mapping from ruby-style variable name to JSON key.
22
+ def self.attribute_map
23
+ {
24
+ :'service_offering' => :'service_offering',
25
+ :'tag' => :'tag'
26
+ }
27
+ end
28
+
29
+ # Attribute type mapping.
30
+ def self.openapi_types
31
+ {
32
+ :'service_offering' => :'ServiceOfferingReference',
33
+ :'tag' => :'TagReference'
34
+ }
35
+ end
36
+
37
+ # List of attributes with nullable: true
38
+ def self.openapi_nullable
39
+ Set.new([
40
+ ])
41
+ end
42
+
43
+ # Initializes the object
44
+ # @param [Hash] attributes Model attributes in the form of hash
45
+ def initialize(attributes = {})
46
+ if (!attributes.is_a?(Hash))
47
+ fail ArgumentError, "The input argument (attributes) must be a hash in `TopologicalInventoryIngressApiClient::ServiceOfferingTagAllOf` initialize method"
48
+ end
49
+
50
+ # check to see if the attribute exists and convert string to symbol for hash key
51
+ attributes = attributes.each_with_object({}) { |(k, v), h|
52
+ if (!self.class.attribute_map.key?(k.to_sym))
53
+ fail ArgumentError, "`#{k}` is not a valid attribute in `TopologicalInventoryIngressApiClient::ServiceOfferingTagAllOf`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
54
+ end
55
+ h[k.to_sym] = v
56
+ }
57
+
58
+ if attributes.key?(:'service_offering')
59
+ self.service_offering = attributes[:'service_offering']
60
+ end
61
+
62
+ if attributes.key?(:'tag')
63
+ self.tag = attributes[:'tag']
64
+ end
65
+ end
66
+
67
+ # Show invalid properties with the reasons. Usually used together with valid?
68
+ # @return Array for valid properties with the reasons
69
+ def list_invalid_properties
70
+ invalid_properties = Array.new
71
+ if @service_offering.nil?
72
+ invalid_properties.push('invalid value for "service_offering", service_offering cannot be nil.')
73
+ end
74
+
75
+ if @tag.nil?
76
+ invalid_properties.push('invalid value for "tag", tag cannot be nil.')
77
+ end
78
+
79
+ invalid_properties
80
+ end
81
+
82
+ # Check to see if the all the properties in the model are valid
83
+ # @return true if the model is valid
84
+ def valid?
85
+ return false if @service_offering.nil?
86
+ return false if @tag.nil?
87
+ true
88
+ end
89
+
90
+ # Checks equality by comparing each attribute.
91
+ # @param [Object] Object to be compared
92
+ def ==(o)
93
+ return true if self.equal?(o)
94
+ self.class == o.class &&
95
+ service_offering == o.service_offering &&
96
+ tag == o.tag
97
+ end
98
+
99
+ # @see the `==` method
100
+ # @param [Object] Object to be compared
101
+ def eql?(o)
102
+ self == o
103
+ end
104
+
105
+ # Calculates hash code according to all attributes.
106
+ # @return [Integer] Hash code
107
+ def hash
108
+ [service_offering, tag].hash
109
+ end
110
+
111
+ # Builds the object from hash
112
+ # @param [Hash] attributes Model attributes in the form of hash
113
+ # @return [Object] Returns the model itself
114
+ def self.build_from_hash(attributes)
115
+ new.build_from_hash(attributes)
116
+ end
117
+
118
+ # Builds the object from hash
119
+ # @param [Hash] attributes Model attributes in the form of hash
120
+ # @return [Object] Returns the model itself
121
+ def build_from_hash(attributes)
122
+ return nil unless attributes.is_a?(Hash)
123
+ self.class.openapi_types.each_pair do |key, type|
124
+ if type =~ /\AArray<(.*)>/i
125
+ # check to ensure the input is an array given that the attribute
126
+ # is documented as an array but the input is not
127
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
128
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
129
+ end
130
+ elsif !attributes[self.class.attribute_map[key]].nil?
131
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
132
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
133
+ end
134
+
135
+ self
136
+ end
137
+
138
+ # Deserializes the data based on type
139
+ # @param string type Data type
140
+ # @param string value Value to be deserialized
141
+ # @return [Object] Deserialized data
142
+ def _deserialize(type, value)
143
+ case type.to_sym
144
+ when :DateTime
145
+ DateTime.parse(value)
146
+ when :Date
147
+ Date.parse(value)
148
+ when :String
149
+ value.to_s
150
+ when :Integer
151
+ value.to_i
152
+ when :Float
153
+ value.to_f
154
+ when :Boolean
155
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
156
+ true
157
+ else
158
+ false
159
+ end
160
+ when :Object
161
+ # generic object (usually a Hash), return directly
162
+ value
163
+ when /\AArray<(?<inner_type>.+)>\z/
164
+ inner_type = Regexp.last_match[:inner_type]
165
+ value.map { |v| _deserialize(inner_type, v) }
166
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
167
+ k_type = Regexp.last_match[:k_type]
168
+ v_type = Regexp.last_match[:v_type]
169
+ {}.tap do |hash|
170
+ value.each do |k, v|
171
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
172
+ end
173
+ end
174
+ else # model
175
+ TopologicalInventoryIngressApiClient.const_get(type).build_from_hash(value)
176
+ end
177
+ end
178
+
179
+ # Returns the string representation of the object
180
+ # @return [String] String presentation of the object
181
+ def to_s
182
+ to_hash.to_s
183
+ end
184
+
185
+ # to_body is an alias to to_hash (backward compatibility)
186
+ # @return [Hash] Returns the object in the form of hash
187
+ def to_body
188
+ to_hash
189
+ end
190
+
191
+ # Returns the object in the form of hash
192
+ # @return [Hash] Returns the object in the form of hash
193
+ def to_hash
194
+ hash = {}
195
+ self.class.attribute_map.each_pair do |attr, param|
196
+ value = self.send(attr)
197
+ if value.nil?
198
+ is_nullable = self.class.openapi_nullable.include?(attr)
199
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
200
+ end
201
+
202
+ hash[param] = _to_hash(value)
203
+ end
204
+ hash
205
+ end
206
+
207
+ # Outputs non-array value in the form of hash
208
+ # For object, use to_hash. Otherwise, just return the value
209
+ # @param [Object] value Any valid value
210
+ # @return [Hash] Returns the value in the form of hash
211
+ def _to_hash(value)
212
+ if value.is_a?(Array)
213
+ value.compact.map { |v| _to_hash(v) }
214
+ elsif value.is_a?(Hash)
215
+ {}.tap do |hash|
216
+ value.each { |k, v| hash[k] = _to_hash(v) }
217
+ end
218
+ elsif value.respond_to? :to_hash
219
+ value.to_hash
220
+ else
221
+ value
222
+ end
223
+ end
224
+ end
225
+ end
@@ -0,0 +1,349 @@
1
+ =begin
2
+ #Topological Inventory Ingress API
3
+
4
+ #Topological Inventory Ingress API
5
+
6
+ The version of the OpenAPI document: 0.0.2
7
+ Contact: support@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.2.1
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module TopologicalInventoryIngressApiClient
16
+ class ServicePlan
17
+ attr_accessor :archived_at
18
+
19
+ attr_accessor :create_json_schema
20
+
21
+ attr_accessor :description
22
+
23
+ attr_accessor :extra
24
+
25
+ attr_accessor :name
26
+
27
+ attr_accessor :resource_timestamp
28
+
29
+ attr_accessor :resource_version
30
+
31
+ attr_accessor :service_offering
32
+
33
+ attr_accessor :source_created_at
34
+
35
+ attr_accessor :source_deleted_at
36
+
37
+ attr_accessor :source_ref
38
+
39
+ attr_accessor :source_region
40
+
41
+ attr_accessor :subscription
42
+
43
+ attr_accessor :update_json_schema
44
+
45
+ # Attribute mapping from ruby-style variable name to JSON key.
46
+ def self.attribute_map
47
+ {
48
+ :'archived_at' => :'archived_at',
49
+ :'create_json_schema' => :'create_json_schema',
50
+ :'description' => :'description',
51
+ :'extra' => :'extra',
52
+ :'name' => :'name',
53
+ :'resource_timestamp' => :'resource_timestamp',
54
+ :'resource_version' => :'resource_version',
55
+ :'service_offering' => :'service_offering',
56
+ :'source_created_at' => :'source_created_at',
57
+ :'source_deleted_at' => :'source_deleted_at',
58
+ :'source_ref' => :'source_ref',
59
+ :'source_region' => :'source_region',
60
+ :'subscription' => :'subscription',
61
+ :'update_json_schema' => :'update_json_schema'
62
+ }
63
+ end
64
+
65
+ # Attribute type mapping.
66
+ def self.openapi_types
67
+ {
68
+ :'archived_at' => :'DateTime',
69
+ :'create_json_schema' => :'Object',
70
+ :'description' => :'String',
71
+ :'extra' => :'Object',
72
+ :'name' => :'String',
73
+ :'resource_timestamp' => :'DateTime',
74
+ :'resource_version' => :'String',
75
+ :'service_offering' => :'ServiceOfferingReference',
76
+ :'source_created_at' => :'DateTime',
77
+ :'source_deleted_at' => :'DateTime',
78
+ :'source_ref' => :'String',
79
+ :'source_region' => :'SourceRegionReference',
80
+ :'subscription' => :'SubscriptionReference',
81
+ :'update_json_schema' => :'Object'
82
+ }
83
+ end
84
+
85
+ # List of attributes with nullable: true
86
+ def self.openapi_nullable
87
+ Set.new([
88
+ :'archived_at',
89
+ :'create_json_schema',
90
+ :'description',
91
+ :'extra',
92
+ :'name',
93
+ :'resource_timestamp',
94
+ :'resource_version',
95
+ :'service_offering',
96
+ :'source_created_at',
97
+ :'source_deleted_at',
98
+ :'source_region',
99
+ :'subscription',
100
+ :'update_json_schema'
101
+ ])
102
+ end
103
+
104
+ # List of class defined in allOf (OpenAPI v3)
105
+ def self.openapi_all_of
106
+ [
107
+ :'InventoryObject',
108
+ :'ServicePlanAllOf'
109
+ ]
110
+ end
111
+
112
+ # Initializes the object
113
+ # @param [Hash] attributes Model attributes in the form of hash
114
+ def initialize(attributes = {})
115
+ if (!attributes.is_a?(Hash))
116
+ fail ArgumentError, "The input argument (attributes) must be a hash in `TopologicalInventoryIngressApiClient::ServicePlan` initialize method"
117
+ end
118
+
119
+ # check to see if the attribute exists and convert string to symbol for hash key
120
+ attributes = attributes.each_with_object({}) { |(k, v), h|
121
+ if (!self.class.attribute_map.key?(k.to_sym))
122
+ fail ArgumentError, "`#{k}` is not a valid attribute in `TopologicalInventoryIngressApiClient::ServicePlan`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
123
+ end
124
+ h[k.to_sym] = v
125
+ }
126
+
127
+ if attributes.key?(:'archived_at')
128
+ self.archived_at = attributes[:'archived_at']
129
+ end
130
+
131
+ if attributes.key?(:'create_json_schema')
132
+ self.create_json_schema = attributes[:'create_json_schema']
133
+ end
134
+
135
+ if attributes.key?(:'description')
136
+ self.description = attributes[:'description']
137
+ end
138
+
139
+ if attributes.key?(:'extra')
140
+ self.extra = attributes[:'extra']
141
+ end
142
+
143
+ if attributes.key?(:'name')
144
+ self.name = attributes[:'name']
145
+ end
146
+
147
+ if attributes.key?(:'resource_timestamp')
148
+ self.resource_timestamp = attributes[:'resource_timestamp']
149
+ end
150
+
151
+ if attributes.key?(:'resource_version')
152
+ self.resource_version = attributes[:'resource_version']
153
+ end
154
+
155
+ if attributes.key?(:'service_offering')
156
+ self.service_offering = attributes[:'service_offering']
157
+ end
158
+
159
+ if attributes.key?(:'source_created_at')
160
+ self.source_created_at = attributes[:'source_created_at']
161
+ end
162
+
163
+ if attributes.key?(:'source_deleted_at')
164
+ self.source_deleted_at = attributes[:'source_deleted_at']
165
+ end
166
+
167
+ if attributes.key?(:'source_ref')
168
+ self.source_ref = attributes[:'source_ref']
169
+ end
170
+
171
+ if attributes.key?(:'source_region')
172
+ self.source_region = attributes[:'source_region']
173
+ end
174
+
175
+ if attributes.key?(:'subscription')
176
+ self.subscription = attributes[:'subscription']
177
+ end
178
+
179
+ if attributes.key?(:'update_json_schema')
180
+ self.update_json_schema = attributes[:'update_json_schema']
181
+ end
182
+ end
183
+
184
+ # Show invalid properties with the reasons. Usually used together with valid?
185
+ # @return Array for valid properties with the reasons
186
+ def list_invalid_properties
187
+ invalid_properties = Array.new
188
+ if @source_ref.nil?
189
+ invalid_properties.push('invalid value for "source_ref", source_ref cannot be nil.')
190
+ end
191
+
192
+ invalid_properties
193
+ end
194
+
195
+ # Check to see if the all the properties in the model are valid
196
+ # @return true if the model is valid
197
+ def valid?
198
+ return false if @source_ref.nil?
199
+ true
200
+ end
201
+
202
+ # Checks equality by comparing each attribute.
203
+ # @param [Object] Object to be compared
204
+ def ==(o)
205
+ return true if self.equal?(o)
206
+ self.class == o.class &&
207
+ archived_at == o.archived_at &&
208
+ create_json_schema == o.create_json_schema &&
209
+ description == o.description &&
210
+ extra == o.extra &&
211
+ name == o.name &&
212
+ resource_timestamp == o.resource_timestamp &&
213
+ resource_version == o.resource_version &&
214
+ service_offering == o.service_offering &&
215
+ source_created_at == o.source_created_at &&
216
+ source_deleted_at == o.source_deleted_at &&
217
+ source_ref == o.source_ref &&
218
+ source_region == o.source_region &&
219
+ subscription == o.subscription &&
220
+ update_json_schema == o.update_json_schema
221
+ end
222
+
223
+ # @see the `==` method
224
+ # @param [Object] Object to be compared
225
+ def eql?(o)
226
+ self == o
227
+ end
228
+
229
+ # Calculates hash code according to all attributes.
230
+ # @return [Integer] Hash code
231
+ def hash
232
+ [archived_at, create_json_schema, description, extra, name, resource_timestamp, resource_version, service_offering, source_created_at, source_deleted_at, source_ref, source_region, subscription, update_json_schema].hash
233
+ end
234
+
235
+ # Builds the object from hash
236
+ # @param [Hash] attributes Model attributes in the form of hash
237
+ # @return [Object] Returns the model itself
238
+ def self.build_from_hash(attributes)
239
+ new.build_from_hash(attributes)
240
+ end
241
+
242
+ # Builds the object from hash
243
+ # @param [Hash] attributes Model attributes in the form of hash
244
+ # @return [Object] Returns the model itself
245
+ def build_from_hash(attributes)
246
+ return nil unless attributes.is_a?(Hash)
247
+ self.class.openapi_types.each_pair do |key, type|
248
+ if type =~ /\AArray<(.*)>/i
249
+ # check to ensure the input is an array given that the attribute
250
+ # is documented as an array but the input is not
251
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
252
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
253
+ end
254
+ elsif !attributes[self.class.attribute_map[key]].nil?
255
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
256
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
257
+ end
258
+
259
+ self
260
+ end
261
+
262
+ # Deserializes the data based on type
263
+ # @param string type Data type
264
+ # @param string value Value to be deserialized
265
+ # @return [Object] Deserialized data
266
+ def _deserialize(type, value)
267
+ case type.to_sym
268
+ when :DateTime
269
+ DateTime.parse(value)
270
+ when :Date
271
+ Date.parse(value)
272
+ when :String
273
+ value.to_s
274
+ when :Integer
275
+ value.to_i
276
+ when :Float
277
+ value.to_f
278
+ when :Boolean
279
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
280
+ true
281
+ else
282
+ false
283
+ end
284
+ when :Object
285
+ # generic object (usually a Hash), return directly
286
+ value
287
+ when /\AArray<(?<inner_type>.+)>\z/
288
+ inner_type = Regexp.last_match[:inner_type]
289
+ value.map { |v| _deserialize(inner_type, v) }
290
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
291
+ k_type = Regexp.last_match[:k_type]
292
+ v_type = Regexp.last_match[:v_type]
293
+ {}.tap do |hash|
294
+ value.each do |k, v|
295
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
296
+ end
297
+ end
298
+ else # model
299
+ TopologicalInventoryIngressApiClient.const_get(type).build_from_hash(value)
300
+ end
301
+ end
302
+
303
+ # Returns the string representation of the object
304
+ # @return [String] String presentation of the object
305
+ def to_s
306
+ to_hash.to_s
307
+ end
308
+
309
+ # to_body is an alias to to_hash (backward compatibility)
310
+ # @return [Hash] Returns the object in the form of hash
311
+ def to_body
312
+ to_hash
313
+ end
314
+
315
+ # Returns the object in the form of hash
316
+ # @return [Hash] Returns the object in the form of hash
317
+ def to_hash
318
+ hash = {}
319
+ self.class.attribute_map.each_pair do |attr, param|
320
+ value = self.send(attr)
321
+ if value.nil?
322
+ is_nullable = self.class.openapi_nullable.include?(attr)
323
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
324
+ end
325
+
326
+ hash[param] = _to_hash(value)
327
+ end
328
+ hash
329
+ end
330
+
331
+ # Outputs non-array value in the form of hash
332
+ # For object, use to_hash. Otherwise, just return the value
333
+ # @param [Object] value Any valid value
334
+ # @return [Hash] Returns the value in the form of hash
335
+ def _to_hash(value)
336
+ if value.is_a?(Array)
337
+ value.compact.map { |v| _to_hash(v) }
338
+ elsif value.is_a?(Hash)
339
+ {}.tap do |hash|
340
+ value.each { |k, v| hash[k] = _to_hash(v) }
341
+ end
342
+ elsif value.respond_to? :to_hash
343
+ value.to_hash
344
+ else
345
+ value
346
+ end
347
+ end
348
+ end
349
+ end