pulp_deb_client 3.4.0 → 3.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (296) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +34 -9
  3. data/docs/AptRepositorySyncURL.md +12 -11
  4. data/docs/AsyncOperationResponse.md +8 -7
  5. data/docs/ContentGenericContentsApi.md +114 -64
  6. data/docs/ContentInstallerFileIndicesApi.md +111 -61
  7. data/docs/ContentInstallerPackagesApi.md +130 -80
  8. data/docs/ContentPackageIndicesApi.md +111 -61
  9. data/docs/ContentPackageReleaseComponentsApi.md +111 -61
  10. data/docs/ContentPackagesApi.md +144 -94
  11. data/docs/ContentReleaseArchitecturesApi.md +109 -59
  12. data/docs/ContentReleaseComponentsApi.md +110 -60
  13. data/docs/ContentReleaseFilesApi.md +111 -61
  14. data/docs/ContentReleasesApi.md +114 -64
  15. data/docs/ContentSourceIndicesApi.md +110 -60
  16. data/docs/ContentSourcePackagesApi.md +137 -87
  17. data/docs/ContentSourceReleaseComponentsApi.md +111 -61
  18. data/docs/ContentSummaryResponse.md +12 -11
  19. data/docs/Copy.md +12 -11
  20. data/docs/DebAptDistribution.md +20 -19
  21. data/docs/DebAptDistributionResponse.md +32 -31
  22. data/docs/DebAptPublication.md +18 -17
  23. data/docs/DebAptPublicationResponse.md +26 -25
  24. data/docs/DebAptRemote.md +64 -63
  25. data/docs/DebAptRemoteResponse.md +64 -63
  26. data/docs/DebAptRemoteResponseHiddenFieldsInner.md +20 -0
  27. data/docs/DebAptRepository.md +22 -21
  28. data/docs/DebAptRepositoryResponse.md +34 -33
  29. data/docs/DebCopyApi.md +30 -14
  30. data/docs/DebGenericContentResponse.md +30 -29
  31. data/docs/DebInstallerFileIndex.md +16 -15
  32. data/docs/DebInstallerFileIndexResponse.md +22 -21
  33. data/docs/DebInstallerPackageResponse.md +88 -87
  34. data/docs/DebPackageIndex.md +16 -15
  35. data/docs/DebPackageIndexResponse.md +22 -21
  36. data/docs/DebPackageReleaseComponent.md +12 -11
  37. data/docs/DebPackageReleaseComponentResponse.md +18 -17
  38. data/docs/DebPackageResponse.md +92 -91
  39. data/docs/DebRelease.md +26 -25
  40. data/docs/DebReleaseArchitecture.md +12 -11
  41. data/docs/DebReleaseArchitectureResponse.md +18 -17
  42. data/docs/DebReleaseComponent.md +12 -11
  43. data/docs/DebReleaseComponentResponse.md +20 -17
  44. data/docs/DebReleaseFile.md +18 -17
  45. data/docs/DebReleaseFileResponse.md +24 -23
  46. data/docs/DebReleaseResponse.md +32 -31
  47. data/docs/DebSourceIndex.md +16 -15
  48. data/docs/DebSourceIndexResponse.md +22 -21
  49. data/docs/DebSourcePackage.md +12 -11
  50. data/docs/DebSourcePackageReleaseComponent.md +12 -11
  51. data/docs/DebSourcePackageReleaseComponentResponse.md +18 -17
  52. data/docs/DebSourcePackageResponse.md +74 -71
  53. data/docs/DebVerbatimPublication.md +10 -9
  54. data/docs/DebVerbatimPublicationResponse.md +18 -17
  55. data/docs/DistributionsAptApi.md +564 -129
  56. data/docs/MyPermissionsResponse.md +18 -0
  57. data/docs/NestedRole.md +22 -0
  58. data/docs/NestedRoleResponse.md +22 -0
  59. data/docs/ObjectRolesResponse.md +18 -0
  60. data/docs/PaginatedRepositoryVersionResponseList.md +14 -13
  61. data/docs/PaginateddebAptDistributionResponseList.md +14 -13
  62. data/docs/PaginateddebAptPublicationResponseList.md +14 -13
  63. data/docs/PaginateddebAptRemoteResponseList.md +14 -13
  64. data/docs/PaginateddebAptRepositoryResponseList.md +14 -13
  65. data/docs/PaginateddebGenericContentResponseList.md +14 -13
  66. data/docs/PaginateddebInstallerFileIndexResponseList.md +14 -13
  67. data/docs/PaginateddebInstallerPackageResponseList.md +14 -13
  68. data/docs/PaginateddebPackageIndexResponseList.md +14 -13
  69. data/docs/PaginateddebPackageReleaseComponentResponseList.md +14 -13
  70. data/docs/PaginateddebPackageResponseList.md +14 -13
  71. data/docs/PaginateddebReleaseArchitectureResponseList.md +14 -13
  72. data/docs/PaginateddebReleaseComponentResponseList.md +14 -13
  73. data/docs/PaginateddebReleaseFileResponseList.md +14 -13
  74. data/docs/PaginateddebReleaseResponseList.md +14 -13
  75. data/docs/PaginateddebSourceIndexResponseList.md +14 -13
  76. data/docs/PaginateddebSourcePackageReleaseComponentResponseList.md +14 -13
  77. data/docs/PaginateddebSourcePackageResponseList.md +14 -13
  78. data/docs/PaginateddebVerbatimPublicationResponseList.md +14 -13
  79. data/docs/PatcheddebAptDistribution.md +20 -19
  80. data/docs/PatcheddebAptRemote.md +64 -63
  81. data/docs/PatcheddebAptRepository.md +22 -21
  82. data/docs/PolicyEnum.md +4 -5
  83. data/docs/PublicationsAptApi.md +446 -77
  84. data/docs/PublicationsVerbatimApi.md +446 -77
  85. data/docs/RemotesAptApi.md +568 -131
  86. data/docs/Repair.md +8 -7
  87. data/docs/RepositoriesAptApi.md +623 -154
  88. data/docs/RepositoriesAptVersionsApi.md +152 -82
  89. data/docs/RepositoryAddRemoveContent.md +12 -11
  90. data/docs/RepositoryVersionResponse.md +22 -21
  91. data/docs/SetLabel.md +10 -9
  92. data/docs/SetLabelResponse.md +10 -9
  93. data/docs/UnsetLabel.md +8 -7
  94. data/docs/UnsetLabelResponse.md +10 -9
  95. data/lib/pulp_deb_client/api/content_generic_contents_api.rb +20 -14
  96. data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +20 -14
  97. data/lib/pulp_deb_client/api/content_installer_packages_api.rb +20 -22
  98. data/lib/pulp_deb_client/api/content_package_indices_api.rb +20 -14
  99. data/lib/pulp_deb_client/api/content_package_release_components_api.rb +20 -14
  100. data/lib/pulp_deb_client/api/content_packages_api.rb +20 -22
  101. data/lib/pulp_deb_client/api/content_release_architectures_api.rb +20 -14
  102. data/lib/pulp_deb_client/api/content_release_components_api.rb +20 -14
  103. data/lib/pulp_deb_client/api/content_release_files_api.rb +20 -14
  104. data/lib/pulp_deb_client/api/content_releases_api.rb +20 -14
  105. data/lib/pulp_deb_client/api/content_source_indices_api.rb +20 -14
  106. data/lib/pulp_deb_client/api/content_source_packages_api.rb +20 -14
  107. data/lib/pulp_deb_client/api/content_source_release_components_api.rb +20 -14
  108. data/lib/pulp_deb_client/api/deb_copy_api.rb +10 -6
  109. data/lib/pulp_deb_client/api/distributions_apt_api.rb +347 -38
  110. data/lib/pulp_deb_client/api/publications_apt_api.rb +325 -29
  111. data/lib/pulp_deb_client/api/publications_verbatim_api.rb +325 -29
  112. data/lib/pulp_deb_client/api/remotes_apt_api.rb +362 -50
  113. data/lib/pulp_deb_client/api/repositories_apt_api.rb +365 -48
  114. data/lib/pulp_deb_client/api/repositories_apt_versions_api.rb +40 -30
  115. data/lib/pulp_deb_client/api_client.rb +137 -102
  116. data/lib/pulp_deb_client/api_error.rb +2 -1
  117. data/lib/pulp_deb_client/configuration.rb +162 -21
  118. data/lib/pulp_deb_client/models/apt_repository_sync_url.rb +30 -22
  119. data/lib/pulp_deb_client/models/async_operation_response.rb +32 -22
  120. data/lib/pulp_deb_client/models/content_summary_response.rb +36 -22
  121. data/lib/pulp_deb_client/models/copy.rb +34 -28
  122. data/lib/pulp_deb_client/models/deb_apt_distribution.rb +34 -22
  123. data/lib/pulp_deb_client/models/deb_apt_distribution_response.rb +36 -24
  124. data/lib/pulp_deb_client/models/deb_apt_publication.rb +30 -22
  125. data/lib/pulp_deb_client/models/deb_apt_publication_response.rb +32 -24
  126. data/lib/pulp_deb_client/models/deb_apt_remote.rb +78 -42
  127. data/lib/pulp_deb_client/models/deb_apt_remote_response.rb +81 -45
  128. data/lib/pulp_deb_client/models/{deb_apt_remote_response_hidden_fields.rb → deb_apt_remote_response_hidden_fields_inner.rb} +37 -25
  129. data/lib/pulp_deb_client/models/deb_apt_repository.rb +32 -22
  130. data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +34 -24
  131. data/lib/pulp_deb_client/models/deb_generic_content_response.rb +34 -24
  132. data/lib/pulp_deb_client/models/deb_installer_file_index.rb +41 -23
  133. data/lib/pulp_deb_client/models/deb_installer_file_index_response.rb +38 -24
  134. data/lib/pulp_deb_client/models/deb_installer_package_response.rb +32 -24
  135. data/lib/pulp_deb_client/models/deb_package_index.rb +47 -25
  136. data/lib/pulp_deb_client/models/deb_package_index_response.rb +34 -24
  137. data/lib/pulp_deb_client/models/deb_package_release_component.rb +34 -22
  138. data/lib/pulp_deb_client/models/deb_package_release_component_response.rb +36 -24
  139. data/lib/pulp_deb_client/models/deb_package_response.rb +32 -24
  140. data/lib/pulp_deb_client/models/deb_release.rb +36 -22
  141. data/lib/pulp_deb_client/models/deb_release_architecture.rb +34 -22
  142. data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +36 -24
  143. data/lib/pulp_deb_client/models/deb_release_component.rb +34 -22
  144. data/lib/pulp_deb_client/models/deb_release_component_response.rb +50 -28
  145. data/lib/pulp_deb_client/models/deb_release_file.rb +49 -25
  146. data/lib/pulp_deb_client/models/deb_release_file_response.rb +36 -24
  147. data/lib/pulp_deb_client/models/deb_release_response.rb +38 -24
  148. data/lib/pulp_deb_client/models/deb_source_index.rb +41 -23
  149. data/lib/pulp_deb_client/models/deb_source_index_response.rb +38 -24
  150. data/lib/pulp_deb_client/models/deb_source_package.rb +37 -23
  151. data/lib/pulp_deb_client/models/deb_source_package_release_component.rb +34 -22
  152. data/lib/pulp_deb_client/models/deb_source_package_release_component_response.rb +36 -24
  153. data/lib/pulp_deb_client/models/deb_source_package_response.rb +45 -25
  154. data/lib/pulp_deb_client/models/deb_verbatim_publication.rb +30 -22
  155. data/lib/pulp_deb_client/models/deb_verbatim_publication_response.rb +32 -24
  156. data/lib/pulp_deb_client/models/my_permissions_response.rb +223 -0
  157. data/lib/pulp_deb_client/models/{deb_installer_package.rb → nested_role.rb} +72 -97
  158. data/lib/pulp_deb_client/models/{deb_generic_content.rb → nested_role_response.rb} +62 -115
  159. data/lib/pulp_deb_client/models/object_roles_response.rb +223 -0
  160. data/lib/pulp_deb_client/models/paginated_repository_version_response_list.rb +34 -22
  161. data/lib/pulp_deb_client/models/paginateddeb_apt_distribution_response_list.rb +34 -22
  162. data/lib/pulp_deb_client/models/paginateddeb_apt_publication_response_list.rb +34 -22
  163. data/lib/pulp_deb_client/models/paginateddeb_apt_remote_response_list.rb +34 -22
  164. data/lib/pulp_deb_client/models/paginateddeb_apt_repository_response_list.rb +34 -22
  165. data/lib/pulp_deb_client/models/paginateddeb_generic_content_response_list.rb +34 -22
  166. data/lib/pulp_deb_client/models/paginateddeb_installer_file_index_response_list.rb +34 -22
  167. data/lib/pulp_deb_client/models/paginateddeb_installer_package_response_list.rb +34 -22
  168. data/lib/pulp_deb_client/models/paginateddeb_package_index_response_list.rb +34 -22
  169. data/lib/pulp_deb_client/models/paginateddeb_package_release_component_response_list.rb +34 -22
  170. data/lib/pulp_deb_client/models/paginateddeb_package_response_list.rb +34 -22
  171. data/lib/pulp_deb_client/models/paginateddeb_release_architecture_response_list.rb +34 -22
  172. data/lib/pulp_deb_client/models/paginateddeb_release_component_response_list.rb +34 -22
  173. data/lib/pulp_deb_client/models/paginateddeb_release_file_response_list.rb +34 -22
  174. data/lib/pulp_deb_client/models/paginateddeb_release_response_list.rb +34 -22
  175. data/lib/pulp_deb_client/models/paginateddeb_source_index_response_list.rb +34 -22
  176. data/lib/pulp_deb_client/models/paginateddeb_source_package_release_component_response_list.rb +34 -22
  177. data/lib/pulp_deb_client/models/paginateddeb_source_package_response_list.rb +34 -22
  178. data/lib/pulp_deb_client/models/paginateddeb_verbatim_publication_response_list.rb +34 -22
  179. data/lib/pulp_deb_client/models/patcheddeb_apt_distribution.rb +40 -24
  180. data/lib/pulp_deb_client/models/patcheddeb_apt_remote.rb +87 -45
  181. data/lib/pulp_deb_client/models/patcheddeb_apt_repository.rb +35 -23
  182. data/lib/pulp_deb_client/models/policy_enum.rb +8 -4
  183. data/lib/pulp_deb_client/models/repair.rb +30 -22
  184. data/lib/pulp_deb_client/models/repository_add_remove_content.rb +30 -22
  185. data/lib/pulp_deb_client/models/repository_version_response.rb +32 -24
  186. data/lib/pulp_deb_client/models/set_label.rb +34 -22
  187. data/lib/pulp_deb_client/models/set_label_response.rb +34 -22
  188. data/lib/pulp_deb_client/models/unset_label.rb +32 -22
  189. data/lib/pulp_deb_client/models/unset_label_response.rb +32 -22
  190. data/lib/pulp_deb_client/version.rb +2 -2
  191. data/lib/pulp_deb_client.rb +6 -5
  192. data/pulp_deb_client.gemspec +9 -6
  193. data/spec/api/content_generic_contents_api_spec.rb +4 -4
  194. data/spec/api/content_installer_file_indices_api_spec.rb +4 -4
  195. data/spec/api/content_installer_packages_api_spec.rb +4 -4
  196. data/spec/api/content_package_indices_api_spec.rb +4 -4
  197. data/spec/api/content_package_release_components_api_spec.rb +4 -4
  198. data/spec/api/content_packages_api_spec.rb +4 -4
  199. data/spec/api/content_release_architectures_api_spec.rb +4 -4
  200. data/spec/api/content_release_components_api_spec.rb +4 -4
  201. data/spec/api/content_release_files_api_spec.rb +4 -4
  202. data/spec/api/content_releases_api_spec.rb +4 -4
  203. data/spec/api/content_source_indices_api_spec.rb +4 -4
  204. data/spec/api/content_source_packages_api_spec.rb +4 -4
  205. data/spec/api/content_source_release_components_api_spec.rb +4 -4
  206. data/spec/api/deb_copy_api_spec.rb +2 -2
  207. data/spec/api/distributions_apt_api_spec.rb +63 -9
  208. data/spec/api/publications_apt_api_spec.rb +66 -11
  209. data/spec/api/publications_verbatim_api_spec.rb +66 -11
  210. data/spec/api/remotes_apt_api_spec.rb +70 -15
  211. data/spec/api/repositories_apt_api_spec.rb +65 -11
  212. data/spec/api/repositories_apt_versions_api_spec.rb +12 -11
  213. data/spec/models/apt_repository_sync_url_spec.rb +9 -14
  214. data/spec/models/async_operation_response_spec.rb +7 -12
  215. data/spec/models/content_summary_response_spec.rb +9 -14
  216. data/spec/models/copy_spec.rb +9 -14
  217. data/spec/models/deb_apt_distribution_response_spec.rb +19 -24
  218. data/spec/models/deb_apt_distribution_spec.rb +13 -18
  219. data/spec/models/deb_apt_publication_response_spec.rb +16 -21
  220. data/spec/models/deb_apt_publication_spec.rb +12 -17
  221. data/spec/models/{deb_apt_remote_response_hidden_fields_spec.rb → deb_apt_remote_response_hidden_fields_inner_spec.rb} +11 -16
  222. data/spec/models/deb_apt_remote_response_spec.rb +35 -40
  223. data/spec/models/deb_apt_remote_spec.rb +35 -40
  224. data/spec/models/deb_apt_repository_response_spec.rb +20 -25
  225. data/spec/models/deb_apt_repository_spec.rb +14 -19
  226. data/spec/models/deb_generic_content_response_spec.rb +18 -23
  227. data/spec/models/deb_installer_file_index_response_spec.rb +14 -19
  228. data/spec/models/deb_installer_file_index_spec.rb +11 -16
  229. data/spec/models/deb_installer_package_response_spec.rb +47 -52
  230. data/spec/models/deb_package_index_response_spec.rb +14 -19
  231. data/spec/models/deb_package_index_spec.rb +11 -16
  232. data/spec/models/deb_package_release_component_response_spec.rb +12 -17
  233. data/spec/models/deb_package_release_component_spec.rb +9 -14
  234. data/spec/models/deb_package_response_spec.rb +49 -54
  235. data/spec/models/deb_release_architecture_response_spec.rb +12 -17
  236. data/spec/models/deb_release_architecture_spec.rb +9 -14
  237. data/spec/models/deb_release_component_response_spec.rb +18 -17
  238. data/spec/models/deb_release_component_spec.rb +9 -14
  239. data/spec/models/deb_release_file_response_spec.rb +15 -20
  240. data/spec/models/deb_release_file_spec.rb +12 -17
  241. data/spec/models/deb_release_response_spec.rb +19 -24
  242. data/spec/models/deb_release_spec.rb +16 -21
  243. data/spec/models/deb_source_index_response_spec.rb +14 -19
  244. data/spec/models/deb_source_index_spec.rb +11 -16
  245. data/spec/models/deb_source_package_release_component_response_spec.rb +12 -17
  246. data/spec/models/deb_source_package_release_component_spec.rb +9 -14
  247. data/spec/models/deb_source_package_response_spec.rb +45 -44
  248. data/spec/models/deb_source_package_spec.rb +9 -14
  249. data/spec/models/deb_verbatim_publication_response_spec.rb +12 -17
  250. data/spec/models/deb_verbatim_publication_spec.rb +8 -13
  251. data/spec/models/my_permissions_response_spec.rb +36 -0
  252. data/spec/models/nested_role_response_spec.rb +48 -0
  253. data/spec/models/nested_role_spec.rb +48 -0
  254. data/spec/models/object_roles_response_spec.rb +36 -0
  255. data/spec/models/paginated_repository_version_response_list_spec.rb +10 -15
  256. data/spec/models/paginateddeb_apt_distribution_response_list_spec.rb +10 -15
  257. data/spec/models/paginateddeb_apt_publication_response_list_spec.rb +10 -15
  258. data/spec/models/paginateddeb_apt_remote_response_list_spec.rb +10 -15
  259. data/spec/models/paginateddeb_apt_repository_response_list_spec.rb +10 -15
  260. data/spec/models/paginateddeb_generic_content_response_list_spec.rb +10 -15
  261. data/spec/models/paginateddeb_installer_file_index_response_list_spec.rb +10 -15
  262. data/spec/models/paginateddeb_installer_package_response_list_spec.rb +10 -15
  263. data/spec/models/paginateddeb_package_index_response_list_spec.rb +10 -15
  264. data/spec/models/paginateddeb_package_release_component_response_list_spec.rb +10 -15
  265. data/spec/models/paginateddeb_package_response_list_spec.rb +10 -15
  266. data/spec/models/paginateddeb_release_architecture_response_list_spec.rb +10 -15
  267. data/spec/models/paginateddeb_release_component_response_list_spec.rb +10 -15
  268. data/spec/models/paginateddeb_release_file_response_list_spec.rb +10 -15
  269. data/spec/models/paginateddeb_release_response_list_spec.rb +10 -15
  270. data/spec/models/paginateddeb_source_index_response_list_spec.rb +10 -15
  271. data/spec/models/paginateddeb_source_package_release_component_response_list_spec.rb +10 -15
  272. data/spec/models/paginateddeb_source_package_response_list_spec.rb +10 -15
  273. data/spec/models/paginateddeb_verbatim_publication_response_list_spec.rb +10 -15
  274. data/spec/models/patcheddeb_apt_distribution_spec.rb +13 -18
  275. data/spec/models/patcheddeb_apt_remote_spec.rb +35 -40
  276. data/spec/models/patcheddeb_apt_repository_spec.rb +14 -19
  277. data/spec/models/policy_enum_spec.rb +6 -11
  278. data/spec/models/repair_spec.rb +7 -12
  279. data/spec/models/repository_add_remove_content_spec.rb +9 -14
  280. data/spec/models/repository_version_response_spec.rb +14 -19
  281. data/spec/models/set_label_response_spec.rb +8 -13
  282. data/spec/models/set_label_spec.rb +8 -13
  283. data/spec/models/unset_label_response_spec.rb +8 -13
  284. data/spec/models/unset_label_spec.rb +7 -12
  285. data/spec/spec_helper.rb +1 -1
  286. metadata +136 -108
  287. data/docs/DebAptRemoteResponseHiddenFields.md +0 -19
  288. data/docs/DebGenericContent.md +0 -27
  289. data/docs/DebInstallerPackage.md +0 -27
  290. data/docs/DebPackage.md +0 -31
  291. data/lib/pulp_deb_client/models/deb_package.rb +0 -338
  292. data/spec/api_client_spec.rb +0 -188
  293. data/spec/configuration_spec.rb +0 -42
  294. data/spec/models/deb_generic_content_spec.rb +0 -71
  295. data/spec/models/deb_installer_package_spec.rb +0 -71
  296. data/spec/models/deb_package_spec.rb +0 -83
