pulp_rpm_client 3.17.20 → 3.18.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (92) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +10 -4
  3. data/docs/AcsRpmApi.md +11 -13
  4. data/docs/ContentAdvisoriesApi.md +8 -8
  5. data/docs/ContentDistributionTreesApi.md +8 -8
  6. data/docs/ContentModulemdDefaultsApi.md +13 -29
  7. data/docs/ContentModulemdObsoletesApi.md +192 -0
  8. data/docs/ContentModulemdsApi.md +13 -41
  9. data/docs/ContentPackagecategoriesApi.md +8 -8
  10. data/docs/ContentPackageenvironmentsApi.md +8 -8
  11. data/docs/ContentPackagegroupsApi.md +8 -8
  12. data/docs/ContentPackagelangpacksApi.md +8 -8
  13. data/docs/ContentPackagesApi.md +12 -12
  14. data/docs/ContentRepoMetadataFilesApi.md +8 -8
  15. data/docs/DistributionsRpmApi.md +8 -8
  16. data/docs/PaginatedrpmModulemdObsoleteResponseList.md +23 -0
  17. data/docs/PatchedrpmRpmRepository.md +1 -1
  18. data/docs/PublicationsRpmApi.md +8 -8
  19. data/docs/RemotesRpmApi.md +8 -8
  20. data/docs/RemotesUlnApi.md +8 -8
  21. data/docs/RepositoriesRpmApi.md +8 -8
  22. data/docs/RepositoriesRpmVersionsApi.md +8 -8
  23. data/docs/RpmModulemd.md +8 -12
  24. data/docs/RpmModulemdDefaults.md +4 -12
  25. data/docs/RpmModulemdDefaultsResponse.md +0 -14
  26. data/docs/RpmModulemdObsolete.md +35 -0
  27. data/docs/RpmModulemdObsoleteResponse.md +37 -0
  28. data/docs/RpmModulemdResponse.md +5 -15
  29. data/docs/RpmPackage.md +1 -1
  30. data/docs/RpmRpmPublication.md +1 -1
  31. data/docs/RpmRpmPublicationResponse.md +1 -1
  32. data/docs/RpmRpmRepository.md +1 -1
  33. data/docs/RpmRpmRepositoryResponse.md +1 -1
  34. data/lib/pulp_rpm_client/api/acs_rpm_api.rb +16 -24
  35. data/lib/pulp_rpm_client/api/content_advisories_api.rb +12 -12
  36. data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +12 -12
  37. data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +23 -69
  38. data/lib/pulp_rpm_client/api/content_modulemd_obsoletes_api.rb +238 -0
  39. data/lib/pulp_rpm_client/api/content_modulemds_api.rb +23 -107
  40. data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +12 -12
  41. data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +12 -12
  42. data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +12 -12
  43. data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +12 -12
  44. data/lib/pulp_rpm_client/api/content_packages_api.rb +20 -24
  45. data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +12 -12
  46. data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +12 -12
  47. data/lib/pulp_rpm_client/api/publications_rpm_api.rb +12 -12
  48. data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +12 -12
  49. data/lib/pulp_rpm_client/api/remotes_uln_api.rb +12 -12
  50. data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +12 -12
  51. data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +12 -12
  52. data/lib/pulp_rpm_client/models/paginatedrpm_modulemd_obsolete_response_list.rb +237 -0
  53. data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +1 -1
  54. data/lib/pulp_rpm_client/models/rpm_modulemd.rb +83 -78
  55. data/lib/pulp_rpm_client/models/rpm_modulemd_defaults.rb +38 -78
  56. data/lib/pulp_rpm_client/models/rpm_modulemd_defaults_response.rb +1 -71
  57. data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete.rb +464 -0
  58. data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete_response.rb +332 -0
  59. data/lib/pulp_rpm_client/models/rpm_modulemd_response.rb +30 -74
  60. data/lib/pulp_rpm_client/models/rpm_package.rb +3 -12
  61. data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +1 -1
  62. data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +1 -1
  63. data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +1 -1
  64. data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +1 -1
  65. data/lib/pulp_rpm_client/version.rb +1 -1
  66. data/lib/pulp_rpm_client.rb +4 -0
  67. data/spec/api/acs_rpm_api_spec.rb +4 -5
  68. data/spec/api/content_advisories_api_spec.rb +4 -4
  69. data/spec/api/content_distribution_trees_api_spec.rb +4 -4
  70. data/spec/api/content_modulemd_defaults_api_spec.rb +5 -12
  71. data/spec/api/content_modulemd_obsoletes_api_spec.rb +80 -0
  72. data/spec/api/content_modulemds_api_spec.rb +5 -18
  73. data/spec/api/content_packagecategories_api_spec.rb +4 -4
  74. data/spec/api/content_packageenvironments_api_spec.rb +4 -4
  75. data/spec/api/content_packagegroups_api_spec.rb +4 -4
  76. data/spec/api/content_packagelangpacks_api_spec.rb +4 -4
  77. data/spec/api/content_packages_api_spec.rb +5 -5
  78. data/spec/api/content_repo_metadata_files_api_spec.rb +4 -4
  79. data/spec/api/distributions_rpm_api_spec.rb +4 -4
  80. data/spec/api/publications_rpm_api_spec.rb +4 -4
  81. data/spec/api/remotes_rpm_api_spec.rb +4 -4
  82. data/spec/api/remotes_uln_api_spec.rb +4 -4
  83. data/spec/api/repositories_rpm_api_spec.rb +4 -4
  84. data/spec/api/repositories_rpm_versions_api_spec.rb +4 -4
  85. data/spec/models/paginatedrpm_modulemd_obsolete_response_list_spec.rb +59 -0
  86. data/spec/models/rpm_modulemd_defaults_response_spec.rb +0 -42
  87. data/spec/models/rpm_modulemd_defaults_spec.rb +4 -28
  88. data/spec/models/rpm_modulemd_obsolete_response_spec.rb +101 -0
  89. data/spec/models/rpm_modulemd_obsolete_spec.rb +95 -0
  90. data/spec/models/rpm_modulemd_response_spec.rb +11 -41
  91. data/spec/models/rpm_modulemd_spec.rb +12 -24
  92. metadata +86 -70
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 729689febc0c8907989c2bc0adea159dd838ec4d003e86cac305c85bec2bd143
4
- data.tar.gz: f2808c41eb8065712da91b6d6863dda3aae5036ce3b9dc87c10c89e82fc61040
3
+ metadata.gz: 156b1b486e76ca1485dd05afde70682bdbf5459096727d4720f8a6d966badc09
4
+ data.tar.gz: 440b138380ed39e3eb7bf267137c92e5f7fd55df7c88bb6a1bd60bf9146ec96d
5
5
  SHA512:
