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