pulp_rpm_client 3.5.1 → 3.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (232) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +73 -55
  3. data/docs/{Addon.md → AddonResponse.md} +2 -2
  4. data/docs/{Artifact.md → ArtifactResponse.md} +3 -3
  5. data/docs/{Checksum.md → ChecksumResponse.md} +2 -2
  6. data/docs/ContentAdvisoriesApi.md +44 -44
  7. data/docs/ContentDistributionTreesApi.md +25 -25
  8. data/docs/ContentModulemdDefaultsApi.md +32 -32
  9. data/docs/ContentModulemdsApi.md +34 -34
  10. data/docs/ContentPackagecategoriesApi.md +25 -25
  11. data/docs/ContentPackageenvironmentsApi.md +25 -25
  12. data/docs/ContentPackagegroupsApi.md +25 -25
  13. data/docs/ContentPackagelangpacksApi.md +25 -25
  14. data/docs/ContentPackagesApi.md +64 -64
  15. data/docs/ContentRepoMetadataFilesApi.md +25 -25
  16. data/docs/ContentSummary.md +3 -3
  17. data/docs/ContentSummaryResponse.md +21 -0
  18. data/docs/DistributionsRpmApi.md +108 -60
  19. data/docs/{Image.md → ImageResponse.md} +3 -3
  20. data/docs/InlineResponse200.md +3 -3
  21. data/docs/InlineResponse2001.md +3 -3
  22. data/docs/InlineResponse20010.md +3 -3
  23. data/docs/InlineResponse20011.md +3 -3
  24. data/docs/InlineResponse20012.md +3 -3
  25. data/docs/InlineResponse20013.md +3 -3
  26. data/docs/InlineResponse20014.md +3 -3
  27. data/docs/InlineResponse2002.md +3 -3
  28. data/docs/InlineResponse2003.md +3 -3
  29. data/docs/InlineResponse2004.md +3 -3
  30. data/docs/InlineResponse2005.md +3 -3
  31. data/docs/InlineResponse2006.md +3 -3
  32. data/docs/InlineResponse2007.md +3 -3
  33. data/docs/InlineResponse2008.md +3 -3
  34. data/docs/InlineResponse2009.md +3 -3
  35. data/docs/MetadataChecksumTypeEnum.md +16 -0
  36. data/docs/PackageChecksumTypeEnum.md +16 -0
  37. data/docs/PatchedrpmRpmDistribution.md +23 -0
  38. data/docs/PatchedrpmRpmRemote.md +39 -0
  39. data/docs/PatchedrpmRpmRepository.md +25 -0
  40. data/docs/PolicyEnum.md +16 -0
  41. data/docs/PublicationsRpmApi.md +40 -40
  42. data/docs/RemotesRpmApi.md +125 -65
  43. data/docs/RepositoriesRpmApi.md +97 -73
  44. data/docs/RepositoriesRpmVersionsApi.md +94 -62
  45. data/docs/RepositoryAddRemoveContent.md +2 -2
  46. data/docs/RepositoryVersion.md +1 -9
  47. data/docs/RepositoryVersionResponse.md +25 -0
  48. data/docs/RpmCopyApi.md +10 -10
  49. data/docs/{RpmDistributionTree.md → RpmDistributionTreeResponse.md} +6 -6
  50. data/docs/RpmModulemd.md +8 -8
  51. data/docs/RpmModulemdDefaults.md +8 -8
  52. data/docs/RpmModulemdDefaultsResponse.md +29 -0
  53. data/docs/RpmModulemdResponse.md +39 -0
  54. data/docs/RpmPackage.md +7 -79
  55. data/docs/{RpmPackageCategory.md → RpmPackageCategoryResponse.md} +2 -2
  56. data/docs/{RpmPackageEnvironment.md → RpmPackageEnvironmentResponse.md} +2 -2
  57. data/docs/{RpmPackageGroup.md → RpmPackageGroupResponse.md} +2 -2
  58. data/docs/{RpmPackageLangpacks.md → RpmPackageLangpacksResponse.md} +2 -2
  59. data/docs/RpmPackageResponse.md +95 -0
  60. data/docs/{RpmRepoMetadataFile.md → RpmRepoMetadataFileResponse.md} +2 -2
  61. data/docs/RpmRepositorySyncURL.md +1 -1
  62. data/docs/RpmRpmDistribution.md +1 -7
  63. data/docs/RpmRpmDistributionResponse.md +29 -0
  64. data/docs/RpmRpmPublication.md +3 -7
  65. data/docs/RpmRpmPublicationResponse.md +27 -0
  66. data/docs/RpmRpmRemote.md +4 -10
  67. data/docs/RpmRpmRemoteResponse.md +45 -0
  68. data/docs/RpmRpmRepository.md +3 -9
  69. data/docs/RpmRpmRepositoryResponse.md +33 -0
  70. data/docs/RpmUpdateCollection.md +1 -3
  71. data/docs/RpmUpdateCollectionResponse.md +23 -0
  72. data/docs/RpmUpdateRecord.md +4 -40
  73. data/docs/RpmUpdateRecordResponse.md +55 -0
  74. data/docs/{Variant.md → VariantResponse.md} +2 -2
  75. data/lib/pulp_rpm_client/api/content_advisories_api.rb +60 -60
  76. data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +36 -36
  77. data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +42 -54
  78. data/lib/pulp_rpm_client/api/content_modulemds_api.rb +44 -76
  79. data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +36 -36
  80. data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +36 -36
  81. data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +36 -36
  82. data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +36 -36
  83. data/lib/pulp_rpm_client/api/content_packages_api.rb +92 -92
  84. data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +36 -36
  85. data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +153 -90
  86. data/lib/pulp_rpm_client/api/publications_rpm_api.rb +59 -59
  87. data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +181 -100
  88. data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +145 -118
  89. data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +137 -92
  90. data/lib/pulp_rpm_client/api/rpm_copy_api.rb +15 -15
  91. data/lib/pulp_rpm_client/api_client.rb +2 -2
  92. data/lib/pulp_rpm_client/api_error.rb +2 -2
  93. data/lib/pulp_rpm_client/configuration.rb +3 -3
  94. data/lib/pulp_rpm_client/models/{addon.rb → addon_response.rb} +6 -100
  95. data/lib/pulp_rpm_client/models/{artifact.rb → artifact_response.rb} +9 -93
  96. data/lib/pulp_rpm_client/models/async_operation_response.rb +3 -2
  97. data/lib/pulp_rpm_client/models/{checksum.rb → checksum_response.rb} +6 -43
  98. data/lib/pulp_rpm_client/models/content_summary.rb +9 -15
  99. data/lib/pulp_rpm_client/models/content_summary_response.rb +240 -0
  100. data/lib/pulp_rpm_client/models/copy.rb +3 -2
  101. data/lib/pulp_rpm_client/models/{image.rb → image_response.rb} +7 -63
  102. data/lib/pulp_rpm_client/models/inline_response200.rb +3 -13
  103. data/lib/pulp_rpm_client/models/inline_response2001.rb +3 -13
  104. data/lib/pulp_rpm_client/models/inline_response20010.rb +3 -13
  105. data/lib/pulp_rpm_client/models/inline_response20011.rb +3 -13
  106. data/lib/pulp_rpm_client/models/inline_response20012.rb +3 -13
  107. data/lib/pulp_rpm_client/models/inline_response20013.rb +3 -13
  108. data/lib/pulp_rpm_client/models/inline_response20014.rb +3 -13
  109. data/lib/pulp_rpm_client/models/inline_response2002.rb +3 -13
  110. data/lib/pulp_rpm_client/models/inline_response2003.rb +3 -13
  111. data/lib/pulp_rpm_client/models/inline_response2004.rb +3 -13
  112. data/lib/pulp_rpm_client/models/inline_response2005.rb +3 -13
  113. data/lib/pulp_rpm_client/models/inline_response2006.rb +3 -13
  114. data/lib/pulp_rpm_client/models/inline_response2007.rb +3 -13
  115. data/lib/pulp_rpm_client/models/inline_response2008.rb +3 -13
  116. data/lib/pulp_rpm_client/models/inline_response2009.rb +3 -13
  117. data/lib/pulp_rpm_client/models/metadata_checksum_type_enum.rb +41 -0
  118. data/lib/pulp_rpm_client/models/package_checksum_type_enum.rb +41 -0
  119. data/lib/pulp_rpm_client/models/patchedrpm_rpm_distribution.rb +240 -0
  120. data/lib/pulp_rpm_client/models/patchedrpm_rpm_remote.rb +340 -0
  121. data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +265 -0
  122. data/lib/pulp_rpm_client/models/policy_enum.rb +37 -0
  123. data/lib/pulp_rpm_client/models/repository_add_remove_content.rb +5 -4
  124. data/lib/pulp_rpm_client/models/repository_version.rb +7 -43
  125. data/lib/pulp_rpm_client/models/repository_version_response.rb +246 -0
  126. data/lib/pulp_rpm_client/models/{rpm_distribution_tree.rb → rpm_distribution_tree_response.rb} +17 -234
  127. data/lib/pulp_rpm_client/models/rpm_modulemd.rb +42 -153
  128. data/lib/pulp_rpm_client/models/rpm_modulemd_defaults.rb +40 -86
  129. data/lib/pulp_rpm_client/models/rpm_modulemd_defaults_response.rb +282 -0
  130. data/lib/pulp_rpm_client/models/rpm_modulemd_response.rb +346 -0
  131. data/lib/pulp_rpm_client/models/rpm_package.rb +28 -501
  132. data/lib/pulp_rpm_client/models/{rpm_package_category.rb → rpm_package_category_response.rb} +10 -63
  133. data/lib/pulp_rpm_client/models/{rpm_package_environment.rb → rpm_package_environment_response.rb} +11 -68
  134. data/lib/pulp_rpm_client/models/{rpm_package_group.rb → rpm_package_group_response.rb} +10 -63
  135. data/lib/pulp_rpm_client/models/{rpm_package_langpacks.rb → rpm_package_langpacks_response.rb} +8 -34
  136. data/lib/pulp_rpm_client/models/rpm_package_response.rb +597 -0
  137. data/lib/pulp_rpm_client/models/{rpm_repo_metadata_file.rb → rpm_repo_metadata_file_response.rb} +6 -96
  138. data/lib/pulp_rpm_client/models/rpm_repository_sync_url.rb +4 -30
  139. data/lib/pulp_rpm_client/models/rpm_rpm_distribution.rb +4 -85
  140. data/lib/pulp_rpm_client/models/rpm_rpm_distribution_response.rb +279 -0
  141. data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +6 -74
  142. data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +256 -0
  143. data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +7 -214
  144. data/lib/pulp_rpm_client/models/rpm_rpm_remote_response.rb +379 -0
  145. data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +14 -74
  146. data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +307 -0
  147. data/lib/pulp_rpm_client/models/rpm_update_collection.rb +10 -34
  148. data/lib/pulp_rpm_client/models/rpm_update_collection_response.rb +243 -0
  149. data/lib/pulp_rpm_client/models/rpm_update_record.rb +18 -245
  150. data/lib/pulp_rpm_client/models/rpm_update_record_response.rb +401 -0
  151. data/lib/pulp_rpm_client/models/{variant.rb → variant_response.rb} +6 -195
  152. data/lib/pulp_rpm_client/version.rb +3 -3
  153. data/lib/pulp_rpm_client.rb +30 -13
  154. data/pulp_rpm_client.gemspec +4 -4
  155. data/spec/api/content_advisories_api_spec.rb +21 -21
  156. data/spec/api/content_distribution_trees_api_spec.rb +9 -9
  157. data/spec/api/content_modulemd_defaults_api_spec.rb +13 -13
  158. data/spec/api/content_modulemds_api_spec.rb +13 -13
  159. data/spec/api/content_packagecategories_api_spec.rb +9 -9
  160. data/spec/api/content_packageenvironments_api_spec.rb +9 -9
  161. data/spec/api/content_packagegroups_api_spec.rb +9 -9
  162. data/spec/api/content_packagelangpacks_api_spec.rb +9 -9
  163. data/spec/api/content_packages_api_spec.rb +31 -31
  164. data/spec/api/content_repo_metadata_files_api_spec.rb +9 -9
  165. data/spec/api/distributions_rpm_api_spec.rb +39 -18
  166. data/spec/api/publications_rpm_api_spec.rb +14 -14
  167. data/spec/api/remotes_rpm_api_spec.rb +48 -21
  168. data/spec/api/repositories_rpm_api_spec.rb +28 -19
  169. data/spec/api/repositories_rpm_versions_api_spec.rb +38 -23
  170. data/spec/api/rpm_copy_api_spec.rb +5 -5
  171. data/spec/api_client_spec.rb +2 -2
  172. data/spec/configuration_spec.rb +2 -2
  173. data/spec/models/{addon_spec.rb → addon_response_spec.rb} +8 -8
  174. data/spec/models/{artifact_spec.rb → artifact_response_spec.rb} +8 -8
  175. data/spec/models/async_operation_response_spec.rb +2 -2
  176. data/spec/models/{checksum_spec.rb → checksum_response_spec.rb} +8 -8
  177. data/spec/models/content_summary_response_spec.rb +53 -0
  178. data/spec/models/content_summary_spec.rb +2 -2
  179. data/spec/models/copy_spec.rb +2 -2
  180. data/spec/models/{image_spec.rb → image_response_spec.rb} +8 -8
  181. data/spec/models/inline_response20010_spec.rb +2 -2
  182. data/spec/models/inline_response20011_spec.rb +2 -2
  183. data/spec/models/inline_response20012_spec.rb +2 -2
  184. data/spec/models/inline_response20013_spec.rb +2 -2
  185. data/spec/models/inline_response20014_spec.rb +2 -2
  186. data/spec/models/inline_response2001_spec.rb +2 -2
  187. data/spec/models/inline_response2002_spec.rb +2 -2
  188. data/spec/models/inline_response2003_spec.rb +2 -2
  189. data/spec/models/inline_response2004_spec.rb +2 -2
  190. data/spec/models/inline_response2005_spec.rb +2 -2
  191. data/spec/models/inline_response2006_spec.rb +2 -2
  192. data/spec/models/inline_response2007_spec.rb +2 -2
  193. data/spec/models/inline_response2008_spec.rb +2 -2
  194. data/spec/models/inline_response2009_spec.rb +2 -2
  195. data/spec/models/inline_response200_spec.rb +2 -2
  196. data/spec/models/metadata_checksum_type_enum_spec.rb +35 -0
  197. data/spec/models/package_checksum_type_enum_spec.rb +35 -0
  198. data/spec/models/patchedrpm_rpm_distribution_spec.rb +59 -0
  199. data/spec/models/patchedrpm_rpm_remote_spec.rb +107 -0
  200. data/spec/models/patchedrpm_rpm_repository_spec.rb +65 -0
  201. data/spec/models/policy_enum_spec.rb +35 -0
  202. data/spec/models/repository_add_remove_content_spec.rb +2 -2
  203. data/spec/models/repository_version_response_spec.rb +65 -0
  204. data/spec/models/repository_version_spec.rb +2 -26
  205. data/spec/models/{rpm_distribution_tree_spec.rb → rpm_distribution_tree_response_spec.rb} +8 -8
  206. data/spec/models/rpm_modulemd_defaults_response_spec.rb +77 -0
  207. data/spec/models/rpm_modulemd_defaults_spec.rb +9 -9
  208. data/spec/models/rpm_modulemd_response_spec.rb +107 -0
  209. data/spec/models/rpm_modulemd_spec.rb +11 -11
  210. data/spec/models/{rpm_package_category_spec.rb → rpm_package_category_response_spec.rb} +8 -8
  211. data/spec/models/{rpm_package_environment_spec.rb → rpm_package_environment_response_spec.rb} +8 -8
  212. data/spec/models/{rpm_package_group_spec.rb → rpm_package_group_response_spec.rb} +8 -8
  213. data/spec/models/{rpm_package_langpacks_spec.rb → rpm_package_langpacks_response_spec.rb} +8 -8
  214. data/spec/models/rpm_package_response_spec.rb +275 -0
  215. data/spec/models/rpm_package_spec.rb +5 -221
  216. data/spec/models/{rpm_repo_metadata_file_spec.rb → rpm_repo_metadata_file_response_spec.rb} +8 -8
  217. data/spec/models/rpm_repository_sync_url_spec.rb +2 -6
  218. data/spec/models/rpm_rpm_distribution_response_spec.rb +77 -0
  219. data/spec/models/rpm_rpm_distribution_spec.rb +2 -20
  220. data/spec/models/rpm_rpm_publication_response_spec.rb +71 -0
  221. data/spec/models/rpm_rpm_publication_spec.rb +2 -22
  222. data/spec/models/rpm_rpm_remote_response_spec.rb +125 -0
  223. data/spec/models/rpm_rpm_remote_spec.rb +2 -24
  224. data/spec/models/rpm_rpm_repository_response_spec.rb +89 -0
  225. data/spec/models/rpm_rpm_repository_spec.rb +5 -23
  226. data/spec/models/rpm_update_collection_response_spec.rb +59 -0
  227. data/spec/models/rpm_update_collection_spec.rb +2 -8
  228. data/spec/models/rpm_update_record_response_spec.rb +155 -0
  229. data/spec/models/rpm_update_record_spec.rb +4 -112
  230. data/spec/models/{variant_spec.rb → variant_response_spec.rb} +8 -8
  231. data/spec/spec_helper.rb +2 -2
  232. metadata +116 -48
