ionoscloud 5.1.1 → 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 +3 -3
- data/README.md +1 -1
- data/docs/models/KubernetesClusterProperties.md +0 -2
- data/docs/models/KubernetesClusterPropertiesForPost.md +0 -2
- data/docs/models/KubernetesNodePoolProperties.md +0 -3
- data/docs/models/KubernetesNodePoolPropertiesForPost.md +0 -3
- data/lib/ionoscloud/api_client.rb +2 -2
- data/lib/ionoscloud/models/attached_volumes.rb +65 -11
- data/lib/ionoscloud/models/backup_unit.rb +45 -5
- data/lib/ionoscloud/models/backup_unit_properties.rb +27 -3
- data/lib/ionoscloud/models/backup_unit_sso.rb +9 -1
- data/lib/ionoscloud/models/backup_units.rb +38 -8
- data/lib/ionoscloud/models/balanced_nics.rb +65 -11
- data/lib/ionoscloud/models/cdroms.rb +65 -11
- data/lib/ionoscloud/models/connectable_datacenter.rb +27 -3
- data/lib/ionoscloud/models/contract.rb +18 -2
- data/lib/ionoscloud/models/contract_properties.rb +45 -5
- data/lib/ionoscloud/models/data_center_entities.rb +36 -4
- data/lib/ionoscloud/models/datacenter.rb +54 -6
- data/lib/ionoscloud/models/datacenter_element_metadata.rb +72 -8
- data/lib/ionoscloud/models/datacenter_properties.rb +56 -10
- data/lib/ionoscloud/models/datacenters.rb +65 -11
- data/lib/ionoscloud/models/error.rb +20 -6
- data/lib/ionoscloud/models/error_message.rb +18 -2
- data/lib/ionoscloud/models/firewall_rule.rb +45 -5
- data/lib/ionoscloud/models/firewall_rules.rb +65 -11
- data/lib/ionoscloud/models/firewallrule_properties.rb +81 -9
- data/lib/ionoscloud/models/group.rb +45 -5
- data/lib/ionoscloud/models/group_entities.rb +18 -2
- data/lib/ionoscloud/models/group_members.rb +38 -8
- data/lib/ionoscloud/models/group_properties.rb +90 -10
- data/lib/ionoscloud/models/group_share.rb +36 -4
- data/lib/ionoscloud/models/group_share_properties.rb +18 -2
- data/lib/ionoscloud/models/group_shares.rb +38 -8
- data/lib/ionoscloud/models/group_users.rb +38 -8
- data/lib/ionoscloud/models/groups.rb +38 -8
- data/lib/ionoscloud/models/image.rb +45 -5
- data/lib/ionoscloud/models/image_properties.rb +173 -23
- data/lib/ionoscloud/models/images.rb +38 -8
- data/lib/ionoscloud/models/info.rb +27 -3
- data/lib/ionoscloud/models/ip_block.rb +45 -5
- data/lib/ionoscloud/models/ip_block_properties.rb +49 -13
- data/lib/ionoscloud/models/ip_blocks.rb +65 -11
- data/lib/ionoscloud/models/ip_consumer.rb +81 -9
- data/lib/ionoscloud/models/ip_failover.rb +18 -2
- data/lib/ionoscloud/models/kubernetes_auto_scaling.rb +18 -2
- data/lib/ionoscloud/models/kubernetes_cluster.rb +54 -6
- data/lib/ionoscloud/models/kubernetes_cluster_entities.rb +9 -1
- data/lib/ionoscloud/models/kubernetes_cluster_for_post.rb +54 -6
- data/lib/ionoscloud/models/kubernetes_cluster_for_put.rb +54 -6
- data/lib/ionoscloud/models/kubernetes_cluster_properties.rb +70 -34
- data/lib/ionoscloud/models/kubernetes_cluster_properties_for_post.rb +48 -24
- data/lib/ionoscloud/models/kubernetes_cluster_properties_for_put.rb +49 -13
- data/lib/ionoscloud/models/kubernetes_clusters.rb +38 -8
- data/lib/ionoscloud/models/kubernetes_config.rb +36 -4
- data/lib/ionoscloud/models/kubernetes_config_properties.rb +9 -1
- data/lib/ionoscloud/models/kubernetes_maintenance_window.rb +18 -2
- data/lib/ionoscloud/models/kubernetes_node.rb +45 -5
- data/lib/ionoscloud/models/kubernetes_node_metadata.rb +45 -5
- data/lib/ionoscloud/models/kubernetes_node_pool.rb +45 -5
- data/lib/ionoscloud/models/kubernetes_node_pool_for_post.rb +45 -5
- data/lib/ionoscloud/models/kubernetes_node_pool_for_put.rb +45 -5
- data/lib/ionoscloud/models/kubernetes_node_pool_lan.rb +9 -1
- data/lib/ionoscloud/models/kubernetes_node_pool_properties.rb +163 -47
- data/lib/ionoscloud/models/kubernetes_node_pool_properties_for_post.rb +152 -42
- data/lib/ionoscloud/models/kubernetes_node_pool_properties_for_put.rb +89 -25
- data/lib/ionoscloud/models/kubernetes_node_pools.rb +38 -8
- data/lib/ionoscloud/models/kubernetes_node_properties.rb +36 -4
- data/lib/ionoscloud/models/kubernetes_nodes.rb +38 -8
- data/lib/ionoscloud/models/label.rb +45 -5
- data/lib/ionoscloud/models/label_properties.rb +45 -5
- data/lib/ionoscloud/models/label_resource.rb +45 -5
- data/lib/ionoscloud/models/label_resource_properties.rb +18 -2
- data/lib/ionoscloud/models/label_resources.rb +65 -11
- data/lib/ionoscloud/models/labels.rb +38 -8
- data/lib/ionoscloud/models/lan.rb +54 -6
- data/lib/ionoscloud/models/lan_entities.rb +9 -1
- data/lib/ionoscloud/models/lan_nics.rb +65 -11
- data/lib/ionoscloud/models/lan_post.rb +54 -6
- data/lib/ionoscloud/models/lan_properties.rb +38 -8
- data/lib/ionoscloud/models/lan_properties_post.rb +38 -8
- data/lib/ionoscloud/models/lans.rb +65 -11
- data/lib/ionoscloud/models/loadbalancer.rb +54 -6
- data/lib/ionoscloud/models/loadbalancer_entities.rb +9 -1
- data/lib/ionoscloud/models/loadbalancer_properties.rb +27 -3
- data/lib/ionoscloud/models/loadbalancers.rb +65 -11
- data/lib/ionoscloud/models/location.rb +45 -5
- data/lib/ionoscloud/models/location_properties.rb +31 -11
- data/lib/ionoscloud/models/locations.rb +38 -8
- data/lib/ionoscloud/models/nic.rb +54 -6
- data/lib/ionoscloud/models/nic_entities.rb +9 -1
- data/lib/ionoscloud/models/nic_properties.rb +65 -11
- data/lib/ionoscloud/models/nics.rb +65 -11
- data/lib/ionoscloud/models/no_state_meta_data.rb +63 -7
- data/lib/ionoscloud/models/pagination_links.rb +27 -3
- data/lib/ionoscloud/models/peer.rb +45 -5
- data/lib/ionoscloud/models/private_cross_connect.rb +45 -5
- data/lib/ionoscloud/models/private_cross_connect_properties.rb +40 -12
- data/lib/ionoscloud/models/private_cross_connects.rb +38 -8
- data/lib/ionoscloud/models/request.rb +45 -5
- data/lib/ionoscloud/models/request_metadata.rb +36 -4
- data/lib/ionoscloud/models/request_properties.rb +38 -8
- data/lib/ionoscloud/models/request_status.rb +36 -4
- data/lib/ionoscloud/models/request_status_metadata.rb +38 -8
- data/lib/ionoscloud/models/request_target.rb +18 -2
- data/lib/ionoscloud/models/requests.rb +65 -11
- data/lib/ionoscloud/models/resource.rb +54 -6
- data/lib/ionoscloud/models/resource_entities.rb +9 -1
- data/lib/ionoscloud/models/resource_groups.rb +38 -8
- data/lib/ionoscloud/models/resource_limits.rb +153 -17
- data/lib/ionoscloud/models/resource_properties.rb +18 -2
- data/lib/ionoscloud/models/resource_reference.rb +27 -3
- data/lib/ionoscloud/models/resources.rb +38 -8
- data/lib/ionoscloud/models/resources_users.rb +38 -8
- data/lib/ionoscloud/models/s3_bucket.rb +9 -1
- data/lib/ionoscloud/models/s3_key.rb +45 -5
- data/lib/ionoscloud/models/s3_key_metadata.rb +18 -2
- data/lib/ionoscloud/models/s3_key_properties.rb +18 -2
- data/lib/ionoscloud/models/s3_keys.rb +38 -8
- data/lib/ionoscloud/models/s3_object_storage_sso.rb +9 -1
- data/lib/ionoscloud/models/server.rb +54 -6
- data/lib/ionoscloud/models/server_entities.rb +27 -3
- data/lib/ionoscloud/models/server_properties.rb +72 -8
- data/lib/ionoscloud/models/servers.rb +65 -11
- data/lib/ionoscloud/models/snapshot.rb +45 -5
- data/lib/ionoscloud/models/snapshot_properties.rb +144 -16
- data/lib/ionoscloud/models/snapshots.rb +38 -8
- data/lib/ionoscloud/models/user.rb +54 -6
- data/lib/ionoscloud/models/user_metadata.rb +27 -3
- data/lib/ionoscloud/models/user_post.rb +9 -1
- data/lib/ionoscloud/models/user_properties.rb +72 -8
- data/lib/ionoscloud/models/user_properties_post.rb +72 -8
- data/lib/ionoscloud/models/user_properties_put.rb +63 -7
- data/lib/ionoscloud/models/user_put.rb +18 -2
- data/lib/ionoscloud/models/users.rb +65 -11
- data/lib/ionoscloud/models/users_entities.rb +18 -2
- data/lib/ionoscloud/models/volume.rb +45 -5
- data/lib/ionoscloud/models/volume_properties.rb +173 -23
- data/lib/ionoscloud/models/volumes.rb +65 -11
- data/lib/ionoscloud/version.rb +1 -1
- metadata +2 -304
- 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 -128
- 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 -92
- 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 -497
- 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 -64
- 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 -86
- 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 -154
- 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 -70
- data/spec/models/ip_consumer_spec.rb +0 -82
- 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_for_post_spec.rb +0 -68
- data/spec/models/kubernetes_cluster_for_put_spec.rb +0 -68
- data/spec/models/kubernetes_cluster_properties_for_post_spec.rb +0 -64
- data/spec/models/kubernetes_cluster_properties_for_put_spec.rb +0 -58
- data/spec/models/kubernetes_cluster_properties_spec.rb +0 -76
- 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_post_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 -138
- data/spec/models/kubernetes_node_pool_properties_for_put_spec.rb +0 -82
- data/spec/models/kubernetes_node_pool_properties_spec.rb +0 -144
- 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 -52
- 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 -46
- data/spec/models/loadbalancer_spec.rb +0 -64
- data/spec/models/loadbalancers_spec.rb +0 -70
- data/spec/models/location_properties_spec.rb +0 -46
- 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_bucket_spec.rb +0 -34
- 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_post_spec.rb +0 -34
- data/spec/models/user_properties_post_spec.rb +0 -76
- data/spec/models/user_properties_put_spec.rb +0 -70
- data/spec/models/user_properties_spec.rb +0 -76
- data/spec/models/user_put_spec.rb +0 -40
- data/spec/models/user_spec.rb +0 -64
- data/spec/models/users_entities_spec.rb +0 -40
- data/spec/models/users_spec.rb +0 -70
- data/spec/models/volume_properties_spec.rb +0 -158
- data/spec/models/volume_spec.rb +0 -58
- data/spec/models/volumes_spec.rb +0 -70
|
@@ -15,36 +15,50 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module Ionoscloud
|
|
17
17
|
class NoStateMetaData
|
|
18
|
+
|
|
18
19
|
# Resource's Entity Tag as defined in http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.11 . Entity Tag is also added as an 'ETag response header to requests which don't use 'depth' parameter.
|
|
19
20
|
attr_accessor :etag
|
|
20
21
|
|
|
22
|
+
|
|
21
23
|
# The time the Resource was created
|
|
22
24
|
attr_accessor :created_date
|
|
23
25
|
|
|
26
|
+
|
|
24
27
|
# The user who has created the resource.
|
|
25
28
|
attr_accessor :created_by
|
|
26
29
|
|
|
30
|
+
|
|
27
31
|
# The user id of the user who has created the resource.
|
|
28
32
|
attr_accessor :created_by_user_id
|
|
29
33
|
|
|
34
|
+
|
|
30
35
|
# The last time the resource has been modified
|
|
31
36
|
attr_accessor :last_modified_date
|
|
32
37
|
|
|
38
|
+
|
|
33
39
|
# The user who last modified the resource.
|
|
34
40
|
attr_accessor :last_modified_by
|
|
35
41
|
|
|
42
|
+
|
|
36
43
|
# The user id of the user who has last modified the resource.
|
|
37
44
|
attr_accessor :last_modified_by_user_id
|
|
38
45
|
|
|
39
46
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
40
47
|
def self.attribute_map
|
|
41
48
|
{
|
|
49
|
+
|
|
42
50
|
:'etag' => :'etag',
|
|
51
|
+
|
|
43
52
|
:'created_date' => :'createdDate',
|
|
53
|
+
|
|
44
54
|
:'created_by' => :'createdBy',
|
|
55
|
+
|
|
45
56
|
:'created_by_user_id' => :'createdByUserId',
|
|
57
|
+
|
|
46
58
|
:'last_modified_date' => :'lastModifiedDate',
|
|
59
|
+
|
|
47
60
|
:'last_modified_by' => :'lastModifiedBy',
|
|
61
|
+
|
|
48
62
|
:'last_modified_by_user_id' => :'lastModifiedByUserId'
|
|
49
63
|
}
|
|
50
64
|
end
|
|
@@ -57,12 +71,19 @@ module Ionoscloud
|
|
|
57
71
|
# Attribute type mapping.
|
|
58
72
|
def self.openapi_types
|
|
59
73
|
{
|
|
74
|
+
|
|
60
75
|
:'etag' => :'String',
|
|
76
|
+
|
|
61
77
|
:'created_date' => :'Time',
|
|
78
|
+
|
|
62
79
|
:'created_by' => :'String',
|
|
80
|
+
|
|
63
81
|
:'created_by_user_id' => :'String',
|
|
82
|
+
|
|
64
83
|
:'last_modified_date' => :'Time',
|
|
84
|
+
|
|
65
85
|
:'last_modified_by' => :'String',
|
|
86
|
+
|
|
66
87
|
:'last_modified_by_user_id' => :'String'
|
|
67
88
|
}
|
|
68
89
|
end
|
|
@@ -70,6 +91,13 @@ module Ionoscloud
|
|
|
70
91
|
# List of attributes with nullable: true
|
|
71
92
|
def self.openapi_nullable
|
|
72
93
|
Set.new([
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
|
|
73
101
|
])
|
|
74
102
|
end
|
|
75
103
|
|
|
@@ -87,31 +115,38 @@ module Ionoscloud
|
|
|
87
115
|
end
|
|
88
116
|
h[k.to_sym] = v
|
|
89
117
|
}
|
|
118
|
+
|
|
90
119
|
|
|
91
120
|
if attributes.key?(:'etag')
|
|
92
121
|
self.etag = attributes[:'etag']
|
|
93
122
|
end
|
|
94
123
|
|
|
124
|
+
|
|
95
125
|
if attributes.key?(:'created_date')
|
|
96
126
|
self.created_date = attributes[:'created_date']
|
|
97
127
|
end
|
|
98
128
|
|
|
129
|
+
|
|
99
130
|
if attributes.key?(:'created_by')
|
|
100
131
|
self.created_by = attributes[:'created_by']
|
|
101
132
|
end
|
|
102
133
|
|
|
134
|
+
|
|
103
135
|
if attributes.key?(:'created_by_user_id')
|
|
104
136
|
self.created_by_user_id = attributes[:'created_by_user_id']
|
|
105
137
|
end
|
|
106
138
|
|
|
139
|
+
|
|
107
140
|
if attributes.key?(:'last_modified_date')
|
|
108
141
|
self.last_modified_date = attributes[:'last_modified_date']
|
|
109
142
|
end
|
|
110
143
|
|
|
144
|
+
|
|
111
145
|
if attributes.key?(:'last_modified_by')
|
|
112
146
|
self.last_modified_by = attributes[:'last_modified_by']
|
|
113
147
|
end
|
|
114
148
|
|
|
149
|
+
|
|
115
150
|
if attributes.key?(:'last_modified_by_user_id')
|
|
116
151
|
self.last_modified_by_user_id = attributes[:'last_modified_by_user_id']
|
|
117
152
|
end
|
|
@@ -121,27 +156,48 @@ module Ionoscloud
|
|
|
121
156
|
# @return Array for valid properties with the reasons
|
|
122
157
|
def list_invalid_properties
|
|
123
158
|
invalid_properties = Array.new
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
|
|
124
166
|
invalid_properties
|
|
125
167
|
end
|
|
126
168
|
|
|
127
169
|
# Check to see if the all the properties in the model are valid
|
|
128
170
|
# @return true if the model is valid
|
|
129
171
|
def valid?
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
|
|
130
179
|
true
|
|
131
180
|
end
|
|
132
181
|
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
|
|
133
189
|
# Checks equality by comparing each attribute.
|
|
134
190
|
# @param [Object] Object to be compared
|
|
135
191
|
def ==(o)
|
|
136
192
|
return true if self.equal?(o)
|
|
137
193
|
self.class == o.class &&
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
194
|
+
etag == o.etag &&
|
|
195
|
+
created_date == o.created_date &&
|
|
196
|
+
created_by == o.created_by &&
|
|
197
|
+
created_by_user_id == o.created_by_user_id &&
|
|
198
|
+
last_modified_date == o.last_modified_date &&
|
|
199
|
+
last_modified_by == o.last_modified_by &&
|
|
200
|
+
last_modified_by_user_id == o.last_modified_by_user_id
|
|
145
201
|
end
|
|
146
202
|
|
|
147
203
|
# @see the `==` method
|
|
@@ -15,20 +15,26 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module Ionoscloud
|
|
17
17
|
class PaginationLinks
|
|
18
|
+
|
|
18
19
|
# URL (with offset and limit parameters) of the previous page; only present if offset is greater than 0
|
|
19
20
|
attr_accessor :prev
|
|
20
21
|
|
|
22
|
+
|
|
21
23
|
# URL (with offset and limit parameters) of the current page
|
|
22
24
|
attr_accessor :_self
|
|
23
25
|
|
|
26
|
+
|
|
24
27
|
# URL (with offset and limit parameters) of the next page; only present if offset + limit is less than the total number of elements
|
|
25
28
|
attr_accessor :_next
|
|
26
29
|
|
|
27
30
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
28
31
|
def self.attribute_map
|
|
29
32
|
{
|
|
33
|
+
|
|
30
34
|
:'prev' => :'prev',
|
|
35
|
+
|
|
31
36
|
:'_self' => :'self',
|
|
37
|
+
|
|
32
38
|
:'_next' => :'next'
|
|
33
39
|
}
|
|
34
40
|
end
|
|
@@ -41,8 +47,11 @@ module Ionoscloud
|
|
|
41
47
|
# Attribute type mapping.
|
|
42
48
|
def self.openapi_types
|
|
43
49
|
{
|
|
50
|
+
|
|
44
51
|
:'prev' => :'String',
|
|
52
|
+
|
|
45
53
|
:'_self' => :'String',
|
|
54
|
+
|
|
46
55
|
:'_next' => :'String'
|
|
47
56
|
}
|
|
48
57
|
end
|
|
@@ -50,6 +59,9 @@ module Ionoscloud
|
|
|
50
59
|
# List of attributes with nullable: true
|
|
51
60
|
def self.openapi_nullable
|
|
52
61
|
Set.new([
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|
|
53
65
|
])
|
|
54
66
|
end
|
|
55
67
|
|
|
@@ -67,15 +79,18 @@ module Ionoscloud
|
|
|
67
79
|
end
|
|
68
80
|
h[k.to_sym] = v
|
|
69
81
|
}
|
|
82
|
+
|
|
70
83
|
|
|
71
84
|
if attributes.key?(:'prev')
|
|
72
85
|
self.prev = attributes[:'prev']
|
|
73
86
|
end
|
|
74
87
|
|
|
88
|
+
|
|
75
89
|
if attributes.key?(:'_self')
|
|
76
90
|
self._self = attributes[:'_self']
|
|
77
91
|
end
|
|
78
92
|
|
|
93
|
+
|
|
79
94
|
if attributes.key?(:'_next')
|
|
80
95
|
self._next = attributes[:'_next']
|
|
81
96
|
end
|
|
@@ -85,23 +100,32 @@ module Ionoscloud
|
|
|
85
100
|
# @return Array for valid properties with the reasons
|
|
86
101
|
def list_invalid_properties
|
|
87
102
|
invalid_properties = Array.new
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
|
|
88
106
|
invalid_properties
|
|
89
107
|
end
|
|
90
108
|
|
|
91
109
|
# Check to see if the all the properties in the model are valid
|
|
92
110
|
# @return true if the model is valid
|
|
93
111
|
def valid?
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
|
|
94
115
|
true
|
|
95
116
|
end
|
|
96
117
|
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
|
|
97
121
|
# Checks equality by comparing each attribute.
|
|
98
122
|
# @param [Object] Object to be compared
|
|
99
123
|
def ==(o)
|
|
100
124
|
return true if self.equal?(o)
|
|
101
125
|
self.class == o.class &&
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
126
|
+
prev == o.prev &&
|
|
127
|
+
_self == o._self &&
|
|
128
|
+
_next == o._next
|
|
105
129
|
end
|
|
106
130
|
|
|
107
131
|
# @see the `==` method
|
|
@@ -15,23 +15,33 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module Ionoscloud
|
|
17
17
|
class Peer
|
|
18
|
+
|
|
18
19
|
attr_accessor :id
|
|
19
20
|
|
|
21
|
+
|
|
20
22
|
attr_accessor :name
|
|
21
23
|
|
|
24
|
+
|
|
22
25
|
attr_accessor :datacenter_id
|
|
23
26
|
|
|
27
|
+
|
|
24
28
|
attr_accessor :datacenter_name
|
|
25
29
|
|
|
30
|
+
|
|
26
31
|
attr_accessor :location
|
|
27
32
|
|
|
28
33
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
29
34
|
def self.attribute_map
|
|
30
35
|
{
|
|
36
|
+
|
|
31
37
|
:'id' => :'id',
|
|
38
|
+
|
|
32
39
|
:'name' => :'name',
|
|
40
|
+
|
|
33
41
|
:'datacenter_id' => :'datacenterId',
|
|
42
|
+
|
|
34
43
|
:'datacenter_name' => :'datacenterName',
|
|
44
|
+
|
|
35
45
|
:'location' => :'location'
|
|
36
46
|
}
|
|
37
47
|
end
|
|
@@ -44,10 +54,15 @@ module Ionoscloud
|
|
|
44
54
|
# Attribute type mapping.
|
|
45
55
|
def self.openapi_types
|
|
46
56
|
{
|
|
57
|
+
|
|
47
58
|
:'id' => :'String',
|
|
59
|
+
|
|
48
60
|
:'name' => :'String',
|
|
61
|
+
|
|
49
62
|
:'datacenter_id' => :'String',
|
|
63
|
+
|
|
50
64
|
:'datacenter_name' => :'String',
|
|
65
|
+
|
|
51
66
|
:'location' => :'String'
|
|
52
67
|
}
|
|
53
68
|
end
|
|
@@ -55,6 +70,11 @@ module Ionoscloud
|
|
|
55
70
|
# List of attributes with nullable: true
|
|
56
71
|
def self.openapi_nullable
|
|
57
72
|
Set.new([
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
|
|
58
78
|
])
|
|
59
79
|
end
|
|
60
80
|
|
|
@@ -72,23 +92,28 @@ module Ionoscloud
|
|
|
72
92
|
end
|
|
73
93
|
h[k.to_sym] = v
|
|
74
94
|
}
|
|
95
|
+
|
|
75
96
|
|
|
76
97
|
if attributes.key?(:'id')
|
|
77
98
|
self.id = attributes[:'id']
|
|
78
99
|
end
|
|
79
100
|
|
|
101
|
+
|
|
80
102
|
if attributes.key?(:'name')
|
|
81
103
|
self.name = attributes[:'name']
|
|
82
104
|
end
|
|
83
105
|
|
|
106
|
+
|
|
84
107
|
if attributes.key?(:'datacenter_id')
|
|
85
108
|
self.datacenter_id = attributes[:'datacenter_id']
|
|
86
109
|
end
|
|
87
110
|
|
|
111
|
+
|
|
88
112
|
if attributes.key?(:'datacenter_name')
|
|
89
113
|
self.datacenter_name = attributes[:'datacenter_name']
|
|
90
114
|
end
|
|
91
115
|
|
|
116
|
+
|
|
92
117
|
if attributes.key?(:'location')
|
|
93
118
|
self.location = attributes[:'location']
|
|
94
119
|
end
|
|
@@ -98,25 +123,40 @@ module Ionoscloud
|
|
|
98
123
|
# @return Array for valid properties with the reasons
|
|
99
124
|
def list_invalid_properties
|
|
100
125
|
invalid_properties = Array.new
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
101
131
|
invalid_properties
|
|
102
132
|
end
|
|
103
133
|
|
|
104
134
|
# Check to see if the all the properties in the model are valid
|
|
105
135
|
# @return true if the model is valid
|
|
106
136
|
def valid?
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
|
|
107
142
|
true
|
|
108
143
|
end
|
|
109
144
|
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
|
|
110
150
|
# Checks equality by comparing each attribute.
|
|
111
151
|
# @param [Object] Object to be compared
|
|
112
152
|
def ==(o)
|
|
113
153
|
return true if self.equal?(o)
|
|
114
154
|
self.class == o.class &&
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
155
|
+
id == o.id &&
|
|
156
|
+
name == o.name &&
|
|
157
|
+
datacenter_id == o.datacenter_id &&
|
|
158
|
+
datacenter_name == o.datacenter_name &&
|
|
159
|
+
location == o.location
|
|
120
160
|
end
|
|
121
161
|
|
|
122
162
|
# @see the `==` method
|
|
@@ -15,26 +15,36 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module Ionoscloud
|
|
17
17
|
class PrivateCrossConnect
|
|
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
|
|
|
31
36
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
32
37
|
def self.attribute_map
|
|
33
38
|
{
|
|
39
|
+
|
|
34
40
|
:'id' => :'id',
|
|
41
|
+
|
|
35
42
|
:'type' => :'type',
|
|
43
|
+
|
|
36
44
|
:'href' => :'href',
|
|
45
|
+
|
|
37
46
|
:'metadata' => :'metadata',
|
|
47
|
+
|
|
38
48
|
:'properties' => :'properties'
|
|
39
49
|
}
|
|
40
50
|
end
|
|
@@ -47,10 +57,15 @@ module Ionoscloud
|
|
|
47
57
|
# Attribute type mapping.
|
|
48
58
|
def self.openapi_types
|
|
49
59
|
{
|
|
60
|
+
|
|
50
61
|
:'id' => :'String',
|
|
62
|
+
|
|
51
63
|
:'type' => :'Type',
|
|
64
|
+
|
|
52
65
|
:'href' => :'String',
|
|
66
|
+
|
|
53
67
|
:'metadata' => :'DatacenterElementMetadata',
|
|
68
|
+
|
|
54
69
|
:'properties' => :'PrivateCrossConnectProperties'
|
|
55
70
|
}
|
|
56
71
|
end
|
|
@@ -58,6 +73,11 @@ module Ionoscloud
|
|
|
58
73
|
# List of attributes with nullable: true
|
|
59
74
|
def self.openapi_nullable
|
|
60
75
|
Set.new([
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
|
|
61
81
|
])
|
|
62
82
|
end
|
|
63
83
|
|
|
@@ -75,23 +95,28 @@ module Ionoscloud
|
|
|
75
95
|
end
|
|
76
96
|
h[k.to_sym] = v
|
|
77
97
|
}
|
|
98
|
+
|
|
78
99
|
|
|
79
100
|
if attributes.key?(:'id')
|
|
80
101
|
self.id = attributes[:'id']
|
|
81
102
|
end
|
|
82
103
|
|
|
104
|
+
|
|
83
105
|
if attributes.key?(:'type')
|
|
84
106
|
self.type = attributes[:'type']
|
|
85
107
|
end
|
|
86
108
|
|
|
109
|
+
|
|
87
110
|
if attributes.key?(:'href')
|
|
88
111
|
self.href = attributes[:'href']
|
|
89
112
|
end
|
|
90
113
|
|
|
114
|
+
|
|
91
115
|
if attributes.key?(:'metadata')
|
|
92
116
|
self.metadata = attributes[:'metadata']
|
|
93
117
|
end
|
|
94
118
|
|
|
119
|
+
|
|
95
120
|
if attributes.key?(:'properties')
|
|
96
121
|
self.properties = attributes[:'properties']
|
|
97
122
|
end
|
|
@@ -101,6 +126,11 @@ module Ionoscloud
|
|
|
101
126
|
# @return Array for valid properties with the reasons
|
|
102
127
|
def list_invalid_properties
|
|
103
128
|
invalid_properties = Array.new
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
|
|
104
134
|
if @properties.nil?
|
|
105
135
|
invalid_properties.push('invalid value for "properties", properties cannot be nil.')
|
|
106
136
|
end
|
|
@@ -111,20 +141,30 @@ module Ionoscloud
|
|
|
111
141
|
# Check to see if the all the properties in the model are valid
|
|
112
142
|
# @return true if the model is valid
|
|
113
143
|
def valid?
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
|
|
114
149
|
return false if @properties.nil?
|
|
115
150
|
true
|
|
116
151
|
end
|
|
117
152
|
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
|
|
118
158
|
# Checks equality by comparing each attribute.
|
|
119
159
|
# @param [Object] Object to be compared
|
|
120
160
|
def ==(o)
|
|
121
161
|
return true if self.equal?(o)
|
|
122
162
|
self.class == o.class &&
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
163
|
+
id == o.id &&
|
|
164
|
+
type == o.type &&
|
|
165
|
+
href == o.href &&
|
|
166
|
+
metadata == o.metadata &&
|
|
167
|
+
properties == o.properties
|
|
128
168
|
end
|
|
129
169
|
|
|
130
170
|
# @see the `==` method
|
|
@@ -15,24 +15,32 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module Ionoscloud
|
|
17
17
|
class PrivateCrossConnectProperties
|
|
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
|
# Read-Only attribute. Lists LAN's joined to this private cross connect
|
|
25
28
|
attr_accessor :peers
|
|
26
29
|
|
|
30
|
+
|
|
27
31
|
# Read-Only attribute. Lists datacenters that can be joined to this private cross connect
|
|
28
32
|
attr_accessor :connectable_datacenters
|
|
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
|
:'name' => :'name',
|
|
39
|
+
|
|
34
40
|
:'description' => :'description',
|
|
41
|
+
|
|
35
42
|
:'peers' => :'peers',
|
|
43
|
+
|
|
36
44
|
:'connectable_datacenters' => :'connectableDatacenters'
|
|
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
|
:'name' => :'String',
|
|
58
|
+
|
|
49
59
|
:'description' => :'String',
|
|
60
|
+
|
|
50
61
|
:'peers' => :'Array<Peer>',
|
|
62
|
+
|
|
51
63
|
:'connectable_datacenters' => :'Array<ConnectableDatacenter>'
|
|
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,25 +88,25 @@ module Ionoscloud
|
|
|
72
88
|
end
|
|
73
89
|
h[k.to_sym] = v
|
|
74
90
|
}
|
|
91
|
+
|
|
75
92
|
|
|
76
93
|
if attributes.key?(:'name')
|
|
77
94
|
self.name = attributes[:'name']
|
|
78
95
|
end
|
|
79
96
|
|
|
97
|
+
|
|
80
98
|
if attributes.key?(:'description')
|
|
81
99
|
self.description = attributes[:'description']
|
|
82
100
|
end
|
|
83
101
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
end
|
|
102
|
+
|
|
103
|
+
if attributes.key?(:'peers') && (value = attributes[:'peers']).is_a?(Array)
|
|
104
|
+
self.peers = value
|
|
88
105
|
end
|
|
89
106
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
end
|
|
107
|
+
|
|
108
|
+
if attributes.key?(:'connectable_datacenters') && (value = attributes[:'connectable_datacenters']).is_a?(Array)
|
|
109
|
+
self.connectable_datacenters = value
|
|
94
110
|
end
|
|
95
111
|
end
|
|
96
112
|
|
|
@@ -98,24 +114,36 @@ module Ionoscloud
|
|
|
98
114
|
# @return Array for valid properties with the reasons
|
|
99
115
|
def list_invalid_properties
|
|
100
116
|
invalid_properties = Array.new
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
|
|
101
121
|
invalid_properties
|
|
102
122
|
end
|
|
103
123
|
|
|
104
124
|
# Check to see if the all the properties in the model are valid
|
|
105
125
|
# @return true if the model is valid
|
|
106
126
|
def valid?
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
107
131
|
true
|
|
108
132
|
end
|
|
109
133
|
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
|
|
110
138
|
# Checks equality by comparing each attribute.
|
|
111
139
|
# @param [Object] Object to be compared
|
|
112
140
|
def ==(o)
|
|
113
141
|
return true if self.equal?(o)
|
|
114
142
|
self.class == o.class &&
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
143
|
+
name == o.name &&
|
|
144
|
+
description == o.description &&
|
|
145
|
+
peers == o.peers &&
|
|
146
|
+
connectable_datacenters == o.connectable_datacenters
|
|
119
147
|
end
|
|
120
148
|
|
|
121
149
|
# @see the `==` method
|