pulp_rpm_client 3.0.0b71572533171 → 3.0.0rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (174) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +63 -22
  3. data/docs/ContentAdvisoriesApi.md +15 -7
  4. data/docs/ContentDistributionTreesApi.md +2 -2
  5. data/docs/ContentModulemdDefaultsApi.md +6 -6
  6. data/docs/{ContentModulemdApi.md → ContentModulemdsApi.md} +14 -14
  7. data/docs/ContentPackagecategoriesApi.md +189 -0
  8. data/docs/ContentPackageenvironmentsApi.md +189 -0
  9. data/docs/ContentPackagegroupsApi.md +189 -0
  10. data/docs/ContentPackagelangpacksApi.md +189 -0
  11. data/docs/ContentPackagesApi.md +4 -4
  12. data/docs/ContentRepoMetadataFilesApi.md +4 -4
  13. data/docs/ContentSummary.md +21 -0
  14. data/docs/DistributionsRpmApi.md +10 -10
  15. data/docs/InlineResponse200.md +1 -1
  16. data/docs/InlineResponse2001.md +1 -1
  17. data/docs/InlineResponse20010.md +23 -0
  18. data/docs/InlineResponse20011.md +23 -0
  19. data/docs/InlineResponse20012.md +23 -0
  20. data/docs/InlineResponse20013.md +23 -0
  21. data/docs/InlineResponse20014.md +23 -0
  22. data/docs/InlineResponse2002.md +1 -1
  23. data/docs/InlineResponse2003.md +1 -1
  24. data/docs/InlineResponse2004.md +1 -1
  25. data/docs/InlineResponse2005.md +1 -1
  26. data/docs/InlineResponse2006.md +1 -1
  27. data/docs/InlineResponse2007.md +1 -1
  28. data/docs/InlineResponse2008.md +1 -1
  29. data/docs/InlineResponse2009.md +23 -0
  30. data/docs/PublicationsRpmApi.md +6 -6
  31. data/docs/RemotesRpmApi.md +12 -68
  32. data/docs/RepositoriesRpmApi.md +465 -0
  33. data/docs/RepositoriesRpmVersionsApi.md +214 -0
  34. data/docs/RepositoryAddRemoveContent.md +21 -0
  35. data/docs/RepositorySyncURL.md +2 -2
  36. data/docs/RepositoryVersion.md +25 -0
  37. data/docs/{DistributionTree.md → RpmDistributionTree.md} +2 -2
  38. data/docs/{Modulemd.md → RpmModulemd.md} +2 -8
  39. data/docs/{ModulemdDefaults.md → RpmModulemdDefaults.md} +2 -8
  40. data/docs/{Package.md → RpmPackage.md} +2 -8
  41. data/docs/RpmPackageCategory.md +33 -0
  42. data/docs/RpmPackageEnvironment.md +37 -0
  43. data/docs/RpmPackageGroup.md +39 -0
  44. data/docs/RpmPackageLangpacks.md +19 -0
  45. data/docs/{RepoMetadataFile.md → RpmRepoMetadataFile.md} +2 -8
  46. data/docs/{RpmDistribution.md → RpmRpmDistribution.md} +2 -2
  47. data/docs/{RpmPublication.md → RpmRpmPublication.md} +2 -2
  48. data/docs/{RpmRemote.md → RpmRpmRemote.md} +10 -14
  49. data/docs/RpmRpmRepository.md +27 -0
  50. data/docs/RpmUpdateCollection.md +21 -0
  51. data/docs/{UpdateRecord.md → RpmUpdateRecord.md} +24 -20
  52. data/lib/pulp_rpm_client/api/content_advisories_api.rb +28 -14
  53. data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +4 -4
  54. data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +8 -8
  55. data/lib/pulp_rpm_client/api/{content_modulemd_api.rb → content_modulemds_api.rb} +30 -30
  56. data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +227 -0
  57. data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +227 -0
  58. data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +227 -0
  59. data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +227 -0
  60. data/lib/pulp_rpm_client/api/content_packages_api.rb +7 -7
  61. data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +7 -7
  62. data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +13 -13
  63. data/lib/pulp_rpm_client/api/publications_rpm_api.rb +9 -9
  64. data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +16 -86
  65. data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +568 -0
  66. data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +268 -0
  67. data/lib/pulp_rpm_client/api_client.rb +1 -1
  68. data/lib/pulp_rpm_client/api_error.rb +1 -1
  69. data/lib/pulp_rpm_client/configuration.rb +1 -1
  70. data/lib/pulp_rpm_client/models/addon.rb +12 -2
  71. data/lib/pulp_rpm_client/models/artifact.rb +18 -2
  72. data/lib/pulp_rpm_client/models/async_operation_response.rb +12 -2
  73. data/lib/pulp_rpm_client/models/checksum.rb +12 -2
  74. data/lib/pulp_rpm_client/models/content_summary.rb +246 -0
  75. data/lib/pulp_rpm_client/models/image.rb +12 -2
  76. data/lib/pulp_rpm_client/models/inline_response200.rb +15 -3
  77. data/lib/pulp_rpm_client/models/inline_response2001.rb +15 -3
  78. data/lib/pulp_rpm_client/models/inline_response20010.rb +247 -0
  79. data/lib/pulp_rpm_client/models/inline_response20011.rb +247 -0
  80. data/lib/pulp_rpm_client/models/inline_response20012.rb +247 -0
  81. data/lib/pulp_rpm_client/models/inline_response20013.rb +247 -0
  82. data/lib/pulp_rpm_client/models/inline_response20014.rb +247 -0
  83. data/lib/pulp_rpm_client/models/inline_response2002.rb +15 -3
  84. data/lib/pulp_rpm_client/models/inline_response2003.rb +15 -3
  85. data/lib/pulp_rpm_client/models/inline_response2004.rb +15 -3
  86. data/lib/pulp_rpm_client/models/inline_response2005.rb +15 -3
  87. data/lib/pulp_rpm_client/models/inline_response2006.rb +15 -3
  88. data/lib/pulp_rpm_client/models/inline_response2007.rb +15 -3
  89. data/lib/pulp_rpm_client/models/inline_response2008.rb +15 -3
  90. data/lib/pulp_rpm_client/models/inline_response2009.rb +247 -0
  91. data/lib/pulp_rpm_client/models/repository_add_remove_content.rb +231 -0
  92. data/lib/pulp_rpm_client/models/repository_sync_url.rb +22 -12
  93. data/lib/pulp_rpm_client/models/repository_version.rb +244 -0
  94. data/lib/pulp_rpm_client/models/{distribution_tree.rb → rpm_distribution_tree.rb} +15 -5
  95. data/lib/pulp_rpm_client/models/{modulemd.rb → rpm_modulemd.rb} +16 -60
  96. data/lib/pulp_rpm_client/models/{modulemd_defaults.rb → rpm_modulemd_defaults.rb} +16 -60
  97. data/lib/pulp_rpm_client/models/{package.rb → rpm_package.rb} +16 -60
  98. data/lib/pulp_rpm_client/models/rpm_package_category.rb +405 -0
  99. data/lib/pulp_rpm_client/models/rpm_package_environment.rb +432 -0
  100. data/lib/pulp_rpm_client/models/rpm_package_group.rb +435 -0
  101. data/lib/pulp_rpm_client/models/rpm_package_langpacks.rb +246 -0
  102. data/lib/pulp_rpm_client/models/{repo_metadata_file.rb → rpm_repo_metadata_file.rb} +16 -60
  103. data/lib/pulp_rpm_client/models/{rpm_distribution.rb → rpm_rpm_distribution.rb} +17 -23
  104. data/lib/pulp_rpm_client/models/{rpm_publication.rb → rpm_rpm_publication.rb} +16 -5
  105. data/lib/pulp_rpm_client/models/{rpm_remote.rb → rpm_rpm_remote.rb} +69 -105
  106. data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +294 -0
  107. data/lib/pulp_rpm_client/models/rpm_update_collection.rb +240 -0
  108. data/lib/pulp_rpm_client/models/{update_record.rb → rpm_update_record.rb} +49 -239
  109. data/lib/pulp_rpm_client/models/variant.rb +12 -2
  110. data/lib/pulp_rpm_client/version.rb +2 -2
  111. data/lib/pulp_rpm_client.rb +32 -12
  112. data/pulp_rpm_client.gemspec +1 -1
  113. data/spec/api/content_advisories_api_spec.rb +6 -3
  114. data/spec/api/content_distribution_trees_api_spec.rb +2 -2
  115. data/spec/api/content_modulemd_defaults_api_spec.rb +3 -3
  116. data/spec/api/{content_modulemd_api_spec.rb → content_modulemds_api_spec.rb} +9 -9
  117. data/spec/api/content_packagecategories_api_spec.rb +79 -0
  118. data/spec/api/content_packageenvironments_api_spec.rb +79 -0
  119. data/spec/api/content_packagegroups_api_spec.rb +79 -0
  120. data/spec/api/content_packagelangpacks_api_spec.rb +79 -0
  121. data/spec/api/content_packages_api_spec.rb +3 -3
  122. data/spec/api/content_repo_metadata_files_api_spec.rb +3 -3
  123. data/spec/api/distributions_rpm_api_spec.rb +3 -3
  124. data/spec/api/publications_rpm_api_spec.rb +3 -3
  125. data/spec/api/remotes_rpm_api_spec.rb +4 -17
  126. data/spec/api/repositories_rpm_api_spec.rb +141 -0
  127. data/spec/api/repositories_rpm_versions_api_spec.rb +91 -0
  128. data/spec/api_client_spec.rb +1 -1
  129. data/spec/configuration_spec.rb +1 -1
  130. data/spec/models/addon_spec.rb +1 -1
  131. data/spec/models/artifact_spec.rb +1 -1
  132. data/spec/models/async_operation_response_spec.rb +1 -1
  133. data/spec/models/checksum_spec.rb +1 -1
  134. data/spec/models/content_summary_spec.rb +53 -0
  135. data/spec/models/image_spec.rb +1 -1
  136. data/spec/models/inline_response20010_spec.rb +59 -0
  137. data/spec/models/inline_response20011_spec.rb +59 -0
  138. data/spec/models/inline_response20012_spec.rb +59 -0
  139. data/spec/models/inline_response20013_spec.rb +59 -0
  140. data/spec/models/inline_response20014_spec.rb +59 -0
  141. data/spec/models/inline_response2001_spec.rb +1 -1
  142. data/spec/models/inline_response2002_spec.rb +1 -1
  143. data/spec/models/inline_response2003_spec.rb +1 -1
  144. data/spec/models/inline_response2004_spec.rb +1 -1
  145. data/spec/models/inline_response2005_spec.rb +1 -1
  146. data/spec/models/inline_response2006_spec.rb +1 -1
  147. data/spec/models/inline_response2007_spec.rb +1 -1
  148. data/spec/models/inline_response2008_spec.rb +1 -1
  149. data/spec/models/inline_response2009_spec.rb +59 -0
  150. data/spec/models/inline_response200_spec.rb +1 -1
  151. data/spec/models/repository_add_remove_content_spec.rb +53 -0
  152. data/spec/models/repository_sync_url_spec.rb +2 -2
  153. data/spec/models/repository_version_spec.rb +65 -0
  154. data/spec/models/{distribution_tree_spec.rb → rpm_distribution_tree_spec.rb} +7 -7
  155. data/spec/models/{modulemd_defaults_spec.rb → rpm_modulemd_defaults_spec.rb} +7 -25
  156. data/spec/models/{modulemd_spec.rb → rpm_modulemd_spec.rb} +7 -25
  157. data/spec/models/{repo_metadata_file_spec.rb → rpm_package_category_spec.rb} +16 -16
  158. data/spec/models/rpm_package_environment_spec.rb +101 -0
  159. data/spec/models/rpm_package_group_spec.rb +107 -0
  160. data/spec/models/rpm_package_langpacks_spec.rb +47 -0
  161. data/spec/models/{package_spec.rb → rpm_package_spec.rb} +7 -25
  162. data/spec/models/rpm_repo_metadata_file_spec.rb +71 -0
  163. data/spec/models/{rpm_distribution_spec.rb → rpm_rpm_distribution_spec.rb} +7 -7
  164. data/spec/models/{rpm_publication_spec.rb → rpm_rpm_publication_spec.rb} +7 -7
  165. data/spec/models/{rpm_remote_spec.rb → rpm_rpm_remote_spec.rb} +11 -23
  166. data/spec/models/rpm_rpm_repository_spec.rb +71 -0
  167. data/spec/models/rpm_update_collection_spec.rb +53 -0
  168. data/spec/models/{update_record_spec.rb → rpm_update_record_spec.rb} +19 -7
  169. data/spec/models/variant_spec.rb +1 -1
  170. data/spec/spec_helper.rb +1 -1
  171. metadata +126 -46
  172. data/docs/RpmCopyApi.md +0 -70
  173. data/lib/pulp_rpm_client/api/rpm_copy_api.rb +0 -96
  174. data/spec/api/rpm_copy_api_spec.rb +0 -50
