vsphere-automation-content 0.4.5 → 0.4.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +20 -0
- data/lib/vsphere-automation-content/version.rb +1 -1
- metadata +8 -518
- data/Gemfile +0 -14
- data/Gemfile.lock +0 -86
- data/README.md +0 -276
- data/Rakefile +0 -18
- data/docs/ConfigurationApi.md +0 -105
- data/docs/ContentConfigurationModel.md +0 -11
- data/docs/ContentConfigurationResult.md +0 -8
- data/docs/ContentConfigurationUpdate.md +0 -8
- data/docs/ContentLibraryFind.md +0 -8
- data/docs/ContentLibraryFindResult.md +0 -8
- data/docs/ContentLibraryFindSpec.md +0 -9
- data/docs/ContentLibraryItemCopy.md +0 -9
- data/docs/ContentLibraryItemCopyResult.md +0 -8
- data/docs/ContentLibraryItemCreate.md +0 -9
- data/docs/ContentLibraryItemCreateResult.md +0 -8
- data/docs/ContentLibraryItemDestinationSpec.md +0 -8
- data/docs/ContentLibraryItemDownloadSessionCreate.md +0 -9
- data/docs/ContentLibraryItemDownloadSessionCreateResult.md +0 -8
- data/docs/ContentLibraryItemDownloadSessionFail.md +0 -8
- data/docs/ContentLibraryItemDownloadSessionKeepAlive.md +0 -8
- data/docs/ContentLibraryItemDownloadSessionListResult.md +0 -8
- data/docs/ContentLibraryItemDownloadSessionModel.md +0 -14
- data/docs/ContentLibraryItemDownloadSessionModelState.md +0 -7
- data/docs/ContentLibraryItemDownloadSessionResult.md +0 -8
- data/docs/ContentLibraryItemDownloadsessionFileEndpointType.md +0 -7
- data/docs/ContentLibraryItemDownloadsessionFileGet.md +0 -8
- data/docs/ContentLibraryItemDownloadsessionFileInfo.md +0 -14
- data/docs/ContentLibraryItemDownloadsessionFileListResult.md +0 -8
- data/docs/ContentLibraryItemDownloadsessionFilePrepare.md +0 -9
- data/docs/ContentLibraryItemDownloadsessionFilePrepareResult.md +0 -8
- data/docs/ContentLibraryItemDownloadsessionFilePrepareStatus.md +0 -7
- data/docs/ContentLibraryItemDownloadsessionFileResult.md +0 -8
- data/docs/ContentLibraryItemFileChecksumAlgorithm.md +0 -7
- data/docs/ContentLibraryItemFileChecksumInfo.md +0 -9
- data/docs/ContentLibraryItemFileGet.md +0 -8
- data/docs/ContentLibraryItemFileInfo.md +0 -12
- data/docs/ContentLibraryItemFileListResult.md +0 -8
- data/docs/ContentLibraryItemFileResult.md +0 -8
- data/docs/ContentLibraryItemFind.md +0 -8
- data/docs/ContentLibraryItemFindResult.md +0 -8
- data/docs/ContentLibraryItemFindSpec.md +0 -12
- data/docs/ContentLibraryItemListResult.md +0 -8
- data/docs/ContentLibraryItemModel.md +0 -21
- data/docs/ContentLibraryItemPublish.md +0 -9
- data/docs/ContentLibraryItemResult.md +0 -8
- data/docs/ContentLibraryItemStorageGet.md +0 -8
- data/docs/ContentLibraryItemStorageInfo.md +0 -14
- data/docs/ContentLibraryItemStorageListResult.md +0 -8
- data/docs/ContentLibraryItemStorageResult.md +0 -8
- data/docs/ContentLibraryItemTransferEndpoint.md +0 -9
- data/docs/ContentLibraryItemTransferStatus.md +0 -7
- data/docs/ContentLibraryItemUpdate.md +0 -8
- data/docs/ContentLibraryItemUpdateSessionCreate.md +0 -9
- data/docs/ContentLibraryItemUpdateSessionCreateResult.md +0 -8
- data/docs/ContentLibraryItemUpdateSessionFail.md +0 -8
- data/docs/ContentLibraryItemUpdateSessionKeepAlive.md +0 -8
- data/docs/ContentLibraryItemUpdateSessionListResult.md +0 -8
- data/docs/ContentLibraryItemUpdateSessionModel.md +0 -16
- data/docs/ContentLibraryItemUpdateSessionModelState.md +0 -7
- data/docs/ContentLibraryItemUpdateSessionResult.md +0 -8
- data/docs/ContentLibraryItemUpdateSessionUpdate.md +0 -8
- data/docs/ContentLibraryItemUpdatesessionCertificateInfo.md +0 -11
- data/docs/ContentLibraryItemUpdatesessionFileAdd.md +0 -8
- data/docs/ContentLibraryItemUpdatesessionFileAddResult.md +0 -8
- data/docs/ContentLibraryItemUpdatesessionFileAddSpec.md +0 -12
- data/docs/ContentLibraryItemUpdatesessionFileGet.md +0 -8
- data/docs/ContentLibraryItemUpdatesessionFileInfo.md +0 -17
- data/docs/ContentLibraryItemUpdatesessionFileListResult.md +0 -8
- data/docs/ContentLibraryItemUpdatesessionFileRemove.md +0 -8
- data/docs/ContentLibraryItemUpdatesessionFileResult.md +0 -8
- data/docs/ContentLibraryItemUpdatesessionFileSourceType.md +0 -7
- data/docs/ContentLibraryItemUpdatesessionFileValidateResult.md +0 -8
- data/docs/ContentLibraryItemUpdatesessionFileValidationError.md +0 -9
- data/docs/ContentLibraryItemUpdatesessionFileValidationResult.md +0 -10
- data/docs/ContentLibraryItemUpdatesessionPreviewInfo.md +0 -10
- data/docs/ContentLibraryItemUpdatesessionPreviewInfoState.md +0 -7
- data/docs/ContentLibraryItemUpdatesessionPreviewWarningInfo.md +0 -10
- data/docs/ContentLibraryItemUpdatesessionWarningBehavior.md +0 -9
- data/docs/ContentLibraryItemUpdatesessionWarningType.md +0 -7
- data/docs/ContentLibraryListResult.md +0 -8
- data/docs/ContentLibraryModel.md +0 -20
- data/docs/ContentLibraryModelLibraryType.md +0 -7
- data/docs/ContentLibraryOptimizationInfo.md +0 -8
- data/docs/ContentLibraryPublishInfo.md +0 -14
- data/docs/ContentLibraryPublishInfoAuthenticationMethod.md +0 -7
- data/docs/ContentLibraryResult.md +0 -8
- data/docs/ContentLibrarySourceInfo.md +0 -9
- data/docs/ContentLibraryStorageBacking.md +0 -10
- data/docs/ContentLibraryStorageBackingType.md +0 -7
- data/docs/ContentLibrarySubscribedItemSync.md +0 -8
- data/docs/ContentLibrarySubscriptionInfo.md +0 -15
- data/docs/ContentLibrarySubscriptionInfoAuthenticationMethod.md +0 -7
- data/docs/ContentLibrarySubscriptionsCreate.md +0 -9
- data/docs/ContentLibrarySubscriptionsCreateResult.md +0 -8
- data/docs/ContentLibrarySubscriptionsCreateSpec.md +0 -8
- data/docs/ContentLibrarySubscriptionsCreateSpecNewSubscribedLibrary.md +0 -12
- data/docs/ContentLibrarySubscriptionsCreateSpecPlacement.md +0 -12
- data/docs/ContentLibrarySubscriptionsCreateSpecSubscribedLibrary.md +0 -13
- data/docs/ContentLibrarySubscriptionsCreateSpecSubscribedLibraryTarget.md +0 -7
- data/docs/ContentLibrarySubscriptionsCreateSpecVcenter.md +0 -9
- data/docs/ContentLibrarySubscriptionsDelete.md +0 -8
- data/docs/ContentLibrarySubscriptionsGet.md +0 -8
- data/docs/ContentLibrarySubscriptionsInfo.md +0 -12
- data/docs/ContentLibrarySubscriptionsListResult.md +0 -8
- data/docs/ContentLibrarySubscriptionsLocation.md +0 -7
- data/docs/ContentLibrarySubscriptionsPlacementInfo.md +0 -12
- data/docs/ContentLibrarySubscriptionsResult.md +0 -8
- data/docs/ContentLibrarySubscriptionsSummary.md +0 -11
- data/docs/ContentLibrarySubscriptionsUpdate.md +0 -9
- data/docs/ContentLibrarySubscriptionsUpdateSpec.md +0 -9
- data/docs/ContentLibrarySubscriptionsUpdateSpecPlacement.md +0 -12
- data/docs/ContentLibrarySubscriptionsUpdateSpecVcenter.md +0 -9
- data/docs/ContentLibrarySubscriptionsVcenterInfo.md +0 -10
- data/docs/ContentLibraryUpdate.md +0 -8
- data/docs/ContentLocalLibraryCreate.md +0 -9
- data/docs/ContentLocalLibraryCreateResult.md +0 -8
- data/docs/ContentLocalLibraryDestinationSpec.md +0 -8
- data/docs/ContentLocalLibraryListResult.md +0 -8
- data/docs/ContentLocalLibraryPublish.md +0 -8
- data/docs/ContentLocalLibraryResult.md +0 -8
- data/docs/ContentLocalLibraryUpdate.md +0 -8
- data/docs/ContentSubscribedLibraryCreate.md +0 -9
- data/docs/ContentSubscribedLibraryCreateResult.md +0 -8
- data/docs/ContentSubscribedLibraryListResult.md +0 -8
- data/docs/ContentSubscribedLibraryProbe.md +0 -8
- data/docs/ContentSubscribedLibraryProbeResult.md +0 -10
- data/docs/ContentSubscribedLibraryProbeResultStatus.md +0 -7
- data/docs/ContentSubscribedLibraryResult.md +0 -8
- data/docs/ContentSubscribedLibraryUpdate.md +0 -8
- data/docs/LibraryApi.md +0 -209
- data/docs/LibraryItemApi.md +0 -419
- data/docs/LibraryItemDownloadSessionApi.md +0 -369
- data/docs/LibraryItemDownloadsessionFileApi.md +0 -165
- data/docs/LibraryItemFileApi.md +0 -112
- data/docs/LibraryItemStorageApi.md +0 -112
- data/docs/LibraryItemUpdateSessionApi.md +0 -471
- data/docs/LibraryItemUpdatesessionFileApi.md +0 -268
- data/docs/LibrarySubscribedItemApi.md +0 -110
- data/docs/LibrarySubscriptionsApi.md +0 -269
- data/docs/LocalLibraryApi.md +0 -313
- data/docs/SubscribedLibraryApi.md +0 -410
- data/docs/VapiStdErrorsAlreadyExists.md +0 -9
- data/docs/VapiStdErrorsAlreadyExistsError.md +0 -9
- data/docs/VapiStdErrorsConcurrentChange.md +0 -9
- data/docs/VapiStdErrorsConcurrentChangeError.md +0 -9
- data/docs/VapiStdErrorsError.md +0 -9
- data/docs/VapiStdErrorsErrorError.md +0 -9
- data/docs/VapiStdErrorsInvalidArgument.md +0 -9
- data/docs/VapiStdErrorsInvalidArgumentError.md +0 -9
- data/docs/VapiStdErrorsInvalidElementConfiguration.md +0 -9
- data/docs/VapiStdErrorsInvalidElementConfigurationError.md +0 -9
- data/docs/VapiStdErrorsInvalidElementType.md +0 -9
- data/docs/VapiStdErrorsInvalidElementTypeError.md +0 -9
- data/docs/VapiStdErrorsNotAllowedInCurrentState.md +0 -9
- data/docs/VapiStdErrorsNotAllowedInCurrentStateError.md +0 -9
- data/docs/VapiStdErrorsNotFound.md +0 -9
- data/docs/VapiStdErrorsNotFoundError.md +0 -9
- data/docs/VapiStdErrorsResourceBusy.md +0 -9
- data/docs/VapiStdErrorsResourceBusyError.md +0 -9
- data/docs/VapiStdErrorsResourceInaccessible.md +0 -9
- data/docs/VapiStdErrorsResourceInaccessibleError.md +0 -9
- data/docs/VapiStdErrorsUnauthenticated.md +0 -9
- data/docs/VapiStdErrorsUnauthenticatedError.md +0 -9
- data/docs/VapiStdErrorsUnauthorized.md +0 -9
- data/docs/VapiStdErrorsUnauthorizedError.md +0 -9
- data/docs/VapiStdErrorsUnsupported.md +0 -9
- data/docs/VapiStdErrorsUnsupportedError.md +0 -9
- data/docs/VapiStdLocalizableMessage.md +0 -10
- data/git_push.sh +0 -55
- data/lib/vsphere-automation-content/api_client.rb +0 -260
- data/lib/vsphere-automation-content/api_error.rb +0 -34
- data/lib/vsphere-automation-content/configuration.rb +0 -212
- data/pkg/vsphere-automation-content-0.4.1.gem +0 -0
- data/pkg/vsphere-automation-content-0.4.2.gem +0 -0
- data/pkg/vsphere-automation-content-0.4.3.gem +0 -0
- data/pkg/vsphere-automation-content-0.4.4.gem +0 -0
- data/spec/api/configuration_api_spec.rb +0 -52
- data/spec/api/library_api_spec.rb +0 -75
- data/spec/api/library_item_api_spec.rb +0 -122
- data/spec/api/library_item_download_session_api_spec.rb +0 -110
- data/spec/api/library_item_downloadsession_file_api_spec.rb +0 -66
- data/spec/api/library_item_file_api_spec.rb +0 -54
- data/spec/api/library_item_storage_api_spec.rb +0 -54
- data/spec/api/library_item_update_session_api_spec.rb +0 -133
- data/spec/api/library_item_updatesession_file_api_spec.rb +0 -89
- data/spec/api/library_subscribed_item_api_spec.rb +0 -54
- data/spec/api/library_subscriptions_api_spec.rb +0 -90
- data/spec/api/local_library_api_spec.rb +0 -98
- data/spec/api/subscribed_library_api_spec.rb +0 -119
- data/spec/api_client_spec.rb +0 -248
- data/spec/configuration_spec.rb +0 -38
- data/spec/models/content_configuration_model_spec.rb +0 -55
- data/spec/models/content_configuration_result_spec.rb +0 -37
- data/spec/models/content_configuration_update_spec.rb +0 -37
- data/spec/models/content_library_find_result_spec.rb +0 -37
- data/spec/models/content_library_find_spec.rb +0 -37
- data/spec/models/content_library_find_spec_spec.rb +0 -43
- data/spec/models/content_library_item_copy_result_spec.rb +0 -37
- data/spec/models/content_library_item_copy_spec.rb +0 -43
- data/spec/models/content_library_item_create_result_spec.rb +0 -37
- data/spec/models/content_library_item_create_spec.rb +0 -43
- data/spec/models/content_library_item_destination_spec_spec.rb +0 -37
- data/spec/models/content_library_item_download_session_create_result_spec.rb +0 -37
- data/spec/models/content_library_item_download_session_create_spec.rb +0 -43
- data/spec/models/content_library_item_download_session_fail_spec.rb +0 -37
- data/spec/models/content_library_item_download_session_keep_alive_spec.rb +0 -37
- data/spec/models/content_library_item_download_session_list_result_spec.rb +0 -37
- data/spec/models/content_library_item_download_session_model_spec.rb +0 -73
- data/spec/models/content_library_item_download_session_model_state_spec.rb +0 -31
- data/spec/models/content_library_item_download_session_result_spec.rb +0 -37
- data/spec/models/content_library_item_downloadsession_file_endpoint_type_spec.rb +0 -31
- data/spec/models/content_library_item_downloadsession_file_get_spec.rb +0 -37
- data/spec/models/content_library_item_downloadsession_file_info_spec.rb +0 -73
- data/spec/models/content_library_item_downloadsession_file_list_result_spec.rb +0 -37
- data/spec/models/content_library_item_downloadsession_file_prepare_result_spec.rb +0 -37
- data/spec/models/content_library_item_downloadsession_file_prepare_spec.rb +0 -43
- data/spec/models/content_library_item_downloadsession_file_prepare_status_spec.rb +0 -31
- data/spec/models/content_library_item_downloadsession_file_result_spec.rb +0 -37
- data/spec/models/content_library_item_file_checksum_algorithm_spec.rb +0 -31
- data/spec/models/content_library_item_file_checksum_info_spec.rb +0 -43
- data/spec/models/content_library_item_file_get_spec.rb +0 -37
- data/spec/models/content_library_item_file_info_spec.rb +0 -61
- data/spec/models/content_library_item_file_list_result_spec.rb +0 -37
- data/spec/models/content_library_item_file_result_spec.rb +0 -37
- data/spec/models/content_library_item_find_result_spec.rb +0 -37
- data/spec/models/content_library_item_find_spec.rb +0 -37
- data/spec/models/content_library_item_find_spec_spec.rb +0 -61
- data/spec/models/content_library_item_list_result_spec.rb +0 -37
- data/spec/models/content_library_item_model_spec.rb +0 -115
- data/spec/models/content_library_item_publish_spec.rb +0 -43
- data/spec/models/content_library_item_result_spec.rb +0 -37
- data/spec/models/content_library_item_storage_get_spec.rb +0 -37
- data/spec/models/content_library_item_storage_info_spec.rb +0 -73
- data/spec/models/content_library_item_storage_list_result_spec.rb +0 -37
- data/spec/models/content_library_item_storage_result_spec.rb +0 -37
- data/spec/models/content_library_item_transfer_endpoint_spec.rb +0 -43
- data/spec/models/content_library_item_transfer_status_spec.rb +0 -31
- data/spec/models/content_library_item_update_session_create_result_spec.rb +0 -37
- data/spec/models/content_library_item_update_session_create_spec.rb +0 -43
- data/spec/models/content_library_item_update_session_fail_spec.rb +0 -37
- data/spec/models/content_library_item_update_session_keep_alive_spec.rb +0 -37
- data/spec/models/content_library_item_update_session_list_result_spec.rb +0 -37
- data/spec/models/content_library_item_update_session_model_spec.rb +0 -85
- data/spec/models/content_library_item_update_session_model_state_spec.rb +0 -31
- data/spec/models/content_library_item_update_session_result_spec.rb +0 -37
- data/spec/models/content_library_item_update_session_update_spec.rb +0 -37
- data/spec/models/content_library_item_update_spec.rb +0 -37
- data/spec/models/content_library_item_updatesession_certificate_info_spec.rb +0 -55
- data/spec/models/content_library_item_updatesession_file_add_result_spec.rb +0 -37
- data/spec/models/content_library_item_updatesession_file_add_spec.rb +0 -37
- data/spec/models/content_library_item_updatesession_file_add_spec_spec.rb +0 -61
- data/spec/models/content_library_item_updatesession_file_get_spec.rb +0 -37
- data/spec/models/content_library_item_updatesession_file_info_spec.rb +0 -91
- data/spec/models/content_library_item_updatesession_file_list_result_spec.rb +0 -37
- data/spec/models/content_library_item_updatesession_file_remove_spec.rb +0 -37
- data/spec/models/content_library_item_updatesession_file_result_spec.rb +0 -37
- data/spec/models/content_library_item_updatesession_file_source_type_spec.rb +0 -31
- data/spec/models/content_library_item_updatesession_file_validate_result_spec.rb +0 -37
- data/spec/models/content_library_item_updatesession_file_validation_error_spec.rb +0 -43
- data/spec/models/content_library_item_updatesession_file_validation_result_spec.rb +0 -49
- data/spec/models/content_library_item_updatesession_preview_info_spec.rb +0 -49
- data/spec/models/content_library_item_updatesession_preview_info_state_spec.rb +0 -31
- data/spec/models/content_library_item_updatesession_preview_warning_info_spec.rb +0 -49
- data/spec/models/content_library_item_updatesession_warning_behavior_spec.rb +0 -43
- data/spec/models/content_library_item_updatesession_warning_type_spec.rb +0 -31
- data/spec/models/content_library_list_result_spec.rb +0 -37
- data/spec/models/content_library_model_library_type_spec.rb +0 -31
- data/spec/models/content_library_model_spec.rb +0 -109
- data/spec/models/content_library_optimization_info_spec.rb +0 -37
- data/spec/models/content_library_publish_info_authentication_method_spec.rb +0 -31
- data/spec/models/content_library_publish_info_spec.rb +0 -73
- data/spec/models/content_library_result_spec.rb +0 -37
- data/spec/models/content_library_source_info_spec.rb +0 -43
- data/spec/models/content_library_storage_backing_spec.rb +0 -49
- data/spec/models/content_library_storage_backing_type_spec.rb +0 -31
- data/spec/models/content_library_subscribed_item_sync_spec.rb +0 -37
- data/spec/models/content_library_subscription_info_authentication_method_spec.rb +0 -31
- data/spec/models/content_library_subscription_info_spec.rb +0 -79
- data/spec/models/content_library_subscriptions_create_result_spec.rb +0 -37
- data/spec/models/content_library_subscriptions_create_spec.rb +0 -43
- data/spec/models/content_library_subscriptions_create_spec_new_subscribed_library_spec.rb +0 -61
- data/spec/models/content_library_subscriptions_create_spec_placement_spec.rb +0 -61
- data/spec/models/content_library_subscriptions_create_spec_spec.rb +0 -37
- data/spec/models/content_library_subscriptions_create_spec_subscribed_library_spec.rb +0 -67
- data/spec/models/content_library_subscriptions_create_spec_subscribed_library_target_spec.rb +0 -31
- data/spec/models/content_library_subscriptions_create_spec_vcenter_spec.rb +0 -43
- data/spec/models/content_library_subscriptions_delete_spec.rb +0 -37
- data/spec/models/content_library_subscriptions_get_spec.rb +0 -37
- data/spec/models/content_library_subscriptions_info_spec.rb +0 -61
- data/spec/models/content_library_subscriptions_list_result_spec.rb +0 -37
- data/spec/models/content_library_subscriptions_location_spec.rb +0 -31
- data/spec/models/content_library_subscriptions_placement_info_spec.rb +0 -61
- data/spec/models/content_library_subscriptions_result_spec.rb +0 -37
- data/spec/models/content_library_subscriptions_summary_spec.rb +0 -55
- data/spec/models/content_library_subscriptions_update_spec.rb +0 -43
- data/spec/models/content_library_subscriptions_update_spec_placement_spec.rb +0 -61
- data/spec/models/content_library_subscriptions_update_spec_spec.rb +0 -43
- data/spec/models/content_library_subscriptions_update_spec_vcenter_spec.rb +0 -43
- data/spec/models/content_library_subscriptions_vcenter_info_spec.rb +0 -49
- data/spec/models/content_library_update_spec.rb +0 -37
- data/spec/models/content_local_library_create_result_spec.rb +0 -37
- data/spec/models/content_local_library_create_spec.rb +0 -43
- data/spec/models/content_local_library_destination_spec_spec.rb +0 -37
- data/spec/models/content_local_library_list_result_spec.rb +0 -37
- data/spec/models/content_local_library_publish_spec.rb +0 -37
- data/spec/models/content_local_library_result_spec.rb +0 -37
- data/spec/models/content_local_library_update_spec.rb +0 -37
- data/spec/models/content_subscribed_library_create_result_spec.rb +0 -37
- data/spec/models/content_subscribed_library_create_spec.rb +0 -43
- data/spec/models/content_subscribed_library_list_result_spec.rb +0 -37
- data/spec/models/content_subscribed_library_probe_result_spec.rb +0 -49
- data/spec/models/content_subscribed_library_probe_result_status_spec.rb +0 -31
- data/spec/models/content_subscribed_library_probe_spec.rb +0 -37
- data/spec/models/content_subscribed_library_result_spec.rb +0 -37
- data/spec/models/content_subscribed_library_update_spec.rb +0 -37
- data/spec/models/vapi_std_errors_already_exists_error_spec.rb +0 -43
- data/spec/models/vapi_std_errors_already_exists_spec.rb +0 -43
- data/spec/models/vapi_std_errors_concurrent_change_error_spec.rb +0 -43
- data/spec/models/vapi_std_errors_concurrent_change_spec.rb +0 -43
- data/spec/models/vapi_std_errors_error_error_spec.rb +0 -43
- data/spec/models/vapi_std_errors_error_spec.rb +0 -43
- data/spec/models/vapi_std_errors_invalid_argument_error_spec.rb +0 -43
- data/spec/models/vapi_std_errors_invalid_argument_spec.rb +0 -43
- data/spec/models/vapi_std_errors_invalid_element_configuration_error_spec.rb +0 -43
- data/spec/models/vapi_std_errors_invalid_element_configuration_spec.rb +0 -43
- data/spec/models/vapi_std_errors_invalid_element_type_error_spec.rb +0 -43
- data/spec/models/vapi_std_errors_invalid_element_type_spec.rb +0 -43
- data/spec/models/vapi_std_errors_not_allowed_in_current_state_error_spec.rb +0 -43
- data/spec/models/vapi_std_errors_not_allowed_in_current_state_spec.rb +0 -43
- data/spec/models/vapi_std_errors_not_found_error_spec.rb +0 -43
- data/spec/models/vapi_std_errors_not_found_spec.rb +0 -43
- data/spec/models/vapi_std_errors_resource_busy_error_spec.rb +0 -43
- data/spec/models/vapi_std_errors_resource_busy_spec.rb +0 -43
- data/spec/models/vapi_std_errors_resource_inaccessible_error_spec.rb +0 -43
- data/spec/models/vapi_std_errors_resource_inaccessible_spec.rb +0 -43
- data/spec/models/vapi_std_errors_unauthenticated_error_spec.rb +0 -43
- data/spec/models/vapi_std_errors_unauthenticated_spec.rb +0 -43
- data/spec/models/vapi_std_errors_unauthorized_error_spec.rb +0 -43
- data/spec/models/vapi_std_errors_unauthorized_spec.rb +0 -43
- data/spec/models/vapi_std_errors_unsupported_error_spec.rb +0 -43
- data/spec/models/vapi_std_errors_unsupported_spec.rb +0 -43
- data/spec/models/vapi_std_localizable_message_spec.rb +0 -49
- data/spec/spec_helper.rb +0 -110
- data/vsphere-automation-content.gemspec +0 -40
@@ -1,9 +0,0 @@
|
|
1
|
-
# VSphereAutomation::Content::VapiStdErrorsAlreadyExists
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**messages** | [**Array<VapiStdLocalizableMessage>**](VapiStdLocalizableMessage.md) | Stack of one or more localizable messages for human {@term error} consumers. <p> The message at the top of the stack (first in the list) describes the {@term error} from the perspective of the {@term operation} the client invoked. Each subsequent message in the stack describes the \"cause\" of the prior message. |
|
7
|
-
**data** | [**Object**](.md) | Data to facilitate clients responding to the {@term operation} reporting a standard {@term error} to indicating that it was unable to complete successfully. <p> {@term Operations} may provide data that clients can use when responding to {@term errors}. Since the data that clients need may be specific to the context of the {@term operation} reporting the {@term error}, different {@term operations} that report the same {@term error} may provide different data in the {@term error}. The documentation for each each {@term operation} will describe what, if any, data it provides for each {@term error} it reports. The {@link ArgumentLocations}, {@link FileLocations}, and {@link TransientIndication} {@term structures} are intended as possible values for this {@term field}. {@link vapi.std.DynamicID} may also be useful as a value for this {@term field} (although that is not its primary purpose). Some {@term services} may provide their own specific {@term structures} for use as the value of this {@term field} when reporting {@term errors} from their {@term operations}. | [optional]
|
8
|
-
|
9
|
-
|
@@ -1,9 +0,0 @@
|
|
1
|
-
# VSphereAutomation::Content::VapiStdErrorsAlreadyExistsError
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**type** | **String** | | [optional]
|
7
|
-
**value** | [**VapiStdErrorsAlreadyExists**](VapiStdErrorsAlreadyExists.md) | | [optional]
|
8
|
-
|
9
|
-
|
@@ -1,9 +0,0 @@
|
|
1
|
-
# VSphereAutomation::Content::VapiStdErrorsConcurrentChange
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**messages** | [**Array<VapiStdLocalizableMessage>**](VapiStdLocalizableMessage.md) | Stack of one or more localizable messages for human {@term error} consumers. <p> The message at the top of the stack (first in the list) describes the {@term error} from the perspective of the {@term operation} the client invoked. Each subsequent message in the stack describes the \"cause\" of the prior message. |
|
7
|
-
**data** | [**Object**](.md) | Data to facilitate clients responding to the {@term operation} reporting a standard {@term error} to indicating that it was unable to complete successfully. <p> {@term Operations} may provide data that clients can use when responding to {@term errors}. Since the data that clients need may be specific to the context of the {@term operation} reporting the {@term error}, different {@term operations} that report the same {@term error} may provide different data in the {@term error}. The documentation for each each {@term operation} will describe what, if any, data it provides for each {@term error} it reports. The {@link ArgumentLocations}, {@link FileLocations}, and {@link TransientIndication} {@term structures} are intended as possible values for this {@term field}. {@link vapi.std.DynamicID} may also be useful as a value for this {@term field} (although that is not its primary purpose). Some {@term services} may provide their own specific {@term structures} for use as the value of this {@term field} when reporting {@term errors} from their {@term operations}. | [optional]
|
8
|
-
|
9
|
-
|
@@ -1,9 +0,0 @@
|
|
1
|
-
# VSphereAutomation::Content::VapiStdErrorsConcurrentChangeError
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**type** | **String** | | [optional]
|
7
|
-
**value** | [**VapiStdErrorsConcurrentChange**](VapiStdErrorsConcurrentChange.md) | | [optional]
|
8
|
-
|
9
|
-
|
data/docs/VapiStdErrorsError.md
DELETED
@@ -1,9 +0,0 @@
|
|
1
|
-
# VSphereAutomation::Content::VapiStdErrorsError
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**messages** | [**Array<VapiStdLocalizableMessage>**](VapiStdLocalizableMessage.md) | Stack of one or more localizable messages for human {@term error} consumers. <p> The message at the top of the stack (first in the list) describes the {@term error} from the perspective of the {@term operation} the client invoked. Each subsequent message in the stack describes the \"cause\" of the prior message. |
|
7
|
-
**data** | [**Object**](.md) | Data to facilitate clients responding to the {@term operation} reporting a standard {@term error} to indicating that it was unable to complete successfully. <p> {@term Operations} may provide data that clients can use when responding to {@term errors}. Since the data that clients need may be specific to the context of the {@term operation} reporting the {@term error}, different {@term operations} that report the same {@term error} may provide different data in the {@term error}. The documentation for each each {@term operation} will describe what, if any, data it provides for each {@term error} it reports. The {@link ArgumentLocations}, {@link FileLocations}, and {@link TransientIndication} {@term structures} are intended as possible values for this {@term field}. {@link vapi.std.DynamicID} may also be useful as a value for this {@term field} (although that is not its primary purpose). Some {@term services} may provide their own specific {@term structures} for use as the value of this {@term field} when reporting {@term errors} from their {@term operations}. | [optional]
|
8
|
-
|
9
|
-
|
@@ -1,9 +0,0 @@
|
|
1
|
-
# VSphereAutomation::Content::VapiStdErrorsErrorError
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**type** | **String** | | [optional]
|
7
|
-
**value** | [**VapiStdErrorsError**](VapiStdErrorsError.md) | | [optional]
|
8
|
-
|
9
|
-
|
@@ -1,9 +0,0 @@
|
|
1
|
-
# VSphereAutomation::Content::VapiStdErrorsInvalidArgument
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**messages** | [**Array<VapiStdLocalizableMessage>**](VapiStdLocalizableMessage.md) | Stack of one or more localizable messages for human {@term error} consumers. <p> The message at the top of the stack (first in the list) describes the {@term error} from the perspective of the {@term operation} the client invoked. Each subsequent message in the stack describes the \"cause\" of the prior message. |
|
7
|
-
**data** | [**Object**](.md) | Data to facilitate clients responding to the {@term operation} reporting a standard {@term error} to indicating that it was unable to complete successfully. <p> {@term Operations} may provide data that clients can use when responding to {@term errors}. Since the data that clients need may be specific to the context of the {@term operation} reporting the {@term error}, different {@term operations} that report the same {@term error} may provide different data in the {@term error}. The documentation for each each {@term operation} will describe what, if any, data it provides for each {@term error} it reports. The {@link ArgumentLocations}, {@link FileLocations}, and {@link TransientIndication} {@term structures} are intended as possible values for this {@term field}. {@link vapi.std.DynamicID} may also be useful as a value for this {@term field} (although that is not its primary purpose). Some {@term services} may provide their own specific {@term structures} for use as the value of this {@term field} when reporting {@term errors} from their {@term operations}. | [optional]
|
8
|
-
|
9
|
-
|
@@ -1,9 +0,0 @@
|
|
1
|
-
# VSphereAutomation::Content::VapiStdErrorsInvalidArgumentError
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**type** | **String** | | [optional]
|
7
|
-
**value** | [**VapiStdErrorsInvalidArgument**](VapiStdErrorsInvalidArgument.md) | | [optional]
|
8
|
-
|
9
|
-
|
@@ -1,9 +0,0 @@
|
|
1
|
-
# VSphereAutomation::Content::VapiStdErrorsInvalidElementConfiguration
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**messages** | [**Array<VapiStdLocalizableMessage>**](VapiStdLocalizableMessage.md) | Stack of one or more localizable messages for human {@term error} consumers. <p> The message at the top of the stack (first in the list) describes the {@term error} from the perspective of the {@term operation} the client invoked. Each subsequent message in the stack describes the \"cause\" of the prior message. |
|
7
|
-
**data** | [**Object**](.md) | Data to facilitate clients responding to the {@term operation} reporting a standard {@term error} to indicating that it was unable to complete successfully. <p> {@term Operations} may provide data that clients can use when responding to {@term errors}. Since the data that clients need may be specific to the context of the {@term operation} reporting the {@term error}, different {@term operations} that report the same {@term error} may provide different data in the {@term error}. The documentation for each each {@term operation} will describe what, if any, data it provides for each {@term error} it reports. The {@link ArgumentLocations}, {@link FileLocations}, and {@link TransientIndication} {@term structures} are intended as possible values for this {@term field}. {@link vapi.std.DynamicID} may also be useful as a value for this {@term field} (although that is not its primary purpose). Some {@term services} may provide their own specific {@term structures} for use as the value of this {@term field} when reporting {@term errors} from their {@term operations}. | [optional]
|
8
|
-
|
9
|
-
|
@@ -1,9 +0,0 @@
|
|
1
|
-
# VSphereAutomation::Content::VapiStdErrorsInvalidElementConfigurationError
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**type** | **String** | | [optional]
|
7
|
-
**value** | [**VapiStdErrorsInvalidElementConfiguration**](VapiStdErrorsInvalidElementConfiguration.md) | | [optional]
|
8
|
-
|
9
|
-
|
@@ -1,9 +0,0 @@
|
|
1
|
-
# VSphereAutomation::Content::VapiStdErrorsInvalidElementType
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**messages** | [**Array<VapiStdLocalizableMessage>**](VapiStdLocalizableMessage.md) | Stack of one or more localizable messages for human {@term error} consumers. <p> The message at the top of the stack (first in the list) describes the {@term error} from the perspective of the {@term operation} the client invoked. Each subsequent message in the stack describes the \"cause\" of the prior message. |
|
7
|
-
**data** | [**Object**](.md) | Data to facilitate clients responding to the {@term operation} reporting a standard {@term error} to indicating that it was unable to complete successfully. <p> {@term Operations} may provide data that clients can use when responding to {@term errors}. Since the data that clients need may be specific to the context of the {@term operation} reporting the {@term error}, different {@term operations} that report the same {@term error} may provide different data in the {@term error}. The documentation for each each {@term operation} will describe what, if any, data it provides for each {@term error} it reports. The {@link ArgumentLocations}, {@link FileLocations}, and {@link TransientIndication} {@term structures} are intended as possible values for this {@term field}. {@link vapi.std.DynamicID} may also be useful as a value for this {@term field} (although that is not its primary purpose). Some {@term services} may provide their own specific {@term structures} for use as the value of this {@term field} when reporting {@term errors} from their {@term operations}. | [optional]
|
8
|
-
|
9
|
-
|
@@ -1,9 +0,0 @@
|
|
1
|
-
# VSphereAutomation::Content::VapiStdErrorsInvalidElementTypeError
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**type** | **String** | | [optional]
|
7
|
-
**value** | [**VapiStdErrorsInvalidElementType**](VapiStdErrorsInvalidElementType.md) | | [optional]
|
8
|
-
|
9
|
-
|
@@ -1,9 +0,0 @@
|
|
1
|
-
# VSphereAutomation::Content::VapiStdErrorsNotAllowedInCurrentState
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**messages** | [**Array<VapiStdLocalizableMessage>**](VapiStdLocalizableMessage.md) | Stack of one or more localizable messages for human {@term error} consumers. <p> The message at the top of the stack (first in the list) describes the {@term error} from the perspective of the {@term operation} the client invoked. Each subsequent message in the stack describes the \"cause\" of the prior message. |
|
7
|
-
**data** | [**Object**](.md) | Data to facilitate clients responding to the {@term operation} reporting a standard {@term error} to indicating that it was unable to complete successfully. <p> {@term Operations} may provide data that clients can use when responding to {@term errors}. Since the data that clients need may be specific to the context of the {@term operation} reporting the {@term error}, different {@term operations} that report the same {@term error} may provide different data in the {@term error}. The documentation for each each {@term operation} will describe what, if any, data it provides for each {@term error} it reports. The {@link ArgumentLocations}, {@link FileLocations}, and {@link TransientIndication} {@term structures} are intended as possible values for this {@term field}. {@link vapi.std.DynamicID} may also be useful as a value for this {@term field} (although that is not its primary purpose). Some {@term services} may provide their own specific {@term structures} for use as the value of this {@term field} when reporting {@term errors} from their {@term operations}. | [optional]
|
8
|
-
|
9
|
-
|
@@ -1,9 +0,0 @@
|
|
1
|
-
# VSphereAutomation::Content::VapiStdErrorsNotAllowedInCurrentStateError
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**type** | **String** | | [optional]
|
7
|
-
**value** | [**VapiStdErrorsNotAllowedInCurrentState**](VapiStdErrorsNotAllowedInCurrentState.md) | | [optional]
|
8
|
-
|
9
|
-
|
@@ -1,9 +0,0 @@
|
|
1
|
-
# VSphereAutomation::Content::VapiStdErrorsNotFound
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**messages** | [**Array<VapiStdLocalizableMessage>**](VapiStdLocalizableMessage.md) | Stack of one or more localizable messages for human {@term error} consumers. <p> The message at the top of the stack (first in the list) describes the {@term error} from the perspective of the {@term operation} the client invoked. Each subsequent message in the stack describes the \"cause\" of the prior message. |
|
7
|
-
**data** | [**Object**](.md) | Data to facilitate clients responding to the {@term operation} reporting a standard {@term error} to indicating that it was unable to complete successfully. <p> {@term Operations} may provide data that clients can use when responding to {@term errors}. Since the data that clients need may be specific to the context of the {@term operation} reporting the {@term error}, different {@term operations} that report the same {@term error} may provide different data in the {@term error}. The documentation for each each {@term operation} will describe what, if any, data it provides for each {@term error} it reports. The {@link ArgumentLocations}, {@link FileLocations}, and {@link TransientIndication} {@term structures} are intended as possible values for this {@term field}. {@link vapi.std.DynamicID} may also be useful as a value for this {@term field} (although that is not its primary purpose). Some {@term services} may provide their own specific {@term structures} for use as the value of this {@term field} when reporting {@term errors} from their {@term operations}. | [optional]
|
8
|
-
|
9
|
-
|
@@ -1,9 +0,0 @@
|
|
1
|
-
# VSphereAutomation::Content::VapiStdErrorsNotFoundError
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**type** | **String** | | [optional]
|
7
|
-
**value** | [**VapiStdErrorsNotFound**](VapiStdErrorsNotFound.md) | | [optional]
|
8
|
-
|
9
|
-
|
@@ -1,9 +0,0 @@
|
|
1
|
-
# VSphereAutomation::Content::VapiStdErrorsResourceBusy
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**messages** | [**Array<VapiStdLocalizableMessage>**](VapiStdLocalizableMessage.md) | Stack of one or more localizable messages for human {@term error} consumers. <p> The message at the top of the stack (first in the list) describes the {@term error} from the perspective of the {@term operation} the client invoked. Each subsequent message in the stack describes the \"cause\" of the prior message. |
|
7
|
-
**data** | [**Object**](.md) | Data to facilitate clients responding to the {@term operation} reporting a standard {@term error} to indicating that it was unable to complete successfully. <p> {@term Operations} may provide data that clients can use when responding to {@term errors}. Since the data that clients need may be specific to the context of the {@term operation} reporting the {@term error}, different {@term operations} that report the same {@term error} may provide different data in the {@term error}. The documentation for each each {@term operation} will describe what, if any, data it provides for each {@term error} it reports. The {@link ArgumentLocations}, {@link FileLocations}, and {@link TransientIndication} {@term structures} are intended as possible values for this {@term field}. {@link vapi.std.DynamicID} may also be useful as a value for this {@term field} (although that is not its primary purpose). Some {@term services} may provide their own specific {@term structures} for use as the value of this {@term field} when reporting {@term errors} from their {@term operations}. | [optional]
|
8
|
-
|
9
|
-
|
@@ -1,9 +0,0 @@
|
|
1
|
-
# VSphereAutomation::Content::VapiStdErrorsResourceBusyError
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**type** | **String** | | [optional]
|
7
|
-
**value** | [**VapiStdErrorsResourceBusy**](VapiStdErrorsResourceBusy.md) | | [optional]
|
8
|
-
|
9
|
-
|
@@ -1,9 +0,0 @@
|
|
1
|
-
# VSphereAutomation::Content::VapiStdErrorsResourceInaccessible
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**messages** | [**Array<VapiStdLocalizableMessage>**](VapiStdLocalizableMessage.md) | Stack of one or more localizable messages for human {@term error} consumers. <p> The message at the top of the stack (first in the list) describes the {@term error} from the perspective of the {@term operation} the client invoked. Each subsequent message in the stack describes the \"cause\" of the prior message. |
|
7
|
-
**data** | [**Object**](.md) | Data to facilitate clients responding to the {@term operation} reporting a standard {@term error} to indicating that it was unable to complete successfully. <p> {@term Operations} may provide data that clients can use when responding to {@term errors}. Since the data that clients need may be specific to the context of the {@term operation} reporting the {@term error}, different {@term operations} that report the same {@term error} may provide different data in the {@term error}. The documentation for each each {@term operation} will describe what, if any, data it provides for each {@term error} it reports. The {@link ArgumentLocations}, {@link FileLocations}, and {@link TransientIndication} {@term structures} are intended as possible values for this {@term field}. {@link vapi.std.DynamicID} may also be useful as a value for this {@term field} (although that is not its primary purpose). Some {@term services} may provide their own specific {@term structures} for use as the value of this {@term field} when reporting {@term errors} from their {@term operations}. | [optional]
|
8
|
-
|
9
|
-
|
@@ -1,9 +0,0 @@
|
|
1
|
-
# VSphereAutomation::Content::VapiStdErrorsResourceInaccessibleError
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**type** | **String** | | [optional]
|
7
|
-
**value** | [**VapiStdErrorsResourceInaccessible**](VapiStdErrorsResourceInaccessible.md) | | [optional]
|
8
|
-
|
9
|
-
|
@@ -1,9 +0,0 @@
|
|
1
|
-
# VSphereAutomation::Content::VapiStdErrorsUnauthenticated
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**messages** | [**Array<VapiStdLocalizableMessage>**](VapiStdLocalizableMessage.md) | Stack of one or more localizable messages for human {@term error} consumers. <p> The message at the top of the stack (first in the list) describes the {@term error} from the perspective of the {@term operation} the client invoked. Each subsequent message in the stack describes the \"cause\" of the prior message. |
|
7
|
-
**data** | [**Object**](.md) | Data to facilitate clients responding to the {@term operation} reporting a standard {@term error} to indicating that it was unable to complete successfully. <p> {@term Operations} may provide data that clients can use when responding to {@term errors}. Since the data that clients need may be specific to the context of the {@term operation} reporting the {@term error}, different {@term operations} that report the same {@term error} may provide different data in the {@term error}. The documentation for each each {@term operation} will describe what, if any, data it provides for each {@term error} it reports. The {@link ArgumentLocations}, {@link FileLocations}, and {@link TransientIndication} {@term structures} are intended as possible values for this {@term field}. {@link vapi.std.DynamicID} may also be useful as a value for this {@term field} (although that is not its primary purpose). Some {@term services} may provide their own specific {@term structures} for use as the value of this {@term field} when reporting {@term errors} from their {@term operations}. | [optional]
|
8
|
-
|
9
|
-
|
@@ -1,9 +0,0 @@
|
|
1
|
-
# VSphereAutomation::Content::VapiStdErrorsUnauthenticatedError
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**type** | **String** | | [optional]
|
7
|
-
**value** | [**VapiStdErrorsUnauthenticated**](VapiStdErrorsUnauthenticated.md) | | [optional]
|
8
|
-
|
9
|
-
|
@@ -1,9 +0,0 @@
|
|
1
|
-
# VSphereAutomation::Content::VapiStdErrorsUnauthorized
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**messages** | [**Array<VapiStdLocalizableMessage>**](VapiStdLocalizableMessage.md) | Stack of one or more localizable messages for human {@term error} consumers. <p> The message at the top of the stack (first in the list) describes the {@term error} from the perspective of the {@term operation} the client invoked. Each subsequent message in the stack describes the \"cause\" of the prior message. |
|
7
|
-
**data** | [**Object**](.md) | Data to facilitate clients responding to the {@term operation} reporting a standard {@term error} to indicating that it was unable to complete successfully. <p> {@term Operations} may provide data that clients can use when responding to {@term errors}. Since the data that clients need may be specific to the context of the {@term operation} reporting the {@term error}, different {@term operations} that report the same {@term error} may provide different data in the {@term error}. The documentation for each each {@term operation} will describe what, if any, data it provides for each {@term error} it reports. The {@link ArgumentLocations}, {@link FileLocations}, and {@link TransientIndication} {@term structures} are intended as possible values for this {@term field}. {@link vapi.std.DynamicID} may also be useful as a value for this {@term field} (although that is not its primary purpose). Some {@term services} may provide their own specific {@term structures} for use as the value of this {@term field} when reporting {@term errors} from their {@term operations}. | [optional]
|
8
|
-
|
9
|
-
|
@@ -1,9 +0,0 @@
|
|
1
|
-
# VSphereAutomation::Content::VapiStdErrorsUnauthorizedError
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**type** | **String** | | [optional]
|
7
|
-
**value** | [**VapiStdErrorsUnauthorized**](VapiStdErrorsUnauthorized.md) | | [optional]
|
8
|
-
|
9
|
-
|
@@ -1,9 +0,0 @@
|
|
1
|
-
# VSphereAutomation::Content::VapiStdErrorsUnsupported
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**messages** | [**Array<VapiStdLocalizableMessage>**](VapiStdLocalizableMessage.md) | Stack of one or more localizable messages for human {@term error} consumers. <p> The message at the top of the stack (first in the list) describes the {@term error} from the perspective of the {@term operation} the client invoked. Each subsequent message in the stack describes the \"cause\" of the prior message. |
|
7
|
-
**data** | [**Object**](.md) | Data to facilitate clients responding to the {@term operation} reporting a standard {@term error} to indicating that it was unable to complete successfully. <p> {@term Operations} may provide data that clients can use when responding to {@term errors}. Since the data that clients need may be specific to the context of the {@term operation} reporting the {@term error}, different {@term operations} that report the same {@term error} may provide different data in the {@term error}. The documentation for each each {@term operation} will describe what, if any, data it provides for each {@term error} it reports. The {@link ArgumentLocations}, {@link FileLocations}, and {@link TransientIndication} {@term structures} are intended as possible values for this {@term field}. {@link vapi.std.DynamicID} may also be useful as a value for this {@term field} (although that is not its primary purpose). Some {@term services} may provide their own specific {@term structures} for use as the value of this {@term field} when reporting {@term errors} from their {@term operations}. | [optional]
|
8
|
-
|
9
|
-
|
@@ -1,9 +0,0 @@
|
|
1
|
-
# VSphereAutomation::Content::VapiStdErrorsUnsupportedError
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**type** | **String** | | [optional]
|
7
|
-
**value** | [**VapiStdErrorsUnsupported**](VapiStdErrorsUnsupported.md) | | [optional]
|
8
|
-
|
9
|
-
|
@@ -1,10 +0,0 @@
|
|
1
|
-
# VSphereAutomation::Content::VapiStdLocalizableMessage
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**id** | **String** | Unique identifier of the localizable string or message template. <p> This identifier is typically used to retrieve a locale-specific string or message template from a message catalog. |
|
7
|
-
**default_message** | **String** | The value of this localizable string or message template in the {@code en_US} (English) locale. If {@link #id} refers to a message template, the default message will contain the substituted arguments. This value can be used by clients that do not need to display strings and messages in the native language of the user. It could also be used as a fallback if a client is unable to access the appropriate message catalog. |
|
8
|
-
**args** | **Array<String>** | Arguments to be substituted into a message template. |
|
9
|
-
|
10
|
-
|
data/git_push.sh
DELETED
@@ -1,55 +0,0 @@
|
|
1
|
-
#!/bin/sh
|
2
|
-
#
|
3
|
-
# Generated by: https://openapi-generator.tech
|
4
|
-
#
|
5
|
-
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
|
6
|
-
#
|
7
|
-
# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update"
|
8
|
-
|
9
|
-
git_user_id=$1
|
10
|
-
git_repo_id=$2
|
11
|
-
release_note=$3
|
12
|
-
|
13
|
-
if [ "$git_user_id" = "" ]; then
|
14
|
-
git_user_id="GIT_USER_ID"
|
15
|
-
echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
|
16
|
-
fi
|
17
|
-
|
18
|
-
if [ "$git_repo_id" = "" ]; then
|
19
|
-
git_repo_id="GIT_REPO_ID"
|
20
|
-
echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
|
21
|
-
fi
|
22
|
-
|
23
|
-
if [ "$release_note" = "" ]; then
|
24
|
-
release_note="Minor update"
|
25
|
-
echo "[INFO] No command line input provided. Set \$release_note to $release_note"
|
26
|
-
fi
|
27
|
-
|
28
|
-
# Initialize the local directory as a Git repository
|
29
|
-
git init
|
30
|
-
|
31
|
-
# Adds the files in the local repository and stages them for commit.
|
32
|
-
git add .
|
33
|
-
|
34
|
-
# Commits the tracked changes and prepares them to be pushed to a remote repository.
|
35
|
-
git commit -m "$release_note"
|
36
|
-
|
37
|
-
# Sets the new remote
|
38
|
-
git_remote=`git remote`
|
39
|
-
if [ "$git_remote" = "" ]; then # git remote not defined
|
40
|
-
|
41
|
-
if [ "$GIT_TOKEN" = "" ]; then
|
42
|
-
echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
|
43
|
-
git remote add origin https://github.com/${git_user_id}/${git_repo_id}.git
|
44
|
-
else
|
45
|
-
git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${git_user_id}/${git_repo_id}.git
|
46
|
-
fi
|
47
|
-
|
48
|
-
fi
|
49
|
-
|
50
|
-
git pull origin master
|
51
|
-
|
52
|
-
# Pushes (Forces) the changes in the local repository up to the remote repository
|
53
|
-
echo "Git pushing to https://github.com/${git_user_id}/${git_repo_id}.git"
|
54
|
-
git push origin master 2>&1 | grep -v 'To https'
|
55
|
-
|
@@ -1,260 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'json'
|
4
|
-
require 'logger'
|
5
|
-
require 'net/http'
|
6
|
-
require 'openssl'
|
7
|
-
require 'uri'
|
8
|
-
require 'vsphere-automation-runtime/configuration'
|
9
|
-
require 'vsphere-automation-runtime/version'
|
10
|
-
|
11
|
-
module VSphereAutomation
|
12
|
-
# The client responsible for communicating with the API.
|
13
|
-
class ApiClient
|
14
|
-
# The Configuration object holding settings to be used in the API client.
|
15
|
-
attr_accessor :config
|
16
|
-
|
17
|
-
# Defines the headers to be used in HTTP requests of all API calls by
|
18
|
-
# default.
|
19
|
-
#
|
20
|
-
# @return [Hash]
|
21
|
-
attr_reader :default_headers
|
22
|
-
|
23
|
-
# Creates a new instance
|
24
|
-
#
|
25
|
-
# @param config [Configuration] configuration object with values to use
|
26
|
-
def initialize(config = Configuration.default)
|
27
|
-
@config = config
|
28
|
-
@http = create_http
|
29
|
-
@user_agent = default_user_agent
|
30
|
-
@default_headers = { 'Content-Type' => 'application/json',
|
31
|
-
'User-Agent' => @user_agent }
|
32
|
-
end
|
33
|
-
|
34
|
-
# Retrieves an instance of the object in it's default state
|
35
|
-
#
|
36
|
-
# @return [ApiClient] an instance of the object in it's default state
|
37
|
-
def self.default
|
38
|
-
DEFAULT
|
39
|
-
end
|
40
|
-
|
41
|
-
# Build the collection of parameters
|
42
|
-
def build_collection_param(params, format)
|
43
|
-
params
|
44
|
-
end
|
45
|
-
|
46
|
-
# Make a request to an API endpoint with the given options
|
47
|
-
#
|
48
|
-
# @param http_method [Symbol] the HTTP method to be used
|
49
|
-
# @param path [String] the path request will be made to
|
50
|
-
# @param opts [Hash] any additional options needed
|
51
|
-
# @return [Array<(Object, Fixnum, Hash)>] the deserialized body, status
|
52
|
-
# code, and headers.
|
53
|
-
def call_api(http_method, path, opts = {})
|
54
|
-
query_params = opts.fetch(:query_params, {})
|
55
|
-
header_params = opts.fetch(:header_params, {})
|
56
|
-
form_params = opts.fetch(:form_params, {})
|
57
|
-
add_auth(query_params, header_params, opts.fetch(:auth_names, []))
|
58
|
-
|
59
|
-
uri = build_request_uri(path, query_params)
|
60
|
-
request = Net::HTTP.const_get(http_method.capitalize).new(uri)
|
61
|
-
|
62
|
-
add_form_params(request, form_params)
|
63
|
-
add_header_params(request, header_params)
|
64
|
-
request.body = opts[:body] if opts[:body]
|
65
|
-
request.content_type = request['Content-Type'] if request['Content-Type']
|
66
|
-
|
67
|
-
if @config.debugging
|
68
|
-
@config.logger.debug("Request Body:\n#{request.body}\n")
|
69
|
-
end
|
70
|
-
|
71
|
-
response = @http.request(request)
|
72
|
-
@cookie = cookie_from_response(response)
|
73
|
-
api_key_from_response(response)
|
74
|
-
|
75
|
-
return_type = opts.fetch(:return_type, {}).fetch(response.code, nil)
|
76
|
-
data = deserialize(response, return_type)
|
77
|
-
[data, Integer(response.code), response.each_header.to_h]
|
78
|
-
end
|
79
|
-
|
80
|
-
# Takes an object and returns the object as an HTTP body
|
81
|
-
#
|
82
|
-
# @param object [Object] object to transform
|
83
|
-
# @return [String] object as JSON string
|
84
|
-
def object_to_http_body(object)
|
85
|
-
return object.map { |o| object_to_http_body(o) } if object.is_a?(Array)
|
86
|
-
|
87
|
-
return object unless object.respond_to?(:to_hash)
|
88
|
-
|
89
|
-
object.to_hash.to_json
|
90
|
-
end
|
91
|
-
|
92
|
-
# Select an Accept header to use
|
93
|
-
#
|
94
|
-
# @param types [Array] a list of suggested types
|
95
|
-
# @return [String] the Accept header value
|
96
|
-
def select_header_accept(types)
|
97
|
-
return DEFAULT_MIME_TYPE unless types.is_a?(Array)
|
98
|
-
|
99
|
-
types.find { |t| t.include?('json') } || types.join(', ')
|
100
|
-
end
|
101
|
-
|
102
|
-
# Select an Content-Type header to use
|
103
|
-
#
|
104
|
-
# @param types [Array] a list of suggested types
|
105
|
-
# @return [String] the Content-Type header value
|
106
|
-
def select_header_content_type(types)
|
107
|
-
return DEFAULT_MIME_TYPE unless types.is_a?(Array)
|
108
|
-
|
109
|
-
types.find { |t| t.include?('json') } || types.first
|
110
|
-
end
|
111
|
-
|
112
|
-
private
|
113
|
-
|
114
|
-
def add_auth(query_params, header_params, auth_names)
|
115
|
-
auth_names.map do |name|
|
116
|
-
settings = @config.auth_settings.fetch(name, {})
|
117
|
-
case settings[:in]
|
118
|
-
when 'header'
|
119
|
-
header_params[settings[:key]] = settings[:value]
|
120
|
-
api_key_from_cookie(settings) unless settings[:value]
|
121
|
-
when 'query'
|
122
|
-
query_params[settings[:key]] = settings[:value]
|
123
|
-
end
|
124
|
-
end
|
125
|
-
end
|
126
|
-
|
127
|
-
def add_form_params(request, form_params)
|
128
|
-
request.set_form_data(form_params) unless form_params.empty?
|
129
|
-
end
|
130
|
-
|
131
|
-
def add_header_params(request, headers)
|
132
|
-
header_params = @default_headers.merge(headers)
|
133
|
-
header_params.merge!(Hash(@cookie))
|
134
|
-
header_params.map { |name, value| request[name] = value }
|
135
|
-
end
|
136
|
-
|
137
|
-
def add_query_params(uri, query_params)
|
138
|
-
uri.query = URI.encode_www_form(query_params)
|
139
|
-
end
|
140
|
-
|
141
|
-
def build_request_uri(path = '', query_params = {})
|
142
|
-
path = "/#{path}".gsub(%r{/+}, '/')
|
143
|
-
uri = URI.parse(@config.base_url + path)
|
144
|
-
add_query_params(uri, query_params)
|
145
|
-
forced_query_params = path.split('?')[1]
|
146
|
-
return URI.join(uri, '?' + forced_query_params) if forced_query_params
|
147
|
-
|
148
|
-
uri
|
149
|
-
end
|
150
|
-
|
151
|
-
def create_http
|
152
|
-
uri = build_request_uri
|
153
|
-
http = Net::HTTP.new(uri.host, uri.port)
|
154
|
-
http.use_ssl = @config.scheme == 'https'
|
155
|
-
http.verify_mode = OpenSSL::SSL::VERIFY_NONE unless @config.verify_ssl_host
|
156
|
-
http.read_timeout = @config.timeout
|
157
|
-
http
|
158
|
-
end
|
159
|
-
|
160
|
-
# The default user agent
|
161
|
-
#
|
162
|
-
# @return [String] the default user agent
|
163
|
-
def default_user_agent
|
164
|
-
"SDK/#{VSphereAutomation::Runtime::VERSION} "\
|
165
|
-
"Ruby/#{RUBY_VERSION} "\
|
166
|
-
"(#{Gem::Platform.local.os}; "\
|
167
|
-
"#{Gem::Platform.local.version}; "\
|
168
|
-
"#{Gem::Platform.local.cpu})"
|
169
|
-
end
|
170
|
-
|
171
|
-
# Deserialize the response to the given return type
|
172
|
-
#
|
173
|
-
# @param [Response] response the HTTP response
|
174
|
-
# @param [String] return_type the type to return
|
175
|
-
# @return [Object] the response represented as the return type
|
176
|
-
def deserialize(response, return_type)
|
177
|
-
body = response.body
|
178
|
-
|
179
|
-
return nil if body.nil? || body.empty? || return_type.nil?
|
180
|
-
|
181
|
-
begin
|
182
|
-
data = JSON.parse("[#{body}]", symbolize_names: true).first
|
183
|
-
rescue JSON::ParserError => e
|
184
|
-
raise e unless %w[String Date DateTime].include?(return_type)
|
185
|
-
|
186
|
-
data = body
|
187
|
-
end
|
188
|
-
|
189
|
-
convert_to_type(data, return_type)
|
190
|
-
end
|
191
|
-
|
192
|
-
def convert_to_type(data, return_type)
|
193
|
-
return nil if data.nil?
|
194
|
-
case return_type
|
195
|
-
when 'String'
|
196
|
-
data.to_s
|
197
|
-
when 'Integer'
|
198
|
-
data.to_i
|
199
|
-
when 'Float'
|
200
|
-
data.to_f
|
201
|
-
when 'BOOLEAN'
|
202
|
-
data == true
|
203
|
-
when 'DateTime'
|
204
|
-
# parse date time (expecting ISO 8601 format)
|
205
|
-
DateTime.parse data
|
206
|
-
when 'Date'
|
207
|
-
# parse date time (expecting ISO 8601 format)
|
208
|
-
Date.parse data
|
209
|
-
when 'Object'
|
210
|
-
# generic object (usually a Hash), return directly
|
211
|
-
data
|
212
|
-
when /\AArray<(.+)>\z/
|
213
|
-
# e.g. Array<Pet>
|
214
|
-
sub_type = $1
|
215
|
-
data.map { |item| convert_to_type(item, sub_type) }
|
216
|
-
when /\AHash\<String, (.+)\>\z/
|
217
|
-
# e.g. Hash<String, Integer>
|
218
|
-
sub_type = $1
|
219
|
-
{}.tap do |hash|
|
220
|
-
data.each { |k, v| hash[k] = convert_to_type(v, sub_type) }
|
221
|
-
end
|
222
|
-
else
|
223
|
-
# models, e.g. Pet
|
224
|
-
VSphereAutomation.const_get(return_type).new.tap do |model|
|
225
|
-
model.build_from_hash data
|
226
|
-
end
|
227
|
-
end
|
228
|
-
end
|
229
|
-
|
230
|
-
# Create the Cookie header from a response
|
231
|
-
#
|
232
|
-
# @param response [Net::HTTPResponse] the response
|
233
|
-
# @return [Hash, nil] the Cookie header
|
234
|
-
def cookie_from_response(response)
|
235
|
-
{ 'Cookie' => response['set-cookie'] } if response['set-cookie']
|
236
|
-
end
|
237
|
-
|
238
|
-
def api_key_from_response(response)
|
239
|
-
key = @config.auth_settings['api_key'][:key]
|
240
|
-
@config.api_key[key] = response[key] if response[key]
|
241
|
-
end
|
242
|
-
|
243
|
-
def api_key_from_cookie(auth)
|
244
|
-
return if @cookie.nil?
|
245
|
-
|
246
|
-
regex = /(?<key>#{auth[:key]})=(?<value>\w+)/
|
247
|
-
matches = Hash(@cookie)['Cookie'].match(regex)
|
248
|
-
key = @config.auth_settings['api_key'][:key]
|
249
|
-
@config.api_key[key] = matches[:value] if matches
|
250
|
-
end
|
251
|
-
|
252
|
-
# An instance of the object in it's default state
|
253
|
-
DEFAULT = new
|
254
|
-
|
255
|
-
# The default MIME type for Content-Type and Accept headers
|
256
|
-
DEFAULT_MIME_TYPE = 'application/json'
|
257
|
-
|
258
|
-
private_constant :DEFAULT, :DEFAULT_MIME_TYPE
|
259
|
-
end
|
260
|
-
end
|