vsphere-automation-cis 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/README.md +1 -1
- data/lib/vsphere-automation-cis/api_client.rb +1 -1
- data/lib/vsphere-automation-cis/models/cis_session_create_result.rb +2 -1
- data/lib/vsphere-automation-cis/models/cis_session_info.rb +2 -1
- data/lib/vsphere-automation-cis/models/cis_session_result.rb +2 -1
- data/lib/vsphere-automation-cis/models/cis_tagging_category_add_to_used_by.rb +2 -1
- data/lib/vsphere-automation-cis/models/cis_tagging_category_create.rb +2 -1
- data/lib/vsphere-automation-cis/models/cis_tagging_category_create_result.rb +2 -1
- data/lib/vsphere-automation-cis/models/cis_tagging_category_create_spec.rb +2 -1
- data/lib/vsphere-automation-cis/models/cis_tagging_category_list_result.rb +2 -1
- data/lib/vsphere-automation-cis/models/cis_tagging_category_list_used_categories.rb +2 -1
- data/lib/vsphere-automation-cis/models/cis_tagging_category_list_used_categories_result.rb +2 -1
- data/lib/vsphere-automation-cis/models/cis_tagging_category_model.rb +2 -1
- data/lib/vsphere-automation-cis/models/cis_tagging_category_remove_from_used_by.rb +2 -1
- data/lib/vsphere-automation-cis/models/cis_tagging_category_result.rb +2 -1
- data/lib/vsphere-automation-cis/models/cis_tagging_category_update.rb +2 -1
- data/lib/vsphere-automation-cis/models/cis_tagging_category_update_spec.rb +2 -1
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_add_to_used_by.rb +2 -1
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_attach.rb +2 -1
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_attach_multiple_tags_to_object.rb +2 -1
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_attach_multiple_tags_to_object_result.rb +2 -1
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_attach_tag_to_multiple_objects.rb +2 -1
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_attach_tag_to_multiple_objects_result.rb +2 -1
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_batch_result.rb +2 -1
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_detach.rb +2 -1
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_detach_multiple_tags_from_object.rb +2 -1
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_detach_multiple_tags_from_object_result.rb +2 -1
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_detach_tag_from_multiple_objects.rb +2 -1
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_detach_tag_from_multiple_objects_result.rb +2 -1
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_list_attachable_tags.rb +2 -1
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_list_attachable_tags_result.rb +2 -1
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_list_attached_objects_on_tags.rb +2 -1
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_list_attached_objects_on_tags_result.rb +2 -1
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_list_attached_objects_result.rb +2 -1
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_list_attached_tags.rb +2 -1
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_list_attached_tags_on_objects.rb +2 -1
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_list_attached_tags_on_objects_result.rb +2 -1
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_list_attached_tags_result.rb +2 -1
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_object_to_tags.rb +2 -1
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_tag_to_objects.rb +2 -1
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_create.rb +2 -1
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_create_result.rb +2 -1
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_create_spec.rb +2 -1
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_list_result.rb +2 -1
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_list_tags_for_category_result.rb +2 -1
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_list_used_tags.rb +2 -1
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_list_used_tags_result.rb +2 -1
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_model.rb +2 -1
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_remove_from_used_by.rb +2 -1
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_result.rb +2 -1
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_update.rb +2 -1
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_update_spec.rb +2 -1
- data/lib/vsphere-automation-cis/models/cis_task_info.rb +2 -1
- data/lib/vsphere-automation-cis/models/cis_task_progress.rb +2 -1
- data/lib/vsphere-automation-cis/models/cis_tasks_filter_spec.rb +2 -1
- data/lib/vsphere-automation-cis/models/cis_tasks_get_spec.rb +2 -1
- data/lib/vsphere-automation-cis/models/cis_tasks_list_result.rb +2 -1
- data/lib/vsphere-automation-cis/models/cis_tasks_list_result_value.rb +2 -1
- data/lib/vsphere-automation-cis/models/cis_tasks_result.rb +2 -1
- data/lib/vsphere-automation-cis/models/filter_spec_targets.rb +2 -1
- data/lib/vsphere-automation-cis/models/vapi_std_dynamic_id.rb +2 -1
- data/lib/vsphere-automation-cis/models/vapi_std_errors_already_exists.rb +2 -1
- data/lib/vsphere-automation-cis/models/vapi_std_errors_already_exists_error.rb +2 -1
- data/lib/vsphere-automation-cis/models/vapi_std_errors_error.rb +2 -1
- data/lib/vsphere-automation-cis/models/vapi_std_errors_error_error.rb +2 -1
- data/lib/vsphere-automation-cis/models/vapi_std_errors_invalid_argument.rb +2 -1
- data/lib/vsphere-automation-cis/models/vapi_std_errors_invalid_argument_error.rb +2 -1
- data/lib/vsphere-automation-cis/models/vapi_std_errors_not_allowed_in_current_state.rb +2 -1
- data/lib/vsphere-automation-cis/models/vapi_std_errors_not_allowed_in_current_state_error.rb +2 -1
- data/lib/vsphere-automation-cis/models/vapi_std_errors_not_found.rb +2 -1
- data/lib/vsphere-automation-cis/models/vapi_std_errors_not_found_error.rb +2 -1
- data/lib/vsphere-automation-cis/models/vapi_std_errors_resource_inaccessible.rb +2 -1
- data/lib/vsphere-automation-cis/models/vapi_std_errors_resource_inaccessible_error.rb +2 -1
- data/lib/vsphere-automation-cis/models/vapi_std_errors_service_unavailable.rb +2 -1
- data/lib/vsphere-automation-cis/models/vapi_std_errors_service_unavailable_error.rb +2 -1
- data/lib/vsphere-automation-cis/models/vapi_std_errors_unauthenticated.rb +2 -1
- data/lib/vsphere-automation-cis/models/vapi_std_errors_unauthenticated_error.rb +2 -1
- data/lib/vsphere-automation-cis/models/vapi_std_errors_unauthorized.rb +2 -1
- data/lib/vsphere-automation-cis/models/vapi_std_errors_unauthorized_error.rb +2 -1
- data/lib/vsphere-automation-cis/models/vapi_std_errors_unsupported.rb +2 -1
- data/lib/vsphere-automation-cis/models/vapi_std_errors_unsupported_error.rb +2 -1
- data/lib/vsphere-automation-cis/models/vapi_std_localizable_message.rb +2 -1
- data/lib/vsphere-automation-cis/version.rb +1 -1
- data/vsphere-automation-cis.gemspec +1 -1
- metadata +4 -5
- data/pkg/vsphere-automation-cis-0.2.0.gem +0 -0
data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_list_attached_tags_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
|
@@ -131,7 +131,7 @@ module VSphereAutomation
|
|
131
131
|
value.to_i
|
132
132
|
when :Float
|
133
133
|
value.to_f
|
134
|
-
when :BOOLEAN
|
134
|
+
when :BOOLEAN, :Boolean
|
135
135
|
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
136
136
|
true
|
137
137
|
else
|
@@ -198,6 +198,7 @@ module VSphereAutomation
|
|
198
198
|
value
|
199
199
|
end
|
200
200
|
end
|
201
|
+
|
201
202
|
end
|
202
203
|
end
|
203
204
|
end
|
@@ -132,7 +132,7 @@ module VSphereAutomation
|
|
132
132
|
value.to_i
|
133
133
|
when :Float
|
134
134
|
value.to_f
|
135
|
-
when :BOOLEAN
|
135
|
+
when :BOOLEAN, :Boolean
|
136
136
|
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
137
137
|
true
|
138
138
|
else
|
@@ -199,6 +199,7 @@ module VSphereAutomation
|
|
199
199
|
value
|
200
200
|
end
|
201
201
|
end
|
202
|
+
|
202
203
|
end
|
203
204
|
end
|
204
205
|
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
|
@@ -155,7 +155,7 @@ module VSphereAutomation
|
|
155
155
|
value.to_i
|
156
156
|
when :Float
|
157
157
|
value.to_f
|
158
|
-
when :BOOLEAN
|
158
|
+
when :BOOLEAN, :Boolean
|
159
159
|
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
160
160
|
true
|
161
161
|
else
|
@@ -222,6 +222,7 @@ module VSphereAutomation
|
|
222
222
|
value
|
223
223
|
end
|
224
224
|
end
|
225
|
+
|
225
226
|
end
|
226
227
|
end
|
227
228
|
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
|
@@ -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
|
@@ -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
|
@@ -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
|
@@ -177,7 +177,7 @@ module VSphereAutomation
|
|
177
177
|
value.to_i
|
178
178
|
when :Float
|
179
179
|
value.to_f
|
180
|
-
when :BOOLEAN
|
180
|
+
when :BOOLEAN, :Boolean
|
181
181
|
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
182
182
|
true
|
183
183
|
else
|
@@ -244,6 +244,7 @@ module VSphereAutomation
|
|
244
244
|
value
|
245
245
|
end
|
246
246
|
end
|
247
|
+
|
247
248
|
end
|
248
249
|
end
|
249
250
|
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
|
@@ -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
|
@@ -120,7 +120,7 @@ module VSphereAutomation
|
|
120
120
|
value.to_i
|
121
121
|
when :Float
|
122
122
|
value.to_f
|
123
|
-
when :BOOLEAN
|
123
|
+
when :BOOLEAN, :Boolean
|
124
124
|
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
125
125
|
true
|
126
126
|
else
|
@@ -187,6 +187,7 @@ module VSphereAutomation
|
|
187
187
|
value
|
188
188
|
end
|
189
189
|
end
|
190
|
+
|
190
191
|
end
|
191
192
|
end
|
192
193
|
end
|
@@ -241,7 +241,7 @@ module VSphereAutomation
|
|
241
241
|
value.to_i
|
242
242
|
when :Float
|
243
243
|
value.to_f
|
244
|
-
when :BOOLEAN
|
244
|
+
when :BOOLEAN, :Boolean
|
245
245
|
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
246
246
|
true
|
247
247
|
else
|
@@ -308,6 +308,7 @@ module VSphereAutomation
|
|
308
308
|
value
|
309
309
|
end
|
310
310
|
end
|
311
|
+
|
311
312
|
end
|
312
313
|
end
|
313
314
|
end
|
@@ -144,7 +144,7 @@ module VSphereAutomation
|
|
144
144
|
value.to_i
|
145
145
|
when :Float
|
146
146
|
value.to_f
|
147
|
-
when :BOOLEAN
|
147
|
+
when :BOOLEAN, :Boolean
|
148
148
|
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
149
149
|
true
|
150
150
|
else
|
@@ -211,6 +211,7 @@ module VSphereAutomation
|
|
211
211
|
value
|
212
212
|
end
|
213
213
|
end
|
214
|
+
|
214
215
|
end
|
215
216
|
end
|
216
217
|
end
|
@@ -160,7 +160,7 @@ module VSphereAutomation
|
|
160
160
|
value.to_i
|
161
161
|
when :Float
|
162
162
|
value.to_f
|
163
|
-
when :BOOLEAN
|
163
|
+
when :BOOLEAN, :Boolean
|
164
164
|
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
165
165
|
true
|
166
166
|
else
|
@@ -227,6 +227,7 @@ module VSphereAutomation
|
|
227
227
|
value
|
228
228
|
end
|
229
229
|
end
|
230
|
+
|
230
231
|
end
|
231
232
|
end
|
232
233
|
end
|
@@ -120,7 +120,7 @@ module VSphereAutomation
|
|
120
120
|
value.to_i
|
121
121
|
when :Float
|
122
122
|
value.to_f
|
123
|
-
when :BOOLEAN
|
123
|
+
when :BOOLEAN, :Boolean
|
124
124
|
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
125
125
|
true
|
126
126
|
else
|
@@ -187,6 +187,7 @@ module VSphereAutomation
|
|
187
187
|
value
|
188
188
|
end
|
189
189
|
end
|
190
|
+
|
190
191
|
end
|
191
192
|
end
|
192
193
|
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
|
@@ -118,7 +118,7 @@ module VSphereAutomation
|
|
118
118
|
value.to_i
|
119
119
|
when :Float
|
120
120
|
value.to_f
|
121
|
-
when :BOOLEAN
|
121
|
+
when :BOOLEAN, :Boolean
|
122
122
|
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
123
123
|
true
|
124
124
|
else
|
@@ -185,6 +185,7 @@ module VSphereAutomation
|
|
185
185
|
value
|
186
186
|
end
|
187
187
|
end
|
188
|
+
|
188
189
|
end
|
189
190
|
end
|
190
191
|
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
|
@@ -130,7 +130,7 @@ module VSphereAutomation
|
|
130
130
|
value.to_i
|
131
131
|
when :Float
|
132
132
|
value.to_f
|
133
|
-
when :BOOLEAN
|
133
|
+
when :BOOLEAN, :Boolean
|
134
134
|
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
135
135
|
true
|
136
136
|
else
|
@@ -197,6 +197,7 @@ module VSphereAutomation
|
|
197
197
|
value
|
198
198
|
end
|
199
199
|
end
|
200
|
+
|
200
201
|
end
|
201
202
|
end
|
202
203
|
end
|
@@ -130,7 +130,7 @@ module VSphereAutomation
|
|
130
130
|
value.to_i
|
131
131
|
when :Float
|
132
132
|
value.to_f
|
133
|
-
when :BOOLEAN
|
133
|
+
when :BOOLEAN, :Boolean
|
134
134
|
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
135
135
|
true
|
136
136
|
else
|
@@ -197,6 +197,7 @@ module VSphereAutomation
|
|
197
197
|
value
|
198
198
|
end
|
199
199
|
end
|
200
|
+
|
200
201
|
end
|
201
202
|
end
|
202
203
|
end
|
@@ -127,7 +127,7 @@ module VSphereAutomation
|
|
127
127
|
value.to_i
|
128
128
|
when :Float
|
129
129
|
value.to_f
|
130
|
-
when :BOOLEAN
|
130
|
+
when :BOOLEAN, :Boolean
|
131
131
|
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
132
132
|
true
|
133
133
|
else
|
@@ -194,6 +194,7 @@ module VSphereAutomation
|
|
194
194
|
value
|
195
195
|
end
|
196
196
|
end
|
197
|
+
|
197
198
|
end
|
198
199
|
end
|
199
200
|
end
|
@@ -118,7 +118,7 @@ module VSphereAutomation
|
|
118
118
|
value.to_i
|
119
119
|
when :Float
|
120
120
|
value.to_f
|
121
|
-
when :BOOLEAN
|
121
|
+
when :BOOLEAN, :Boolean
|
122
122
|
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
123
123
|
true
|
124
124
|
else
|
@@ -185,6 +185,7 @@ module VSphereAutomation
|
|
185
185
|
value
|
186
186
|
end
|
187
187
|
end
|
188
|
+
|
188
189
|
end
|
189
190
|
end
|
190
191
|
end
|
@@ -127,7 +127,7 @@ module VSphereAutomation
|
|
127
127
|
value.to_i
|
128
128
|
when :Float
|
129
129
|
value.to_f
|
130
|
-
when :BOOLEAN
|
130
|
+
when :BOOLEAN, :Boolean
|
131
131
|
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
132
132
|
true
|
133
133
|
else
|
@@ -194,6 +194,7 @@ module VSphereAutomation
|
|
194
194
|
value
|
195
195
|
end
|
196
196
|
end
|
197
|
+
|
197
198
|
end
|
198
199
|
end
|
199
200
|
end
|
@@ -118,7 +118,7 @@ module VSphereAutomation
|
|
118
118
|
value.to_i
|
119
119
|
when :Float
|
120
120
|
value.to_f
|
121
|
-
when :BOOLEAN
|
121
|
+
when :BOOLEAN, :Boolean
|
122
122
|
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
123
123
|
true
|
124
124
|
else
|
@@ -185,6 +185,7 @@ module VSphereAutomation
|
|
185
185
|
value
|
186
186
|
end
|
187
187
|
end
|
188
|
+
|
188
189
|
end
|
189
190
|
end
|
190
191
|
end
|
@@ -127,7 +127,7 @@ module VSphereAutomation
|
|
127
127
|
value.to_i
|
128
128
|
when :Float
|
129
129
|
value.to_f
|
130
|
-
when :BOOLEAN
|
130
|
+
when :BOOLEAN, :Boolean
|
131
131
|
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
132
132
|
true
|
133
133
|
else
|
@@ -194,6 +194,7 @@ module VSphereAutomation
|
|
194
194
|
value
|
195
195
|
end
|
196
196
|
end
|
197
|
+
|
197
198
|
end
|
198
199
|
end
|
199
200
|
end
|
@@ -118,7 +118,7 @@ module VSphereAutomation
|
|
118
118
|
value.to_i
|
119
119
|
when :Float
|
120
120
|
value.to_f
|
121
|
-
when :BOOLEAN
|
121
|
+
when :BOOLEAN, :Boolean
|
122
122
|
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
123
123
|
true
|
124
124
|
else
|
@@ -185,6 +185,7 @@ module VSphereAutomation
|
|
185
185
|
value
|
186
186
|
end
|
187
187
|
end
|
188
|
+
|
188
189
|
end
|
189
190
|
end
|
190
191
|
end
|
@@ -127,7 +127,7 @@ module VSphereAutomation
|
|
127
127
|
value.to_i
|
128
128
|
when :Float
|
129
129
|
value.to_f
|
130
|
-
when :BOOLEAN
|
130
|
+
when :BOOLEAN, :Boolean
|
131
131
|
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
132
132
|
true
|
133
133
|
else
|
@@ -194,6 +194,7 @@ module VSphereAutomation
|
|
194
194
|
value
|
195
195
|
end
|
196
196
|
end
|
197
|
+
|
197
198
|
end
|
198
199
|
end
|
199
200
|
end
|
data/lib/vsphere-automation-cis/models/vapi_std_errors_not_allowed_in_current_state_error.rb
CHANGED
@@ -118,7 +118,7 @@ module VSphereAutomation
|
|
118
118
|
value.to_i
|
119
119
|
when :Float
|
120
120
|
value.to_f
|
121
|
-
when :BOOLEAN
|
121
|
+
when :BOOLEAN, :Boolean
|
122
122
|
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
123
123
|
true
|
124
124
|
else
|
@@ -185,6 +185,7 @@ module VSphereAutomation
|
|
185
185
|
value
|
186
186
|
end
|
187
187
|
end
|
188
|
+
|
188
189
|
end
|
189
190
|
end
|
190
191
|
end
|
@@ -127,7 +127,7 @@ module VSphereAutomation
|
|
127
127
|
value.to_i
|
128
128
|
when :Float
|
129
129
|
value.to_f
|
130
|
-
when :BOOLEAN
|
130
|
+
when :BOOLEAN, :Boolean
|
131
131
|
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
132
132
|
true
|
133
133
|
else
|
@@ -194,6 +194,7 @@ module VSphereAutomation
|
|
194
194
|
value
|
195
195
|
end
|
196
196
|
end
|
197
|
+
|
197
198
|
end
|
198
199
|
end
|
199
200
|
end
|
@@ -118,7 +118,7 @@ module VSphereAutomation
|
|
118
118
|
value.to_i
|
119
119
|
when :Float
|
120
120
|
value.to_f
|
121
|
-
when :BOOLEAN
|
121
|
+
when :BOOLEAN, :Boolean
|
122
122
|
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
123
123
|
true
|
124
124
|
else
|
@@ -185,6 +185,7 @@ module VSphereAutomation
|
|
185
185
|
value
|
186
186
|
end
|
187
187
|
end
|
188
|
+
|
188
189
|
end
|
189
190
|
end
|
190
191
|
end
|
@@ -127,7 +127,7 @@ module VSphereAutomation
|
|
127
127
|
value.to_i
|
128
128
|
when :Float
|
129
129
|
value.to_f
|
130
|
-
when :BOOLEAN
|
130
|
+
when :BOOLEAN, :Boolean
|
131
131
|
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
132
132
|
true
|
133
133
|
else
|
@@ -194,6 +194,7 @@ module VSphereAutomation
|
|
194
194
|
value
|
195
195
|
end
|
196
196
|
end
|
197
|
+
|
197
198
|
end
|
198
199
|
end
|
199
200
|
end
|
@@ -118,7 +118,7 @@ module VSphereAutomation
|
|
118
118
|
value.to_i
|
119
119
|
when :Float
|
120
120
|
value.to_f
|
121
|
-
when :BOOLEAN
|
121
|
+
when :BOOLEAN, :Boolean
|
122
122
|
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
123
123
|
true
|
124
124
|
else
|
@@ -185,6 +185,7 @@ module VSphereAutomation
|
|
185
185
|
value
|
186
186
|
end
|
187
187
|
end
|
188
|
+
|
188
189
|
end
|
189
190
|
end
|
190
191
|
end
|
@@ -127,7 +127,7 @@ module VSphereAutomation
|
|
127
127
|
value.to_i
|
128
128
|
when :Float
|
129
129
|
value.to_f
|
130
|
-
when :BOOLEAN
|
130
|
+
when :BOOLEAN, :Boolean
|
131
131
|
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
132
132
|
true
|
133
133
|
else
|
@@ -194,6 +194,7 @@ module VSphereAutomation
|
|
194
194
|
value
|
195
195
|
end
|
196
196
|
end
|
197
|
+
|
197
198
|
end
|
198
199
|
end
|
199
200
|
end
|
@@ -118,7 +118,7 @@ module VSphereAutomation
|
|
118
118
|
value.to_i
|
119
119
|
when :Float
|
120
120
|
value.to_f
|
121
|
-
when :BOOLEAN
|
121
|
+
when :BOOLEAN, :Boolean
|
122
122
|
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
123
123
|
true
|
124
124
|
else
|
@@ -185,6 +185,7 @@ module VSphereAutomation
|
|
185
185
|
value
|
186
186
|
end
|
187
187
|
end
|
188
|
+
|
188
189
|
end
|
189
190
|
end
|
190
191
|
end
|