@@ -2,31 +2,106 @@
2
2
 
3
3
  All URIs are relative to *http://localhost:24817*
4
4
 
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**create**](RemotesAptApi.md#create) | **POST** /pulp/api/v3/remotes/deb/apt/ | Create an apt remote
8
- [**delete**](RemotesAptApi.md#delete) | **DELETE** {deb_apt_remote_href} | Delete an apt remote
9
- [**list**](RemotesAptApi.md#list) | **GET** /pulp/api/v3/remotes/deb/apt/ | List apt remotes
10
- [**partial_update**](RemotesAptApi.md#partial_update) | **PATCH** {deb_apt_remote_href} | Update an apt remote
11
- [**read**](RemotesAptApi.md#read) | **GET** {deb_apt_remote_href} | Inspect an apt remote
12
- [**set_label**](RemotesAptApi.md#set_label) | **POST** {deb_apt_remote_href}set_label/ | Set a label
13
- [**unset_label**](RemotesAptApi.md#unset_label) | **POST** {deb_apt_remote_href}unset_label/ | Unset a label
14
- [**update**](RemotesAptApi.md#update) | **PUT** {deb_apt_remote_href} | Update an apt remote
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**add_role**](RemotesAptApi.md#add_role) | **POST** {deb_apt_remote_href}add_role/ | Add a role |
8
+ | [**create**](RemotesAptApi.md#create) | **POST** /pulp/api/v3/remotes/deb/apt/ | Create an apt remote |
9
+ | [**delete**](RemotesAptApi.md#delete) | **DELETE** {deb_apt_remote_href} | Delete an apt remote |
10
+ | [**list**](RemotesAptApi.md#list) | **GET** /pulp/api/v3/remotes/deb/apt/ | List apt remotes |
11
+ | [**list_roles**](RemotesAptApi.md#list_roles) | **GET** {deb_apt_remote_href}list_roles/ | List roles |
12
+ | [**my_permissions**](RemotesAptApi.md#my_permissions) | **GET** {deb_apt_remote_href}my_permissions/ | List user permissions |
13
+ | [**partial_update**](RemotesAptApi.md#partial_update) | **PATCH** {deb_apt_remote_href} | Update an apt remote |
14
+ | [**read**](RemotesAptApi.md#read) | **GET** {deb_apt_remote_href} | Inspect an apt remote |
15
+ | [**remove_role**](RemotesAptApi.md#remove_role) | **POST** {deb_apt_remote_href}remove_role/ | Remove a role |
16
+ | [**set_label**](RemotesAptApi.md#set_label) | **POST** {deb_apt_remote_href}set_label/ | Set a label |
17
+ | [**unset_label**](RemotesAptApi.md#unset_label) | **POST** {deb_apt_remote_href}unset_label/ | Unset a label |
18
+ | [**update**](RemotesAptApi.md#update) | **PUT** {deb_apt_remote_href} | Update an apt remote |
15
19
 
16
20
 
21
+ ## add_role
22
+
23
+ > <NestedRoleResponse> add_role(deb_apt_remote_href, nested_role)
24
+
25
+ Add a role
26
+
27
+ Add a role for this object to users/groups.
28
+
29
+ ### Examples
30
+
31
+ ```ruby
32
+ require 'time'
33
+ require 'pulp_deb_client'
34
+ # setup authorization
35
+ PulpDebClient.configure do |config|
36
+ # Configure HTTP basic authorization: basicAuth
37
+ config.username = 'YOUR USERNAME'
38
+ config.password = 'YOUR PASSWORD'
39
+ end
40
+
41
+ api_instance = PulpDebClient::RemotesAptApi.new
42
+ deb_apt_remote_href = 'deb_apt_remote_href_example' # String |
43
+ nested_role = PulpDebClient::NestedRole.new({role: 'role_example'}) # NestedRole |
44
+
45
+ begin
46
+ # Add a role
47
+ result = api_instance.add_role(deb_apt_remote_href, nested_role)
48
+ p result
49
+ rescue PulpDebClient::ApiError => e
50
+ puts "Error when calling RemotesAptApi->add_role: #{e}"
51
+ end
52
+ ```
53
+
54
+ #### Using the add_role_with_http_info variant
55
+
56
+ This returns an Array which contains the response data, status code and headers.
57
+
58
+ > <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(deb_apt_remote_href, nested_role)
59
+
60
+ ```ruby
61
+ begin
62
+ # Add a role
63
+ data, status_code, headers = api_instance.add_role_with_http_info(deb_apt_remote_href, nested_role)
64
+ p status_code # => 2xx
65
+ p headers # => { ... }
66
+ p data # => <NestedRoleResponse>
67
+ rescue PulpDebClient::ApiError => e
68
+ puts "Error when calling RemotesAptApi->add_role_with_http_info: #{e}"
69
+ end
70
+ ```
71
+
72
+ ### Parameters
73
+
74
+ | Name | Type | Description | Notes |
75
+ | ---- | ---- | ----------- | ----- |
76
+ | **deb_apt_remote_href** | **String** | | |
77
+ | **nested_role** | [**NestedRole**](NestedRole.md) | | |
78
+
79
+ ### Return type
80
+
81
+ [**NestedRoleResponse**](NestedRoleResponse.md)
82
+
83
+ ### Authorization
84
+
85
+ [basicAuth](../README.md#basicAuth)
86
+
87
+ ### HTTP request headers
88
+
89
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
90
+ - **Accept**: application/json
91
+
17
92
 
18
93
  ## create
19
94
 
20
- > DebAptRemoteResponse create(deb_apt_remote)
95
+ > <DebAptRemoteResponse> create(deb_apt_remote)
21
96
 
22
97
  Create an apt remote
23
98
 
24
99
  An AptRemote represents an external APT repository content source. It contains the location of the upstream APT repository, as well as the user options that are applied when using the remote to synchronize the upstream repository to Pulp.
25
100
 
26
- ### Example
101
+ ### Examples
27
102
 
28
103
  ```ruby
29
- # load the gem
104
+ require 'time'
30
105
  require 'pulp_deb_client'
31
106
  # setup authorization
32
107
  PulpDebClient.configure do |config|
@@ -36,23 +111,40 @@ PulpDebClient.configure do |config|
36
111
  end
37
112
 
38
113
  api_instance = PulpDebClient::RemotesAptApi.new
39
- deb_apt_remote = PulpDebClient::DebAptRemote.new # DebAptRemote |
114
+ deb_apt_remote = PulpDebClient::DebAptRemote.new({name: 'name_example', url: 'url_example', distributions: 'distributions_example'}) # DebAptRemote |
40
115
 
41
116
  begin
42
- #Create an apt remote
117
+ # Create an apt remote
43
118
  result = api_instance.create(deb_apt_remote)
44
119
  p result
45
120
  rescue PulpDebClient::ApiError => e
46
- puts "Exception when calling RemotesAptApi->create: #{e}"
121
+ puts "Error when calling RemotesAptApi->create: #{e}"
47
122
  end
48
123
  ```
49
124
 
50
- ### Parameters
125
+ #### Using the create_with_http_info variant
126
+
127
+ This returns an Array which contains the response data, status code and headers.
128
+
129
+ > <Array(<DebAptRemoteResponse>, Integer, Hash)> create_with_http_info(deb_apt_remote)
130
+
131
+ ```ruby
132
+ begin
133
+ # Create an apt remote
134
+ data, status_code, headers = api_instance.create_with_http_info(deb_apt_remote)
135
+ p status_code # => 2xx
136
+ p headers # => { ... }
137
+ p data # => <DebAptRemoteResponse>
138
+ rescue PulpDebClient::ApiError => e
139
+ puts "Error when calling RemotesAptApi->create_with_http_info: #{e}"
140
+ end
141
+ ```
51
142
 
143
+ ### Parameters
52
144
 
53
- Name | Type | Description | Notes
54
- ------------- | ------------- | ------------- | -------------
55
- **deb_apt_remote** | [**DebAptRemote**](DebAptRemote.md)| |
145
+ | Name | Type | Description | Notes |
146
+ | ---- | ---- | ----------- | ----- |
147
+ | **deb_apt_remote** | [**DebAptRemote**](DebAptRemote.md) | | |
56
148
 
57
149
  ### Return type
58
150
 
@@ -70,16 +162,16 @@ Name | Type | Description | Notes
70
162
 
71
163
  ## delete
72
164
 
73
- > AsyncOperationResponse delete(deb_apt_remote_href)
165
+ > <AsyncOperationResponse> delete(deb_apt_remote_href)
74
166
 
75
167
  Delete an apt remote
76
168
 
77
169
  Trigger an asynchronous delete task
78
170
 
79
- ### Example
171
+ ### Examples
80
172
 
81
173
  ```ruby
82
- # load the gem
174
+ require 'time'
83
175
  require 'pulp_deb_client'
84
176
  # setup authorization
85
177
  PulpDebClient.configure do |config|
@@ -92,20 +184,37 @@ api_instance = PulpDebClient::RemotesAptApi.new
92
184
  deb_apt_remote_href = 'deb_apt_remote_href_example' # String |
93
185
 
94
186
  begin
95
- #Delete an apt remote
187
+ # Delete an apt remote
96
188
  result = api_instance.delete(deb_apt_remote_href)
97
189
  p result
98
190
  rescue PulpDebClient::ApiError => e
99
- puts "Exception when calling RemotesAptApi->delete: #{e}"
191
+ puts "Error when calling RemotesAptApi->delete: #{e}"
100
192
  end
101
193
  ```
102
194
 
103
- ### Parameters
195
+ #### Using the delete_with_http_info variant
104
196
 
197
+ This returns an Array which contains the response data, status code and headers.
105
198
 
106
- Name | Type | Description | Notes
107
- ------------- | ------------- | ------------- | -------------
108
- **deb_apt_remote_href** | **String**| |
199
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(deb_apt_remote_href)
200
+
201
+ ```ruby
202
+ begin
203
+ # Delete an apt remote
204
+ data, status_code, headers = api_instance.delete_with_http_info(deb_apt_remote_href)
205
+ p status_code # => 2xx
206
+ p headers # => { ... }
207
+ p data # => <AsyncOperationResponse>
208
+ rescue PulpDebClient::ApiError => e
209
+ puts "Error when calling RemotesAptApi->delete_with_http_info: #{e}"
210
+ end
211
+ ```
212
+
213
+ ### Parameters
214
+
215
+ | Name | Type | Description | Notes |
216
+ | ---- | ---- | ----------- | ----- |
217
+ | **deb_apt_remote_href** | **String** | | |
109
218
 
110
219
  ### Return type
111
220
 
@@ -123,16 +232,16 @@ Name | Type | Description | Notes
123
232
 
124
233
  ## list
125
234
 
126
- > PaginateddebAptRemoteResponseList list(opts)
235
+ > <PaginateddebAptRemoteResponseList> list(opts)
127
236
 
128
237
  List apt remotes
129
238
 
130
239
  An AptRemote represents an external APT repository content source. It contains the location of the upstream APT repository, as well as the user options that are applied when using the remote to synchronize the upstream repository to Pulp.
131
240
 
132
- ### Example
241
+ ### Examples
133
242
 
134
243
  ```ruby
135
- # load the gem
244
+ require 'time'
136
245
  require 'pulp_deb_client'
137
246
  # setup authorization
138
247
  PulpDebClient.configure do |config|
@@ -148,67 +257,86 @@ opts = {
148
257
  name__contains: 'name__contains_example', # String | Filter results where name contains value
149
258
  name__icontains: 'name__icontains_example', # String | Filter results where name contains value
150
259
  name__iexact: 'name__iexact_example', # String | Filter results where name matches value
151
- name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
260
+ name__in: ['inner_example'], # Array<String> | Filter results where name is in a comma-separated list of values
152
261
  name__iregex: 'name__iregex_example', # String | Filter results where name matches regex value
153
262
  name__istartswith: 'name__istartswith_example', # String | Filter results where name starts with value
154
263
  name__regex: 'name__regex_example', # String | Filter results where name matches regex value
155
264
  name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
156
265
  offset: 56, # Integer | The initial index from which to return the results.
157
- ordering: ['ordering_example'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending)
158
- prn__in: ['prn__in_example'], # Array<String> | Multiple values may be separated by commas.
159
- pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
160
- pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
266
+ ordering: ['-ca_cert'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending)
267
+ prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
268
+ pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
269
+ pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
161
270
  pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
162
- pulp_last_updated: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated matches value
163
- pulp_last_updated__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is greater than value
164
- pulp_last_updated__gte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is greater than or equal to value
165
- pulp_last_updated__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is less than value
166
- pulp_last_updated__lte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is less than or equal to value
167
- pulp_last_updated__range: [DateTime.parse('2013-10-20T19:20:30+01:00')], # Array<DateTime> | Filter results where pulp_last_updated is between two comma separated values
271
+ pulp_last_updated: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_last_updated matches value
272
+ pulp_last_updated__gt: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_last_updated is greater than value
273
+ pulp_last_updated__gte: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_last_updated is greater than or equal to value
274
+ pulp_last_updated__isnull: true, # Boolean | Filter results where pulp_last_updated has a null value
275
+ pulp_last_updated__lt: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_last_updated is less than value
276
+ pulp_last_updated__lte: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_last_updated is less than or equal to value
277
+ pulp_last_updated__range: [Time.now], # Array<Time> | Filter results where pulp_last_updated is between two comma separated values
168
278
  q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
169
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
170
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
279
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
280
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
171
281
  }
172
282
 
173
283
  begin
174
- #List apt remotes
284
+ # List apt remotes
175
285
  result = api_instance.list(opts)
176
286
  p result
177
287
  rescue PulpDebClient::ApiError => e
178
- puts "Exception when calling RemotesAptApi->list: #{e}"
288
+ puts "Error when calling RemotesAptApi->list: #{e}"
179
289
  end
180
290
  ```
181
291
 
182
- ### Parameters
292
+ #### Using the list_with_http_info variant
293
+
294
+ This returns an Array which contains the response data, status code and headers.
183
295
 
296
+ > <Array(<PaginateddebAptRemoteResponseList>, Integer, Hash)> list_with_http_info(opts)
184
297
 
185
- Name | Type | Description | Notes
186
- ------------- | ------------- | ------------- | -------------
187
- **limit** | **Integer**| Number of results to return per page. | [optional]
188
- **name** | **String**| Filter results where name matches value | [optional]
189
- **name__contains** | **String**| Filter results where name contains value | [optional]
190
- **name__icontains** | **String**| Filter results where name contains value | [optional]
191
- **name__iexact** | **String**| Filter results where name matches value | [optional]
192
- **name__in** | [**Array&lt;String&gt;**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
193
- **name__iregex** | **String**| Filter results where name matches regex value | [optional]
194
- **name__istartswith** | **String**| Filter results where name starts with value | [optional]
195
- **name__regex** | **String**| Filter results where name matches regex value | [optional]
196
- **name__startswith** | **String**| Filter results where name starts with value | [optional]
197
- **offset** | **Integer**| The initial index from which to return the results. | [optional]
198
- **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;url&#x60; - Url * &#x60;-url&#x60; - Url (descending) * &#x60;ca_cert&#x60; - Ca cert * &#x60;-ca_cert&#x60; - Ca cert (descending) * &#x60;client_cert&#x60; - Client cert * &#x60;-client_cert&#x60; - Client cert (descending) * &#x60;client_key&#x60; - Client key * &#x60;-client_key&#x60; - Client key (descending) * &#x60;tls_validation&#x60; - Tls validation * &#x60;-tls_validation&#x60; - Tls validation (descending) * &#x60;username&#x60; - Username * &#x60;-username&#x60; - Username (descending) * &#x60;password&#x60; - Password * &#x60;-password&#x60; - Password (descending) * &#x60;proxy_url&#x60; - Proxy url * &#x60;-proxy_url&#x60; - Proxy url (descending) * &#x60;proxy_username&#x60; - Proxy username * &#x60;-proxy_username&#x60; - Proxy username (descending) * &#x60;proxy_password&#x60; - Proxy password * &#x60;-proxy_password&#x60; - Proxy password (descending) * &#x60;download_concurrency&#x60; - Download concurrency * &#x60;-download_concurrency&#x60; - Download concurrency (descending) * &#x60;max_retries&#x60; - Max retries * &#x60;-max_retries&#x60; - Max retries (descending) * &#x60;policy&#x60; - Policy * &#x60;-policy&#x60; - Policy (descending) * &#x60;total_timeout&#x60; - Total timeout * &#x60;-total_timeout&#x60; - Total timeout (descending) * &#x60;connect_timeout&#x60; - Connect timeout * &#x60;-connect_timeout&#x60; - Connect timeout (descending) * &#x60;sock_connect_timeout&#x60; - Sock connect timeout * &#x60;-sock_connect_timeout&#x60; - Sock connect timeout (descending) * &#x60;sock_read_timeout&#x60; - Sock read timeout * &#x60;-sock_read_timeout&#x60; - Sock read timeout (descending) * &#x60;headers&#x60; - Headers * &#x60;-headers&#x60; - Headers (descending) * &#x60;rate_limit&#x60; - Rate limit * &#x60;-rate_limit&#x60; - Rate limit (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional]
199
- **prn__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
200
- **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
201
- **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
202
- **pulp_label_select** | **String**| Filter labels by search string | [optional]
203
- **pulp_last_updated** | **DateTime**| Filter results where pulp_last_updated matches value | [optional]
204
- **pulp_last_updated__gt** | **DateTime**| Filter results where pulp_last_updated is greater than value | [optional]
205
- **pulp_last_updated__gte** | **DateTime**| Filter results where pulp_last_updated is greater than or equal to value | [optional]
206
- **pulp_last_updated__lt** | **DateTime**| Filter results where pulp_last_updated is less than value | [optional]
207
- **pulp_last_updated__lte** | **DateTime**| Filter results where pulp_last_updated is less than or equal to value | [optional]
208
- **pulp_last_updated__range** | [**Array&lt;DateTime&gt;**](DateTime.md)| Filter results where pulp_last_updated is between two comma separated values | [optional]
209
- **q** | **String**| Filter results by using NOT, AND and OR operations on other filters | [optional]
210
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
211
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
298
+ ```ruby
299
+ begin
300
+ # List apt remotes
301
+ data, status_code, headers = api_instance.list_with_http_info(opts)
302
+ p status_code # => 2xx
303
+ p headers # => { ... }
304
+ p data # => <PaginateddebAptRemoteResponseList>
305
+ rescue PulpDebClient::ApiError => e
306
+ puts "Error when calling RemotesAptApi->list_with_http_info: #{e}"
307
+ end
308
+ ```
309
+
310
+ ### Parameters
311
+
312
+ | Name | Type | Description | Notes |
313
+ | ---- | ---- | ----------- | ----- |
314
+ | **limit** | **Integer** | Number of results to return per page. | [optional] |
315
+ | **name** | **String** | Filter results where name matches value | [optional] |
316
+ | **name__contains** | **String** | Filter results where name contains value | [optional] |
317
+ | **name__icontains** | **String** | Filter results where name contains value | [optional] |
318
+ | **name__iexact** | **String** | Filter results where name matches value | [optional] |
319
+ | **name__in** | [**Array&lt;String&gt;**](String.md) | Filter results where name is in a comma-separated list of values | [optional] |
320
+ | **name__iregex** | **String** | Filter results where name matches regex value | [optional] |
321
+ | **name__istartswith** | **String** | Filter results where name starts with value | [optional] |
322
+ | **name__regex** | **String** | Filter results where name matches regex value | [optional] |
323
+ | **name__startswith** | **String** | Filter results where name starts with value | [optional] |
324
+ | **offset** | **Integer** | The initial index from which to return the results. | [optional] |
325
+ | **ordering** | [**Array&lt;String&gt;**](String.md) | Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;url&#x60; - Url * &#x60;-url&#x60; - Url (descending) * &#x60;ca_cert&#x60; - Ca cert * &#x60;-ca_cert&#x60; - Ca cert (descending) * &#x60;client_cert&#x60; - Client cert * &#x60;-client_cert&#x60; - Client cert (descending) * &#x60;client_key&#x60; - Client key * &#x60;-client_key&#x60; - Client key (descending) * &#x60;tls_validation&#x60; - Tls validation * &#x60;-tls_validation&#x60; - Tls validation (descending) * &#x60;username&#x60; - Username * &#x60;-username&#x60; - Username (descending) * &#x60;password&#x60; - Password * &#x60;-password&#x60; - Password (descending) * &#x60;proxy_url&#x60; - Proxy url * &#x60;-proxy_url&#x60; - Proxy url (descending) * &#x60;proxy_username&#x60; - Proxy username * &#x60;-proxy_username&#x60; - Proxy username (descending) * &#x60;proxy_password&#x60; - Proxy password * &#x60;-proxy_password&#x60; - Proxy password (descending) * &#x60;download_concurrency&#x60; - Download concurrency * &#x60;-download_concurrency&#x60; - Download concurrency (descending) * &#x60;max_retries&#x60; - Max retries * &#x60;-max_retries&#x60; - Max retries (descending) * &#x60;policy&#x60; - Policy * &#x60;-policy&#x60; - Policy (descending) * &#x60;total_timeout&#x60; - Total timeout * &#x60;-total_timeout&#x60; - Total timeout (descending) * &#x60;connect_timeout&#x60; - Connect timeout * &#x60;-connect_timeout&#x60; - Connect timeout (descending) * &#x60;sock_connect_timeout&#x60; - Sock connect timeout * &#x60;-sock_connect_timeout&#x60; - Sock connect timeout (descending) * &#x60;sock_read_timeout&#x60; - Sock read timeout * &#x60;-sock_read_timeout&#x60; - Sock read timeout (descending) * &#x60;headers&#x60; - Headers * &#x60;-headers&#x60; - Headers (descending) * &#x60;rate_limit&#x60; - Rate limit * &#x60;-rate_limit&#x60; - Rate limit (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
326
+ | **prn__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
327
+ | **pulp_href__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
328
+ | **pulp_id__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
329
+ | **pulp_label_select** | **String** | Filter labels by search string | [optional] |
330
+ | **pulp_last_updated** | **Time** | Filter results where pulp_last_updated matches value | [optional] |
331
+ | **pulp_last_updated__gt** | **Time** | Filter results where pulp_last_updated is greater than value | [optional] |
332
+ | **pulp_last_updated__gte** | **Time** | Filter results where pulp_last_updated is greater than or equal to value | [optional] |
333
+ | **pulp_last_updated__isnull** | **Boolean** | Filter results where pulp_last_updated has a null value | [optional] |
334
+ | **pulp_last_updated__lt** | **Time** | Filter results where pulp_last_updated is less than value | [optional] |
335
+ | **pulp_last_updated__lte** | **Time** | Filter results where pulp_last_updated is less than or equal to value | [optional] |
336
+ | **pulp_last_updated__range** | [**Array&lt;Time&gt;**](Time.md) | Filter results where pulp_last_updated is between two comma separated values | [optional] |
337
+ | **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
338
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
339
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
212
340
 
213
341
  ### Return type
214
342
 
@@ -224,18 +352,170 @@ Name | Type | Description | Notes
224
352
  - **Accept**: application/json
225
353
 
226
354
 
355
+ ## list_roles
356
+
357
+ > <ObjectRolesResponse> list_roles(deb_apt_remote_href, opts)
358
+
359
+ List roles
360
+
361
+ List roles assigned to this object.
362
+
363
+ ### Examples
364
+
365
+ ```ruby
366
+ require 'time'
367
+ require 'pulp_deb_client'
368
+ # setup authorization
369
+ PulpDebClient.configure do |config|
370
+ # Configure HTTP basic authorization: basicAuth
371
+ config.username = 'YOUR USERNAME'
372
+ config.password = 'YOUR PASSWORD'
373
+ end
374
+
375
+ api_instance = PulpDebClient::RemotesAptApi.new
376
+ deb_apt_remote_href = 'deb_apt_remote_href_example' # String |
377
+ opts = {
378
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
379
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
380
+ }
381
+
382
+ begin
383
+ # List roles
384
+ result = api_instance.list_roles(deb_apt_remote_href, opts)
385
+ p result
386
+ rescue PulpDebClient::ApiError => e
387
+ puts "Error when calling RemotesAptApi->list_roles: #{e}"
388
+ end
389
+ ```
390
+
391
+ #### Using the list_roles_with_http_info variant
392
+
393
+ This returns an Array which contains the response data, status code and headers.
394
+
395
+ > <Array(<ObjectRolesResponse>, Integer, Hash)> list_roles_with_http_info(deb_apt_remote_href, opts)
396
+
397
+ ```ruby
398
+ begin
399
+ # List roles
400
+ data, status_code, headers = api_instance.list_roles_with_http_info(deb_apt_remote_href, opts)
401
+ p status_code # => 2xx
402
+ p headers # => { ... }
403
+ p data # => <ObjectRolesResponse>
404
+ rescue PulpDebClient::ApiError => e
405
+ puts "Error when calling RemotesAptApi->list_roles_with_http_info: #{e}"
406
+ end
407
+ ```
408
+
409
+ ### Parameters
410
+
411
+ | Name | Type | Description | Notes |
412
+ | ---- | ---- | ----------- | ----- |
413
+ | **deb_apt_remote_href** | **String** | | |
414
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
415
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
416
+
417
+ ### Return type
418
+
419
+ [**ObjectRolesResponse**](ObjectRolesResponse.md)
420
+
421
+ ### Authorization
422
+
423
+ [basicAuth](../README.md#basicAuth)
424
+
425
+ ### HTTP request headers
426
+
427
+ - **Content-Type**: Not defined
428
+ - **Accept**: application/json
429
+
430
+
431
+ ## my_permissions
432
+
433
+ > <MyPermissionsResponse> my_permissions(deb_apt_remote_href, opts)
434
+
435
+ List user permissions
436
+
437
+ List permissions available to the current user on this object.
438
+
439
+ ### Examples
440
+
441
+ ```ruby
442
+ require 'time'
443
+ require 'pulp_deb_client'
444
+ # setup authorization
445
+ PulpDebClient.configure do |config|
446
+ # Configure HTTP basic authorization: basicAuth
447
+ config.username = 'YOUR USERNAME'
448
+ config.password = 'YOUR PASSWORD'
449
+ end
450
+
451
+ api_instance = PulpDebClient::RemotesAptApi.new
452
+ deb_apt_remote_href = 'deb_apt_remote_href_example' # String |
453
+ opts = {
454
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
455
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
456
+ }
457
+
458
+ begin
459
+ # List user permissions
460
+ result = api_instance.my_permissions(deb_apt_remote_href, opts)
461
+ p result
462
+ rescue PulpDebClient::ApiError => e
463
+ puts "Error when calling RemotesAptApi->my_permissions: #{e}"
464
+ end
465
+ ```
466
+
467
+ #### Using the my_permissions_with_http_info variant
468
+
469
+ This returns an Array which contains the response data, status code and headers.
470
+
471
+ > <Array(<MyPermissionsResponse>, Integer, Hash)> my_permissions_with_http_info(deb_apt_remote_href, opts)
472
+
473
+ ```ruby
474
+ begin
475
+ # List user permissions
476
+ data, status_code, headers = api_instance.my_permissions_with_http_info(deb_apt_remote_href, opts)
477
+ p status_code # => 2xx
478
+ p headers # => { ... }
479
+ p data # => <MyPermissionsResponse>
480
+ rescue PulpDebClient::ApiError => e
481
+ puts "Error when calling RemotesAptApi->my_permissions_with_http_info: #{e}"
482
+ end
483
+ ```
484
+
485
+ ### Parameters
486
+
487
+ | Name | Type | Description | Notes |
488
+ | ---- | ---- | ----------- | ----- |
489
+ | **deb_apt_remote_href** | **String** | | |
490
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
491
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
492
+
493
+ ### Return type
494
+
495
+ [**MyPermissionsResponse**](MyPermissionsResponse.md)
496
+
497
+ ### Authorization
498
+
499
+ [basicAuth](../README.md#basicAuth)
500
+
501
+ ### HTTP request headers
502
+
503
+ - **Content-Type**: Not defined
504
+ - **Accept**: application/json
505
+
506
+
227
507
  ## partial_update
228
508
 
229
- > AsyncOperationResponse partial_update(deb_apt_remote_href, patcheddeb_apt_remote)
509
+ > <AsyncOperationResponse> partial_update(deb_apt_remote_href, patcheddeb_apt_remote)
230
510
 
231
511
  Update an apt remote
232
512
 
233
513
  Trigger an asynchronous partial update task
234
514
 
235
- ### Example
515
+ ### Examples
236
516
 
237
517
  ```ruby
238
- # load the gem
518
+ require 'time'
239
519
  require 'pulp_deb_client'
240
520
  # setup authorization
241
521
  PulpDebClient.configure do |config|
@@ -249,21 +529,38 @@ deb_apt_remote_href = 'deb_apt_remote_href_example' # String |
249
529
  patcheddeb_apt_remote = PulpDebClient::PatcheddebAptRemote.new # PatcheddebAptRemote |
250
530
 
251
531
  begin
252
- #Update an apt remote
532
+ # Update an apt remote
253
533
  result = api_instance.partial_update(deb_apt_remote_href, patcheddeb_apt_remote)
254
534
  p result
255
535
  rescue PulpDebClient::ApiError => e
256
- puts "Exception when calling RemotesAptApi->partial_update: #{e}"
536
+ puts "Error when calling RemotesAptApi->partial_update: #{e}"
257
537
  end
258
538
  ```
259
539
 
260
- ### Parameters
540
+ #### Using the partial_update_with_http_info variant
261
541
 
542
+ This returns an Array which contains the response data, status code and headers.
262
543
 
263
- Name | Type | Description | Notes
264
- ------------- | ------------- | ------------- | -------------
265
- **deb_apt_remote_href** | **String**| |
266
- **patcheddeb_apt_remote** | [**PatcheddebAptRemote**](PatcheddebAptRemote.md)| |
544
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(deb_apt_remote_href, patcheddeb_apt_remote)
545
+
546
+ ```ruby
547
+ begin
548
+ # Update an apt remote
549
+ data, status_code, headers = api_instance.partial_update_with_http_info(deb_apt_remote_href, patcheddeb_apt_remote)
550
+ p status_code # => 2xx
551
+ p headers # => { ... }
552
+ p data # => <AsyncOperationResponse>
553
+ rescue PulpDebClient::ApiError => e
554
+ puts "Error when calling RemotesAptApi->partial_update_with_http_info: #{e}"
555
+ end
556
+ ```
557
+
558
+ ### Parameters
559
+
560
+ | Name | Type | Description | Notes |
561
+ | ---- | ---- | ----------- | ----- |
562
+ | **deb_apt_remote_href** | **String** | | |
563
+ | **patcheddeb_apt_remote** | [**PatcheddebAptRemote**](PatcheddebAptRemote.md) | | |
267
564
 
268
565
  ### Return type
269
566
 
@@ -281,16 +578,16 @@ Name | Type | Description | Notes
281
578
 
282
579
  ## read
283
580
 
284
- > DebAptRemoteResponse read(deb_apt_remote_href, opts)
581
+ > <DebAptRemoteResponse> read(deb_apt_remote_href, opts)
285
582
 
286
583
  Inspect an apt remote
287
584
 
288
585
  An AptRemote represents an external APT repository content source. It contains the location of the upstream APT repository, as well as the user options that are applied when using the remote to synchronize the upstream repository to Pulp.
289
586
 
290
- ### Example
587
+ ### Examples
291
588
 
292
589
  ```ruby
293
- # load the gem
590
+ require 'time'
294
591
  require 'pulp_deb_client'
295
592
  # setup authorization
296
593
  PulpDebClient.configure do |config|
@@ -302,27 +599,44 @@ end
302
599
  api_instance = PulpDebClient::RemotesAptApi.new
303
600
  deb_apt_remote_href = 'deb_apt_remote_href_example' # String |
304
601
  opts = {
305
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
306
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
602
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
603
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
307
604
  }
308
605
 
309
606
  begin
310
- #Inspect an apt remote
607
+ # Inspect an apt remote
311
608
  result = api_instance.read(deb_apt_remote_href, opts)
312
609
  p result
313
610
  rescue PulpDebClient::ApiError => e
314
- puts "Exception when calling RemotesAptApi->read: #{e}"
611
+ puts "Error when calling RemotesAptApi->read: #{e}"
315
612
  end
316
613
  ```
317
614
 
318
- ### Parameters
615
+ #### Using the read_with_http_info variant
616
+
617
+ This returns an Array which contains the response data, status code and headers.
618
+
619
+ > <Array(<DebAptRemoteResponse>, Integer, Hash)> read_with_http_info(deb_apt_remote_href, opts)
319
620
 
621
+ ```ruby
622
+ begin
623
+ # Inspect an apt remote
624
+ data, status_code, headers = api_instance.read_with_http_info(deb_apt_remote_href, opts)
625
+ p status_code # => 2xx
626
+ p headers # => { ... }
627
+ p data # => <DebAptRemoteResponse>
628
+ rescue PulpDebClient::ApiError => e
629
+ puts "Error when calling RemotesAptApi->read_with_http_info: #{e}"
630
+ end
631
+ ```
320
632
 
321
- Name | Type | Description | Notes
322
- ------------- | ------------- | ------------- | -------------
323
- **deb_apt_remote_href** | **String**| |
324
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
325
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
633
+ ### Parameters
634
+
635
+ | Name | Type | Description | Notes |
636
+ | ---- | ---- | ----------- | ----- |
637
+ | **deb_apt_remote_href** | **String** | | |
638
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
639
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
326
640
 
327
641
  ### Return type
328
642
 
@@ -338,18 +652,90 @@ Name | Type | Description | Notes
338
652
  - **Accept**: application/json
339
653
 
340
654
 
655
+ ## remove_role
656
+
657
+ > <NestedRoleResponse> remove_role(deb_apt_remote_href, nested_role)
658
+
659
+ Remove a role
660
+
661
+ Remove a role for this object from users/groups.
662
+
663
+ ### Examples
664
+
665
+ ```ruby
666
+ require 'time'
667
+ require 'pulp_deb_client'
668
+ # setup authorization
669
+ PulpDebClient.configure do |config|
670
+ # Configure HTTP basic authorization: basicAuth
671
+ config.username = 'YOUR USERNAME'
672
+ config.password = 'YOUR PASSWORD'
673
+ end
674
+
675
+ api_instance = PulpDebClient::RemotesAptApi.new
676
+ deb_apt_remote_href = 'deb_apt_remote_href_example' # String |
677
+ nested_role = PulpDebClient::NestedRole.new({role: 'role_example'}) # NestedRole |
678
+
679
+ begin
680
+ # Remove a role
681
+ result = api_instance.remove_role(deb_apt_remote_href, nested_role)
682
+ p result
683
+ rescue PulpDebClient::ApiError => e
684
+ puts "Error when calling RemotesAptApi->remove_role: #{e}"
685
+ end
686
+ ```
687
+
688
+ #### Using the remove_role_with_http_info variant
689
+
690
+ This returns an Array which contains the response data, status code and headers.
691
+
692
+ > <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(deb_apt_remote_href, nested_role)
693
+
694
+ ```ruby
695
+ begin
696
+ # Remove a role
697
+ data, status_code, headers = api_instance.remove_role_with_http_info(deb_apt_remote_href, nested_role)
698
+ p status_code # => 2xx
699
+ p headers # => { ... }
700
+ p data # => <NestedRoleResponse>
701
+ rescue PulpDebClient::ApiError => e
702
+ puts "Error when calling RemotesAptApi->remove_role_with_http_info: #{e}"
703
+ end
704
+ ```
705
+
706
+ ### Parameters
707
+
708
+ | Name | Type | Description | Notes |
709
+ | ---- | ---- | ----------- | ----- |
710
+ | **deb_apt_remote_href** | **String** | | |
711
+ | **nested_role** | [**NestedRole**](NestedRole.md) | | |
712
+
713
+ ### Return type
714
+
715
+ [**NestedRoleResponse**](NestedRoleResponse.md)
716
+
717
+ ### Authorization
718
+
719
+ [basicAuth](../README.md#basicAuth)
720
+
721
+ ### HTTP request headers
722
+
723
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
724
+ - **Accept**: application/json
725
+
726
+
341
727
  ## set_label
342
728
 
343
- > SetLabelResponse set_label(deb_apt_remote_href, set_label)
729
+ > <SetLabelResponse> set_label(deb_apt_remote_href, set_label)
344
730
 
345
731
  Set a label
346
732
 
347
733
  Set a single pulp_label on the object to a specific value or null.
348
734
 
349
- ### Example
735
+ ### Examples
350
736
 
351
737
  ```ruby
352
- # load the gem
738
+ require 'time'
353
739
  require 'pulp_deb_client'
354
740
  # setup authorization
355
741
  PulpDebClient.configure do |config|
@@ -360,24 +746,41 @@ end
360
746
 
361
747
  api_instance = PulpDebClient::RemotesAptApi.new
362
748
  deb_apt_remote_href = 'deb_apt_remote_href_example' # String |
363
- set_label = PulpDebClient::SetLabel.new # SetLabel |
749
+ set_label = PulpDebClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
364
750
 
365
751
  begin
366
- #Set a label
752
+ # Set a label
367
753
  result = api_instance.set_label(deb_apt_remote_href, set_label)
368
754
  p result
369
755
  rescue PulpDebClient::ApiError => e
370
- puts "Exception when calling RemotesAptApi->set_label: #{e}"
756
+ puts "Error when calling RemotesAptApi->set_label: #{e}"
371
757
  end
372
758
  ```
373
759
 
374
- ### Parameters
760
+ #### Using the set_label_with_http_info variant
375
761
 
762
+ This returns an Array which contains the response data, status code and headers.
376
763
 
377
- Name | Type | Description | Notes
378
- ------------- | ------------- | ------------- | -------------
379
- **deb_apt_remote_href** | **String**| |
380
- **set_label** | [**SetLabel**](SetLabel.md)| |
764
+ > <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(deb_apt_remote_href, set_label)
765
+
766
+ ```ruby
767
+ begin
768
+ # Set a label
769
+ data, status_code, headers = api_instance.set_label_with_http_info(deb_apt_remote_href, set_label)
770
+ p status_code # => 2xx
771
+ p headers # => { ... }
772
+ p data # => <SetLabelResponse>
773
+ rescue PulpDebClient::ApiError => e
774
+ puts "Error when calling RemotesAptApi->set_label_with_http_info: #{e}"
775
+ end
776
+ ```
777
+
778
+ ### Parameters
779
+
780
+ | Name | Type | Description | Notes |
781
+ | ---- | ---- | ----------- | ----- |
782
+ | **deb_apt_remote_href** | **String** | | |
783
+ | **set_label** | [**SetLabel**](SetLabel.md) | | |
381
784
 
382
785
  ### Return type
383
786
 
@@ -395,16 +798,16 @@ Name | Type | Description | Notes
395
798
 
396
799
  ## unset_label
397
800
 
398
- > UnsetLabelResponse unset_label(deb_apt_remote_href, unset_label)
801
+ > <UnsetLabelResponse> unset_label(deb_apt_remote_href, unset_label)
399
802
 
400
803
  Unset a label
401
804
 
402
805
  Unset a single pulp_label on the object.
403
806
 
404
- ### Example
807
+ ### Examples
405
808
 
406
809
  ```ruby
407
- # load the gem
810
+ require 'time'
408
811
  require 'pulp_deb_client'
409
812
  # setup authorization
410
813
  PulpDebClient.configure do |config|
@@ -415,24 +818,41 @@ end
415
818
 
416
819
  api_instance = PulpDebClient::RemotesAptApi.new
417
820
  deb_apt_remote_href = 'deb_apt_remote_href_example' # String |
418
- unset_label = PulpDebClient::UnsetLabel.new # UnsetLabel |
821
+ unset_label = PulpDebClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
419
822
 
420
823
  begin
421
- #Unset a label
824
+ # Unset a label
422
825
  result = api_instance.unset_label(deb_apt_remote_href, unset_label)
423
826
  p result
424
827
  rescue PulpDebClient::ApiError => e
425
- puts "Exception when calling RemotesAptApi->unset_label: #{e}"
828
+ puts "Error when calling RemotesAptApi->unset_label: #{e}"
426
829
  end
427
830
  ```
428
831
 
429
- ### Parameters
832
+ #### Using the unset_label_with_http_info variant
833
+
834
+ This returns an Array which contains the response data, status code and headers.
835
+
836
+ > <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(deb_apt_remote_href, unset_label)
430
837
 
838
+ ```ruby
839
+ begin
840
+ # Unset a label
841
+ data, status_code, headers = api_instance.unset_label_with_http_info(deb_apt_remote_href, unset_label)
842
+ p status_code # => 2xx
843
+ p headers # => { ... }
844
+ p data # => <UnsetLabelResponse>
845
+ rescue PulpDebClient::ApiError => e
846
+ puts "Error when calling RemotesAptApi->unset_label_with_http_info: #{e}"
847
+ end
848
+ ```
431
849
 
432
- Name | Type | Description | Notes
433
- ------------- | ------------- | ------------- | -------------
434
- **deb_apt_remote_href** | **String**| |
435
- **unset_label** | [**UnsetLabel**](UnsetLabel.md)| |
850
+ ### Parameters
851
+
852
+ | Name | Type | Description | Notes |
853
+ | ---- | ---- | ----------- | ----- |
854
+ | **deb_apt_remote_href** | **String** | | |
855
+ | **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
436
856
 
437
857
  ### Return type
438
858
 
@@ -450,16 +870,16 @@ Name | Type | Description | Notes
450
870
 
451
871
  ## update
452
872
 
453
- > AsyncOperationResponse update(deb_apt_remote_href, deb_apt_remote)
873
+ > <AsyncOperationResponse> update(deb_apt_remote_href, deb_apt_remote)
454
874
 
455
875
  Update an apt remote
456
876
 
457
877
  Trigger an asynchronous update task
458
878
 
459
- ### Example
879
+ ### Examples
460
880
 
461
881
  ```ruby
462
- # load the gem
882
+ require 'time'
463
883
  require 'pulp_deb_client'
464
884
  # setup authorization
465
885
  PulpDebClient.configure do |config|
@@ -470,24 +890,41 @@ end
470
890
 
471
891
  api_instance = PulpDebClient::RemotesAptApi.new
472
892
  deb_apt_remote_href = 'deb_apt_remote_href_example' # String |
473
- deb_apt_remote = PulpDebClient::DebAptRemote.new # DebAptRemote |
893
+ deb_apt_remote = PulpDebClient::DebAptRemote.new({name: 'name_example', url: 'url_example', distributions: 'distributions_example'}) # DebAptRemote |
474
894
 
475
895
  begin
476
- #Update an apt remote
896
+ # Update an apt remote
477
897
  result = api_instance.update(deb_apt_remote_href, deb_apt_remote)
478
898
  p result
479
899
  rescue PulpDebClient::ApiError => e
480
- puts "Exception when calling RemotesAptApi->update: #{e}"
900
+ puts "Error when calling RemotesAptApi->update: #{e}"
481
901
  end
482
902
  ```
483
903
 
484
- ### Parameters
904
+ #### Using the update_with_http_info variant
905
+
906
+ This returns an Array which contains the response data, status code and headers.
485
907
 
908
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(deb_apt_remote_href, deb_apt_remote)
909
+
910
+ ```ruby
911
+ begin
912
+ # Update an apt remote
913
+ data, status_code, headers = api_instance.update_with_http_info(deb_apt_remote_href, deb_apt_remote)
914
+ p status_code # => 2xx
915
+ p headers # => { ... }
916
+ p data # => <AsyncOperationResponse>
917
+ rescue PulpDebClient::ApiError => e
918
+ puts "Error when calling RemotesAptApi->update_with_http_info: #{e}"
919
+ end
920
+ ```
921
+
922
+ ### Parameters
486
923
 
487
- Name | Type | Description | Notes
488
- ------------- | ------------- | ------------- | -------------
489
- **deb_apt_remote_href** | **String**| |
490
- **deb_apt_remote** | [**DebAptRemote**](DebAptRemote.md)| |
924
+ | Name | Type | Description | Notes |
925
+ | ---- | ---- | ----------- | ----- |
926
+ | **deb_apt_remote_href** | **String** | | |
927
+ | **deb_apt_remote** | [**DebAptRemote**](DebAptRemote.md) | | |
491
928
 
492
929
  ### Return type
493
930