vsphere-automation-content 0.2.0 → 0.2.1
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 +6 -6
- data/README.md +1 -1
- data/lib/vsphere-automation-content/api_client.rb +1 -1
- data/lib/vsphere-automation-content/models/content_configuration_model.rb +2 -1
- data/lib/vsphere-automation-content/models/content_configuration_result.rb +2 -1
- data/lib/vsphere-automation-content/models/content_configuration_update.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_find.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_find_result.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_find_spec.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_item_copy.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_item_copy_result.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_item_create.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_item_create_result.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_item_destination_spec.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_item_download_session_create.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_item_download_session_create_result.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_item_download_session_fail.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_item_download_session_keep_alive.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_item_download_session_list_result.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_item_download_session_model.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_item_download_session_result.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_item_downloadsession_file_get.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_item_downloadsession_file_info.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_item_downloadsession_file_list_result.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_item_downloadsession_file_prepare.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_item_downloadsession_file_prepare_result.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_item_downloadsession_file_result.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_item_file_checksum_info.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_item_file_get.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_item_file_info.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_item_file_list_result.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_item_file_result.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_item_find.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_item_find_result.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_item_find_spec.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_item_list_result.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_item_model.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_item_publish.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_item_result.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_item_storage_get.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_item_storage_info.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_item_storage_list_result.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_item_storage_result.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_item_transfer_endpoint.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_item_update.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_item_update_session_create.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_item_update_session_create_result.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_item_update_session_fail.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_item_update_session_keep_alive.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_item_update_session_list_result.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_item_update_session_model.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_item_update_session_result.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_item_update_session_update.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_item_updatesession_certificate_info.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_item_updatesession_file_add.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_item_updatesession_file_add_result.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_item_updatesession_file_add_spec.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_item_updatesession_file_get.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_item_updatesession_file_info.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_item_updatesession_file_list_result.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_item_updatesession_file_remove.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_item_updatesession_file_result.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_item_updatesession_file_validate_result.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_item_updatesession_file_validation_error.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_item_updatesession_file_validation_result.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_item_updatesession_preview_info.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_item_updatesession_preview_warning_info.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_item_updatesession_warning_behavior.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_list_result.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_model.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_optimization_info.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_publish_info.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_result.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_source_info.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_storage_backing.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_subscribed_item_sync.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_subscription_info.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_subscriptions_create.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_subscriptions_create_result.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_subscriptions_create_spec.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_subscriptions_create_spec_new_subscribed_library.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_subscriptions_create_spec_placement.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_subscriptions_create_spec_subscribed_library.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_subscriptions_create_spec_vcenter.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_subscriptions_delete.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_subscriptions_get.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_subscriptions_info.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_subscriptions_list_result.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_subscriptions_placement_info.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_subscriptions_result.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_subscriptions_summary.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_subscriptions_update.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_subscriptions_update_spec.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_subscriptions_update_spec_placement.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_subscriptions_update_spec_vcenter.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_subscriptions_vcenter_info.rb +2 -1
- data/lib/vsphere-automation-content/models/content_library_update.rb +2 -1
- data/lib/vsphere-automation-content/models/content_local_library_create.rb +2 -1
- data/lib/vsphere-automation-content/models/content_local_library_create_result.rb +2 -1
- data/lib/vsphere-automation-content/models/content_local_library_destination_spec.rb +2 -1
- data/lib/vsphere-automation-content/models/content_local_library_list_result.rb +2 -1
- data/lib/vsphere-automation-content/models/content_local_library_publish.rb +2 -1
- data/lib/vsphere-automation-content/models/content_local_library_result.rb +2 -1
- data/lib/vsphere-automation-content/models/content_local_library_update.rb +2 -1
- data/lib/vsphere-automation-content/models/content_subscribed_library_create.rb +2 -1
- data/lib/vsphere-automation-content/models/content_subscribed_library_create_result.rb +2 -1
- data/lib/vsphere-automation-content/models/content_subscribed_library_list_result.rb +2 -1
- data/lib/vsphere-automation-content/models/content_subscribed_library_probe.rb +2 -1
- data/lib/vsphere-automation-content/models/content_subscribed_library_probe_result.rb +2 -1
- data/lib/vsphere-automation-content/models/content_subscribed_library_result.rb +2 -1
- data/lib/vsphere-automation-content/models/content_subscribed_library_update.rb +2 -1
- data/lib/vsphere-automation-content/models/vapi_std_errors_already_exists.rb +2 -1
- data/lib/vsphere-automation-content/models/vapi_std_errors_already_exists_error.rb +2 -1
- data/lib/vsphere-automation-content/models/vapi_std_errors_concurrent_change.rb +2 -1
- data/lib/vsphere-automation-content/models/vapi_std_errors_concurrent_change_error.rb +2 -1
- data/lib/vsphere-automation-content/models/vapi_std_errors_error.rb +2 -1
- data/lib/vsphere-automation-content/models/vapi_std_errors_error_error.rb +2 -1
- data/lib/vsphere-automation-content/models/vapi_std_errors_invalid_argument.rb +2 -1
- data/lib/vsphere-automation-content/models/vapi_std_errors_invalid_argument_error.rb +2 -1
- data/lib/vsphere-automation-content/models/vapi_std_errors_invalid_element_configuration.rb +2 -1
- data/lib/vsphere-automation-content/models/vapi_std_errors_invalid_element_configuration_error.rb +2 -1
- data/lib/vsphere-automation-content/models/vapi_std_errors_invalid_element_type.rb +2 -1
- data/lib/vsphere-automation-content/models/vapi_std_errors_invalid_element_type_error.rb +2 -1
- data/lib/vsphere-automation-content/models/vapi_std_errors_not_allowed_in_current_state.rb +2 -1
- data/lib/vsphere-automation-content/models/vapi_std_errors_not_allowed_in_current_state_error.rb +2 -1
- data/lib/vsphere-automation-content/models/vapi_std_errors_not_found.rb +2 -1
- data/lib/vsphere-automation-content/models/vapi_std_errors_not_found_error.rb +2 -1
- data/lib/vsphere-automation-content/models/vapi_std_errors_resource_busy.rb +2 -1
- data/lib/vsphere-automation-content/models/vapi_std_errors_resource_busy_error.rb +2 -1
- data/lib/vsphere-automation-content/models/vapi_std_errors_resource_inaccessible.rb +2 -1
- data/lib/vsphere-automation-content/models/vapi_std_errors_resource_inaccessible_error.rb +2 -1
- data/lib/vsphere-automation-content/models/vapi_std_errors_unauthenticated.rb +2 -1
- data/lib/vsphere-automation-content/models/vapi_std_errors_unauthenticated_error.rb +2 -1
- data/lib/vsphere-automation-content/models/vapi_std_errors_unauthorized.rb +2 -1
- data/lib/vsphere-automation-content/models/vapi_std_errors_unauthorized_error.rb +2 -1
- data/lib/vsphere-automation-content/models/vapi_std_errors_unsupported.rb +2 -1
- data/lib/vsphere-automation-content/models/vapi_std_errors_unsupported_error.rb +2 -1
- data/lib/vsphere-automation-content/models/vapi_std_localizable_message.rb +2 -1
- data/lib/vsphere-automation-content/version.rb +1 -1
- data/vsphere-automation-content.gemspec +2 -2
- metadata +6 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5972f43804c569bf43c00dc28f4e7d0ae1d98574ffc0837fa872292469e6eb1a
|
|
4
|
+
data.tar.gz: cd22d4cc9358a9352e168aa7fe9c98bd22b38b4f571a419fee8fd0d8ecce71bc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2708cffbd3168ba0031c5a8c6e7bb4c22a9a6b603c1b581cf9d9a7e20f6f79ea61d9a9ab75b1ca7ec00dd5720c6a2efe86fad4e46e9dd605d52222330444df4a
|
|
7
|
+
data.tar.gz: 3608b20519393ceaeec0b350849e119f8d6b33aaa72605b8c1da277ef86ec677352a8bd754b957b4ac0fe13ede1b0cf6119d82f740e664ba2feae4d3fd751e56
|
data/Gemfile.lock
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: ../cis
|
|
3
3
|
specs:
|
|
4
|
-
vsphere-automation-cis (0.2.
|
|
5
|
-
vsphere-automation-runtime (~> 0.2.
|
|
4
|
+
vsphere-automation-cis (0.2.1)
|
|
5
|
+
vsphere-automation-runtime (~> 0.2.1)
|
|
6
6
|
|
|
7
7
|
PATH
|
|
8
8
|
remote: ../runtime
|
|
9
9
|
specs:
|
|
10
|
-
vsphere-automation-runtime (0.2.
|
|
10
|
+
vsphere-automation-runtime (0.2.1)
|
|
11
11
|
typhoeus (~> 1.3)
|
|
12
12
|
|
|
13
13
|
PATH
|
|
14
14
|
remote: .
|
|
15
15
|
specs:
|
|
16
|
-
vsphere-automation-content (0.2.
|
|
17
|
-
vsphere-automation-cis (~> 0.2.
|
|
18
|
-
vsphere-automation-runtime (~> 0.2.
|
|
16
|
+
vsphere-automation-content (0.2.1)
|
|
17
|
+
vsphere-automation-cis (~> 0.2.1)
|
|
18
|
+
vsphere-automation-runtime (~> 0.2.1)
|
|
19
19
|
|
|
20
20
|
GEM
|
|
21
21
|
remote: https://rubygems.org/
|
data/README.md
CHANGED
|
@@ -29,7 +29,7 @@ module VSphereAutomation
|
|
|
29
29
|
# @option config [Configuration] Configuration for initializing the object, default to Configuration.default
|
|
30
30
|
def initialize(config = Configuration.default)
|
|
31
31
|
@config = config
|
|
32
|
-
@user_agent = "SDK/0.2.
|
|
32
|
+
@user_agent = "SDK/0.2.1 Ruby/#{RUBY_VERSION} (#{Gem::Platform.local.os}; #{Gem::Platform.local.version}; #{Gem::Platform.local.cpu})"
|
|
33
33
|
@default_headers = {
|
|
34
34
|
'Content-Type' => 'application/json',
|
|
35
35
|
'User-Agent' => @user_agent
|
|
@@ -140,7 +140,7 @@ module VSphereAutomation
|
|
|
140
140
|
value.to_i
|
|
141
141
|
when :Float
|
|
142
142
|
value.to_f
|
|
143
|
-
when :BOOLEAN
|
|
143
|
+
when :BOOLEAN, :Boolean
|
|
144
144
|
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
145
145
|
true
|
|
146
146
|
else
|
|
@@ -207,6 +207,7 @@ module VSphereAutomation
|
|
|
207
207
|
value
|
|
208
208
|
end
|
|
209
209
|
end
|
|
210
|
+
|
|
210
211
|
end
|
|
211
212
|
end
|
|
212
213
|
end
|
|
@@ -114,7 +114,7 @@ module VSphereAutomation
|
|
|
114
114
|
value.to_i
|
|
115
115
|
when :Float
|
|
116
116
|
value.to_f
|
|
117
|
-
when :BOOLEAN
|
|
117
|
+
when :BOOLEAN, :Boolean
|
|
118
118
|
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
119
119
|
true
|
|
120
120
|
else
|
|
@@ -181,6 +181,7 @@ module VSphereAutomation
|
|
|
181
181
|
value
|
|
182
182
|
end
|
|
183
183
|
end
|
|
184
|
+
|
|
184
185
|
end
|
|
185
186
|
end
|
|
186
187
|
end
|
|
@@ -114,7 +114,7 @@ module VSphereAutomation
|
|
|
114
114
|
value.to_i
|
|
115
115
|
when :Float
|
|
116
116
|
value.to_f
|
|
117
|
-
when :BOOLEAN
|
|
117
|
+
when :BOOLEAN, :Boolean
|
|
118
118
|
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
119
119
|
true
|
|
120
120
|
else
|
|
@@ -181,6 +181,7 @@ module VSphereAutomation
|
|
|
181
181
|
value
|
|
182
182
|
end
|
|
183
183
|
end
|
|
184
|
+
|
|
184
185
|
end
|
|
185
186
|
end
|
|
186
187
|
end
|
|
@@ -114,7 +114,7 @@ module VSphereAutomation
|
|
|
114
114
|
value.to_i
|
|
115
115
|
when :Float
|
|
116
116
|
value.to_f
|
|
117
|
-
when :BOOLEAN
|
|
117
|
+
when :BOOLEAN, :Boolean
|
|
118
118
|
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
119
119
|
true
|
|
120
120
|
else
|
|
@@ -181,6 +181,7 @@ module VSphereAutomation
|
|
|
181
181
|
value
|
|
182
182
|
end
|
|
183
183
|
end
|
|
184
|
+
|
|
184
185
|
end
|
|
185
186
|
end
|
|
186
187
|
end
|
|
@@ -116,7 +116,7 @@ module VSphereAutomation
|
|
|
116
116
|
value.to_i
|
|
117
117
|
when :Float
|
|
118
118
|
value.to_f
|
|
119
|
-
when :BOOLEAN
|
|
119
|
+
when :BOOLEAN, :Boolean
|
|
120
120
|
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
121
121
|
true
|
|
122
122
|
else
|
|
@@ -183,6 +183,7 @@ module VSphereAutomation
|
|
|
183
183
|
value
|
|
184
184
|
end
|
|
185
185
|
end
|
|
186
|
+
|
|
186
187
|
end
|
|
187
188
|
end
|
|
188
189
|
end
|
|
@@ -119,7 +119,7 @@ module VSphereAutomation
|
|
|
119
119
|
value.to_i
|
|
120
120
|
when :Float
|
|
121
121
|
value.to_f
|
|
122
|
-
when :BOOLEAN
|
|
122
|
+
when :BOOLEAN, :Boolean
|
|
123
123
|
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
124
124
|
true
|
|
125
125
|
else
|
|
@@ -186,6 +186,7 @@ module VSphereAutomation
|
|
|
186
186
|
value
|
|
187
187
|
end
|
|
188
188
|
end
|
|
189
|
+
|
|
189
190
|
end
|
|
190
191
|
end
|
|
191
192
|
end
|
|
@@ -124,7 +124,7 @@ module VSphereAutomation
|
|
|
124
124
|
value.to_i
|
|
125
125
|
when :Float
|
|
126
126
|
value.to_f
|
|
127
|
-
when :BOOLEAN
|
|
127
|
+
when :BOOLEAN, :Boolean
|
|
128
128
|
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
129
129
|
true
|
|
130
130
|
else
|
|
@@ -191,6 +191,7 @@ module VSphereAutomation
|
|
|
191
191
|
value
|
|
192
192
|
end
|
|
193
193
|
end
|
|
194
|
+
|
|
194
195
|
end
|
|
195
196
|
end
|
|
196
197
|
end
|
|
@@ -114,7 +114,7 @@ module VSphereAutomation
|
|
|
114
114
|
value.to_i
|
|
115
115
|
when :Float
|
|
116
116
|
value.to_f
|
|
117
|
-
when :BOOLEAN
|
|
117
|
+
when :BOOLEAN, :Boolean
|
|
118
118
|
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
119
119
|
true
|
|
120
120
|
else
|
|
@@ -181,6 +181,7 @@ module VSphereAutomation
|
|
|
181
181
|
value
|
|
182
182
|
end
|
|
183
183
|
end
|
|
184
|
+
|
|
184
185
|
end
|
|
185
186
|
end
|
|
186
187
|
end
|
|
@@ -124,7 +124,7 @@ module VSphereAutomation
|
|
|
124
124
|
value.to_i
|
|
125
125
|
when :Float
|
|
126
126
|
value.to_f
|
|
127
|
-
when :BOOLEAN
|
|
127
|
+
when :BOOLEAN, :Boolean
|
|
128
128
|
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
129
129
|
true
|
|
130
130
|
else
|
|
@@ -191,6 +191,7 @@ module VSphereAutomation
|
|
|
191
191
|
value
|
|
192
192
|
end
|
|
193
193
|
end
|
|
194
|
+
|
|
194
195
|
end
|
|
195
196
|
end
|
|
196
197
|
end
|
|
@@ -114,7 +114,7 @@ module VSphereAutomation
|
|
|
114
114
|
value.to_i
|
|
115
115
|
when :Float
|
|
116
116
|
value.to_f
|
|
117
|
-
when :BOOLEAN
|
|
117
|
+
when :BOOLEAN, :Boolean
|
|
118
118
|
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
119
119
|
true
|
|
120
120
|
else
|
|
@@ -181,6 +181,7 @@ module VSphereAutomation
|
|
|
181
181
|
value
|
|
182
182
|
end
|
|
183
183
|
end
|
|
184
|
+
|
|
184
185
|
end
|
|
185
186
|
end
|
|
186
187
|
end
|
|
@@ -115,7 +115,7 @@ module VSphereAutomation
|
|
|
115
115
|
value.to_i
|
|
116
116
|
when :Float
|
|
117
117
|
value.to_f
|
|
118
|
-
when :BOOLEAN
|
|
118
|
+
when :BOOLEAN, :Boolean
|
|
119
119
|
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
120
120
|
true
|
|
121
121
|
else
|
|
@@ -182,6 +182,7 @@ module VSphereAutomation
|
|
|
182
182
|
value
|
|
183
183
|
end
|
|
184
184
|
end
|
|
185
|
+
|
|
185
186
|
end
|
|
186
187
|
end
|
|
187
188
|
end
|
|
@@ -124,7 +124,7 @@ module VSphereAutomation
|
|
|
124
124
|
value.to_i
|
|
125
125
|
when :Float
|
|
126
126
|
value.to_f
|
|
127
|
-
when :BOOLEAN
|
|
127
|
+
when :BOOLEAN, :Boolean
|
|
128
128
|
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
129
129
|
true
|
|
130
130
|
else
|
|
@@ -191,6 +191,7 @@ module VSphereAutomation
|
|
|
191
191
|
value
|
|
192
192
|
end
|
|
193
193
|
end
|
|
194
|
+
|
|
194
195
|
end
|
|
195
196
|
end
|
|
196
197
|
end
|
data/lib/vsphere-automation-content/models/content_library_item_download_session_create_result.rb
CHANGED
|
@@ -114,7 +114,7 @@ module VSphereAutomation
|
|
|
114
114
|
value.to_i
|
|
115
115
|
when :Float
|
|
116
116
|
value.to_f
|
|
117
|
-
when :BOOLEAN
|
|
117
|
+
when :BOOLEAN, :Boolean
|
|
118
118
|
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
119
119
|
true
|
|
120
120
|
else
|
|
@@ -181,6 +181,7 @@ module VSphereAutomation
|
|
|
181
181
|
value
|
|
182
182
|
end
|
|
183
183
|
end
|
|
184
|
+
|
|
184
185
|
end
|
|
185
186
|
end
|
|
186
187
|
end
|
|
@@ -115,7 +115,7 @@ module VSphereAutomation
|
|
|
115
115
|
value.to_i
|
|
116
116
|
when :Float
|
|
117
117
|
value.to_f
|
|
118
|
-
when :BOOLEAN
|
|
118
|
+
when :BOOLEAN, :Boolean
|
|
119
119
|
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
120
120
|
true
|
|
121
121
|
else
|
|
@@ -182,6 +182,7 @@ module VSphereAutomation
|
|
|
182
182
|
value
|
|
183
183
|
end
|
|
184
184
|
end
|
|
185
|
+
|
|
185
186
|
end
|
|
186
187
|
end
|
|
187
188
|
end
|
data/lib/vsphere-automation-content/models/content_library_item_download_session_keep_alive.rb
CHANGED
|
@@ -110,7 +110,7 @@ module VSphereAutomation
|
|
|
110
110
|
value.to_i
|
|
111
111
|
when :Float
|
|
112
112
|
value.to_f
|
|
113
|
-
when :BOOLEAN
|
|
113
|
+
when :BOOLEAN, :Boolean
|
|
114
114
|
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
115
115
|
true
|
|
116
116
|
else
|
|
@@ -177,6 +177,7 @@ module VSphereAutomation
|
|
|
177
177
|
value
|
|
178
178
|
end
|
|
179
179
|
end
|
|
180
|
+
|
|
180
181
|
end
|
|
181
182
|
end
|
|
182
183
|
end
|
data/lib/vsphere-automation-content/models/content_library_item_download_session_list_result.rb
CHANGED
|
@@ -116,7 +116,7 @@ module VSphereAutomation
|
|
|
116
116
|
value.to_i
|
|
117
117
|
when :Float
|
|
118
118
|
value.to_f
|
|
119
|
-
when :BOOLEAN
|
|
119
|
+
when :BOOLEAN, :Boolean
|
|
120
120
|
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
121
121
|
true
|
|
122
122
|
else
|
|
@@ -183,6 +183,7 @@ module VSphereAutomation
|
|
|
183
183
|
value
|
|
184
184
|
end
|
|
185
185
|
end
|
|
186
|
+
|
|
186
187
|
end
|
|
187
188
|
end
|
|
188
189
|
end
|
|
@@ -168,7 +168,7 @@ module VSphereAutomation
|
|
|
168
168
|
value.to_i
|
|
169
169
|
when :Float
|
|
170
170
|
value.to_f
|
|
171
|
-
when :BOOLEAN
|
|
171
|
+
when :BOOLEAN, :Boolean
|
|
172
172
|
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
173
173
|
true
|
|
174
174
|
else
|
|
@@ -235,6 +235,7 @@ module VSphereAutomation
|
|
|
235
235
|
value
|
|
236
236
|
end
|
|
237
237
|
end
|
|
238
|
+
|
|
238
239
|
end
|
|
239
240
|
end
|
|
240
241
|
end
|
|
@@ -114,7 +114,7 @@ module VSphereAutomation
|
|
|
114
114
|
value.to_i
|
|
115
115
|
when :Float
|
|
116
116
|
value.to_f
|
|
117
|
-
when :BOOLEAN
|
|
117
|
+
when :BOOLEAN, :Boolean
|
|
118
118
|
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
119
119
|
true
|
|
120
120
|
else
|
|
@@ -181,6 +181,7 @@ module VSphereAutomation
|
|
|
181
181
|
value
|
|
182
182
|
end
|
|
183
183
|
end
|
|
184
|
+
|
|
184
185
|
end
|
|
185
186
|
end
|
|
186
187
|
end
|
|
@@ -115,7 +115,7 @@ module VSphereAutomation
|
|
|
115
115
|
value.to_i
|
|
116
116
|
when :Float
|
|
117
117
|
value.to_f
|
|
118
|
-
when :BOOLEAN
|
|
118
|
+
when :BOOLEAN, :Boolean
|
|
119
119
|
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
120
120
|
true
|
|
121
121
|
else
|
|
@@ -182,6 +182,7 @@ module VSphereAutomation
|
|
|
182
182
|
value
|
|
183
183
|
end
|
|
184
184
|
end
|
|
185
|
+
|
|
185
186
|
end
|
|
186
187
|
end
|
|
187
188
|
end
|
data/lib/vsphere-automation-content/models/content_library_item_downloadsession_file_info.rb
CHANGED
|
@@ -181,7 +181,7 @@ module VSphereAutomation
|
|
|
181
181
|
value.to_i
|
|
182
182
|
when :Float
|
|
183
183
|
value.to_f
|
|
184
|
-
when :BOOLEAN
|
|
184
|
+
when :BOOLEAN, :Boolean
|
|
185
185
|
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
186
186
|
true
|
|
187
187
|
else
|
|
@@ -248,6 +248,7 @@ module VSphereAutomation
|
|
|
248
248
|
value
|
|
249
249
|
end
|
|
250
250
|
end
|
|
251
|
+
|
|
251
252
|
end
|
|
252
253
|
end
|
|
253
254
|
end
|
data/lib/vsphere-automation-content/models/content_library_item_downloadsession_file_list_result.rb
CHANGED
|
@@ -116,7 +116,7 @@ module VSphereAutomation
|
|
|
116
116
|
value.to_i
|
|
117
117
|
when :Float
|
|
118
118
|
value.to_f
|
|
119
|
-
when :BOOLEAN
|
|
119
|
+
when :BOOLEAN, :Boolean
|
|
120
120
|
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
121
121
|
true
|
|
122
122
|
else
|
|
@@ -183,6 +183,7 @@ module VSphereAutomation
|
|
|
183
183
|
value
|
|
184
184
|
end
|
|
185
185
|
end
|
|
186
|
+
|
|
186
187
|
end
|
|
187
188
|
end
|
|
188
189
|
end
|
data/lib/vsphere-automation-content/models/content_library_item_downloadsession_file_prepare.rb
CHANGED
|
@@ -124,7 +124,7 @@ module VSphereAutomation
|
|
|
124
124
|
value.to_i
|
|
125
125
|
when :Float
|
|
126
126
|
value.to_f
|
|
127
|
-
when :BOOLEAN
|
|
127
|
+
when :BOOLEAN, :Boolean
|
|
128
128
|
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
129
129
|
true
|
|
130
130
|
else
|
|
@@ -191,6 +191,7 @@ module VSphereAutomation
|
|
|
191
191
|
value
|
|
192
192
|
end
|
|
193
193
|
end
|
|
194
|
+
|
|
194
195
|
end
|
|
195
196
|
end
|
|
196
197
|
end
|