vsphere-automation-content 0.4.2 → 0.4.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (344) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +20 -0
  3. data/lib/vsphere-automation-content/api_client.rb +260 -0
  4. data/lib/vsphere-automation-content/api_error.rb +34 -0
  5. data/lib/vsphere-automation-content/configuration.rb +212 -0
  6. data/lib/vsphere-automation-content/version.rb +1 -1
  7. metadata +15 -513
  8. data/Gemfile +0 -14
  9. data/Gemfile.lock +0 -86
  10. data/README.md +0 -276
  11. data/Rakefile +0 -18
  12. data/docs/ConfigurationApi.md +0 -105
  13. data/docs/ContentConfigurationModel.md +0 -11
  14. data/docs/ContentConfigurationResult.md +0 -8
  15. data/docs/ContentConfigurationUpdate.md +0 -8
  16. data/docs/ContentLibraryFind.md +0 -8
  17. data/docs/ContentLibraryFindResult.md +0 -8
  18. data/docs/ContentLibraryFindSpec.md +0 -9
  19. data/docs/ContentLibraryItemCopy.md +0 -9
  20. data/docs/ContentLibraryItemCopyResult.md +0 -8
  21. data/docs/ContentLibraryItemCreate.md +0 -9
  22. data/docs/ContentLibraryItemCreateResult.md +0 -8
  23. data/docs/ContentLibraryItemDestinationSpec.md +0 -8
  24. data/docs/ContentLibraryItemDownloadSessionCreate.md +0 -9
  25. data/docs/ContentLibraryItemDownloadSessionCreateResult.md +0 -8
  26. data/docs/ContentLibraryItemDownloadSessionFail.md +0 -8
  27. data/docs/ContentLibraryItemDownloadSessionKeepAlive.md +0 -8
  28. data/docs/ContentLibraryItemDownloadSessionListResult.md +0 -8
  29. data/docs/ContentLibraryItemDownloadSessionModel.md +0 -14
  30. data/docs/ContentLibraryItemDownloadSessionModelState.md +0 -7
  31. data/docs/ContentLibraryItemDownloadSessionResult.md +0 -8
  32. data/docs/ContentLibraryItemDownloadsessionFileEndpointType.md +0 -7
  33. data/docs/ContentLibraryItemDownloadsessionFileGet.md +0 -8
  34. data/docs/ContentLibraryItemDownloadsessionFileInfo.md +0 -14
  35. data/docs/ContentLibraryItemDownloadsessionFileListResult.md +0 -8
  36. data/docs/ContentLibraryItemDownloadsessionFilePrepare.md +0 -9
  37. data/docs/ContentLibraryItemDownloadsessionFilePrepareResult.md +0 -8
  38. data/docs/ContentLibraryItemDownloadsessionFilePrepareStatus.md +0 -7
  39. data/docs/ContentLibraryItemDownloadsessionFileResult.md +0 -8
  40. data/docs/ContentLibraryItemFileChecksumAlgorithm.md +0 -7
  41. data/docs/ContentLibraryItemFileChecksumInfo.md +0 -9
  42. data/docs/ContentLibraryItemFileGet.md +0 -8
  43. data/docs/ContentLibraryItemFileInfo.md +0 -12
  44. data/docs/ContentLibraryItemFileListResult.md +0 -8
  45. data/docs/ContentLibraryItemFileResult.md +0 -8
  46. data/docs/ContentLibraryItemFind.md +0 -8
  47. data/docs/ContentLibraryItemFindResult.md +0 -8
  48. data/docs/ContentLibraryItemFindSpec.md +0 -12
  49. data/docs/ContentLibraryItemListResult.md +0 -8
  50. data/docs/ContentLibraryItemModel.md +0 -21
  51. data/docs/ContentLibraryItemPublish.md +0 -9
  52. data/docs/ContentLibraryItemResult.md +0 -8
  53. data/docs/ContentLibraryItemStorageGet.md +0 -8
  54. data/docs/ContentLibraryItemStorageInfo.md +0 -14
  55. data/docs/ContentLibraryItemStorageListResult.md +0 -8
  56. data/docs/ContentLibraryItemStorageResult.md +0 -8
  57. data/docs/ContentLibraryItemTransferEndpoint.md +0 -9
  58. data/docs/ContentLibraryItemTransferStatus.md +0 -7
  59. data/docs/ContentLibraryItemUpdate.md +0 -8
  60. data/docs/ContentLibraryItemUpdateSessionCreate.md +0 -9
  61. data/docs/ContentLibraryItemUpdateSessionCreateResult.md +0 -8
  62. data/docs/ContentLibraryItemUpdateSessionFail.md +0 -8
  63. data/docs/ContentLibraryItemUpdateSessionKeepAlive.md +0 -8
  64. data/docs/ContentLibraryItemUpdateSessionListResult.md +0 -8
  65. data/docs/ContentLibraryItemUpdateSessionModel.md +0 -16
  66. data/docs/ContentLibraryItemUpdateSessionModelState.md +0 -7
  67. data/docs/ContentLibraryItemUpdateSessionResult.md +0 -8
  68. data/docs/ContentLibraryItemUpdateSessionUpdate.md +0 -8
  69. data/docs/ContentLibraryItemUpdatesessionCertificateInfo.md +0 -11
  70. data/docs/ContentLibraryItemUpdatesessionFileAdd.md +0 -8
  71. data/docs/ContentLibraryItemUpdatesessionFileAddResult.md +0 -8
  72. data/docs/ContentLibraryItemUpdatesessionFileAddSpec.md +0 -12
  73. data/docs/ContentLibraryItemUpdatesessionFileGet.md +0 -8
  74. data/docs/ContentLibraryItemUpdatesessionFileInfo.md +0 -17
  75. data/docs/ContentLibraryItemUpdatesessionFileListResult.md +0 -8
  76. data/docs/ContentLibraryItemUpdatesessionFileRemove.md +0 -8
  77. data/docs/ContentLibraryItemUpdatesessionFileResult.md +0 -8
  78. data/docs/ContentLibraryItemUpdatesessionFileSourceType.md +0 -7
  79. data/docs/ContentLibraryItemUpdatesessionFileValidateResult.md +0 -8
  80. data/docs/ContentLibraryItemUpdatesessionFileValidationError.md +0 -9
  81. data/docs/ContentLibraryItemUpdatesessionFileValidationResult.md +0 -10
  82. data/docs/ContentLibraryItemUpdatesessionPreviewInfo.md +0 -10
  83. data/docs/ContentLibraryItemUpdatesessionPreviewInfoState.md +0 -7
  84. data/docs/ContentLibraryItemUpdatesessionPreviewWarningInfo.md +0 -10
  85. data/docs/ContentLibraryItemUpdatesessionWarningBehavior.md +0 -9
  86. data/docs/ContentLibraryItemUpdatesessionWarningType.md +0 -7
  87. data/docs/ContentLibraryListResult.md +0 -8
  88. data/docs/ContentLibraryModel.md +0 -20
  89. data/docs/ContentLibraryModelLibraryType.md +0 -7
  90. data/docs/ContentLibraryOptimizationInfo.md +0 -8
  91. data/docs/ContentLibraryPublishInfo.md +0 -14
  92. data/docs/ContentLibraryPublishInfoAuthenticationMethod.md +0 -7
  93. data/docs/ContentLibraryResult.md +0 -8
  94. data/docs/ContentLibrarySourceInfo.md +0 -9
  95. data/docs/ContentLibraryStorageBacking.md +0 -10
  96. data/docs/ContentLibraryStorageBackingType.md +0 -7
  97. data/docs/ContentLibrarySubscribedItemSync.md +0 -8
  98. data/docs/ContentLibrarySubscriptionInfo.md +0 -15
  99. data/docs/ContentLibrarySubscriptionInfoAuthenticationMethod.md +0 -7
  100. data/docs/ContentLibrarySubscriptionsCreate.md +0 -9
  101. data/docs/ContentLibrarySubscriptionsCreateResult.md +0 -8
  102. data/docs/ContentLibrarySubscriptionsCreateSpec.md +0 -8
  103. data/docs/ContentLibrarySubscriptionsCreateSpecNewSubscribedLibrary.md +0 -12
  104. data/docs/ContentLibrarySubscriptionsCreateSpecPlacement.md +0 -12
  105. data/docs/ContentLibrarySubscriptionsCreateSpecSubscribedLibrary.md +0 -13
  106. data/docs/ContentLibrarySubscriptionsCreateSpecSubscribedLibraryTarget.md +0 -7
  107. data/docs/ContentLibrarySubscriptionsCreateSpecVcenter.md +0 -9
  108. data/docs/ContentLibrarySubscriptionsDelete.md +0 -8
  109. data/docs/ContentLibrarySubscriptionsGet.md +0 -8
  110. data/docs/ContentLibrarySubscriptionsInfo.md +0 -12
  111. data/docs/ContentLibrarySubscriptionsListResult.md +0 -8
  112. data/docs/ContentLibrarySubscriptionsLocation.md +0 -7
  113. data/docs/ContentLibrarySubscriptionsPlacementInfo.md +0 -12
  114. data/docs/ContentLibrarySubscriptionsResult.md +0 -8
  115. data/docs/ContentLibrarySubscriptionsSummary.md +0 -11
  116. data/docs/ContentLibrarySubscriptionsUpdate.md +0 -9
  117. data/docs/ContentLibrarySubscriptionsUpdateSpec.md +0 -9
  118. data/docs/ContentLibrarySubscriptionsUpdateSpecPlacement.md +0 -12
  119. data/docs/ContentLibrarySubscriptionsUpdateSpecVcenter.md +0 -9
  120. data/docs/ContentLibrarySubscriptionsVcenterInfo.md +0 -10
  121. data/docs/ContentLibraryUpdate.md +0 -8
  122. data/docs/ContentLocalLibraryCreate.md +0 -9
  123. data/docs/ContentLocalLibraryCreateResult.md +0 -8
  124. data/docs/ContentLocalLibraryDestinationSpec.md +0 -8
  125. data/docs/ContentLocalLibraryListResult.md +0 -8
  126. data/docs/ContentLocalLibraryPublish.md +0 -8
  127. data/docs/ContentLocalLibraryResult.md +0 -8
  128. data/docs/ContentLocalLibraryUpdate.md +0 -8
  129. data/docs/ContentSubscribedLibraryCreate.md +0 -9
  130. data/docs/ContentSubscribedLibraryCreateResult.md +0 -8
  131. data/docs/ContentSubscribedLibraryListResult.md +0 -8
  132. data/docs/ContentSubscribedLibraryProbe.md +0 -8
  133. data/docs/ContentSubscribedLibraryProbeResult.md +0 -10
  134. data/docs/ContentSubscribedLibraryProbeResultStatus.md +0 -7
  135. data/docs/ContentSubscribedLibraryResult.md +0 -8
  136. data/docs/ContentSubscribedLibraryUpdate.md +0 -8
  137. data/docs/LibraryApi.md +0 -209
  138. data/docs/LibraryItemApi.md +0 -419
  139. data/docs/LibraryItemDownloadSessionApi.md +0 -369
  140. data/docs/LibraryItemDownloadsessionFileApi.md +0 -165
  141. data/docs/LibraryItemFileApi.md +0 -112
  142. data/docs/LibraryItemStorageApi.md +0 -112
  143. data/docs/LibraryItemUpdateSessionApi.md +0 -471
  144. data/docs/LibraryItemUpdatesessionFileApi.md +0 -268
  145. data/docs/LibrarySubscribedItemApi.md +0 -110
  146. data/docs/LibrarySubscriptionsApi.md +0 -269
  147. data/docs/LocalLibraryApi.md +0 -313
  148. data/docs/SubscribedLibraryApi.md +0 -410
  149. data/docs/VapiStdErrorsAlreadyExists.md +0 -9
  150. data/docs/VapiStdErrorsAlreadyExistsError.md +0 -9
  151. data/docs/VapiStdErrorsConcurrentChange.md +0 -9
  152. data/docs/VapiStdErrorsConcurrentChangeError.md +0 -9
  153. data/docs/VapiStdErrorsError.md +0 -9
  154. data/docs/VapiStdErrorsErrorError.md +0 -9
  155. data/docs/VapiStdErrorsInvalidArgument.md +0 -9
  156. data/docs/VapiStdErrorsInvalidArgumentError.md +0 -9
  157. data/docs/VapiStdErrorsInvalidElementConfiguration.md +0 -9
  158. data/docs/VapiStdErrorsInvalidElementConfigurationError.md +0 -9
  159. data/docs/VapiStdErrorsInvalidElementType.md +0 -9
  160. data/docs/VapiStdErrorsInvalidElementTypeError.md +0 -9
  161. data/docs/VapiStdErrorsNotAllowedInCurrentState.md +0 -9
  162. data/docs/VapiStdErrorsNotAllowedInCurrentStateError.md +0 -9
  163. data/docs/VapiStdErrorsNotFound.md +0 -9
  164. data/docs/VapiStdErrorsNotFoundError.md +0 -9
  165. data/docs/VapiStdErrorsResourceBusy.md +0 -9
  166. data/docs/VapiStdErrorsResourceBusyError.md +0 -9
  167. data/docs/VapiStdErrorsResourceInaccessible.md +0 -9
  168. data/docs/VapiStdErrorsResourceInaccessibleError.md +0 -9
  169. data/docs/VapiStdErrorsUnauthenticated.md +0 -9
  170. data/docs/VapiStdErrorsUnauthenticatedError.md +0 -9
  171. data/docs/VapiStdErrorsUnauthorized.md +0 -9
  172. data/docs/VapiStdErrorsUnauthorizedError.md +0 -9
  173. data/docs/VapiStdErrorsUnsupported.md +0 -9
  174. data/docs/VapiStdErrorsUnsupportedError.md +0 -9
  175. data/docs/VapiStdLocalizableMessage.md +0 -10
  176. data/git_push.sh +0 -55
  177. data/pkg/vsphere-automation-content-0.4.1.gem +0 -0
  178. data/pkg/vsphere-automation-content-0.4.2.gem +0 -0
  179. data/spec/api/configuration_api_spec.rb +0 -52
  180. data/spec/api/library_api_spec.rb +0 -75
  181. data/spec/api/library_item_api_spec.rb +0 -122
  182. data/spec/api/library_item_download_session_api_spec.rb +0 -110
  183. data/spec/api/library_item_downloadsession_file_api_spec.rb +0 -66
  184. data/spec/api/library_item_file_api_spec.rb +0 -54
  185. data/spec/api/library_item_storage_api_spec.rb +0 -54
  186. data/spec/api/library_item_update_session_api_spec.rb +0 -133
  187. data/spec/api/library_item_updatesession_file_api_spec.rb +0 -89
  188. data/spec/api/library_subscribed_item_api_spec.rb +0 -54
  189. data/spec/api/library_subscriptions_api_spec.rb +0 -90
  190. data/spec/api/local_library_api_spec.rb +0 -98
  191. data/spec/api/subscribed_library_api_spec.rb +0 -119
  192. data/spec/models/content_configuration_model_spec.rb +0 -55
  193. data/spec/models/content_configuration_result_spec.rb +0 -37
  194. data/spec/models/content_configuration_update_spec.rb +0 -37
  195. data/spec/models/content_library_find_result_spec.rb +0 -37
  196. data/spec/models/content_library_find_spec.rb +0 -37
  197. data/spec/models/content_library_find_spec_spec.rb +0 -43
  198. data/spec/models/content_library_item_copy_result_spec.rb +0 -37
  199. data/spec/models/content_library_item_copy_spec.rb +0 -43
  200. data/spec/models/content_library_item_create_result_spec.rb +0 -37
  201. data/spec/models/content_library_item_create_spec.rb +0 -43
  202. data/spec/models/content_library_item_destination_spec_spec.rb +0 -37
  203. data/spec/models/content_library_item_download_session_create_result_spec.rb +0 -37
  204. data/spec/models/content_library_item_download_session_create_spec.rb +0 -43
  205. data/spec/models/content_library_item_download_session_fail_spec.rb +0 -37
  206. data/spec/models/content_library_item_download_session_keep_alive_spec.rb +0 -37
  207. data/spec/models/content_library_item_download_session_list_result_spec.rb +0 -37
  208. data/spec/models/content_library_item_download_session_model_spec.rb +0 -73
  209. data/spec/models/content_library_item_download_session_model_state_spec.rb +0 -31
  210. data/spec/models/content_library_item_download_session_result_spec.rb +0 -37
  211. data/spec/models/content_library_item_downloadsession_file_endpoint_type_spec.rb +0 -31
  212. data/spec/models/content_library_item_downloadsession_file_get_spec.rb +0 -37
  213. data/spec/models/content_library_item_downloadsession_file_info_spec.rb +0 -73
  214. data/spec/models/content_library_item_downloadsession_file_list_result_spec.rb +0 -37
  215. data/spec/models/content_library_item_downloadsession_file_prepare_result_spec.rb +0 -37
  216. data/spec/models/content_library_item_downloadsession_file_prepare_spec.rb +0 -43
  217. data/spec/models/content_library_item_downloadsession_file_prepare_status_spec.rb +0 -31
  218. data/spec/models/content_library_item_downloadsession_file_result_spec.rb +0 -37
  219. data/spec/models/content_library_item_file_checksum_algorithm_spec.rb +0 -31
  220. data/spec/models/content_library_item_file_checksum_info_spec.rb +0 -43
  221. data/spec/models/content_library_item_file_get_spec.rb +0 -37
  222. data/spec/models/content_library_item_file_info_spec.rb +0 -61
  223. data/spec/models/content_library_item_file_list_result_spec.rb +0 -37
  224. data/spec/models/content_library_item_file_result_spec.rb +0 -37
  225. data/spec/models/content_library_item_find_result_spec.rb +0 -37
  226. data/spec/models/content_library_item_find_spec.rb +0 -37
  227. data/spec/models/content_library_item_find_spec_spec.rb +0 -61
  228. data/spec/models/content_library_item_list_result_spec.rb +0 -37
  229. data/spec/models/content_library_item_model_spec.rb +0 -115
  230. data/spec/models/content_library_item_publish_spec.rb +0 -43
  231. data/spec/models/content_library_item_result_spec.rb +0 -37
  232. data/spec/models/content_library_item_storage_get_spec.rb +0 -37
  233. data/spec/models/content_library_item_storage_info_spec.rb +0 -73
  234. data/spec/models/content_library_item_storage_list_result_spec.rb +0 -37
  235. data/spec/models/content_library_item_storage_result_spec.rb +0 -37
  236. data/spec/models/content_library_item_transfer_endpoint_spec.rb +0 -43
  237. data/spec/models/content_library_item_transfer_status_spec.rb +0 -31
  238. data/spec/models/content_library_item_update_session_create_result_spec.rb +0 -37
  239. data/spec/models/content_library_item_update_session_create_spec.rb +0 -43
  240. data/spec/models/content_library_item_update_session_fail_spec.rb +0 -37
  241. data/spec/models/content_library_item_update_session_keep_alive_spec.rb +0 -37
  242. data/spec/models/content_library_item_update_session_list_result_spec.rb +0 -37
  243. data/spec/models/content_library_item_update_session_model_spec.rb +0 -85
  244. data/spec/models/content_library_item_update_session_model_state_spec.rb +0 -31
  245. data/spec/models/content_library_item_update_session_result_spec.rb +0 -37
  246. data/spec/models/content_library_item_update_session_update_spec.rb +0 -37
  247. data/spec/models/content_library_item_update_spec.rb +0 -37
  248. data/spec/models/content_library_item_updatesession_certificate_info_spec.rb +0 -55
  249. data/spec/models/content_library_item_updatesession_file_add_result_spec.rb +0 -37
  250. data/spec/models/content_library_item_updatesession_file_add_spec.rb +0 -37
  251. data/spec/models/content_library_item_updatesession_file_add_spec_spec.rb +0 -61
  252. data/spec/models/content_library_item_updatesession_file_get_spec.rb +0 -37
  253. data/spec/models/content_library_item_updatesession_file_info_spec.rb +0 -91
  254. data/spec/models/content_library_item_updatesession_file_list_result_spec.rb +0 -37
  255. data/spec/models/content_library_item_updatesession_file_remove_spec.rb +0 -37
  256. data/spec/models/content_library_item_updatesession_file_result_spec.rb +0 -37
  257. data/spec/models/content_library_item_updatesession_file_source_type_spec.rb +0 -31
  258. data/spec/models/content_library_item_updatesession_file_validate_result_spec.rb +0 -37
  259. data/spec/models/content_library_item_updatesession_file_validation_error_spec.rb +0 -43
  260. data/spec/models/content_library_item_updatesession_file_validation_result_spec.rb +0 -49
  261. data/spec/models/content_library_item_updatesession_preview_info_spec.rb +0 -49
  262. data/spec/models/content_library_item_updatesession_preview_info_state_spec.rb +0 -31
  263. data/spec/models/content_library_item_updatesession_preview_warning_info_spec.rb +0 -49
  264. data/spec/models/content_library_item_updatesession_warning_behavior_spec.rb +0 -43
  265. data/spec/models/content_library_item_updatesession_warning_type_spec.rb +0 -31
  266. data/spec/models/content_library_list_result_spec.rb +0 -37
  267. data/spec/models/content_library_model_library_type_spec.rb +0 -31
  268. data/spec/models/content_library_model_spec.rb +0 -109
  269. data/spec/models/content_library_optimization_info_spec.rb +0 -37
  270. data/spec/models/content_library_publish_info_authentication_method_spec.rb +0 -31
  271. data/spec/models/content_library_publish_info_spec.rb +0 -73
  272. data/spec/models/content_library_result_spec.rb +0 -37
  273. data/spec/models/content_library_source_info_spec.rb +0 -43
  274. data/spec/models/content_library_storage_backing_spec.rb +0 -49
  275. data/spec/models/content_library_storage_backing_type_spec.rb +0 -31
  276. data/spec/models/content_library_subscribed_item_sync_spec.rb +0 -37
  277. data/spec/models/content_library_subscription_info_authentication_method_spec.rb +0 -31
  278. data/spec/models/content_library_subscription_info_spec.rb +0 -79
  279. data/spec/models/content_library_subscriptions_create_result_spec.rb +0 -37
  280. data/spec/models/content_library_subscriptions_create_spec.rb +0 -43
  281. data/spec/models/content_library_subscriptions_create_spec_new_subscribed_library_spec.rb +0 -61
  282. data/spec/models/content_library_subscriptions_create_spec_placement_spec.rb +0 -61
  283. data/spec/models/content_library_subscriptions_create_spec_spec.rb +0 -37
  284. data/spec/models/content_library_subscriptions_create_spec_subscribed_library_spec.rb +0 -67
  285. data/spec/models/content_library_subscriptions_create_spec_subscribed_library_target_spec.rb +0 -31
  286. data/spec/models/content_library_subscriptions_create_spec_vcenter_spec.rb +0 -43
  287. data/spec/models/content_library_subscriptions_delete_spec.rb +0 -37
  288. data/spec/models/content_library_subscriptions_get_spec.rb +0 -37
  289. data/spec/models/content_library_subscriptions_info_spec.rb +0 -61
  290. data/spec/models/content_library_subscriptions_list_result_spec.rb +0 -37
  291. data/spec/models/content_library_subscriptions_location_spec.rb +0 -31
  292. data/spec/models/content_library_subscriptions_placement_info_spec.rb +0 -61
  293. data/spec/models/content_library_subscriptions_result_spec.rb +0 -37
  294. data/spec/models/content_library_subscriptions_summary_spec.rb +0 -55
  295. data/spec/models/content_library_subscriptions_update_spec.rb +0 -43
  296. data/spec/models/content_library_subscriptions_update_spec_placement_spec.rb +0 -61
  297. data/spec/models/content_library_subscriptions_update_spec_spec.rb +0 -43
  298. data/spec/models/content_library_subscriptions_update_spec_vcenter_spec.rb +0 -43
  299. data/spec/models/content_library_subscriptions_vcenter_info_spec.rb +0 -49
  300. data/spec/models/content_library_update_spec.rb +0 -37
  301. data/spec/models/content_local_library_create_result_spec.rb +0 -37
  302. data/spec/models/content_local_library_create_spec.rb +0 -43
  303. data/spec/models/content_local_library_destination_spec_spec.rb +0 -37
  304. data/spec/models/content_local_library_list_result_spec.rb +0 -37
  305. data/spec/models/content_local_library_publish_spec.rb +0 -37
  306. data/spec/models/content_local_library_result_spec.rb +0 -37
  307. data/spec/models/content_local_library_update_spec.rb +0 -37
  308. data/spec/models/content_subscribed_library_create_result_spec.rb +0 -37
  309. data/spec/models/content_subscribed_library_create_spec.rb +0 -43
  310. data/spec/models/content_subscribed_library_list_result_spec.rb +0 -37
  311. data/spec/models/content_subscribed_library_probe_result_spec.rb +0 -49
  312. data/spec/models/content_subscribed_library_probe_result_status_spec.rb +0 -31
  313. data/spec/models/content_subscribed_library_probe_spec.rb +0 -37
  314. data/spec/models/content_subscribed_library_result_spec.rb +0 -37
  315. data/spec/models/content_subscribed_library_update_spec.rb +0 -37
  316. data/spec/models/vapi_std_errors_already_exists_error_spec.rb +0 -43
  317. data/spec/models/vapi_std_errors_already_exists_spec.rb +0 -43
  318. data/spec/models/vapi_std_errors_concurrent_change_error_spec.rb +0 -43
  319. data/spec/models/vapi_std_errors_concurrent_change_spec.rb +0 -43
  320. data/spec/models/vapi_std_errors_error_error_spec.rb +0 -43
  321. data/spec/models/vapi_std_errors_error_spec.rb +0 -43
  322. data/spec/models/vapi_std_errors_invalid_argument_error_spec.rb +0 -43
  323. data/spec/models/vapi_std_errors_invalid_argument_spec.rb +0 -43
  324. data/spec/models/vapi_std_errors_invalid_element_configuration_error_spec.rb +0 -43
  325. data/spec/models/vapi_std_errors_invalid_element_configuration_spec.rb +0 -43
  326. data/spec/models/vapi_std_errors_invalid_element_type_error_spec.rb +0 -43
  327. data/spec/models/vapi_std_errors_invalid_element_type_spec.rb +0 -43
  328. data/spec/models/vapi_std_errors_not_allowed_in_current_state_error_spec.rb +0 -43
  329. data/spec/models/vapi_std_errors_not_allowed_in_current_state_spec.rb +0 -43
  330. data/spec/models/vapi_std_errors_not_found_error_spec.rb +0 -43
  331. data/spec/models/vapi_std_errors_not_found_spec.rb +0 -43
  332. data/spec/models/vapi_std_errors_resource_busy_error_spec.rb +0 -43
  333. data/spec/models/vapi_std_errors_resource_busy_spec.rb +0 -43
  334. data/spec/models/vapi_std_errors_resource_inaccessible_error_spec.rb +0 -43
  335. data/spec/models/vapi_std_errors_resource_inaccessible_spec.rb +0 -43
  336. data/spec/models/vapi_std_errors_unauthenticated_error_spec.rb +0 -43
  337. data/spec/models/vapi_std_errors_unauthenticated_spec.rb +0 -43
  338. data/spec/models/vapi_std_errors_unauthorized_error_spec.rb +0 -43
  339. data/spec/models/vapi_std_errors_unauthorized_spec.rb +0 -43
  340. data/spec/models/vapi_std_errors_unsupported_error_spec.rb +0 -43
  341. data/spec/models/vapi_std_errors_unsupported_spec.rb +0 -43
  342. data/spec/models/vapi_std_localizable_message_spec.rb +0 -49
  343. data/spec/spec_helper.rb +0 -110
  344. data/vsphere-automation-content.gemspec +0 -40