@@ -5,19 +5,19 @@ All URIs are relative to *http://pulp*
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
7
  [**create**](RepositoriesRpmApi.md#create) | **POST** /pulp/api/v3/repositories/rpm/rpm/ | Create a rpm repository
8
- [**delete**](RepositoriesRpmApi.md#delete) | **DELETE** {rpm_repository_href} | Delete a rpm repository
8
+ [**delete**](RepositoriesRpmApi.md#delete) | **DELETE** {rpm_rpm_repository_href} | Delete a rpm repository
9
9
  [**list**](RepositoriesRpmApi.md#list) | **GET** /pulp/api/v3/repositories/rpm/rpm/ | List rpm repositorys
10
- [**modify**](RepositoriesRpmApi.md#modify) | **POST** {rpm_repository_href}modify/ | Modify Repository Content
11
- [**partial_update**](RepositoriesRpmApi.md#partial_update) | **PATCH** {rpm_repository_href} | Partially update a rpm repository
12
- [**read**](RepositoriesRpmApi.md#read) | **GET** {rpm_repository_href} | Inspect a rpm repository
13
- [**sync**](RepositoriesRpmApi.md#sync) | **POST** {rpm_repository_href}sync/ | Sync from remote
14
- [**update**](RepositoriesRpmApi.md#update) | **PUT** {rpm_repository_href} | Update a rpm repository
10
+ [**modify**](RepositoriesRpmApi.md#modify) | **POST** {rpm_rpm_repository_href}modify/ | Modify Repository Content
11
+ [**partial_update**](RepositoriesRpmApi.md#partial_update) | **PATCH** {rpm_rpm_repository_href} | Update a rpm repository
12
+ [**read**](RepositoriesRpmApi.md#read) | **GET** {rpm_rpm_repository_href} | Inspect a rpm repository
13
+ [**sync**](RepositoriesRpmApi.md#sync) | **POST** {rpm_rpm_repository_href}sync/ | Sync from remote
14
+ [**update**](RepositoriesRpmApi.md#update) | **PUT** {rpm_rpm_repository_href} | Update a rpm repository
15
15
 
16
16
 
17
17
 
18
18
  ## create
19
19
 
20
- > RpmRpmRepository create(data)
20
+ > RpmRpmRepositoryResponse create(rpm_rpm_repository)
21
21
 
22
22
  Create a rpm repository
23
23
 
@@ -30,17 +30,17 @@ A ViewSet for RpmRepository.
30
30
  require 'pulp_rpm_client'
31
31
  # setup authorization
32
32
  PulpRpmClient.configure do |config|
33
- # Configure HTTP basic authorization: Basic
33
+ # Configure HTTP basic authorization: basicAuth
34
34
  config.username = 'YOUR USERNAME'
35
35
  config.password = 'YOUR PASSWORD'
36
36
  end
37
37
 
38
38
  api_instance = PulpRpmClient::RepositoriesRpmApi.new
39
- data = PulpRpmClient::RpmRpmRepository.new # RpmRpmRepository |
39
+ rpm_rpm_repository = PulpRpmClient::RpmRpmRepository.new # RpmRpmRepository |
40
40
 
41
41
  begin
42
42
  #Create a rpm repository
43
- result = api_instance.create(data)
43
+ result = api_instance.create(rpm_rpm_repository)
44
44
  p result
45
45
  rescue PulpRpmClient::ApiError => e
46
46
  puts "Exception when calling RepositoriesRpmApi->create: #{e}"
@@ -52,25 +52,25 @@ end
52
52
 
53
53
  Name | Type | Description | Notes
54
54
  ------------- | ------------- | ------------- | -------------
55
- **data** | [**RpmRpmRepository**](RpmRpmRepository.md)| |
55
+ **rpm_rpm_repository** | [**RpmRpmRepository**](RpmRpmRepository.md)| |
56
56
 
57
57
  ### Return type
58
58
 
59
- [**RpmRpmRepository**](RpmRpmRepository.md)
59
+ [**RpmRpmRepositoryResponse**](RpmRpmRepositoryResponse.md)
60
60
 
61
61
  ### Authorization
62
62
 
63
- [Basic](../README.md#Basic)
63
+ [basicAuth](../README.md#basicAuth)
64
64
 
65
65
  ### HTTP request headers
66
66
 
67
- - **Content-Type**: application/json
67
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
68
68
  - **Accept**: application/json
69
69
 
70
70
 
71
71
  ## delete
72
72
 
73
- > AsyncOperationResponse delete(rpm_repository_href)
73
+ > AsyncOperationResponse delete(rpm_rpm_repository_href, opts)
74
74
 
75
75
  Delete a rpm repository
76
76
 
@@ -83,17 +83,22 @@ Trigger an asynchronous delete task
83
83
  require 'pulp_rpm_client'
84
84
  # setup authorization
85
85
  PulpRpmClient.configure do |config|
86
- # Configure HTTP basic authorization: Basic
86
+ # Configure HTTP basic authorization: basicAuth
87
87
  config.username = 'YOUR USERNAME'
88
88
  config.password = 'YOUR PASSWORD'
89
89
  end
90
90
 
91
91
  api_instance = PulpRpmClient::RepositoriesRpmApi.new
92
- rpm_repository_href = 'rpm_repository_href_example' # String | URI of Rpm Repository. e.g.: /pulp/api/v3/repositories/rpm/rpm/1/
92
+ rpm_rpm_repository_href = 'rpm_rpm_repository_href_example' # String |
93
+ opts = {
94
+ name: 'name_example', # String | name
95
+ name__in: 'name__in_example', # String | name__in
96
+ ordering: 'ordering_example' # String | Which field to use when ordering the results.
97
+ }
93
98
 
94
99
  begin
95
100
  #Delete a rpm repository
96
- result = api_instance.delete(rpm_repository_href)
101
+ result = api_instance.delete(rpm_rpm_repository_href, opts)
97
102
  p result
98
103
  rescue PulpRpmClient::ApiError => e
99
104
  puts "Exception when calling RepositoriesRpmApi->delete: #{e}"
@@ -105,7 +110,10 @@ end
105
110
 
106
111
  Name | Type | Description | Notes
107
112
  ------------- | ------------- | ------------- | -------------
108
- **rpm_repository_href** | **String**| URI of Rpm Repository. e.g.: /pulp/api/v3/repositories/rpm/rpm/1/ |
113
+ **rpm_rpm_repository_href** | **String**| |
114
+ **name** | **String**| name | [optional]
115
+ **name__in** | **String**| name__in | [optional]
116
+ **ordering** | **String**| Which field to use when ordering the results. | [optional]
109
117
 
110
118
  ### Return type
111
119
 
@@ -113,7 +121,7 @@ Name | Type | Description | Notes
113
121
 
114
122
  ### Authorization
115
123
 
116
- [Basic](../README.md#Basic)
124
+ [basicAuth](../README.md#basicAuth)
117
125
 
118
126
  ### HTTP request headers
119
127
 
@@ -136,18 +144,18 @@ A ViewSet for RpmRepository.
136
144
  require 'pulp_rpm_client'
137
145
  # setup authorization
138
146
  PulpRpmClient.configure do |config|
139
- # Configure HTTP basic authorization: Basic
147
+ # Configure HTTP basic authorization: basicAuth
140
148
  config.username = 'YOUR USERNAME'
141
149
  config.password = 'YOUR PASSWORD'
142
150
  end
143
151
 
144
152
  api_instance = PulpRpmClient::RepositoriesRpmApi.new
145
153
  opts = {
146
- ordering: 'ordering_example', # String | Which field to use when ordering the results.
147
- name: 'name_example', # String |
148
- name__in: 'name__in_example', # String | Filter results where name is in a comma-separated list of values
149
154
  limit: 56, # Integer | Number of results to return per page.
155
+ name: 'name_example', # String | name
156
+ name__in: 'name__in_example', # String | name__in
150
157
  offset: 56, # Integer | The initial index from which to return the results.
158
+ ordering: 'ordering_example', # String | Which field to use when ordering the results.
151
159
  fields: 'fields_example', # String | A list of fields to include in the response.
152
160
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
153
161
  }
@@ -166,11 +174,11 @@ end
166
174
 
167
175
  Name | Type | Description | Notes
168
176
  ------------- | ------------- | ------------- | -------------
169
- **ordering** | **String**| Which field to use when ordering the results. | [optional]
170
- **name** | **String**| | [optional]
171
- **name__in** | **String**| Filter results where name is in a comma-separated list of values | [optional]
172
177
  **limit** | **Integer**| Number of results to return per page. | [optional]
178
+ **name** | **String**| name | [optional]
179
+ **name__in** | **String**| name__in | [optional]
173
180
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
181
+ **ordering** | **String**| Which field to use when ordering the results. | [optional]
174
182
  **fields** | **String**| A list of fields to include in the response. | [optional]
175
183
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
176
184
 
@@ -180,7 +188,7 @@ Name | Type | Description | Notes
180
188
 
181
189
  ### Authorization
182
190
 
183
- [Basic](../README.md#Basic)
191
+ [basicAuth](../README.md#basicAuth)
184
192
 
185
193
  ### HTTP request headers
186
194
 
@@ -190,7 +198,7 @@ Name | Type | Description | Notes
190
198
 
191
199
  ## modify
192
200
 
193
- > AsyncOperationResponse modify(rpm_repository_href, data)
201
+ > AsyncOperationResponse modify(rpm_rpm_repository_href, repository_add_remove_content)
194
202
 
195
203
  Modify Repository Content
196
204
 
@@ -203,18 +211,18 @@ Trigger an asynchronous task to create a new repository version.
203
211
  require 'pulp_rpm_client'
204
212
  # setup authorization
205
213
  PulpRpmClient.configure do |config|
206
- # Configure HTTP basic authorization: Basic
214
+ # Configure HTTP basic authorization: basicAuth
207
215
  config.username = 'YOUR USERNAME'
208
216
  config.password = 'YOUR PASSWORD'
209
217
  end
210
218
 
211
219
  api_instance = PulpRpmClient::RepositoriesRpmApi.new
212
- rpm_repository_href = 'rpm_repository_href_example' # String | URI of Rpm Repository. e.g.: /pulp/api/v3/repositories/rpm/rpm/1/
213
- data = PulpRpmClient::RepositoryAddRemoveContent.new # RepositoryAddRemoveContent |
220
+ rpm_rpm_repository_href = 'rpm_rpm_repository_href_example' # String |
221
+ repository_add_remove_content = PulpRpmClient::RepositoryAddRemoveContent.new # RepositoryAddRemoveContent |
214
222
 
215
223
  begin
216
224
  #Modify Repository Content
217
- result = api_instance.modify(rpm_repository_href, data)
225
+ result = api_instance.modify(rpm_rpm_repository_href, repository_add_remove_content)
218
226
  p result
219
227
  rescue PulpRpmClient::ApiError => e
220
228
  puts "Exception when calling RepositoriesRpmApi->modify: #{e}"
@@ -226,8 +234,8 @@ end
226
234
 
227
235
  Name | Type | Description | Notes
228
236
  ------------- | ------------- | ------------- | -------------
229
- **rpm_repository_href** | **String**| URI of Rpm Repository. e.g.: /pulp/api/v3/repositories/rpm/rpm/1/ |
230
- **data** | [**RepositoryAddRemoveContent**](RepositoryAddRemoveContent.md)| |
237
+ **rpm_rpm_repository_href** | **String**| |
238
+ **repository_add_remove_content** | [**RepositoryAddRemoveContent**](RepositoryAddRemoveContent.md)| |
231
239
 
232
240
  ### Return type
233
241
 
@@ -235,19 +243,19 @@ Name | Type | Description | Notes
235
243
 
236
244
  ### Authorization
237
245
 
238
- [Basic](../README.md#Basic)
246
+ [basicAuth](../README.md#basicAuth)
239
247
 
240
248
  ### HTTP request headers
241
249
 
242
- - **Content-Type**: application/json
250
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
243
251
  - **Accept**: application/json
244
252
 
245
253
 
246
254
  ## partial_update
247
255
 
248
- > AsyncOperationResponse partial_update(rpm_repository_href, data)
256
+ > AsyncOperationResponse partial_update(rpm_rpm_repository_href, patchedrpm_rpm_repository, opts)
249
257
 
250
- Partially update a rpm repository
258
+ Update a rpm repository
251
259
 
252
260
  Trigger an asynchronous partial update task
253
261
 
@@ -258,18 +266,23 @@ Trigger an asynchronous partial update task
258
266
  require 'pulp_rpm_client'
259
267
  # setup authorization
260
268
  PulpRpmClient.configure do |config|
261
- # Configure HTTP basic authorization: Basic
269
+ # Configure HTTP basic authorization: basicAuth
262
270
  config.username = 'YOUR USERNAME'
263
271
  config.password = 'YOUR PASSWORD'
264
272
  end
265
273
 
266
274
  api_instance = PulpRpmClient::RepositoriesRpmApi.new
267
- rpm_repository_href = 'rpm_repository_href_example' # String | URI of Rpm Repository. e.g.: /pulp/api/v3/repositories/rpm/rpm/1/
268
- data = PulpRpmClient::RpmRpmRepository.new # RpmRpmRepository |
275
+ rpm_rpm_repository_href = 'rpm_rpm_repository_href_example' # String |
276
+ patchedrpm_rpm_repository = PulpRpmClient::PatchedrpmRpmRepository.new # PatchedrpmRpmRepository |
277
+ opts = {
278
+ name: 'name_example', # String | name
279
+ name__in: 'name__in_example', # String | name__in
280
+ ordering: 'ordering_example' # String | Which field to use when ordering the results.
281
+ }
269
282
 
270
283
  begin
271
- #Partially update a rpm repository
272
- result = api_instance.partial_update(rpm_repository_href, data)
284
+ #Update a rpm repository
285
+ result = api_instance.partial_update(rpm_rpm_repository_href, patchedrpm_rpm_repository, opts)
273
286
  p result
274
287
  rescue PulpRpmClient::ApiError => e
275
288
  puts "Exception when calling RepositoriesRpmApi->partial_update: #{e}"
@@ -281,8 +294,11 @@ end
281
294
 
282
295
  Name | Type | Description | Notes
283
296
  ------------- | ------------- | ------------- | -------------
284
- **rpm_repository_href** | **String**| URI of Rpm Repository. e.g.: /pulp/api/v3/repositories/rpm/rpm/1/ |
285
- **data** | [**RpmRpmRepository**](RpmRpmRepository.md)| |
297
+ **rpm_rpm_repository_href** | **String**| |
298
+ **patchedrpm_rpm_repository** | [**PatchedrpmRpmRepository**](PatchedrpmRpmRepository.md)| |
299
+ **name** | **String**| name | [optional]
300
+ **name__in** | **String**| name__in | [optional]
301
+ **ordering** | **String**| Which field to use when ordering the results. | [optional]
286
302
 
287
303
  ### Return type
288
304
 
@@ -290,17 +306,17 @@ Name | Type | Description | Notes
290
306
 
291
307
  ### Authorization
292
308
 
293
- [Basic](../README.md#Basic)
309
+ [basicAuth](../README.md#basicAuth)
294
310
 
295
311
  ### HTTP request headers
296
312
 
297
- - **Content-Type**: application/json
313
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
298
314
  - **Accept**: application/json
299
315
 
300
316
 
301
317
  ## read
302
318
 
303
- > RpmRpmRepository read(rpm_repository_href, opts)
319
+ > RpmRpmRepositoryResponse read(rpm_rpm_repository_href, opts)
304
320
 
305
321
  Inspect a rpm repository
306
322
 
@@ -313,13 +329,13 @@ A ViewSet for RpmRepository.
313
329
  require 'pulp_rpm_client'
314
330
  # setup authorization
315
331
  PulpRpmClient.configure do |config|
316
- # Configure HTTP basic authorization: Basic
332
+ # Configure HTTP basic authorization: basicAuth
317
333
  config.username = 'YOUR USERNAME'
318
334
  config.password = 'YOUR PASSWORD'
319
335
  end
320
336
 
321
337
  api_instance = PulpRpmClient::RepositoriesRpmApi.new
322
- rpm_repository_href = 'rpm_repository_href_example' # String | URI of Rpm Repository. e.g.: /pulp/api/v3/repositories/rpm/rpm/1/
338
+ rpm_rpm_repository_href = 'rpm_rpm_repository_href_example' # String |
323
339
  opts = {
324
340
  fields: 'fields_example', # String | A list of fields to include in the response.
325
341
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
@@ -327,7 +343,7 @@ opts = {
327
343
 
328
344
  begin
329
345
  #Inspect a rpm repository
330
- result = api_instance.read(rpm_repository_href, opts)
346
+ result = api_instance.read(rpm_rpm_repository_href, opts)
331
347
  p result
332
348
  rescue PulpRpmClient::ApiError => e
333
349
  puts "Exception when calling RepositoriesRpmApi->read: #{e}"
@@ -339,17 +355,17 @@ end
339
355
 
340
356
  Name | Type | Description | Notes
341
357
  ------------- | ------------- | ------------- | -------------
342
- **rpm_repository_href** | **String**| URI of Rpm Repository. e.g.: /pulp/api/v3/repositories/rpm/rpm/1/ |
358
+ **rpm_rpm_repository_href** | **String**| |
343
359
  **fields** | **String**| A list of fields to include in the response. | [optional]
344
360
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
345
361
 
346
362
  ### Return type
347
363
 
348
- [**RpmRpmRepository**](RpmRpmRepository.md)
364
+ [**RpmRpmRepositoryResponse**](RpmRpmRepositoryResponse.md)
349
365
 
350
366
  ### Authorization
351
367
 
352
- [Basic](../README.md#Basic)
368
+ [basicAuth](../README.md#basicAuth)
353
369
 
354
370
  ### HTTP request headers
355
371
 
@@ -359,7 +375,7 @@ Name | Type | Description | Notes
359
375
 
360
376
  ## sync
361
377
 
362
- > AsyncOperationResponse sync(rpm_repository_href, data)
378
+ > AsyncOperationResponse sync(rpm_rpm_repository_href, rpm_repository_sync_url)
363
379
 
364
380
  Sync from remote
365
381
 
@@ -372,18 +388,18 @@ Trigger an asynchronous task to sync RPM content.
372
388
  require 'pulp_rpm_client'
373
389
  # setup authorization
374
390
  PulpRpmClient.configure do |config|
375
- # Configure HTTP basic authorization: Basic
391
+ # Configure HTTP basic authorization: basicAuth
376
392
  config.username = 'YOUR USERNAME'
377
393
  config.password = 'YOUR PASSWORD'
378
394
  end
379
395
 
380
396
  api_instance = PulpRpmClient::RepositoriesRpmApi.new
381
- rpm_repository_href = 'rpm_repository_href_example' # String | URI of Rpm Repository. e.g.: /pulp/api/v3/repositories/rpm/rpm/1/
382
- data = PulpRpmClient::RpmRepositorySyncURL.new # RpmRepositorySyncURL |
397
+ rpm_rpm_repository_href = 'rpm_rpm_repository_href_example' # String |
398
+ rpm_repository_sync_url = PulpRpmClient::RpmRepositorySyncURL.new # RpmRepositorySyncURL |
383
399
 
384
400
  begin
385
401
  #Sync from remote
386
- result = api_instance.sync(rpm_repository_href, data)
402
+ result = api_instance.sync(rpm_rpm_repository_href, rpm_repository_sync_url)
387
403
  p result
388
404
  rescue PulpRpmClient::ApiError => e
389
405
  puts "Exception when calling RepositoriesRpmApi->sync: #{e}"
@@ -395,8 +411,8 @@ end
395
411
 
396
412
  Name | Type | Description | Notes
397
413
  ------------- | ------------- | ------------- | -------------
398
- **rpm_repository_href** | **String**| URI of Rpm Repository. e.g.: /pulp/api/v3/repositories/rpm/rpm/1/ |
399
- **data** | [**RpmRepositorySyncURL**](RpmRepositorySyncURL.md)| |
414
+ **rpm_rpm_repository_href** | **String**| |
415
+ **rpm_repository_sync_url** | [**RpmRepositorySyncURL**](RpmRepositorySyncURL.md)| |
400
416
 
401
417
  ### Return type
402
418
 
@@ -404,17 +420,17 @@ Name | Type | Description | Notes
404
420
 
405
421
  ### Authorization
406
422
 
407
- [Basic](../README.md#Basic)
423
+ [basicAuth](../README.md#basicAuth)
408
424
 
409
425
  ### HTTP request headers
410
426
 
411
- - **Content-Type**: application/json
427
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
412
428
  - **Accept**: application/json
413
429
 
414
430
 
415
431
  ## update
416
432
 
417
- > AsyncOperationResponse update(rpm_repository_href, data)
433
+ > AsyncOperationResponse update(rpm_rpm_repository_href, rpm_rpm_repository, opts)
418
434
 
419
435
  Update a rpm repository
420
436
 
@@ -427,18 +443,23 @@ Trigger an asynchronous update task
427
443
  require 'pulp_rpm_client'
428
444
  # setup authorization
429
445
  PulpRpmClient.configure do |config|
430
- # Configure HTTP basic authorization: Basic
446
+ # Configure HTTP basic authorization: basicAuth
431
447
  config.username = 'YOUR USERNAME'
432
448
  config.password = 'YOUR PASSWORD'
433
449
  end
434
450
 
435
451
  api_instance = PulpRpmClient::RepositoriesRpmApi.new
436
- rpm_repository_href = 'rpm_repository_href_example' # String | URI of Rpm Repository. e.g.: /pulp/api/v3/repositories/rpm/rpm/1/
437
- data = PulpRpmClient::RpmRpmRepository.new # RpmRpmRepository |
452
+ rpm_rpm_repository_href = 'rpm_rpm_repository_href_example' # String |
453
+ rpm_rpm_repository = PulpRpmClient::RpmRpmRepository.new # RpmRpmRepository |
454
+ opts = {
455
+ name: 'name_example', # String | name
456
+ name__in: 'name__in_example', # String | name__in
457
+ ordering: 'ordering_example' # String | Which field to use when ordering the results.
458
+ }
438
459
 
439
460
  begin
440
461
  #Update a rpm repository
441
- result = api_instance.update(rpm_repository_href, data)
462
+ result = api_instance.update(rpm_rpm_repository_href, rpm_rpm_repository, opts)
442
463
  p result
443
464
  rescue PulpRpmClient::ApiError => e
444
465
  puts "Exception when calling RepositoriesRpmApi->update: #{e}"
@@ -450,8 +471,11 @@ end
450
471
 
451
472
  Name | Type | Description | Notes
452
473
  ------------- | ------------- | ------------- | -------------
453
- **rpm_repository_href** | **String**| URI of Rpm Repository. e.g.: /pulp/api/v3/repositories/rpm/rpm/1/ |
454
- **data** | [**RpmRpmRepository**](RpmRpmRepository.md)| |
474
+ **rpm_rpm_repository_href** | **String**| |
475
+ **rpm_rpm_repository** | [**RpmRpmRepository**](RpmRpmRepository.md)| |
476
+ **name** | **String**| name | [optional]
477
+ **name__in** | **String**| name__in | [optional]
478
+ **ordering** | **String**| Which field to use when ordering the results. | [optional]
455
479
 
456
480
  ### Return type
457
481
 
@@ -459,10 +483,10 @@ Name | Type | Description | Notes
459
483
 
460
484
  ### Authorization
461
485
 
462
- [Basic](../README.md#Basic)
486
+ [basicAuth](../README.md#basicAuth)
463
487
 
464
488
  ### HTTP request headers
465
489
 
466
- - **Content-Type**: application/json
490
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
467
491
  - **Accept**: application/json
468
492