@@ -0,0 +1,189 @@
1
+ # PulpRpmClient::ContentPackageenvironmentsApi
2
+
3
+ All URIs are relative to *http://localhost:24817*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**delete**](ContentPackageenvironmentsApi.md#delete) | **DELETE** {package_environment_href} | Delete a package environment
8
+ [**list**](ContentPackageenvironmentsApi.md#list) | **GET** /pulp/api/v3/content/rpm/packageenvironments/ | List package environments
9
+ [**read**](ContentPackageenvironmentsApi.md#read) | **GET** {package_environment_href} | Inspect a package environment
10
+
11
+
12
+
13
+ ## delete
14
+
15
+ > delete(package_environment_href)
16
+
17
+ Delete a package environment
18
+
19
+ PackageEnvironment ViewSet.
20
+
21
+ ### Example
22
+
23
+ ```ruby
24
+ # load the gem
25
+ require 'pulp_rpm_client'
26
+ # setup authorization
27
+ PulpRpmClient.configure do |config|
28
+ # Configure HTTP basic authorization: Basic
29
+ config.username = 'YOUR USERNAME'
30
+ config.password = 'YOUR PASSWORD'
31
+ end
32
+
33
+ api_instance = PulpRpmClient::ContentPackageenvironmentsApi.new
34
+ package_environment_href = 'package_environment_href_example' # String | URI of Package Environment. e.g.: /pulp/api/v3/content/rpm/packageenvironments/1/
35
+
36
+ begin
37
+ #Delete a package environment
38
+ api_instance.delete(package_environment_href)
39
+ rescue PulpRpmClient::ApiError => e
40
+ puts "Exception when calling ContentPackageenvironmentsApi->delete: #{e}"
41
+ end
42
+ ```
43
+
44
+ ### Parameters
45
+
46
+
47
+ Name | Type | Description | Notes
48
+ ------------- | ------------- | ------------- | -------------
49
+ **package_environment_href** | **String**| URI of Package Environment. e.g.: /pulp/api/v3/content/rpm/packageenvironments/1/ |
50
+
51
+ ### Return type
52
+
53
+ nil (empty response body)
54
+
55
+ ### Authorization
56
+
57
+ [Basic](../README.md#Basic)
58
+
59
+ ### HTTP request headers
60
+
61
+ - **Content-Type**: Not defined
62
+ - **Accept**: Not defined
63
+
64
+
65
+ ## list
66
+
67
+ > InlineResponse2005 list(opts)
68
+
69
+ List package environments
70
+
71
+ PackageEnvironment ViewSet.
72
+
73
+ ### Example
74
+
75
+ ```ruby
76
+ # load the gem
77
+ require 'pulp_rpm_client'
78
+ # setup authorization
79
+ PulpRpmClient.configure do |config|
80
+ # Configure HTTP basic authorization: Basic
81
+ config.username = 'YOUR USERNAME'
82
+ config.password = 'YOUR PASSWORD'
83
+ end
84
+
85
+ api_instance = PulpRpmClient::ContentPackageenvironmentsApi.new
86
+ opts = {
87
+ repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
88
+ repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
89
+ repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
90
+ limit: 56, # Integer | Number of results to return per page.
91
+ offset: 56, # Integer | The initial index from which to return the results.
92
+ fields: 'fields_example', # String | A list of fields to include in the response.
93
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
94
+ }
95
+
96
+ begin
97
+ #List package environments
98
+ result = api_instance.list(opts)
99
+ p result
100
+ rescue PulpRpmClient::ApiError => e
101
+ puts "Exception when calling ContentPackageenvironmentsApi->list: #{e}"
102
+ end
103
+ ```
104
+
105
+ ### Parameters
106
+
107
+
108
+ Name | Type | Description | Notes
109
+ ------------- | ------------- | ------------- | -------------
110
+ **repository_version** | **String**| Repository Version referenced by HREF | [optional]
111
+ **repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
112
+ **repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
113
+ **limit** | **Integer**| Number of results to return per page. | [optional]
114
+ **offset** | **Integer**| The initial index from which to return the results. | [optional]
115
+ **fields** | **String**| A list of fields to include in the response. | [optional]
116
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
117
+
118
+ ### Return type
119
+
120
+ [**InlineResponse2005**](InlineResponse2005.md)
121
+
122
+ ### Authorization
123
+
124
+ [Basic](../README.md#Basic)
125
+
126
+ ### HTTP request headers
127
+
128
+ - **Content-Type**: Not defined
129
+ - **Accept**: application/json
130
+
131
+
132
+ ## read
133
+
134
+ > RpmPackageEnvironment read(package_environment_href, opts)
135
+
136
+ Inspect a package environment
137
+
138
+ PackageEnvironment ViewSet.
139
+
140
+ ### Example
141
+
142
+ ```ruby
143
+ # load the gem
144
+ require 'pulp_rpm_client'
145
+ # setup authorization
146
+ PulpRpmClient.configure do |config|
147
+ # Configure HTTP basic authorization: Basic
148
+ config.username = 'YOUR USERNAME'
149
+ config.password = 'YOUR PASSWORD'
150
+ end
151
+
152
+ api_instance = PulpRpmClient::ContentPackageenvironmentsApi.new
153
+ package_environment_href = 'package_environment_href_example' # String | URI of Package Environment. e.g.: /pulp/api/v3/content/rpm/packageenvironments/1/
154
+ opts = {
155
+ fields: 'fields_example', # String | A list of fields to include in the response.
156
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
157
+ }
158
+
159
+ begin
160
+ #Inspect a package environment
161
+ result = api_instance.read(package_environment_href, opts)
162
+ p result
163
+ rescue PulpRpmClient::ApiError => e
164
+ puts "Exception when calling ContentPackageenvironmentsApi->read: #{e}"
165
+ end
166
+ ```
167
+
168
+ ### Parameters
169
+
170
+
171
+ Name | Type | Description | Notes
172
+ ------------- | ------------- | ------------- | -------------
173
+ **package_environment_href** | **String**| URI of Package Environment. e.g.: /pulp/api/v3/content/rpm/packageenvironments/1/ |
174
+ **fields** | **String**| A list of fields to include in the response. | [optional]
175
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
176
+
177
+ ### Return type
178
+
179
+ [**RpmPackageEnvironment**](RpmPackageEnvironment.md)
180
+
181
+ ### Authorization
182
+
183
+ [Basic](../README.md#Basic)
184
+
185
+ ### HTTP request headers
186
+
187
+ - **Content-Type**: Not defined
188
+ - **Accept**: application/json
189
+
@@ -0,0 +1,189 @@
1
+ # PulpRpmClient::ContentPackagegroupsApi
2
+
3
+ All URIs are relative to *http://localhost:24817*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**delete**](ContentPackagegroupsApi.md#delete) | **DELETE** {package_group_href} | Delete a package group
8
+ [**list**](ContentPackagegroupsApi.md#list) | **GET** /pulp/api/v3/content/rpm/packagegroups/ | List package groups
9
+ [**read**](ContentPackagegroupsApi.md#read) | **GET** {package_group_href} | Inspect a package group
10
+
11
+
12
+
13
+ ## delete
14
+
15
+ > delete(package_group_href)
16
+
17
+ Delete a package group
18
+
19
+ PackageGroup ViewSet.
20
+
21
+ ### Example
22
+
23
+ ```ruby
24
+ # load the gem
25
+ require 'pulp_rpm_client'
26
+ # setup authorization
27
+ PulpRpmClient.configure do |config|
28
+ # Configure HTTP basic authorization: Basic
29
+ config.username = 'YOUR USERNAME'
30
+ config.password = 'YOUR PASSWORD'
31
+ end
32
+
33
+ api_instance = PulpRpmClient::ContentPackagegroupsApi.new
34
+ package_group_href = 'package_group_href_example' # String | URI of Package Group. e.g.: /pulp/api/v3/content/rpm/packagegroups/1/
35
+
36
+ begin
37
+ #Delete a package group
38
+ api_instance.delete(package_group_href)
39
+ rescue PulpRpmClient::ApiError => e
40
+ puts "Exception when calling ContentPackagegroupsApi->delete: #{e}"
41
+ end
42
+ ```
43
+
44
+ ### Parameters
45
+
46
+
47
+ Name | Type | Description | Notes
48
+ ------------- | ------------- | ------------- | -------------
49
+ **package_group_href** | **String**| URI of Package Group. e.g.: /pulp/api/v3/content/rpm/packagegroups/1/ |
50
+
51
+ ### Return type
52
+
53
+ nil (empty response body)
54
+
55
+ ### Authorization
56
+
57
+ [Basic](../README.md#Basic)
58
+
59
+ ### HTTP request headers
60
+
61
+ - **Content-Type**: Not defined
62
+ - **Accept**: Not defined
63
+
64
+
65
+ ## list
66
+
67
+ > InlineResponse2006 list(opts)
68
+
69
+ List package groups
70
+
71
+ PackageGroup ViewSet.
72
+
73
+ ### Example
74
+
75
+ ```ruby
76
+ # load the gem
77
+ require 'pulp_rpm_client'
78
+ # setup authorization
79
+ PulpRpmClient.configure do |config|
80
+ # Configure HTTP basic authorization: Basic
81
+ config.username = 'YOUR USERNAME'
82
+ config.password = 'YOUR PASSWORD'
83
+ end
84
+
85
+ api_instance = PulpRpmClient::ContentPackagegroupsApi.new
86
+ opts = {
87
+ repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
88
+ repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
89
+ repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
90
+ limit: 56, # Integer | Number of results to return per page.
91
+ offset: 56, # Integer | The initial index from which to return the results.
92
+ fields: 'fields_example', # String | A list of fields to include in the response.
93
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
94
+ }
95
+
96
+ begin
97
+ #List package groups
98
+ result = api_instance.list(opts)
99
+ p result
100
+ rescue PulpRpmClient::ApiError => e
101
+ puts "Exception when calling ContentPackagegroupsApi->list: #{e}"
102
+ end
103
+ ```
104
+
105
+ ### Parameters
106
+
107
+
108
+ Name | Type | Description | Notes
109
+ ------------- | ------------- | ------------- | -------------
110
+ **repository_version** | **String**| Repository Version referenced by HREF | [optional]
111
+ **repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
112
+ **repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
113
+ **limit** | **Integer**| Number of results to return per page. | [optional]
114
+ **offset** | **Integer**| The initial index from which to return the results. | [optional]
115
+ **fields** | **String**| A list of fields to include in the response. | [optional]
116
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
117
+
118
+ ### Return type
119
+
120
+ [**InlineResponse2006**](InlineResponse2006.md)
121
+
122
+ ### Authorization
123
+
124
+ [Basic](../README.md#Basic)
125
+
126
+ ### HTTP request headers
127
+
128
+ - **Content-Type**: Not defined
129
+ - **Accept**: application/json
130
+
131
+
132
+ ## read
133
+
134
+ > RpmPackageGroup read(package_group_href, opts)
135
+
136
+ Inspect a package group
137
+
138
+ PackageGroup ViewSet.
139
+
140
+ ### Example
141
+
142
+ ```ruby
143
+ # load the gem
144
+ require 'pulp_rpm_client'
145
+ # setup authorization
146
+ PulpRpmClient.configure do |config|
147
+ # Configure HTTP basic authorization: Basic
148
+ config.username = 'YOUR USERNAME'
149
+ config.password = 'YOUR PASSWORD'
150
+ end
151
+
152
+ api_instance = PulpRpmClient::ContentPackagegroupsApi.new
153
+ package_group_href = 'package_group_href_example' # String | URI of Package Group. e.g.: /pulp/api/v3/content/rpm/packagegroups/1/
154
+ opts = {
155
+ fields: 'fields_example', # String | A list of fields to include in the response.
156
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
157
+ }
158
+
159
+ begin
160
+ #Inspect a package group
161
+ result = api_instance.read(package_group_href, opts)
162
+ p result
163
+ rescue PulpRpmClient::ApiError => e
164
+ puts "Exception when calling ContentPackagegroupsApi->read: #{e}"
165
+ end
166
+ ```
167
+
168
+ ### Parameters
169
+
170
+
171
+ Name | Type | Description | Notes
172
+ ------------- | ------------- | ------------- | -------------
173
+ **package_group_href** | **String**| URI of Package Group. e.g.: /pulp/api/v3/content/rpm/packagegroups/1/ |
174
+ **fields** | **String**| A list of fields to include in the response. | [optional]
175
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
176
+
177
+ ### Return type
178
+
179
+ [**RpmPackageGroup**](RpmPackageGroup.md)
180
+
181
+ ### Authorization
182
+
183
+ [Basic](../README.md#Basic)
184
+
185
+ ### HTTP request headers
186
+
187
+ - **Content-Type**: Not defined
188
+ - **Accept**: application/json
189
+
@@ -0,0 +1,189 @@
1
+ # PulpRpmClient::ContentPackagelangpacksApi
2
+
3
+ All URIs are relative to *http://localhost:24817*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**delete**](ContentPackagelangpacksApi.md#delete) | **DELETE** {package_langpacks_href} | Delete a package langpacks
8
+ [**list**](ContentPackagelangpacksApi.md#list) | **GET** /pulp/api/v3/content/rpm/packagelangpacks/ | List package langpackss
9
+ [**read**](ContentPackagelangpacksApi.md#read) | **GET** {package_langpacks_href} | Inspect a package langpacks
10
+
11
+
12
+
13
+ ## delete
14
+
15
+ > delete(package_langpacks_href)
16
+
17
+ Delete a package langpacks
18
+
19
+ PackageLangpacks ViewSet.
20
+
21
+ ### Example
22
+
23
+ ```ruby
24
+ # load the gem
25
+ require 'pulp_rpm_client'
26
+ # setup authorization
27
+ PulpRpmClient.configure do |config|
28
+ # Configure HTTP basic authorization: Basic
29
+ config.username = 'YOUR USERNAME'
30
+ config.password = 'YOUR PASSWORD'
31
+ end
32
+
33
+ api_instance = PulpRpmClient::ContentPackagelangpacksApi.new
34
+ package_langpacks_href = 'package_langpacks_href_example' # String | URI of Package Langpacks. e.g.: /pulp/api/v3/content/rpm/packagelangpacks/1/
35
+
36
+ begin
37
+ #Delete a package langpacks
38
+ api_instance.delete(package_langpacks_href)
39
+ rescue PulpRpmClient::ApiError => e
40
+ puts "Exception when calling ContentPackagelangpacksApi->delete: #{e}"
41
+ end
42
+ ```
43
+
44
+ ### Parameters
45
+
46
+
47
+ Name | Type | Description | Notes
48
+ ------------- | ------------- | ------------- | -------------
49
+ **package_langpacks_href** | **String**| URI of Package Langpacks. e.g.: /pulp/api/v3/content/rpm/packagelangpacks/1/ |
50
+
51
+ ### Return type
52
+
53
+ nil (empty response body)
54
+
55
+ ### Authorization
56
+
57
+ [Basic](../README.md#Basic)
58
+
59
+ ### HTTP request headers
60
+
61
+ - **Content-Type**: Not defined
62
+ - **Accept**: Not defined
63
+
64
+
65
+ ## list
66
+
67
+ > InlineResponse2007 list(opts)
68
+
69
+ List package langpackss
70
+
71
+ PackageLangpacks ViewSet.
72
+
73
+ ### Example
74
+
75
+ ```ruby
76
+ # load the gem
77
+ require 'pulp_rpm_client'
78
+ # setup authorization
79
+ PulpRpmClient.configure do |config|
80
+ # Configure HTTP basic authorization: Basic
81
+ config.username = 'YOUR USERNAME'
82
+ config.password = 'YOUR PASSWORD'
83
+ end
84
+
85
+ api_instance = PulpRpmClient::ContentPackagelangpacksApi.new
86
+ opts = {
87
+ repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
88
+ repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
89
+ repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
90
+ limit: 56, # Integer | Number of results to return per page.
91
+ offset: 56, # Integer | The initial index from which to return the results.
92
+ fields: 'fields_example', # String | A list of fields to include in the response.
93
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
94
+ }
95
+
96
+ begin
97
+ #List package langpackss
98
+ result = api_instance.list(opts)
99
+ p result
100
+ rescue PulpRpmClient::ApiError => e
101
+ puts "Exception when calling ContentPackagelangpacksApi->list: #{e}"
102
+ end
103
+ ```
104
+
105
+ ### Parameters
106
+
107
+
108
+ Name | Type | Description | Notes
109
+ ------------- | ------------- | ------------- | -------------
110
+ **repository_version** | **String**| Repository Version referenced by HREF | [optional]
111
+ **repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
112
+ **repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
113
+ **limit** | **Integer**| Number of results to return per page. | [optional]
114
+ **offset** | **Integer**| The initial index from which to return the results. | [optional]
115
+ **fields** | **String**| A list of fields to include in the response. | [optional]
116
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
117
+
118
+ ### Return type
119
+
120
+ [**InlineResponse2007**](InlineResponse2007.md)
121
+
122
+ ### Authorization
123
+
124
+ [Basic](../README.md#Basic)
125
+
126
+ ### HTTP request headers
127
+
128
+ - **Content-Type**: Not defined
129
+ - **Accept**: application/json
130
+
131
+
132
+ ## read
133
+
134
+ > RpmPackageLangpacks read(package_langpacks_href, opts)
135
+
136
+ Inspect a package langpacks
137
+
138
+ PackageLangpacks ViewSet.
139
+
140
+ ### Example
141
+
142
+ ```ruby
143
+ # load the gem
144
+ require 'pulp_rpm_client'
145
+ # setup authorization
146
+ PulpRpmClient.configure do |config|
147
+ # Configure HTTP basic authorization: Basic
148
+ config.username = 'YOUR USERNAME'
149
+ config.password = 'YOUR PASSWORD'
150
+ end
151
+
152
+ api_instance = PulpRpmClient::ContentPackagelangpacksApi.new
153
+ package_langpacks_href = 'package_langpacks_href_example' # String | URI of Package Langpacks. e.g.: /pulp/api/v3/content/rpm/packagelangpacks/1/
154
+ opts = {
155
+ fields: 'fields_example', # String | A list of fields to include in the response.
156
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
157
+ }
158
+
159
+ begin
160
+ #Inspect a package langpacks
161
+ result = api_instance.read(package_langpacks_href, opts)
162
+ p result
163
+ rescue PulpRpmClient::ApiError => e
164
+ puts "Exception when calling ContentPackagelangpacksApi->read: #{e}"
165
+ end
166
+ ```
167
+
168
+ ### Parameters
169
+
170
+
171
+ Name | Type | Description | Notes
172
+ ------------- | ------------- | ------------- | -------------
173
+ **package_langpacks_href** | **String**| URI of Package Langpacks. e.g.: /pulp/api/v3/content/rpm/packagelangpacks/1/ |
174
+ **fields** | **String**| A list of fields to include in the response. | [optional]
175
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
176
+
177
+ ### Return type
178
+
179
+ [**RpmPackageLangpacks**](RpmPackageLangpacks.md)
180
+
181
+ ### Authorization
182
+
183
+ [Basic](../README.md#Basic)
184
+
185
+ ### HTTP request headers
186
+
187
+ - **Content-Type**: Not defined
188
+ - **Accept**: application/json
189
+
@@ -73,7 +73,7 @@ Name | Type | Description | Notes
73
73
 
74
74
  ## list
75
75
 
76
- > InlineResponse2004 list(opts)
76
+ > InlineResponse2008 list(opts)
77
77
 
78
78
  List packages
79
79
 
@@ -154,7 +154,7 @@ Name | Type | Description | Notes
154
154
 
155
155
  ### Return type
156
156
 
157
- [**InlineResponse2004**](InlineResponse2004.md)
157
+ [**InlineResponse2008**](InlineResponse2008.md)
158
158
 
159
159
  ### Authorization
160
160
 
@@ -168,7 +168,7 @@ Name | Type | Description | Notes
168
168
 
169
169
  ## read
170
170
 
171
- > Package read(package_href, opts)
171
+ > RpmPackage read(package_href, opts)
172
172
 
173
173
  Inspect a package
174
174
 
@@ -213,7 +213,7 @@ Name | Type | Description | Notes
213
213
 
214
214
  ### Return type
215
215
 
216
- [**Package**](Package.md)
216
+ [**RpmPackage**](RpmPackage.md)
217
217
 
218
218
  ### Authorization
219
219
 
@@ -64,7 +64,7 @@ nil (empty response body)
64
64
 
65
65
  ## list
66
66
 
67
- > InlineResponse2005 list(opts)
67
+ > InlineResponse2009 list(opts)
68
68
 
69
69
  List repo metadata files
70
70
 
@@ -117,7 +117,7 @@ Name | Type | Description | Notes
117
117
 
118
118
  ### Return type
119
119
 
120
- [**InlineResponse2005**](InlineResponse2005.md)
120
+ [**InlineResponse2009**](InlineResponse2009.md)
121
121
 
122
122
  ### Authorization
123
123
 
@@ -131,7 +131,7 @@ Name | Type | Description | Notes
131
131
 
132
132
  ## read
133
133
 
134
- > RepoMetadataFile read(repo_metadata_file_href, opts)
134
+ > RpmRepoMetadataFile read(repo_metadata_file_href, opts)
135
135
 
136
136
  Inspect a repo metadata file
137
137
 
@@ -176,7 +176,7 @@ Name | Type | Description | Notes
176
176
 
177
177
  ### Return type
178
178
 
179
- [**RepoMetadataFile**](RepoMetadataFile.md)
179
+ [**RpmRepoMetadataFile**](RpmRepoMetadataFile.md)
180
180
 
181
181
  ### Authorization
182
182
 
@@ -0,0 +1,21 @@
1
+ # PulpRpmClient::ContentSummary
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **added** | **Hash<String, Hash<String, String>>** | |
8
+ **removed** | **Hash<String, Hash<String, String>>** | |
9
+ **present** | **Hash<String, Hash<String, String>>** | |
10
+
11
+ ## Code Sample
12
+
13
+ ```ruby
14
+ require 'PulpRpmClient'
15
+
16
+ instance = PulpRpmClient::ContentSummary.new(added: null,
17
+ removed: null,
18
+ present: null)
19
+ ```
20
+
21
+