@@ -1,122 +0,0 @@
1
- # Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
2
- # SPDX-License-Identifier: MIT
3
-
4
- # DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
5
-
6
- # content - VMware vSphere® Content Library empowers vSphere Admins to effectively manage VM templates, vApps, ISO images and scripts with ease.
7
-
8
-
9
- require 'spec_helper'
10
- require 'json'
11
-
12
- # Unit tests for VSphereAutomation::Content::LibraryItemApi
13
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
14
- # Please update as you see appropriate
15
- describe 'LibraryItemApi' do
16
- before do
17
- # run before each test
18
- @instance = VSphereAutomation::Content::LibraryItemApi.new
19
- end
20
-
21
- after do
22
- # run after each test
23
- end
24
-
25
- describe 'test an instance of LibraryItemApi' do
26
- it 'should create an instance of LibraryItemApi' do
27
- expect(@instance).to be_instance_of(VSphereAutomation::Content::LibraryItemApi)
28
- end
29
- end
30
-
31
- # unit tests for copy
32
- # Copies a library item. <p> Copying a library item allows a duplicate to be made within the same or different library. The copy occurs by first creating a new library item, whose identifier is returned. The content of the library item is then copied asynchronously. This copy can be tracked as a task. <p> If the copy fails, Content Library Service will roll back the copy by deleting any content that was already copied, and removing the new library item. A failure during rollback may require manual cleanup by an administrator. <p> A library item cannot be copied into a subscribed library.
33
- # @param source_library_item_id Identifier of the existing library item from which the content will be copied.
34
- # @param request_body
35
- # @param [Hash] opts the optional parameters
36
- # @return [ContentLibraryItemCopyResult]
37
- describe 'copy test' do
38
- it 'should work' do
39
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
40
- end
41
- end
42
-
43
- # unit tests for create
44
- # Creates a new library item. <p> A new library item is created without any content. After creation, content can be added through the {@link UpdateSession} and {@link File} {@term services}. <p> A library item cannot be created in a subscribed library.
45
- # @param request_body
46
- # @param [Hash] opts the optional parameters
47
- # @return [ContentLibraryItemCreateResult]
48
- describe 'create test' do
49
- it 'should work' do
50
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
51
- end
52
- end
53
-
54
- # unit tests for delete
55
- # Deletes a library item. <p> This {@term operation} will immediately remove the item from the library that owns it. The content of the item will be asynchronously removed from the storage backings. The content deletion can be tracked with a task. In the event that the task fails, an administrator may need to manually remove the files from the storage backing. <p> This {@term operation} cannot be used to delete a library item that is a member of a subscribed library. Removing an item from a subscribed library requires deleting the item from the original published local library and syncing the subscribed library.
56
- # @param library_item_id Identifier of the library item to delete.
57
- # @param [Hash] opts the optional parameters
58
- # @return [nil]
59
- describe 'delete test' do
60
- it 'should work' do
61
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
- end
63
- end
64
-
65
- # unit tests for find
66
- # Returns identifiers of all the visible (as determined by authorization policy) library items matching the requested {@link Item.FindSpec}.
67
- # @param request_body
68
- # @param [Hash] opts the optional parameters
69
- # @return [ContentLibraryItemFindResult]
70
- describe 'find test' do
71
- it 'should work' do
72
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
73
- end
74
- end
75
-
76
- # unit tests for get
77
- # Returns the {@link ItemModel} with the given identifier.
78
- # @param library_item_id Identifier of the library item to return.
79
- # @param [Hash] opts the optional parameters
80
- # @return [ContentLibraryItemResult]
81
- describe 'get test' do
82
- it 'should work' do
83
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
84
- end
85
- end
86
-
87
- # unit tests for list
88
- # Returns the identifiers of all items in the given library.
89
- # @param library_id Identifier of the library whose items should be returned.
90
- # @param [Hash] opts the optional parameters
91
- # @return [ContentLibraryItemListResult]
92
- describe 'list test' do
93
- it 'should work' do
94
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
95
- end
96
- end
97
-
98
- # unit tests for publish
99
- # Publishes the library item to specified subscriptions of the library. If no subscriptions are specified, then publishes the library item to all subscriptions of the library.
100
- # @param library_item_id Library item identifier.
101
- # @param request_body
102
- # @param [Hash] opts the optional parameters
103
- # @return [nil]
104
- describe 'publish test' do
105
- it 'should work' do
106
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
107
- end
108
- end
109
-
110
- # unit tests for update
111
- # Updates the specified properties of a library item. <p> This is an incremental update to the library item. {@term Fields} that are {@term unset} in the update specification are left unchanged. <p> This {@term operation} cannot update a library item that is a member of a subscribed library. Those items must be updated in the source published library and synchronized to the subscribed library.
112
- # @param library_item_id Identifier of the library item to update.
113
- # @param request_body
114
- # @param [Hash] opts the optional parameters
115
- # @return [nil]
116
- describe 'update test' do
117
- it 'should work' do
118
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
119
- end
120
- end
121
-
122
- end
@@ -1,110 +0,0 @@
1
- # Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
2
- # SPDX-License-Identifier: MIT
3
-
4
- # DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
5
-
6
- # content - VMware vSphere® Content Library empowers vSphere Admins to effectively manage VM templates, vApps, ISO images and scripts with ease.
7
-
8
-
9
- require 'spec_helper'
10
- require 'json'
11
-
12
- # Unit tests for VSphereAutomation::Content::LibraryItemDownloadSessionApi
13
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
14
- # Please update as you see appropriate
15
- describe 'LibraryItemDownloadSessionApi' do
16
- before do
17
- # run before each test
18
- @instance = VSphereAutomation::Content::LibraryItemDownloadSessionApi.new
19
- end
20
-
21
- after do
22
- # run after each test
23
- end
24
-
25
- describe 'test an instance of LibraryItemDownloadSessionApi' do
26
- it 'should create an instance of LibraryItemDownloadSessionApi' do
27
- expect(@instance).to be_instance_of(VSphereAutomation::Content::LibraryItemDownloadSessionApi)
28
- end
29
- end
30
-
31
- # unit tests for cancel
32
- # Cancels the download session. This {@term operation} will abort any ongoing transfers and invalidate transfer urls that the client may be downloading from.
33
- # @param download_session_id Identifer of the download session that should be canceled.
34
- # @param [Hash] opts the optional parameters
35
- # @return [nil]
36
- describe 'cancel test' do
37
- it 'should work' do
38
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
39
- end
40
- end
41
-
42
- # unit tests for create
43
- # Creates a new download session.
44
- # @param request_body
45
- # @param [Hash] opts the optional parameters
46
- # @return [ContentLibraryItemDownloadSessionCreateResult]
47
- describe 'create test' do
48
- it 'should work' do
49
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
- end
51
- end
52
-
53
- # unit tests for delete
54
- # Deletes a download session. This removes the session and all information associated with it. <p> Removing a download session leaves any current transfers for that session in an indeterminate state (there is no guarantee that the transfers will be able to complete). However there will no longer be a means of inspecting the status of those downloads except by seeing the effect on the library item. <p> Download sessions for which there is no download activity or which are complete will automatically be expired and then deleted after a period of time.
55
- # @param download_session_id Identifier of the download session to be deleted.
56
- # @param [Hash] opts the optional parameters
57
- # @return [nil]
58
- describe 'delete test' do
59
- it 'should work' do
60
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
61
- end
62
- end
63
-
64
- # unit tests for fail
65
- # Terminates the download session with a client specified error message. <p> This is useful in transmitting client side failures (for example, not being able to download a file) to the server side.
66
- # @param download_session_id Identifier of the download session to fail.
67
- # @param request_body
68
- # @param [Hash] opts the optional parameters
69
- # @return [nil]
70
- describe 'fail test' do
71
- it 'should work' do
72
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
73
- end
74
- end
75
-
76
- # unit tests for get
77
- # Gets the download session with the specified identifier, including the most up-to-date status information for the session.
78
- # @param download_session_id Identifier of the download session to retrieve.
79
- # @param [Hash] opts the optional parameters
80
- # @return [ContentLibraryItemDownloadSessionResult]
81
- describe 'get test' do
82
- it 'should work' do
83
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
84
- end
85
- end
86
-
87
- # unit tests for keep_alive
88
- # Keeps a download session alive. This operation is allowed only if the session is in the {@link DownloadSessionModel.State#ACTIVE} state. <p> If there is no activity for a download session for a certain period of time, the download session will expire. The download session expiration timeout is configurable in the Content Library Service system configuration. The default is five minutes. Invoking this {@term operation} enables a client to specifically extend the lifetime of an active download session.
89
- # @param download_session_id Identifier of the download session whose lifetime should be extended.
90
- # @param [Hash] opts the optional parameters
91
- # @option opts [ContentLibraryItemDownloadSessionKeepAlive] :request_body
92
- # @return [nil]
93
- describe 'keep_alive test' do
94
- it 'should work' do
95
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
96
- end
97
- end
98
-
99
- # unit tests for list
100
- # Lists the identifiers of the download sessions created by the calling user. Optionally may filter by library item.
101
- # @param [Hash] opts the optional parameters
102
- # @option opts [String] :library_item_id Library item identifier on which to filter results.
103
- # @return [ContentLibraryItemDownloadSessionListResult]
104
- describe 'list test' do
105
- it 'should work' do
106
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
107
- end
108
- end
109
-
110
- end
@@ -1,66 +0,0 @@
1
- # Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
2
- # SPDX-License-Identifier: MIT
3
-
4
- # DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
5
-
6
- # content - VMware vSphere® Content Library empowers vSphere Admins to effectively manage VM templates, vApps, ISO images and scripts with ease.
7
-
8
-
9
- require 'spec_helper'
10
- require 'json'
11
-
12
- # Unit tests for VSphereAutomation::Content::LibraryItemDownloadsessionFileApi
13
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
14
- # Please update as you see appropriate
15
- describe 'LibraryItemDownloadsessionFileApi' do
16
- before do
17
- # run before each test
18
- @instance = VSphereAutomation::Content::LibraryItemDownloadsessionFileApi.new
19
- end
20
-
21
- after do
22
- # run after each test
23
- end
24
-
25
- describe 'test an instance of LibraryItemDownloadsessionFileApi' do
26
- it 'should create an instance of LibraryItemDownloadsessionFileApi' do
27
- expect(@instance).to be_instance_of(VSphereAutomation::Content::LibraryItemDownloadsessionFileApi)
28
- end
29
- end
30
-
31
- # unit tests for get
32
- # Retrieves file download information for a specific file.
33
- # @param download_session_id Identifier of the download session.
34
- # @param request_body
35
- # @param [Hash] opts the optional parameters
36
- # @return [ContentLibraryItemDownloadsessionFileResult]
37
- describe 'get test' do
38
- it 'should work' do
39
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
40
- end
41
- end
42
-
43
- # unit tests for list
44
- # Lists the information of all the files in the library item associated with the download session.
45
- # @param download_session_id Identifier of the download session.
46
- # @param [Hash] opts the optional parameters
47
- # @return [ContentLibraryItemDownloadsessionFileListResult]
48
- describe 'list test' do
49
- it 'should work' do
50
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
51
- end
52
- end
53
-
54
- # unit tests for prepare
55
- # Requests a file to be prepared for download.
56
- # @param download_session_id Identifier of the download session.
57
- # @param request_body
58
- # @param [Hash] opts the optional parameters
59
- # @return [ContentLibraryItemDownloadsessionFilePrepareResult]
60
- describe 'prepare test' do
61
- it 'should work' do
62
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
63
- end
64
- end
65
-
66
- end
@@ -1,54 +0,0 @@
1
- # Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
2
- # SPDX-License-Identifier: MIT
3
-
4
- # DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
5
-
6
- # content - VMware vSphere® Content Library empowers vSphere Admins to effectively manage VM templates, vApps, ISO images and scripts with ease.
7
-
8
-
9
- require 'spec_helper'
10
- require 'json'
11
-
12
- # Unit tests for VSphereAutomation::Content::LibraryItemFileApi
13
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
14
- # Please update as you see appropriate
15
- describe 'LibraryItemFileApi' do
16
- before do
17
- # run before each test
18
- @instance = VSphereAutomation::Content::LibraryItemFileApi.new
19
- end
20
-
21
- after do
22
- # run after each test
23
- end
24
-
25
- describe 'test an instance of LibraryItemFileApi' do
26
- it 'should create an instance of LibraryItemFileApi' do
27
- expect(@instance).to be_instance_of(VSphereAutomation::Content::LibraryItemFileApi)
28
- end
29
- end
30
-
31
- # unit tests for get
32
- # Retrieves the information for a single file in a library item by its name.
33
- # @param library_item_id Identifier of the library item whose file information should be returned.
34
- # @param request_body
35
- # @param [Hash] opts the optional parameters
36
- # @return [ContentLibraryItemFileResult]
37
- describe 'get test' do
38
- it 'should work' do
39
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
40
- end
41
- end
42
-
43
- # unit tests for list
44
- # Lists all of the files that are stored within a given library item.
45
- # @param library_item_id Identifier of the library item whose files should be listed.
46
- # @param [Hash] opts the optional parameters
47
- # @return [ContentLibraryItemFileListResult]
48
- describe 'list test' do
49
- it 'should work' do
50
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
51
- end
52
- end
53
-
54
- end
@@ -1,54 +0,0 @@
1
- # Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
2
- # SPDX-License-Identifier: MIT
3
-
4
- # DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
5
-
6
- # content - VMware vSphere® Content Library empowers vSphere Admins to effectively manage VM templates, vApps, ISO images and scripts with ease.
7
-
8
-
9
- require 'spec_helper'
10
- require 'json'
11
-
12
- # Unit tests for VSphereAutomation::Content::LibraryItemStorageApi
13
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
14
- # Please update as you see appropriate
15
- describe 'LibraryItemStorageApi' do
16
- before do
17
- # run before each test
18
- @instance = VSphereAutomation::Content::LibraryItemStorageApi.new
19
- end
20
-
21
- after do
22
- # run after each test
23
- end
24
-
25
- describe 'test an instance of LibraryItemStorageApi' do
26
- it 'should create an instance of LibraryItemStorageApi' do
27
- expect(@instance).to be_instance_of(VSphereAutomation::Content::LibraryItemStorageApi)
28
- end
29
- end
30
-
31
- # unit tests for get
32
- # Retrieves the storage information for a specific file in a library item.
33
- # @param library_item_id Identifier of the library item whose storage information should be retrieved.
34
- # @param request_body
35
- # @param [Hash] opts the optional parameters
36
- # @return [ContentLibraryItemStorageResult]
37
- describe 'get test' do
38
- it 'should work' do
39
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
40
- end
41
- end
42
-
43
- # unit tests for list
44
- # Lists all storage items for a given library item.
45
- # @param library_item_id Identifier of the library item whose storage information should be listed.
46
- # @param [Hash] opts the optional parameters
47
- # @return [ContentLibraryItemStorageListResult]
48
- describe 'list test' do
49
- it 'should work' do
50
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
51
- end
52
- end
53
-
54
- end
@@ -1,133 +0,0 @@
1
- # Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
2
- # SPDX-License-Identifier: MIT
3
-
4
- # DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
5
-
6
- # content - VMware vSphere® Content Library empowers vSphere Admins to effectively manage VM templates, vApps, ISO images and scripts with ease.
7
-
8
-
9
- require 'spec_helper'
10
- require 'json'
11
-
12
- # Unit tests for VSphereAutomation::Content::LibraryItemUpdateSessionApi
13
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
14
- # Please update as you see appropriate
15
- describe 'LibraryItemUpdateSessionApi' do
16
- before do
17
- # run before each test
18
- @instance = VSphereAutomation::Content::LibraryItemUpdateSessionApi.new
19
- end
20
-
21
- after do
22
- # run after each test
23
- end
24
-
25
- describe 'test an instance of LibraryItemUpdateSessionApi' do
26
- it 'should create an instance of LibraryItemUpdateSessionApi' do
27
- expect(@instance).to be_instance_of(VSphereAutomation::Content::LibraryItemUpdateSessionApi)
28
- end
29
- end
30
-
31
- # unit tests for cancel
32
- # Cancels the update session and sets its state to {@link UpdateSessionModel.State#CANCELED}. This {@term operation} will free up any temporary resources currently associated with the session. <p> This {@term operation} is not allowed if the session has been already completed. <p> Cancelling an update session will cancel any in progress transfers (either uploaded by the client or pulled by the server). Any content that has been already received will be scheduled for deletion.
33
- # @param update_session_id Identifier of the update session that should be canceled.
34
- # @param [Hash] opts the optional parameters
35
- # @return [nil]
36
- describe 'cancel test' do
37
- it 'should work' do
38
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
39
- end
40
- end
41
-
42
- # unit tests for complete
43
- # Completes the update session. This indicates that the client has finished making all the changes required to the underlying library item. If the client is pushing the content to the server, the library item will be updated once this call returns. If the server is pulling the content, the call may return before the changes become visible. In that case, the client can track the session to know when the server is done. <p> This {@term operation} requires the session to be in the {@link UpdateSessionModel.State#ACTIVE} state. <p> Depending on the type of the library item associated with this session, a type adapter may be invoked to verify the validity of the files uploaded. The user can explicitly validate the session before completing the session by using the {@link content.library.item.updatesession.File#validate} {@term operation}. <p> Modifications are not visible to other clients unless the session is completed and all necessary files have been received.
44
- # @param update_session_id Identifier of the update session that should be completed.
45
- # @param [Hash] opts the optional parameters
46
- # @return [nil]
47
- describe 'complete test' do
48
- it 'should work' do
49
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
- end
51
- end
52
-
53
- # unit tests for create
54
- # Creates a new update session. An update session is used to make modifications to a library item. Modifications are not visible to other clients unless the session is completed and all necessary files have been received. <p> Content Library Service allows only one single update session to be active for a specific library item.
55
- # @param request_body
56
- # @param [Hash] opts the optional parameters
57
- # @return [ContentLibraryItemUpdateSessionCreateResult]
58
- describe 'create test' do
59
- it 'should work' do
60
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
61
- end
62
- end
63
-
64
- # unit tests for delete
65
- # Deletes an update session. This removes the session and all information associated with it. <p> Removing an update session leaves any current transfers for that session in an indeterminate state (there is no guarantee that the server will terminate the transfers, or that the transfers can be completed). However there will no longer be a means of inspecting the status of those uploads except by seeing the effect on the library item. <p> Update sessions for which there is no upload activity or which are complete will automatically be deleted after a period of time.
66
- # @param update_session_id Identifer of the update session to delete.
67
- # @param [Hash] opts the optional parameters
68
- # @return [nil]
69
- describe 'delete test' do
70
- it 'should work' do
71
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
72
- end
73
- end
74
-
75
- # unit tests for fail
76
- # Terminates the update session with a client specified error message. <p> This is useful in transmitting client side failures (for example, not being able to access a file) to the server side.
77
- # @param update_session_id Identifier of the update session to fail.
78
- # @param request_body
79
- # @param [Hash] opts the optional parameters
80
- # @return [nil]
81
- describe 'fail test' do
82
- it 'should work' do
83
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
84
- end
85
- end
86
-
87
- # unit tests for get
88
- # Gets the update session with the specified identifier, including the most up-to-date status information for the session.
89
- # @param update_session_id Identifier of the update session to retrieve.
90
- # @param [Hash] opts the optional parameters
91
- # @return [ContentLibraryItemUpdateSessionResult]
92
- describe 'get test' do
93
- it 'should work' do
94
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
95
- end
96
- end
97
-
98
- # unit tests for keep_alive
99
- # Keeps an update session alive. <p> If there is no activity for an update session after a period of time, the update session will expire, then be deleted. The update session expiration timeout is configurable in the Content Library Service system configuration. The default is five minutes. Invoking this {@term operation} enables a client to specifically extend the lifetime of the update session.
100
- # @param update_session_id Identifier of the update session whose lifetime should be extended.
101
- # @param [Hash] opts the optional parameters
102
- # @option opts [ContentLibraryItemUpdateSessionKeepAlive] :request_body
103
- # @return [nil]
104
- describe 'keep_alive test' do
105
- it 'should work' do
106
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
107
- end
108
- end
109
-
110
- # unit tests for list
111
- # Lists the identifiers of the update session created by the calling user. Optionally may filter by library item.
112
- # @param [Hash] opts the optional parameters
113
- # @option opts [String] :library_item_id Optional library item identifier on which to filter results.
114
- # @return [ContentLibraryItemUpdateSessionListResult]
115
- describe 'list test' do
116
- it 'should work' do
117
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
118
- end
119
- end
120
-
121
- # unit tests for update
122
- # Updates the properties of an update session. <p> This is an incremental update to the update session. Any {@term field} in the {@link UpdateSessionModel} {@term structure} that is {@term unset} will not be modified. <p> This {@term operation} will only update the property {@link UpdateSessionModel#warningBehavior} of the update session. This will not, for example, update the {@link UpdateSessionModel#libraryItemId} or {@link UpdateSessionModel#state} of an update session. <p> This {@term operation} requires the session to be in the {@link UpdateSessionModel.State#ACTIVE} state.
123
- # @param update_session_id Identifer of the update session that should be updated.
124
- # @param request_body
125
- # @param [Hash] opts the optional parameters
126
- # @return [nil]
127
- describe 'update test' do
128
- it 'should work' do
129
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
130
- end
131
- end
132
-
133
- end