ionoscloud 5.0.0 → 5.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +68 -0
- data/LICENSE +190 -0
- data/README.md +14 -4
- data/docs/README.md +111 -0
- data/docs/api/BackupUnitApi.md +595 -0
- data/docs/api/ContractApi.md +89 -0
- data/docs/api/DataCenterApi.md +517 -0
- data/docs/api/DefaultApi.md +89 -0
- data/docs/api/IPBlocksApi.md +517 -0
- data/docs/api/ImageApi.md +429 -0
- data/docs/api/KubernetesApi.md +1513 -0
- data/docs/api/LabelApi.md +2355 -0
- data/docs/api/LanApi.md +795 -0
- data/docs/api/LoadBalancerApi.md +883 -0
- data/docs/api/LocationApi.md +259 -0
- data/docs/api/NicApi.md +1087 -0
- data/docs/api/PrivateCrossConnectApi.md +427 -0
- data/docs/api/RequestApi.md +283 -0
- data/docs/api/ServerApi.md +1573 -0
- data/docs/api/SnapshotApi.md +429 -0
- data/docs/api/UserManagementApi.md +2551 -0
- data/docs/api/VolumeApi.md +711 -0
- data/docs/models/AttachedVolumes.md +30 -0
- data/docs/models/BackupUnit.md +26 -0
- data/docs/models/BackupUnitProperties.md +22 -0
- data/docs/models/BackupUnitSSO.md +18 -0
- data/docs/models/BackupUnits.md +24 -0
- data/docs/models/BalancedNics.md +30 -0
- data/docs/models/Cdroms.md +30 -0
- data/docs/models/ConnectableDatacenter.md +22 -0
- data/docs/models/Contract.md +20 -0
- data/docs/models/ContractProperties.md +26 -0
- data/docs/models/DataCenterEntities.md +24 -0
- data/docs/models/Datacenter.md +28 -0
- data/docs/models/DatacenterElementMetadata.md +32 -0
- data/docs/models/DatacenterProperties.md +28 -0
- data/docs/models/Datacenters.md +30 -0
- data/docs/models/Error.md +20 -0
- data/docs/models/ErrorMessage.md +20 -0
- data/docs/models/FirewallRule.md +26 -0
- data/docs/models/FirewallRules.md +30 -0
- data/docs/models/FirewallruleProperties.md +34 -0
- data/docs/models/Group.md +26 -0
- data/docs/models/GroupEntities.md +20 -0
- data/docs/models/GroupMembers.md +24 -0
- data/docs/models/GroupProperties.md +36 -0
- data/docs/models/GroupShare.md +24 -0
- data/docs/models/GroupShareProperties.md +20 -0
- data/docs/models/GroupShares.md +24 -0
- data/docs/models/GroupUsers.md +24 -0
- data/docs/models/Groups.md +24 -0
- data/docs/models/IPFailover.md +20 -0
- data/docs/models/Image.md +26 -0
- data/docs/models/ImageProperties.md +54 -0
- data/docs/models/Images.md +24 -0
- data/docs/models/Info.md +22 -0
- data/docs/models/IpBlock.md +26 -0
- data/docs/models/IpBlockProperties.md +26 -0
- data/docs/models/IpBlocks.md +30 -0
- data/docs/models/IpConsumer.md +34 -0
- data/docs/models/KubernetesAutoScaling.md +20 -0
- data/docs/models/KubernetesCluster.md +28 -0
- data/docs/models/KubernetesClusterEntities.md +18 -0
- data/docs/models/KubernetesClusterForPost.md +28 -0
- data/docs/models/KubernetesClusterForPut.md +28 -0
- data/docs/models/KubernetesClusterProperties.md +30 -0
- data/docs/models/KubernetesClusterPropertiesForPost.md +26 -0
- data/docs/models/KubernetesClusterPropertiesForPut.md +26 -0
- data/docs/models/KubernetesClusters.md +24 -0
- data/docs/models/KubernetesConfig.md +24 -0
- data/docs/models/KubernetesConfigProperties.md +18 -0
- data/docs/models/KubernetesMaintenanceWindow.md +20 -0
- data/docs/models/KubernetesNode.md +26 -0
- data/docs/models/KubernetesNodeMetadata.md +26 -0
- data/docs/models/KubernetesNodePool.md +26 -0
- data/docs/models/KubernetesNodePoolForPost.md +26 -0
- data/docs/models/KubernetesNodePoolForPut.md +26 -0
- data/docs/models/KubernetesNodePoolLan.md +18 -0
- data/docs/models/KubernetesNodePoolProperties.md +49 -0
- data/docs/models/KubernetesNodePoolPropertiesForPost.md +47 -0
- data/docs/models/KubernetesNodePoolPropertiesForPut.md +34 -0
- data/docs/models/KubernetesNodePools.md +24 -0
- data/docs/models/KubernetesNodeProperties.md +24 -0
- data/docs/models/KubernetesNodes.md +24 -0
- data/docs/models/Label.md +26 -0
- data/docs/models/LabelProperties.md +26 -0
- data/docs/models/LabelResource.md +26 -0
- data/docs/models/LabelResourceProperties.md +20 -0
- data/docs/models/LabelResources.md +30 -0
- data/docs/models/Labels.md +24 -0
- data/docs/models/Lan.md +28 -0
- data/docs/models/LanEntities.md +18 -0
- data/docs/models/LanNics.md +30 -0
- data/docs/models/LanPost.md +28 -0
- data/docs/models/LanProperties.md +24 -0
- data/docs/models/LanPropertiesPost.md +24 -0
- data/docs/models/Lans.md +30 -0
- data/docs/models/Loadbalancer.md +28 -0
- data/docs/models/LoadbalancerEntities.md +18 -0
- data/docs/models/LoadbalancerProperties.md +22 -0
- data/docs/models/Loadbalancers.md +30 -0
- data/docs/models/Location.md +26 -0
- data/docs/models/LocationProperties.md +22 -0
- data/docs/models/Locations.md +24 -0
- data/docs/models/Nic.md +28 -0
- data/docs/models/NicEntities.md +18 -0
- data/docs/models/NicProperties.md +30 -0
- data/docs/models/Nics.md +30 -0
- data/docs/models/NoStateMetaData.md +30 -0
- data/docs/models/PaginationLinks.md +22 -0
- data/docs/models/Peer.md +26 -0
- data/docs/models/PrivateCrossConnect.md +26 -0
- data/docs/models/PrivateCrossConnectProperties.md +24 -0
- data/docs/models/PrivateCrossConnects.md +24 -0
- data/docs/models/Request.md +26 -0
- data/docs/models/RequestMetadata.md +24 -0
- data/docs/models/RequestProperties.md +24 -0
- data/docs/models/RequestStatus.md +24 -0
- data/docs/models/RequestStatusMetadata.md +24 -0
- data/docs/models/RequestTarget.md +20 -0
- data/docs/models/Requests.md +30 -0
- data/docs/models/Resource.md +28 -0
- data/docs/models/ResourceEntities.md +18 -0
- data/docs/models/ResourceGroups.md +24 -0
- data/docs/models/ResourceLimits.md +50 -0
- data/docs/models/ResourceProperties.md +20 -0
- data/docs/models/ResourceReference.md +22 -0
- data/docs/models/Resources.md +24 -0
- data/docs/models/ResourcesUsers.md +24 -0
- data/docs/models/S3Bucket.md +18 -0
- data/docs/models/S3Key.md +26 -0
- data/docs/models/S3KeyMetadata.md +20 -0
- data/docs/models/S3KeyProperties.md +20 -0
- data/docs/models/S3Keys.md +24 -0
- data/docs/models/S3ObjectStorageSSO.md +18 -0
- data/docs/models/Server.md +28 -0
- data/docs/models/ServerEntities.md +22 -0
- data/docs/models/ServerProperties.md +32 -0
- data/docs/models/Servers.md +30 -0
- data/docs/models/Snapshot.md +26 -0
- data/docs/models/SnapshotProperties.md +48 -0
- data/docs/models/Snapshots.md +24 -0
- data/docs/models/Type.md +15 -0
- data/docs/models/User.md +28 -0
- data/docs/models/UserMetadata.md +22 -0
- data/docs/models/UserPost.md +18 -0
- data/docs/models/UserProperties.md +32 -0
- data/docs/models/UserPropertiesPost.md +32 -0
- data/docs/models/UserPropertiesPut.md +30 -0
- data/docs/models/UserPut.md +20 -0
- data/docs/models/Users.md +30 -0
- data/docs/models/UsersEntities.md +20 -0
- data/docs/models/Volume.md +26 -0
- data/docs/models/VolumeProperties.md +54 -0
- data/docs/models/Volumes.md +30 -0
- data/docs/summary.md +168 -0
- data/gitbook.yaml +4 -0
- data/ionoscloud.gemspec +1 -1
- data/lib/ionoscloud/api/_api.rb +2 -2
- data/lib/ionoscloud/api/backup_unit_api.rb +1 -1
- data/lib/ionoscloud/api/contract_api.rb +1 -1
- data/lib/ionoscloud/api/data_center_api.rb +3 -3
- data/lib/ionoscloud/api/image_api.rb +1 -1
- data/lib/ionoscloud/api/ip_blocks_api.rb +19 -1
- data/lib/ionoscloud/api/kubernetes_api.rb +12 -12
- data/lib/ionoscloud/api/label_api.rb +1 -1
- data/lib/ionoscloud/api/lan_api.rb +1 -1
- data/lib/ionoscloud/api/load_balancer_api.rb +1 -1
- data/lib/ionoscloud/api/location_api.rb +1 -1
- data/lib/ionoscloud/api/nic_api.rb +1 -1
- data/lib/ionoscloud/api/private_cross_connect_api.rb +1 -1
- data/lib/ionoscloud/api/request_api.rb +31 -7
- data/lib/ionoscloud/api/server_api.rb +1 -1
- data/lib/ionoscloud/api/snapshot_api.rb +1 -1
- data/lib/ionoscloud/api/user_management_api.rb +27 -9
- data/lib/ionoscloud/api/volume_api.rb +1 -1
- data/lib/ionoscloud/api_client.rb +18 -21
- data/lib/ionoscloud/api_error.rb +1 -1
- data/lib/ionoscloud/configuration.rb +3 -3
- data/lib/ionoscloud/models/attached_volumes.rb +68 -12
- data/lib/ionoscloud/models/backup_unit.rb +48 -6
- data/lib/ionoscloud/models/backup_unit_properties.rb +30 -4
- data/lib/ionoscloud/models/backup_unit_sso.rb +12 -2
- data/lib/ionoscloud/models/backup_units.rb +43 -11
- data/lib/ionoscloud/models/balanced_nics.rb +68 -12
- data/lib/ionoscloud/models/cdroms.rb +68 -12
- data/lib/ionoscloud/models/connectable_datacenter.rb +30 -4
- data/lib/ionoscloud/models/contract.rb +21 -3
- data/lib/ionoscloud/models/contract_properties.rb +48 -6
- data/lib/ionoscloud/models/data_center_entities.rb +39 -5
- data/lib/ionoscloud/models/datacenter.rb +57 -7
- data/lib/ionoscloud/models/datacenter_element_metadata.rb +77 -11
- data/lib/ionoscloud/models/datacenter_properties.rb +59 -33
- data/lib/ionoscloud/models/datacenters.rb +68 -12
- data/lib/ionoscloud/models/error.rb +23 -7
- data/lib/ionoscloud/models/error_message.rb +21 -3
- data/lib/ionoscloud/models/firewall_rule.rb +48 -6
- data/lib/ionoscloud/models/firewall_rules.rb +68 -12
- data/lib/ionoscloud/models/firewallrule_properties.rb +120 -31
- data/lib/ionoscloud/models/group.rb +48 -6
- data/lib/ionoscloud/models/group_entities.rb +21 -3
- data/lib/ionoscloud/models/group_members.rb +41 -9
- data/lib/ionoscloud/models/group_properties.rb +93 -11
- data/lib/ionoscloud/models/group_share.rb +39 -5
- data/lib/ionoscloud/models/group_share_properties.rb +21 -3
- data/lib/ionoscloud/models/group_shares.rb +41 -9
- data/lib/ionoscloud/models/group_users.rb +41 -9
- data/lib/ionoscloud/models/groups.rb +41 -9
- data/lib/ionoscloud/models/image.rb +48 -6
- data/lib/ionoscloud/models/image_properties.rb +209 -23
- data/lib/ionoscloud/models/images.rb +41 -9
- data/lib/ionoscloud/models/info.rb +30 -4
- data/lib/ionoscloud/models/ip_block.rb +48 -6
- data/lib/ionoscloud/models/ip_block_properties.rb +52 -14
- data/lib/ionoscloud/models/ip_blocks.rb +97 -12
- data/lib/ionoscloud/models/ip_consumer.rb +103 -11
- data/lib/ionoscloud/models/ip_failover.rb +21 -3
- data/lib/ionoscloud/models/kubernetes_auto_scaling.rb +21 -3
- data/lib/ionoscloud/models/kubernetes_cluster.rb +57 -7
- data/lib/ionoscloud/models/kubernetes_cluster_entities.rb +12 -2
- data/lib/ionoscloud/models/kubernetes_cluster_for_post.rb +353 -0
- data/lib/ionoscloud/models/kubernetes_cluster_for_put.rb +353 -0
- data/lib/ionoscloud/models/kubernetes_cluster_properties.rb +91 -17
- data/lib/ionoscloud/models/kubernetes_cluster_properties_for_post.rb +303 -0
- data/lib/ionoscloud/models/kubernetes_cluster_properties_for_put.rb +303 -0
- data/lib/ionoscloud/models/kubernetes_clusters.rb +41 -9
- data/lib/ionoscloud/models/kubernetes_config.rb +39 -5
- data/lib/ionoscloud/models/kubernetes_config_properties.rb +12 -2
- data/lib/ionoscloud/models/kubernetes_maintenance_window.rb +21 -3
- data/lib/ionoscloud/models/kubernetes_node.rb +50 -8
- data/lib/ionoscloud/models/kubernetes_node_metadata.rb +50 -8
- data/lib/ionoscloud/models/kubernetes_node_pool.rb +48 -6
- data/lib/ionoscloud/models/kubernetes_node_pool_for_post.rb +336 -0
- data/lib/ionoscloud/models/kubernetes_node_pool_for_put.rb +48 -6
- data/lib/ionoscloud/models/kubernetes_node_pool_lan.rb +17 -2
- data/lib/ionoscloud/models/kubernetes_node_pool_properties.rb +170 -42
- data/lib/ionoscloud/models/kubernetes_node_pool_properties_for_post.rb +159 -37
- data/lib/ionoscloud/models/kubernetes_node_pool_properties_for_put.rb +80 -165
- data/lib/ionoscloud/models/kubernetes_node_pools.rb +41 -9
- data/lib/ionoscloud/models/kubernetes_node_properties.rb +48 -9
- data/lib/ionoscloud/models/kubernetes_nodes.rb +43 -11
- data/lib/ionoscloud/models/label.rb +48 -6
- data/lib/ionoscloud/models/label_properties.rb +48 -6
- data/lib/ionoscloud/models/label_resource.rb +48 -6
- data/lib/ionoscloud/models/label_resource_properties.rb +21 -3
- data/lib/ionoscloud/models/label_resources.rb +70 -14
- data/lib/ionoscloud/models/labels.rb +43 -11
- data/lib/ionoscloud/models/lan.rb +57 -7
- data/lib/ionoscloud/models/lan_entities.rb +12 -2
- data/lib/ionoscloud/models/lan_nics.rb +68 -12
- data/lib/ionoscloud/models/lan_post.rb +57 -7
- data/lib/ionoscloud/models/lan_properties.rb +41 -9
- data/lib/ionoscloud/models/lan_properties_post.rb +41 -9
- data/lib/ionoscloud/models/lans.rb +68 -12
- data/lib/ionoscloud/models/loadbalancer.rb +57 -7
- data/lib/ionoscloud/models/loadbalancer_entities.rb +12 -2
- data/lib/ionoscloud/models/loadbalancer_properties.rb +42 -33
- data/lib/ionoscloud/models/loadbalancers.rb +68 -12
- data/lib/ionoscloud/models/location.rb +48 -6
- data/lib/ionoscloud/models/location_properties.rb +34 -34
- data/lib/ionoscloud/models/locations.rb +41 -9
- data/lib/ionoscloud/models/nic.rb +57 -7
- data/lib/ionoscloud/models/nic_entities.rb +12 -2
- data/lib/ionoscloud/models/nic_properties.rb +68 -12
- data/lib/ionoscloud/models/nics.rb +68 -12
- data/lib/ionoscloud/models/no_state_meta_data.rb +66 -8
- data/lib/ionoscloud/models/pagination_links.rb +30 -4
- data/lib/ionoscloud/models/peer.rb +48 -6
- data/lib/ionoscloud/models/private_cross_connect.rb +48 -6
- data/lib/ionoscloud/models/private_cross_connect_properties.rb +43 -13
- data/lib/ionoscloud/models/private_cross_connects.rb +41 -9
- data/lib/ionoscloud/models/request.rb +48 -6
- data/lib/ionoscloud/models/request_metadata.rb +39 -5
- data/lib/ionoscloud/models/request_properties.rb +41 -9
- data/lib/ionoscloud/models/request_status.rb +39 -5
- data/lib/ionoscloud/models/request_status_metadata.rb +41 -9
- data/lib/ionoscloud/models/request_target.rb +21 -3
- data/lib/ionoscloud/models/requests.rb +69 -13
- data/lib/ionoscloud/models/resource.rb +57 -7
- data/lib/ionoscloud/models/resource_entities.rb +12 -2
- data/lib/ionoscloud/models/resource_groups.rb +41 -9
- data/lib/ionoscloud/models/resource_limits.rb +156 -18
- data/lib/ionoscloud/models/resource_properties.rb +21 -3
- data/lib/ionoscloud/models/resource_reference.rb +30 -4
- data/lib/ionoscloud/models/resources.rb +41 -9
- data/lib/ionoscloud/models/resources_users.rb +41 -9
- data/lib/ionoscloud/models/{kubernetes_cluster_properties_for_post_and_put.rb → s3_bucket.rb} +19 -28
- data/lib/ionoscloud/models/s3_key.rb +48 -6
- data/lib/ionoscloud/models/s3_key_metadata.rb +21 -3
- data/lib/ionoscloud/models/s3_key_properties.rb +23 -5
- data/lib/ionoscloud/models/s3_keys.rb +41 -9
- data/lib/ionoscloud/models/s3_object_storage_sso.rb +12 -2
- data/lib/ionoscloud/models/server.rb +57 -7
- data/lib/ionoscloud/models/server_entities.rb +30 -4
- data/lib/ionoscloud/models/server_properties.rb +77 -11
- data/lib/ionoscloud/models/servers.rb +68 -12
- data/lib/ionoscloud/models/snapshot.rb +48 -6
- data/lib/ionoscloud/models/snapshot_properties.rb +147 -17
- data/lib/ionoscloud/models/snapshots.rb +41 -9
- data/lib/ionoscloud/models/type.rb +2 -1
- data/lib/ionoscloud/models/user.rb +57 -7
- data/lib/ionoscloud/models/user_metadata.rb +30 -4
- data/lib/ionoscloud/models/user_post.rb +231 -0
- data/lib/ionoscloud/models/user_properties.rb +74 -18
- data/lib/ionoscloud/models/user_properties_post.rb +353 -0
- data/lib/ionoscloud/models/user_properties_put.rb +335 -0
- data/lib/ionoscloud/models/user_put.rb +249 -0
- data/lib/ionoscloud/models/users.rb +97 -12
- data/lib/ionoscloud/models/users_entities.rb +21 -3
- data/lib/ionoscloud/models/volume.rb +48 -6
- data/lib/ionoscloud/models/volume_properties.rb +193 -31
- data/lib/ionoscloud/models/volumes.rb +68 -12
- data/lib/ionoscloud/version.rb +2 -2
- data/lib/ionoscloud.rb +11 -2
- data/lib/test_driver.rb +104 -0
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +172 -291
- data/DOCS.md +0 -14618
- data/spec/api/_api_spec.rb +0 -49
- data/spec/api/backup_unit_api_spec.rb +0 -140
- data/spec/api/contract_api_spec.rb +0 -49
- data/spec/api/data_center_api_spec.rb +0 -128
- data/spec/api/image_api_spec.rb +0 -111
- data/spec/api/ip_blocks_api_spec.rb +0 -126
- data/spec/api/kubernetes_api_spec.rb +0 -306
- data/spec/api/label_api_spec.rb +0 -480
- data/spec/api/lan_api_spec.rb +0 -186
- data/spec/api/load_balancer_api_spec.rb +0 -203
- data/spec/api/location_api_spec.rb +0 -80
- data/spec/api/nic_api_spec.rb +0 -251
- data/spec/api/private_cross_connect_api_spec.rb +0 -110
- data/spec/api/request_api_spec.rb +0 -84
- data/spec/api/server_api_spec.rb +0 -337
- data/spec/api/snapshot_api_spec.rb +0 -111
- data/spec/api/user_management_api_spec.rb +0 -495
- data/spec/api/volume_api_spec.rb +0 -171
- data/spec/models/attached_volumes_spec.rb +0 -70
- data/spec/models/backup_unit_properties_spec.rb +0 -46
- data/spec/models/backup_unit_spec.rb +0 -62
- data/spec/models/backup_unit_sso_spec.rb +0 -34
- data/spec/models/backup_units_spec.rb +0 -56
- data/spec/models/balanced_nics_spec.rb +0 -70
- data/spec/models/cdroms_spec.rb +0 -70
- data/spec/models/connectable_datacenter_spec.rb +0 -46
- data/spec/models/contract_properties_spec.rb +0 -58
- data/spec/models/contract_spec.rb +0 -40
- data/spec/models/data_center_entities_spec.rb +0 -52
- data/spec/models/datacenter_element_metadata_spec.rb +0 -80
- data/spec/models/datacenter_properties_spec.rb +0 -68
- data/spec/models/datacenter_spec.rb +0 -64
- data/spec/models/datacenters_spec.rb +0 -70
- data/spec/models/error_message_spec.rb +0 -40
- data/spec/models/error_spec.rb +0 -40
- data/spec/models/firewall_rule_spec.rb +0 -58
- data/spec/models/firewall_rules_spec.rb +0 -70
- data/spec/models/firewallrule_properties_spec.rb +0 -98
- data/spec/models/group_entities_spec.rb +0 -40
- data/spec/models/group_members_spec.rb +0 -52
- data/spec/models/group_properties_spec.rb +0 -88
- data/spec/models/group_share_properties_spec.rb +0 -40
- data/spec/models/group_share_spec.rb +0 -52
- data/spec/models/group_shares_spec.rb +0 -52
- data/spec/models/group_spec.rb +0 -58
- data/spec/models/group_users_spec.rb +0 -52
- data/spec/models/groups_spec.rb +0 -52
- data/spec/models/image_properties_spec.rb +0 -138
- data/spec/models/image_spec.rb +0 -58
- data/spec/models/images_spec.rb +0 -52
- data/spec/models/info_spec.rb +0 -46
- data/spec/models/ip_block_properties_spec.rb +0 -58
- data/spec/models/ip_block_spec.rb +0 -58
- data/spec/models/ip_blocks_spec.rb +0 -52
- data/spec/models/ip_consumer_spec.rb +0 -70
- data/spec/models/ip_failover_spec.rb +0 -40
- data/spec/models/kubernetes_auto_scaling_spec.rb +0 -40
- data/spec/models/kubernetes_cluster_entities_spec.rb +0 -34
- data/spec/models/kubernetes_cluster_properties_for_post_and_put_spec.rb +0 -46
- data/spec/models/kubernetes_cluster_properties_spec.rb +0 -58
- data/spec/models/kubernetes_cluster_spec.rb +0 -68
- data/spec/models/kubernetes_clusters_spec.rb +0 -56
- data/spec/models/kubernetes_config_properties_spec.rb +0 -34
- data/spec/models/kubernetes_config_spec.rb +0 -56
- data/spec/models/kubernetes_maintenance_window_spec.rb +0 -44
- data/spec/models/kubernetes_node_metadata_spec.rb +0 -62
- data/spec/models/kubernetes_node_pool_for_put_spec.rb +0 -62
- data/spec/models/kubernetes_node_pool_lan_spec.rb +0 -34
- data/spec/models/kubernetes_node_pool_properties_for_post_spec.rb +0 -132
- data/spec/models/kubernetes_node_pool_properties_for_put_spec.rb +0 -132
- data/spec/models/kubernetes_node_pool_properties_spec.rb +0 -138
- data/spec/models/kubernetes_node_pool_spec.rb +0 -62
- data/spec/models/kubernetes_node_pools_spec.rb +0 -56
- data/spec/models/kubernetes_node_properties_spec.rb +0 -46
- data/spec/models/kubernetes_node_spec.rb +0 -62
- data/spec/models/kubernetes_nodes_spec.rb +0 -56
- data/spec/models/label_properties_spec.rb +0 -58
- data/spec/models/label_resource_properties_spec.rb +0 -40
- data/spec/models/label_resource_spec.rb +0 -62
- data/spec/models/label_resources_spec.rb +0 -74
- data/spec/models/label_spec.rb +0 -62
- data/spec/models/labels_spec.rb +0 -56
- data/spec/models/lan_entities_spec.rb +0 -34
- data/spec/models/lan_nics_spec.rb +0 -70
- data/spec/models/lan_post_spec.rb +0 -64
- data/spec/models/lan_properties_post_spec.rb +0 -52
- data/spec/models/lan_properties_spec.rb +0 -52
- data/spec/models/lan_spec.rb +0 -64
- data/spec/models/lans_spec.rb +0 -70
- data/spec/models/loadbalancer_entities_spec.rb +0 -34
- data/spec/models/loadbalancer_properties_spec.rb +0 -50
- data/spec/models/loadbalancer_spec.rb +0 -64
- data/spec/models/loadbalancers_spec.rb +0 -70
- data/spec/models/location_properties_spec.rb +0 -50
- data/spec/models/location_spec.rb +0 -58
- data/spec/models/locations_spec.rb +0 -52
- data/spec/models/nic_entities_spec.rb +0 -34
- data/spec/models/nic_properties_spec.rb +0 -70
- data/spec/models/nic_spec.rb +0 -64
- data/spec/models/nics_spec.rb +0 -70
- data/spec/models/no_state_meta_data_spec.rb +0 -70
- data/spec/models/pagination_links_spec.rb +0 -46
- data/spec/models/peer_spec.rb +0 -58
- data/spec/models/private_cross_connect_properties_spec.rb +0 -52
- data/spec/models/private_cross_connect_spec.rb +0 -58
- data/spec/models/private_cross_connects_spec.rb +0 -52
- data/spec/models/request_metadata_spec.rb +0 -52
- data/spec/models/request_properties_spec.rb +0 -52
- data/spec/models/request_spec.rb +0 -58
- data/spec/models/request_status_metadata_spec.rb +0 -56
- data/spec/models/request_status_spec.rb +0 -52
- data/spec/models/request_target_spec.rb +0 -44
- data/spec/models/requests_spec.rb +0 -70
- data/spec/models/resource_entities_spec.rb +0 -34
- data/spec/models/resource_groups_spec.rb +0 -52
- data/spec/models/resource_limits_spec.rb +0 -130
- data/spec/models/resource_properties_spec.rb +0 -40
- data/spec/models/resource_reference_spec.rb +0 -46
- data/spec/models/resource_spec.rb +0 -64
- data/spec/models/resources_spec.rb +0 -52
- data/spec/models/resources_users_spec.rb +0 -52
- data/spec/models/s3_key_metadata_spec.rb +0 -40
- data/spec/models/s3_key_properties_spec.rb +0 -40
- data/spec/models/s3_key_spec.rb +0 -58
- data/spec/models/s3_keys_spec.rb +0 -52
- data/spec/models/s3_object_storage_sso_spec.rb +0 -34
- data/spec/models/server_entities_spec.rb +0 -46
- data/spec/models/server_properties_spec.rb +0 -84
- data/spec/models/server_spec.rb +0 -64
- data/spec/models/servers_spec.rb +0 -70
- data/spec/models/snapshot_properties_spec.rb +0 -128
- data/spec/models/snapshot_spec.rb +0 -58
- data/spec/models/snapshots_spec.rb +0 -52
- data/spec/models/type_spec.rb +0 -28
- data/spec/models/user_metadata_spec.rb +0 -46
- data/spec/models/user_properties_spec.rb +0 -82
- data/spec/models/user_spec.rb +0 -64
- data/spec/models/users_entities_spec.rb +0 -40
- data/spec/models/users_spec.rb +0 -52
- data/spec/models/volume_properties_spec.rb +0 -152
- data/spec/models/volume_spec.rb +0 -58
- data/spec/models/volumes_spec.rb +0 -70
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 5.0
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 5.
|
|
9
|
+
OpenAPI Generator version: 5.2.1-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -15,51 +15,67 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module Ionoscloud
|
|
17
17
|
class SnapshotProperties
|
|
18
|
+
|
|
18
19
|
# A name of that resource
|
|
19
20
|
attr_accessor :name
|
|
20
21
|
|
|
22
|
+
|
|
21
23
|
# Human readable description
|
|
22
24
|
attr_accessor :description
|
|
23
25
|
|
|
26
|
+
|
|
24
27
|
# Location of that image/snapshot.
|
|
25
28
|
attr_accessor :location
|
|
26
29
|
|
|
30
|
+
|
|
27
31
|
# The size of the image in GB
|
|
28
32
|
attr_accessor :size
|
|
29
33
|
|
|
34
|
+
|
|
30
35
|
# Boolean value representing if the snapshot requires extra protection e.g. two factor protection
|
|
31
36
|
attr_accessor :sec_auth_protection
|
|
32
37
|
|
|
38
|
+
|
|
33
39
|
# Is capable of CPU hot plug (no reboot required)
|
|
34
40
|
attr_accessor :cpu_hot_plug
|
|
35
41
|
|
|
42
|
+
|
|
36
43
|
# Is capable of CPU hot unplug (no reboot required)
|
|
37
44
|
attr_accessor :cpu_hot_unplug
|
|
38
45
|
|
|
46
|
+
|
|
39
47
|
# Is capable of memory hot plug (no reboot required)
|
|
40
48
|
attr_accessor :ram_hot_plug
|
|
41
49
|
|
|
50
|
+
|
|
42
51
|
# Is capable of memory hot unplug (no reboot required)
|
|
43
52
|
attr_accessor :ram_hot_unplug
|
|
44
53
|
|
|
54
|
+
|
|
45
55
|
# Is capable of nic hot plug (no reboot required)
|
|
46
56
|
attr_accessor :nic_hot_plug
|
|
47
57
|
|
|
58
|
+
|
|
48
59
|
# Is capable of nic hot unplug (no reboot required)
|
|
49
60
|
attr_accessor :nic_hot_unplug
|
|
50
61
|
|
|
62
|
+
|
|
51
63
|
# Is capable of Virt-IO drive hot plug (no reboot required)
|
|
52
64
|
attr_accessor :disc_virtio_hot_plug
|
|
53
65
|
|
|
66
|
+
|
|
54
67
|
# Is capable of Virt-IO drive hot unplug (no reboot required). This works only for non-Windows virtual Machines.
|
|
55
68
|
attr_accessor :disc_virtio_hot_unplug
|
|
56
69
|
|
|
70
|
+
|
|
57
71
|
# Is capable of SCSI drive hot plug (no reboot required)
|
|
58
72
|
attr_accessor :disc_scsi_hot_plug
|
|
59
73
|
|
|
74
|
+
|
|
60
75
|
# Is capable of SCSI drive hot unplug (no reboot required). This works only for non-Windows virtual Machines.
|
|
61
76
|
attr_accessor :disc_scsi_hot_unplug
|
|
62
77
|
|
|
78
|
+
|
|
63
79
|
# OS type of this Snapshot
|
|
64
80
|
attr_accessor :licence_type
|
|
65
81
|
|
|
@@ -88,21 +104,37 @@ module Ionoscloud
|
|
|
88
104
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
89
105
|
def self.attribute_map
|
|
90
106
|
{
|
|
107
|
+
|
|
91
108
|
:'name' => :'name',
|
|
109
|
+
|
|
92
110
|
:'description' => :'description',
|
|
111
|
+
|
|
93
112
|
:'location' => :'location',
|
|
113
|
+
|
|
94
114
|
:'size' => :'size',
|
|
115
|
+
|
|
95
116
|
:'sec_auth_protection' => :'secAuthProtection',
|
|
117
|
+
|
|
96
118
|
:'cpu_hot_plug' => :'cpuHotPlug',
|
|
119
|
+
|
|
97
120
|
:'cpu_hot_unplug' => :'cpuHotUnplug',
|
|
121
|
+
|
|
98
122
|
:'ram_hot_plug' => :'ramHotPlug',
|
|
123
|
+
|
|
99
124
|
:'ram_hot_unplug' => :'ramHotUnplug',
|
|
125
|
+
|
|
100
126
|
:'nic_hot_plug' => :'nicHotPlug',
|
|
127
|
+
|
|
101
128
|
:'nic_hot_unplug' => :'nicHotUnplug',
|
|
129
|
+
|
|
102
130
|
:'disc_virtio_hot_plug' => :'discVirtioHotPlug',
|
|
131
|
+
|
|
103
132
|
:'disc_virtio_hot_unplug' => :'discVirtioHotUnplug',
|
|
133
|
+
|
|
104
134
|
:'disc_scsi_hot_plug' => :'discScsiHotPlug',
|
|
135
|
+
|
|
105
136
|
:'disc_scsi_hot_unplug' => :'discScsiHotUnplug',
|
|
137
|
+
|
|
106
138
|
:'licence_type' => :'licenceType'
|
|
107
139
|
}
|
|
108
140
|
end
|
|
@@ -115,21 +147,37 @@ module Ionoscloud
|
|
|
115
147
|
# Attribute type mapping.
|
|
116
148
|
def self.openapi_types
|
|
117
149
|
{
|
|
150
|
+
|
|
118
151
|
:'name' => :'String',
|
|
152
|
+
|
|
119
153
|
:'description' => :'String',
|
|
154
|
+
|
|
120
155
|
:'location' => :'String',
|
|
156
|
+
|
|
121
157
|
:'size' => :'Float',
|
|
158
|
+
|
|
122
159
|
:'sec_auth_protection' => :'Boolean',
|
|
160
|
+
|
|
123
161
|
:'cpu_hot_plug' => :'Boolean',
|
|
162
|
+
|
|
124
163
|
:'cpu_hot_unplug' => :'Boolean',
|
|
164
|
+
|
|
125
165
|
:'ram_hot_plug' => :'Boolean',
|
|
166
|
+
|
|
126
167
|
:'ram_hot_unplug' => :'Boolean',
|
|
168
|
+
|
|
127
169
|
:'nic_hot_plug' => :'Boolean',
|
|
170
|
+
|
|
128
171
|
:'nic_hot_unplug' => :'Boolean',
|
|
172
|
+
|
|
129
173
|
:'disc_virtio_hot_plug' => :'Boolean',
|
|
174
|
+
|
|
130
175
|
:'disc_virtio_hot_unplug' => :'Boolean',
|
|
176
|
+
|
|
131
177
|
:'disc_scsi_hot_plug' => :'Boolean',
|
|
178
|
+
|
|
132
179
|
:'disc_scsi_hot_unplug' => :'Boolean',
|
|
180
|
+
|
|
133
181
|
:'licence_type' => :'String'
|
|
134
182
|
}
|
|
135
183
|
end
|
|
@@ -137,6 +185,22 @@ module Ionoscloud
|
|
|
137
185
|
# List of attributes with nullable: true
|
|
138
186
|
def self.openapi_nullable
|
|
139
187
|
Set.new([
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
|
|
140
204
|
])
|
|
141
205
|
end
|
|
142
206
|
|
|
@@ -154,67 +218,83 @@ module Ionoscloud
|
|
|
154
218
|
end
|
|
155
219
|
h[k.to_sym] = v
|
|
156
220
|
}
|
|
221
|
+
|
|
157
222
|
|
|
158
223
|
if attributes.key?(:'name')
|
|
159
224
|
self.name = attributes[:'name']
|
|
160
225
|
end
|
|
161
226
|
|
|
227
|
+
|
|
162
228
|
if attributes.key?(:'description')
|
|
163
229
|
self.description = attributes[:'description']
|
|
164
230
|
end
|
|
165
231
|
|
|
232
|
+
|
|
166
233
|
if attributes.key?(:'location')
|
|
167
234
|
self.location = attributes[:'location']
|
|
168
235
|
end
|
|
169
236
|
|
|
237
|
+
|
|
170
238
|
if attributes.key?(:'size')
|
|
171
239
|
self.size = attributes[:'size']
|
|
172
240
|
end
|
|
173
241
|
|
|
242
|
+
|
|
174
243
|
if attributes.key?(:'sec_auth_protection')
|
|
175
244
|
self.sec_auth_protection = attributes[:'sec_auth_protection']
|
|
176
245
|
end
|
|
177
246
|
|
|
247
|
+
|
|
178
248
|
if attributes.key?(:'cpu_hot_plug')
|
|
179
249
|
self.cpu_hot_plug = attributes[:'cpu_hot_plug']
|
|
180
250
|
end
|
|
181
251
|
|
|
252
|
+
|
|
182
253
|
if attributes.key?(:'cpu_hot_unplug')
|
|
183
254
|
self.cpu_hot_unplug = attributes[:'cpu_hot_unplug']
|
|
184
255
|
end
|
|
185
256
|
|
|
257
|
+
|
|
186
258
|
if attributes.key?(:'ram_hot_plug')
|
|
187
259
|
self.ram_hot_plug = attributes[:'ram_hot_plug']
|
|
188
260
|
end
|
|
189
261
|
|
|
262
|
+
|
|
190
263
|
if attributes.key?(:'ram_hot_unplug')
|
|
191
264
|
self.ram_hot_unplug = attributes[:'ram_hot_unplug']
|
|
192
265
|
end
|
|
193
266
|
|
|
267
|
+
|
|
194
268
|
if attributes.key?(:'nic_hot_plug')
|
|
195
269
|
self.nic_hot_plug = attributes[:'nic_hot_plug']
|
|
196
270
|
end
|
|
197
271
|
|
|
272
|
+
|
|
198
273
|
if attributes.key?(:'nic_hot_unplug')
|
|
199
274
|
self.nic_hot_unplug = attributes[:'nic_hot_unplug']
|
|
200
275
|
end
|
|
201
276
|
|
|
277
|
+
|
|
202
278
|
if attributes.key?(:'disc_virtio_hot_plug')
|
|
203
279
|
self.disc_virtio_hot_plug = attributes[:'disc_virtio_hot_plug']
|
|
204
280
|
end
|
|
205
281
|
|
|
282
|
+
|
|
206
283
|
if attributes.key?(:'disc_virtio_hot_unplug')
|
|
207
284
|
self.disc_virtio_hot_unplug = attributes[:'disc_virtio_hot_unplug']
|
|
208
285
|
end
|
|
209
286
|
|
|
287
|
+
|
|
210
288
|
if attributes.key?(:'disc_scsi_hot_plug')
|
|
211
289
|
self.disc_scsi_hot_plug = attributes[:'disc_scsi_hot_plug']
|
|
212
290
|
end
|
|
213
291
|
|
|
292
|
+
|
|
214
293
|
if attributes.key?(:'disc_scsi_hot_unplug')
|
|
215
294
|
self.disc_scsi_hot_unplug = attributes[:'disc_scsi_hot_unplug']
|
|
216
295
|
end
|
|
217
296
|
|
|
297
|
+
|
|
218
298
|
if attributes.key?(:'licence_type')
|
|
219
299
|
self.licence_type = attributes[:'licence_type']
|
|
220
300
|
end
|
|
@@ -224,17 +304,65 @@ module Ionoscloud
|
|
|
224
304
|
# @return Array for valid properties with the reasons
|
|
225
305
|
def list_invalid_properties
|
|
226
306
|
invalid_properties = Array.new
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
|
|
321
|
+
|
|
322
|
+
|
|
227
323
|
invalid_properties
|
|
228
324
|
end
|
|
229
325
|
|
|
230
326
|
# Check to see if the all the properties in the model are valid
|
|
231
327
|
# @return true if the model is valid
|
|
232
328
|
def valid?
|
|
329
|
+
|
|
330
|
+
|
|
331
|
+
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
|
|
233
345
|
licence_type_validator = EnumAttributeValidator.new('String', ["UNKNOWN", "WINDOWS", "WINDOWS2016", "LINUX", "OTHER"])
|
|
234
346
|
return false unless licence_type_validator.valid?(@licence_type)
|
|
235
347
|
true
|
|
236
348
|
end
|
|
237
349
|
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
|
|
355
|
+
|
|
356
|
+
|
|
357
|
+
|
|
358
|
+
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
|
|
362
|
+
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
|
|
238
366
|
# Custom attribute writer method checking allowed values (enum).
|
|
239
367
|
# @param [Object] licence_type Object to be assigned
|
|
240
368
|
def licence_type=(licence_type)
|
|
@@ -250,22 +378,22 @@ module Ionoscloud
|
|
|
250
378
|
def ==(o)
|
|
251
379
|
return true if self.equal?(o)
|
|
252
380
|
self.class == o.class &&
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
381
|
+
name == o.name &&
|
|
382
|
+
description == o.description &&
|
|
383
|
+
location == o.location &&
|
|
384
|
+
size == o.size &&
|
|
385
|
+
sec_auth_protection == o.sec_auth_protection &&
|
|
386
|
+
cpu_hot_plug == o.cpu_hot_plug &&
|
|
387
|
+
cpu_hot_unplug == o.cpu_hot_unplug &&
|
|
388
|
+
ram_hot_plug == o.ram_hot_plug &&
|
|
389
|
+
ram_hot_unplug == o.ram_hot_unplug &&
|
|
390
|
+
nic_hot_plug == o.nic_hot_plug &&
|
|
391
|
+
nic_hot_unplug == o.nic_hot_unplug &&
|
|
392
|
+
disc_virtio_hot_plug == o.disc_virtio_hot_plug &&
|
|
393
|
+
disc_virtio_hot_unplug == o.disc_virtio_hot_unplug &&
|
|
394
|
+
disc_scsi_hot_plug == o.disc_scsi_hot_plug &&
|
|
395
|
+
disc_scsi_hot_unplug == o.disc_scsi_hot_unplug &&
|
|
396
|
+
licence_type == o.licence_type
|
|
269
397
|
end
|
|
270
398
|
|
|
271
399
|
# @see the `==` method
|
|
@@ -397,5 +525,7 @@ module Ionoscloud
|
|
|
397
525
|
value
|
|
398
526
|
end
|
|
399
527
|
end
|
|
528
|
+
|
|
400
529
|
end
|
|
530
|
+
|
|
401
531
|
end
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 5.0
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 5.
|
|
9
|
+
OpenAPI Generator version: 5.2.1-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -15,24 +15,32 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module Ionoscloud
|
|
17
17
|
class Snapshots
|
|
18
|
+
|
|
18
19
|
# The resource's unique identifier
|
|
19
20
|
attr_accessor :id
|
|
20
21
|
|
|
22
|
+
|
|
21
23
|
# The type of object that has been created
|
|
22
24
|
attr_accessor :type
|
|
23
25
|
|
|
26
|
+
|
|
24
27
|
# URL to the object representation (absolute path)
|
|
25
28
|
attr_accessor :href
|
|
26
29
|
|
|
30
|
+
|
|
27
31
|
# Array of items in that collection
|
|
28
32
|
attr_accessor :items
|
|
29
33
|
|
|
30
34
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
31
35
|
def self.attribute_map
|
|
32
36
|
{
|
|
37
|
+
|
|
33
38
|
:'id' => :'id',
|
|
39
|
+
|
|
34
40
|
:'type' => :'type',
|
|
41
|
+
|
|
35
42
|
:'href' => :'href',
|
|
43
|
+
|
|
36
44
|
:'items' => :'items'
|
|
37
45
|
}
|
|
38
46
|
end
|
|
@@ -45,9 +53,13 @@ module Ionoscloud
|
|
|
45
53
|
# Attribute type mapping.
|
|
46
54
|
def self.openapi_types
|
|
47
55
|
{
|
|
56
|
+
|
|
48
57
|
:'id' => :'String',
|
|
58
|
+
|
|
49
59
|
:'type' => :'Type',
|
|
60
|
+
|
|
50
61
|
:'href' => :'String',
|
|
62
|
+
|
|
51
63
|
:'items' => :'Array<Snapshot>'
|
|
52
64
|
}
|
|
53
65
|
end
|
|
@@ -55,6 +67,10 @@ module Ionoscloud
|
|
|
55
67
|
# List of attributes with nullable: true
|
|
56
68
|
def self.openapi_nullable
|
|
57
69
|
Set.new([
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
|
|
58
74
|
])
|
|
59
75
|
end
|
|
60
76
|
|
|
@@ -72,23 +88,25 @@ module Ionoscloud
|
|
|
72
88
|
end
|
|
73
89
|
h[k.to_sym] = v
|
|
74
90
|
}
|
|
91
|
+
|
|
75
92
|
|
|
76
93
|
if attributes.key?(:'id')
|
|
77
94
|
self.id = attributes[:'id']
|
|
78
95
|
end
|
|
79
96
|
|
|
97
|
+
|
|
80
98
|
if attributes.key?(:'type')
|
|
81
99
|
self.type = attributes[:'type']
|
|
82
100
|
end
|
|
83
101
|
|
|
102
|
+
|
|
84
103
|
if attributes.key?(:'href')
|
|
85
104
|
self.href = attributes[:'href']
|
|
86
105
|
end
|
|
87
106
|
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
end
|
|
107
|
+
|
|
108
|
+
if attributes.key?(:'items') && (value = attributes[:'items']).is_a?(Array)
|
|
109
|
+
self.items = value
|
|
92
110
|
end
|
|
93
111
|
end
|
|
94
112
|
|
|
@@ -96,24 +114,36 @@ module Ionoscloud
|
|
|
96
114
|
# @return Array for valid properties with the reasons
|
|
97
115
|
def list_invalid_properties
|
|
98
116
|
invalid_properties = Array.new
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
|
|
99
121
|
invalid_properties
|
|
100
122
|
end
|
|
101
123
|
|
|
102
124
|
# Check to see if the all the properties in the model are valid
|
|
103
125
|
# @return true if the model is valid
|
|
104
126
|
def valid?
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
105
131
|
true
|
|
106
132
|
end
|
|
107
133
|
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
|
|
108
138
|
# Checks equality by comparing each attribute.
|
|
109
139
|
# @param [Object] Object to be compared
|
|
110
140
|
def ==(o)
|
|
111
141
|
return true if self.equal?(o)
|
|
112
142
|
self.class == o.class &&
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
143
|
+
id == o.id &&
|
|
144
|
+
type == o.type &&
|
|
145
|
+
href == o.href &&
|
|
146
|
+
items == o.items
|
|
117
147
|
end
|
|
118
148
|
|
|
119
149
|
# @see the `==` method
|
|
@@ -245,5 +275,7 @@ module Ionoscloud
|
|
|
245
275
|
value
|
|
246
276
|
end
|
|
247
277
|
end
|
|
278
|
+
|
|
248
279
|
end
|
|
280
|
+
|
|
249
281
|
end
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 5.0
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 5.
|
|
9
|
+
OpenAPI Generator version: 5.2.1-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -39,6 +39,7 @@ module Ionoscloud
|
|
|
39
39
|
LABEL = "label".freeze
|
|
40
40
|
K8S = "k8s".freeze
|
|
41
41
|
NODEPOOL = "nodepool".freeze
|
|
42
|
+
NODE = "node".freeze
|
|
42
43
|
|
|
43
44
|
# Builds the enum from string
|
|
44
45
|
# @param [String] The enum value in the form of the string
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 5.0
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 5.
|
|
9
|
+
OpenAPI Generator version: 5.2.1-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -15,29 +15,41 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module Ionoscloud
|
|
17
17
|
class User
|
|
18
|
+
|
|
18
19
|
# The resource's unique identifier
|
|
19
20
|
attr_accessor :id
|
|
20
21
|
|
|
22
|
+
|
|
21
23
|
# The type of object that has been created
|
|
22
24
|
attr_accessor :type
|
|
23
25
|
|
|
26
|
+
|
|
24
27
|
# URL to the object representation (absolute path)
|
|
25
28
|
attr_accessor :href
|
|
26
29
|
|
|
30
|
+
|
|
27
31
|
attr_accessor :metadata
|
|
28
32
|
|
|
33
|
+
|
|
29
34
|
attr_accessor :properties
|
|
30
35
|
|
|
36
|
+
|
|
31
37
|
attr_accessor :entities
|
|
32
38
|
|
|
33
39
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
34
40
|
def self.attribute_map
|
|
35
41
|
{
|
|
42
|
+
|
|
36
43
|
:'id' => :'id',
|
|
44
|
+
|
|
37
45
|
:'type' => :'type',
|
|
46
|
+
|
|
38
47
|
:'href' => :'href',
|
|
48
|
+
|
|
39
49
|
:'metadata' => :'metadata',
|
|
50
|
+
|
|
40
51
|
:'properties' => :'properties',
|
|
52
|
+
|
|
41
53
|
:'entities' => :'entities'
|
|
42
54
|
}
|
|
43
55
|
end
|
|
@@ -50,11 +62,17 @@ module Ionoscloud
|
|
|
50
62
|
# Attribute type mapping.
|
|
51
63
|
def self.openapi_types
|
|
52
64
|
{
|
|
65
|
+
|
|
53
66
|
:'id' => :'String',
|
|
67
|
+
|
|
54
68
|
:'type' => :'Type',
|
|
69
|
+
|
|
55
70
|
:'href' => :'String',
|
|
71
|
+
|
|
56
72
|
:'metadata' => :'UserMetadata',
|
|
73
|
+
|
|
57
74
|
:'properties' => :'UserProperties',
|
|
75
|
+
|
|
58
76
|
:'entities' => :'UsersEntities'
|
|
59
77
|
}
|
|
60
78
|
end
|
|
@@ -62,6 +80,12 @@ module Ionoscloud
|
|
|
62
80
|
# List of attributes with nullable: true
|
|
63
81
|
def self.openapi_nullable
|
|
64
82
|
Set.new([
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
65
89
|
])
|
|
66
90
|
end
|
|
67
91
|
|
|
@@ -79,27 +103,33 @@ module Ionoscloud
|
|
|
79
103
|
end
|
|
80
104
|
h[k.to_sym] = v
|
|
81
105
|
}
|
|
106
|
+
|
|
82
107
|
|
|
83
108
|
if attributes.key?(:'id')
|
|
84
109
|
self.id = attributes[:'id']
|
|
85
110
|
end
|
|
86
111
|
|
|
112
|
+
|
|
87
113
|
if attributes.key?(:'type')
|
|
88
114
|
self.type = attributes[:'type']
|
|
89
115
|
end
|
|
90
116
|
|
|
117
|
+
|
|
91
118
|
if attributes.key?(:'href')
|
|
92
119
|
self.href = attributes[:'href']
|
|
93
120
|
end
|
|
94
121
|
|
|
122
|
+
|
|
95
123
|
if attributes.key?(:'metadata')
|
|
96
124
|
self.metadata = attributes[:'metadata']
|
|
97
125
|
end
|
|
98
126
|
|
|
127
|
+
|
|
99
128
|
if attributes.key?(:'properties')
|
|
100
129
|
self.properties = attributes[:'properties']
|
|
101
130
|
end
|
|
102
131
|
|
|
132
|
+
|
|
103
133
|
if attributes.key?(:'entities')
|
|
104
134
|
self.entities = attributes[:'entities']
|
|
105
135
|
end
|
|
@@ -109,31 +139,49 @@ module Ionoscloud
|
|
|
109
139
|
# @return Array for valid properties with the reasons
|
|
110
140
|
def list_invalid_properties
|
|
111
141
|
invalid_properties = Array.new
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
|
|
112
147
|
if @properties.nil?
|
|
113
148
|
invalid_properties.push('invalid value for "properties", properties cannot be nil.')
|
|
114
149
|
end
|
|
115
150
|
|
|
151
|
+
|
|
116
152
|
invalid_properties
|
|
117
153
|
end
|
|
118
154
|
|
|
119
155
|
# Check to see if the all the properties in the model are valid
|
|
120
156
|
# @return true if the model is valid
|
|
121
157
|
def valid?
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
|
|
122
163
|
return false if @properties.nil?
|
|
164
|
+
|
|
123
165
|
true
|
|
124
166
|
end
|
|
125
167
|
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
|
|
126
174
|
# Checks equality by comparing each attribute.
|
|
127
175
|
# @param [Object] Object to be compared
|
|
128
176
|
def ==(o)
|
|
129
177
|
return true if self.equal?(o)
|
|
130
178
|
self.class == o.class &&
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
179
|
+
id == o.id &&
|
|
180
|
+
type == o.type &&
|
|
181
|
+
href == o.href &&
|
|
182
|
+
metadata == o.metadata &&
|
|
183
|
+
properties == o.properties &&
|
|
184
|
+
entities == o.entities
|
|
137
185
|
end
|
|
138
186
|
|
|
139
187
|
# @see the `==` method
|
|
@@ -265,5 +313,7 @@ module Ionoscloud
|
|
|
265
313
|
value
|
|
266
314
|
end
|
|
267
315
|
end
|
|
316
|
+
|
|
268
317
|
end
|
|
318
|
+
|
|
269
319
|
end
|