6
- metadata.gz: 2d802c61f68d95fa9baceab7485ccca48019cb239638b49cc346ce21c7ddf3aef7fdf6777170454d62061e5cd1dd8a1d3bc61418cc8df2a87b5941d78fef887e
7
- data.tar.gz: 32ccbfa06a615ad05e29d1e129f0dc568c2d230df67d3f5dcd498ce8b5782f510a25a9f2c0f62e13d73eb5a7747c605ec47e2dd2b89bcdffd086c1a3c579600e
6
+ metadata.gz: 10e51ac0196eff238d095809243a1d816c394d5a6bcce41fa109bf4039487b98918133fa076d8e4c59d458ca9cc7aea5cddac8e971cd7187061010eaa9551646
7
+ data.tar.gz: 7e7567aeff3aef3f7a43a96b91c7ef127b447248f353ea575c2756d7a686ffa981c65d9b6675e36b98a02e5b4b7dcddd89149900566e1cbc54d130aa662458f7
data/README.md CHANGED
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: v3
10
- - Package version: 3.17.20
10
+ - Package version: 3.18.0
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
13
13
 
@@ -24,16 +24,16 @@ gem build pulp_rpm_client.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./pulp_rpm_client-3.17.20.gem
27
+ gem install ./pulp_rpm_client-3.18.0.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_rpm_client-3.17.20.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_rpm_client-3.18.0.gem` to install the development dependencies)
31
31
 
32
32
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
33
33
 
34
34
  Finally add this to the Gemfile:
35
35
 
36
- gem 'pulp_rpm_client', '~> 3.17.20'
36
+ gem 'pulp_rpm_client', '~> 3.18.0'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -98,6 +98,9 @@ Class | Method | HTTP request | Description
98
98
  *PulpRpmClient::ContentModulemdDefaultsApi* | [**create**](docs/ContentModulemdDefaultsApi.md#create) | **POST** /pulp/api/v3/content/rpm/modulemd_defaults/ | Create a modulemd defaults
99
99
  *PulpRpmClient::ContentModulemdDefaultsApi* | [**list**](docs/ContentModulemdDefaultsApi.md#list) | **GET** /pulp/api/v3/content/rpm/modulemd_defaults/ | List modulemd defaultss
100
100
  *PulpRpmClient::ContentModulemdDefaultsApi* | [**read**](docs/ContentModulemdDefaultsApi.md#read) | **GET** {rpm_modulemd_defaults_href} | Inspect a modulemd defaults
101
+ *PulpRpmClient::ContentModulemdObsoletesApi* | [**create**](docs/ContentModulemdObsoletesApi.md#create) | **POST** /pulp/api/v3/content/rpm/modulemd_obsoletes/ | Create a modulemd obsolete
102
+ *PulpRpmClient::ContentModulemdObsoletesApi* | [**list**](docs/ContentModulemdObsoletesApi.md#list) | **GET** /pulp/api/v3/content/rpm/modulemd_obsoletes/ | List modulemd obsoletes
103
+ *PulpRpmClient::ContentModulemdObsoletesApi* | [**read**](docs/ContentModulemdObsoletesApi.md#read) | **GET** {rpm_modulemd_obsolete_href} | Inspect a modulemd obsolete
101
104
  *PulpRpmClient::ContentModulemdsApi* | [**create**](docs/ContentModulemdsApi.md#create) | **POST** /pulp/api/v3/content/rpm/modulemds/ | Create a modulemd
102
105
  *PulpRpmClient::ContentModulemdsApi* | [**list**](docs/ContentModulemdsApi.md#list) | **GET** /pulp/api/v3/content/rpm/modulemds/ | List modulemds
103
106
  *PulpRpmClient::ContentModulemdsApi* | [**read**](docs/ContentModulemdsApi.md#read) | **GET** {rpm_modulemd_href} | Inspect a modulemd
@@ -167,6 +170,7 @@ Class | Method | HTTP request | Description
167
170
  - [PulpRpmClient::PaginatedRepositoryVersionResponseList](docs/PaginatedRepositoryVersionResponseList.md)
168
171
  - [PulpRpmClient::PaginatedrpmDistributionTreeResponseList](docs/PaginatedrpmDistributionTreeResponseList.md)
169
172
  - [PulpRpmClient::PaginatedrpmModulemdDefaultsResponseList](docs/PaginatedrpmModulemdDefaultsResponseList.md)
173
+ - [PulpRpmClient::PaginatedrpmModulemdObsoleteResponseList](docs/PaginatedrpmModulemdObsoleteResponseList.md)
170
174
  - [PulpRpmClient::PaginatedrpmModulemdResponseList](docs/PaginatedrpmModulemdResponseList.md)
171
175
  - [PulpRpmClient::PaginatedrpmPackageCategoryResponseList](docs/PaginatedrpmPackageCategoryResponseList.md)
172
176
  - [PulpRpmClient::PaginatedrpmPackageEnvironmentResponseList](docs/PaginatedrpmPackageEnvironmentResponseList.md)
@@ -194,6 +198,8 @@ Class | Method | HTTP request | Description
194
198
  - [PulpRpmClient::RpmModulemd](docs/RpmModulemd.md)
195
199
  - [PulpRpmClient::RpmModulemdDefaults](docs/RpmModulemdDefaults.md)
196
200
  - [PulpRpmClient::RpmModulemdDefaultsResponse](docs/RpmModulemdDefaultsResponse.md)
201
+ - [PulpRpmClient::RpmModulemdObsolete](docs/RpmModulemdObsolete.md)
202
+ - [PulpRpmClient::RpmModulemdObsoleteResponse](docs/RpmModulemdObsoleteResponse.md)
197
203
  - [PulpRpmClient::RpmModulemdResponse](docs/RpmModulemdResponse.md)
198
204
  - [PulpRpmClient::RpmPackage](docs/RpmPackage.md)
199
205
  - [PulpRpmClient::RpmPackageCategoryResponse](docs/RpmPackageCategoryResponse.md)
data/docs/AcsRpmApi.md CHANGED
@@ -150,8 +150,8 @@ opts = {
150
150
  name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
151
151
  offset: 56, # Integer | The initial index from which to return the results.
152
152
  ordering: ['ordering_example'], # Array<String> | Ordering
153
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
154
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
153
+ fields: 'fields_example', # String | A list of fields to include in the response.
154
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
155
155
  }
156
156
 
157
157
  begin
@@ -176,8 +176,8 @@ Name | Type | Description | Notes
176
176
  **name__startswith** | **String**| Filter results where name starts with value | [optional]
177
177
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
178
178
  **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering | [optional]
179
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
180
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
179
+ **fields** | **String**| A list of fields to include in the response. | [optional]
180
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
181
181
 
182
182
  ### Return type
183
183
 
@@ -271,8 +271,8 @@ end
271
271
  api_instance = PulpRpmClient::AcsRpmApi.new
272
272
  rpm_rpm_alternate_content_source_href = 'rpm_rpm_alternate_content_source_href_example' # String |
273
273
  opts = {
274
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
275
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
274
+ fields: 'fields_example', # String | A list of fields to include in the response.
275
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
276
276
  }
277
277
 
278
278
  begin
@@ -290,8 +290,8 @@ end
290
290
  Name | Type | Description | Notes
291
291
  ------------- | ------------- | ------------- | -------------
292
292
  **rpm_rpm_alternate_content_source_href** | **String**| |
293
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
294
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
293
+ **fields** | **String**| A list of fields to include in the response. | [optional]
294
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
295
295
 
296
296
  ### Return type
297
297
 
@@ -309,7 +309,7 @@ Name | Type | Description | Notes
309
309
 
310
310
  ## refresh
311
311
 
312
- > TaskGroupOperationResponse refresh(rpm_rpm_alternate_content_source_href, rpm_rpm_alternate_content_source)
312
+ > TaskGroupOperationResponse refresh(rpm_rpm_alternate_content_source_href)
313
313
 
314
314
 
315
315
 
@@ -329,10 +329,9 @@ end
329
329
 
330
330
  api_instance = PulpRpmClient::AcsRpmApi.new
331
331
  rpm_rpm_alternate_content_source_href = 'rpm_rpm_alternate_content_source_href_example' # String |
332
- rpm_rpm_alternate_content_source = PulpRpmClient::RpmRpmAlternateContentSource.new # RpmRpmAlternateContentSource |
333
332
 
334
333
  begin
335
- result = api_instance.refresh(rpm_rpm_alternate_content_source_href, rpm_rpm_alternate_content_source)
334
+ result = api_instance.refresh(rpm_rpm_alternate_content_source_href)
336
335
  p result
337
336
  rescue PulpRpmClient::ApiError => e
338
337
  puts "Exception when calling AcsRpmApi->refresh: #{e}"
@@ -345,7 +344,6 @@ end
345
344
  Name | Type | Description | Notes
346
345
  ------------- | ------------- | ------------- | -------------
347
346
  **rpm_rpm_alternate_content_source_href** | **String**| |
348
- **rpm_rpm_alternate_content_source** | [**RpmRpmAlternateContentSource**](RpmRpmAlternateContentSource.md)| |
349
347
 
350
348
  ### Return type
351
349
 
@@ -357,7 +355,7 @@ Name | Type | Description | Notes
357
355
 
358
356
  ### HTTP request headers
359
357
 
360
- - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
358
+ - **Content-Type**: Not defined
361
359
  - **Accept**: application/json
362
360
 
363
361
 
@@ -106,8 +106,8 @@ opts = {
106
106
  type: 'type_example', # String | Filter results where type matches value
107
107
  type__in: ['type__in_example'], # Array<String> | Filter results where type is in a comma-separated list of values
108
108
  type__ne: 'type__ne_example', # String | Filter results where type not equal to value
109
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
110
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
109
+ fields: 'fields_example', # String | A list of fields to include in the response.
110
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
111
111
  }
112
112
 
113
113
  begin
@@ -141,8 +141,8 @@ Name | Type | Description | Notes
141
141
  **type** | **String**| Filter results where type matches value | [optional]
142
142
  **type__in** | [**Array&lt;String&gt;**](String.md)| Filter results where type is in a comma-separated list of values | [optional]
143
143
  **type__ne** | **String**| Filter results where type not equal to value | [optional]
144
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
145
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
144
+ **fields** | **String**| A list of fields to include in the response. | [optional]
145
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
146
146
 
147
147
  ### Return type
148
148
 
@@ -181,8 +181,8 @@ end
181
181
  api_instance = PulpRpmClient::ContentAdvisoriesApi.new
182
182
  rpm_update_record_href = 'rpm_update_record_href_example' # String |
183
183
  opts = {
184
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
185
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
184
+ fields: 'fields_example', # String | A list of fields to include in the response.
185
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
186
186
  }
187
187
 
188
188
  begin
@@ -200,8 +200,8 @@ end
200
200
  Name | Type | Description | Notes
201
201
  ------------- | ------------- | ------------- | -------------
202
202
  **rpm_update_record_href** | **String**| |
203
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
204
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
203
+ **fields** | **String**| A list of fields to include in the response. | [optional]
204
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
205
205
 
206
206
  ### Return type
207
207
 
@@ -37,8 +37,8 @@ opts = {
37
37
  repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
38
38
  repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
39
39
  repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
40
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
41
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
40
+ fields: 'fields_example', # String | A list of fields to include in the response.
41
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
42
42
  }
43
43
 
44
44
  begin
@@ -61,8 +61,8 @@ Name | Type | Description | Notes
61
61
  **repository_version** | **String**| Repository Version referenced by HREF | [optional]
62
62
  **repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
63
63
  **repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
64
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
65
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
64
+ **fields** | **String**| A list of fields to include in the response. | [optional]
65
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
66
66
 
67
67
  ### Return type
68
68
 
@@ -101,8 +101,8 @@ end
101
101
  api_instance = PulpRpmClient::ContentDistributionTreesApi.new
102
102
  rpm_distribution_tree_href = 'rpm_distribution_tree_href_example' # String |
103
103
  opts = {
104
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
105
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
104
+ fields: 'fields_example', # String | A list of fields to include in the response.
105
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
106
106
  }
107
107
 
108
108
  begin
@@ -120,8 +120,8 @@ end
120
120
  Name | Type | Description | Notes
121
121
  ------------- | ------------- | ------------- | -------------
122
122
  **rpm_distribution_tree_href** | **String**| |
123
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
124
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
123
+ **fields** | **String**| A list of fields to include in the response. | [optional]
124
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
125
125
 
126
126
  ### Return type
127
127
 
@@ -12,7 +12,7 @@ Method | HTTP request | Description
12
12
 
13
13
  ## create
14
14
 
15
- > AsyncOperationResponse create(relative_path, _module, stream, profiles, opts)
15
+ > AsyncOperationResponse create(rpm_modulemd_defaults)
16
16
 
17
17
  Create a modulemd defaults
18
18
 
@@ -31,20 +31,11 @@ PulpRpmClient.configure do |config|
31
31
  end
32
32
 
33
33
  api_instance = PulpRpmClient::ContentModulemdDefaultsApi.new
34
- relative_path = 'relative_path_example' # String | Path where the artifact is located relative to distributions base_path
35
- _module = '_module_example' # String | Modulemd name.
36
- stream = 'stream_example' # String | Modulemd default stream.
37
- profiles = nil # Object | Default profiles for modulemd streams.
38
- opts = {
39
- artifact: 'artifact_example', # String | Artifact file representing the physical content
40
- file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the artifact of the content unit.
41
- repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
42
- upload: 'upload_example' # String | An uncommitted upload that may be turned into the artifact of the content unit.
43
- }
34
+ rpm_modulemd_defaults = PulpRpmClient::RpmModulemdDefaults.new # RpmModulemdDefaults |
44
35
 
45
36
  begin
46
37
  #Create a modulemd defaults
47
- result = api_instance.create(relative_path, _module, stream, profiles, opts)
38
+ result = api_instance.create(rpm_modulemd_defaults)
48
39
  p result
49
40
  rescue PulpRpmClient::ApiError => e
50
41
  puts "Exception when calling ContentModulemdDefaultsApi->create: #{e}"
@@ -56,14 +47,7 @@ end
56
47
 
57
48
  Name | Type | Description | Notes
58
49
  ------------- | ------------- | ------------- | -------------
59
- **relative_path** | **String**| Path where the artifact is located relative to distributions base_path |
60
- **_module** | **String**| Modulemd name. |
61
- **stream** | **String**| Modulemd default stream. |
62
- **profiles** | [**Object**](Object.md)| Default profiles for modulemd streams. |
63
- **artifact** | **String**| Artifact file representing the physical content | [optional]
64
- **file** | **File**| An uploaded file that may be turned into the artifact of the content unit. | [optional]
65
- **repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
66
- **upload** | **String**| An uncommitted upload that may be turned into the artifact of the content unit. | [optional]
50
+ **rpm_modulemd_defaults** | [**RpmModulemdDefaults**](RpmModulemdDefaults.md)| |
67
51
 
68
52
  ### Return type
69
53
 
@@ -75,7 +59,7 @@ Name | Type | Description | Notes
75
59
 
76
60
  ### HTTP request headers
77
61
 
78
- - **Content-Type**: multipart/form-data, application/x-www-form-urlencoded
62
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
79
63
  - **Accept**: application/json
80
64
 
81
65
 
@@ -112,8 +96,8 @@ opts = {
112
96
  sha256: 'sha256_example', # String |
113
97
  stream: 'stream_example', # String | Filter results where stream matches value
114
98
  stream__in: ['stream__in_example'], # Array<String> | Filter results where stream is in a comma-separated list of values
115
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
116
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
99
+ fields: 'fields_example', # String | A list of fields to include in the response.
100
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
117
101
  }
118
102
 
119
103
  begin
@@ -141,8 +125,8 @@ Name | Type | Description | Notes
141
125
  **sha256** | **String**| | [optional]
142
126
  **stream** | **String**| Filter results where stream matches value | [optional]
143
127
  **stream__in** | [**Array&lt;String&gt;**](String.md)| Filter results where stream is in a comma-separated list of values | [optional]
144
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
145
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
128
+ **fields** | **String**| A list of fields to include in the response. | [optional]
129
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
146
130
 
147
131
  ### Return type
148
132
 
@@ -181,8 +165,8 @@ end
181
165
  api_instance = PulpRpmClient::ContentModulemdDefaultsApi.new
182
166
  rpm_modulemd_defaults_href = 'rpm_modulemd_defaults_href_example' # String |
183
167
  opts = {
184
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
185
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
168
+ fields: 'fields_example', # String | A list of fields to include in the response.
169
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
186
170
  }
187
171
 
188
172
  begin
@@ -200,8 +184,8 @@ end
200
184
  Name | Type | Description | Notes
201
185
  ------------- | ------------- | ------------- | -------------
202
186
  **rpm_modulemd_defaults_href** | **String**| |
203
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
204
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
187
+ **fields** | **String**| A list of fields to include in the response. | [optional]
188
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
205
189
 
206
190
  ### Return type
207
191
 
@@ -0,0 +1,192 @@
1
+ # PulpRpmClient::ContentModulemdObsoletesApi
2
+
3
+ All URIs are relative to *https://pulp*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**create**](ContentModulemdObsoletesApi.md#create) | **POST** /pulp/api/v3/content/rpm/modulemd_obsoletes/ | Create a modulemd obsolete
8
+ [**list**](ContentModulemdObsoletesApi.md#list) | **GET** /pulp/api/v3/content/rpm/modulemd_obsoletes/ | List modulemd obsoletes
9
+ [**read**](ContentModulemdObsoletesApi.md#read) | **GET** {rpm_modulemd_obsolete_href} | Inspect a modulemd obsolete
10
+
11
+
12
+
13
+ ## create
14
+
15
+ > AsyncOperationResponse create(rpm_modulemd_obsolete)
16
+
17
+ Create a modulemd obsolete
18
+
19
+ Trigger an asynchronous task to create content,optionally create new repository version.
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: basicAuth
29
+ config.username = 'YOUR USERNAME'
30
+ config.password = 'YOUR PASSWORD'
31
+ end
32
+
33
+ api_instance = PulpRpmClient::ContentModulemdObsoletesApi.new
34
+ rpm_modulemd_obsolete = PulpRpmClient::RpmModulemdObsolete.new # RpmModulemdObsolete |
35
+
36
+ begin
37
+ #Create a modulemd obsolete
38
+ result = api_instance.create(rpm_modulemd_obsolete)
39
+ p result
40
+ rescue PulpRpmClient::ApiError => e
41
+ puts "Exception when calling ContentModulemdObsoletesApi->create: #{e}"
42
+ end
43
+ ```
44
+
45
+ ### Parameters
46
+
47
+
48
+ Name | Type | Description | Notes
49
+ ------------- | ------------- | ------------- | -------------
50
+ **rpm_modulemd_obsolete** | [**RpmModulemdObsolete**](RpmModulemdObsolete.md)| |
51
+
52
+ ### Return type
53
+
54
+ [**AsyncOperationResponse**](AsyncOperationResponse.md)
55
+
56
+ ### Authorization
57
+
58
+ [basicAuth](../README.md#basicAuth)
59
+
60
+ ### HTTP request headers
61
+
62
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
63
+ - **Accept**: application/json
64
+
65
+
66
+ ## list
67
+
68
+ > PaginatedrpmModulemdObsoleteResponseList list(opts)
69
+
70
+ List modulemd obsoletes
71
+
72
+ ViewSet for Modulemd.
73
+
74
+ ### Example
75
+
76
+ ```ruby
77
+ # load the gem
78
+ require 'pulp_rpm_client'
79
+ # setup authorization
80
+ PulpRpmClient.configure do |config|
81
+ # Configure HTTP basic authorization: basicAuth
82
+ config.username = 'YOUR USERNAME'
83
+ config.password = 'YOUR PASSWORD'
84
+ end
85
+
86
+ api_instance = PulpRpmClient::ContentModulemdObsoletesApi.new
87
+ opts = {
88
+ limit: 56, # Integer | Number of results to return per page.
89
+ offset: 56, # Integer | The initial index from which to return the results.
90
+ ordering: ['ordering_example'], # Array<String> | Ordering
91
+ repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
92
+ repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
93
+ repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
94
+ fields: 'fields_example', # String | A list of fields to include in the response.
95
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
96
+ }
97
+
98
+ begin
99
+ #List modulemd obsoletes
100
+ result = api_instance.list(opts)
101
+ p result
102
+ rescue PulpRpmClient::ApiError => e
103
+ puts "Exception when calling ContentModulemdObsoletesApi->list: #{e}"
104
+ end
105
+ ```
106
+
107
+ ### Parameters
108
+
109
+
110
+ Name | Type | Description | Notes
111
+ ------------- | ------------- | ------------- | -------------
112
+ **limit** | **Integer**| Number of results to return per page. | [optional]
113
+ **offset** | **Integer**| The initial index from which to return the results. | [optional]
114
+ **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering | [optional]
115
+ **repository_version** | **String**| Repository Version referenced by HREF | [optional]
116
+ **repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
117
+ **repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
118
+ **fields** | **String**| A list of fields to include in the response. | [optional]
119
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
120
+
121
+ ### Return type
122
+
123
+ [**PaginatedrpmModulemdObsoleteResponseList**](PaginatedrpmModulemdObsoleteResponseList.md)
124
+
125
+ ### Authorization
126
+
127
+ [basicAuth](../README.md#basicAuth)
128
+
129
+ ### HTTP request headers
130
+
131
+ - **Content-Type**: Not defined
132
+ - **Accept**: application/json
133
+
134
+
135
+ ## read
136
+
137
+ > RpmModulemdObsoleteResponse read(rpm_modulemd_obsolete_href, opts)
138
+
139
+ Inspect a modulemd obsolete
140
+
141
+ ViewSet for Modulemd.
142
+
143
+ ### Example
144
+
145
+ ```ruby
146
+ # load the gem
147
+ require 'pulp_rpm_client'
148
+ # setup authorization
149
+ PulpRpmClient.configure do |config|
150
+ # Configure HTTP basic authorization: basicAuth
151
+ config.username = 'YOUR USERNAME'
152
+ config.password = 'YOUR PASSWORD'
153
+ end
154
+
155
+ api_instance = PulpRpmClient::ContentModulemdObsoletesApi.new
156
+ rpm_modulemd_obsolete_href = 'rpm_modulemd_obsolete_href_example' # String |
157
+ opts = {
158
+ fields: 'fields_example', # String | A list of fields to include in the response.
159
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
160
+ }
161
+
162
+ begin
163
+ #Inspect a modulemd obsolete
164
+ result = api_instance.read(rpm_modulemd_obsolete_href, opts)
165
+ p result
166
+ rescue PulpRpmClient::ApiError => e
167
+ puts "Exception when calling ContentModulemdObsoletesApi->read: #{e}"
168
+ end
169
+ ```
170
+
171
+ ### Parameters
172
+
173
+
174
+ Name | Type | Description | Notes
175
+ ------------- | ------------- | ------------- | -------------
176
+ **rpm_modulemd_obsolete_href** | **String**| |
177
+ **fields** | **String**| A list of fields to include in the response. | [optional]
178
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
179
+
180
+ ### Return type
181
+
182
+ [**RpmModulemdObsoleteResponse**](RpmModulemdObsoleteResponse.md)
183
+
184
+ ### Authorization
185
+
186
+ [basicAuth](../README.md#basicAuth)
187
+
188
+ ### HTTP request headers
189
+
190
+ - **Content-Type**: Not defined
191
+ - **Accept**: application/json
192
+
@@ -12,7 +12,7 @@ Method | HTTP request | Description
12
12
 
13
13
  ## create
14
14
 
15
- > AsyncOperationResponse create(relative_path, name, stream, version, context, arch, artifacts, dependencies, opts)
15
+ > AsyncOperationResponse create(rpm_modulemd)
16
16
 
17
17
  Create a modulemd
18
18
 
@@ -31,26 +31,11 @@ PulpRpmClient.configure do |config|
31
31
  end
32
32
 
33
33
  api_instance = PulpRpmClient::ContentModulemdsApi.new
34
- relative_path = 'relative_path_example' # String | Path where the artifact is located relative to distributions base_path
35
- name = 'name_example' # String | Modulemd name.
36
- stream = 'stream_example' # String | Stream name.
37
- version = 'version_example' # String | Modulemd version.
38
- context = 'context_example' # String | Modulemd context.
39
- arch = 'arch_example' # String | Modulemd architecture.
40
- artifacts = nil # Object | Modulemd artifacts.
41
- dependencies = nil # Object | Modulemd dependencies.
42
- opts = {
43
- artifact: 'artifact_example', # String | Artifact file representing the physical content
44
- file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the artifact of the content unit.
45
- repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
46
- upload: 'upload_example', # String | An uncommitted upload that may be turned into the artifact of the content unit.
47
- static_context: true, # Boolean | Modulemd static-context flag.
48
- packages: 'packages_example' # Array<String> | Modulemd artifacts' packages.
49
- }
34
+ rpm_modulemd = PulpRpmClient::RpmModulemd.new # RpmModulemd |
50
35
 
51
36
  begin
52
37
  #Create a modulemd
53
- result = api_instance.create(relative_path, name, stream, version, context, arch, artifacts, dependencies, opts)
38
+ result = api_instance.create(rpm_modulemd)
54
39
  p result
55
40
  rescue PulpRpmClient::ApiError => e
56
41
  puts "Exception when calling ContentModulemdsApi->create: #{e}"
@@ -62,20 +47,7 @@ end
62
47
 
63
48
  Name | Type | Description | Notes
64
49
  ------------- | ------------- | ------------- | -------------
65
- **relative_path** | **String**| Path where the artifact is located relative to distributions base_path |
66
- **name** | **String**| Modulemd name. |
67
- **stream** | **String**| Stream name. |
68
- **version** | **String**| Modulemd version. |
69
- **context** | **String**| Modulemd context. |
70
- **arch** | **String**| Modulemd architecture. |
71
- **artifacts** | [**Object**](Object.md)| Modulemd artifacts. |
72
- **dependencies** | [**Object**](Object.md)| Modulemd dependencies. |
73
- **artifact** | **String**| Artifact file representing the physical content | [optional]
74
- **file** | **File**| An uploaded file that may be turned into the artifact of the content unit. | [optional]
75
- **repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
76
- **upload** | **String**| An uncommitted upload that may be turned into the artifact of the content unit. | [optional]
77
- **static_context** | **Boolean**| Modulemd static-context flag. | [optional]
78
- **packages** | [**Array&lt;String&gt;**](String.md)| Modulemd artifacts&#39; packages. | [optional]
50
+ **rpm_modulemd** | [**RpmModulemd**](RpmModulemd.md)| |
79
51
 
80
52
  ### Return type
81
53
 
@@ -87,7 +59,7 @@ Name | Type | Description | Notes
87
59
 
88
60
  ### HTTP request headers
89
61
 
90
- - **Content-Type**: multipart/form-data, application/x-www-form-urlencoded
62
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
91
63
  - **Accept**: application/json
92
64
 
93
65
 
@@ -124,8 +96,8 @@ opts = {
124
96
  sha256: 'sha256_example', # String |
125
97
  stream: 'stream_example', # String | Filter results where stream matches value
126
98
  stream__in: ['stream__in_example'], # Array<String> | Filter results where stream is in a comma-separated list of values
127
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
128
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
99
+ fields: 'fields_example', # String | A list of fields to include in the response.
100
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
129
101
  }
130
102
 
131
103
  begin
@@ -153,8 +125,8 @@ Name | Type | Description | Notes
153
125
  **sha256** | **String**| | [optional]
154
126
  **stream** | **String**| Filter results where stream matches value | [optional]
155
127
  **stream__in** | [**Array&lt;String&gt;**](String.md)| Filter results where stream is in a comma-separated list of values | [optional]
156
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
157
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
128
+ **fields** | **String**| A list of fields to include in the response. | [optional]
129
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
158
130
 
159
131
  ### Return type
160
132
 
@@ -193,8 +165,8 @@ end
193
165
  api_instance = PulpRpmClient::ContentModulemdsApi.new
194
166
  rpm_modulemd_href = 'rpm_modulemd_href_example' # String |
195
167
  opts = {
196
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
197
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
168
+ fields: 'fields_example', # String | A list of fields to include in the response.
169
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
198
170
  }
199
171
 
200
172
  begin
@@ -212,8 +184,8 @@ end
212
184
  Name | Type | Description | Notes
213
185
  ------------- | ------------- | ------------- | -------------
214
186
  **rpm_modulemd_href** | **String**| |
215
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
216
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
187
+ **fields** | **String**| A list of fields to include in the response. | [optional]
188
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
217
189
 
218
190
  ### Return type
219
191