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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 52393fc55a8a004b0472bd0e015c19a12814fb8d70bd74fef54b2ace5d35137d
4
- data.tar.gz: 831b87df1a1cc59f4e3008a4c7f7cc592ca9d6542a0df9dc7fe549c210de942c
3
+ metadata.gz: 52e077cbdbe0c46bb25a3a9d46b374e7dd038694c36c2fc417f77bb43edeb6a6
4
+ data.tar.gz: a267a5ee8ba672bb62e7c5c18521ec664f92a31dcaf1f1ea8cbe195234da29eb
5
5
  SHA512:
6
- metadata.gz: b13607061bb5d0f985f66a09d94157ea01a173aded0ad606174cdd34f2d88b7e7502f420887cc0e78af26024af790eef4c514adea6d2d2935e8367685fef4848
7
- data.tar.gz: cee90fa5fb802bde267a1e88c8ebfbfd55566faf88b5a59f79190bf243521b1546dba902ef8005da461015a9cf0d77ba05e37268bd882a44ef139ba52c6216db
6
+ metadata.gz: 1aacfdd1f81d709106017bd8a74aa670ff562db6d090d7d83248a1dd38d163e7dfd6a0b5ffd990a2c8ab0a1c39bed15a4c0cf838d5023fe3f5ed875179cd901e
7
+ data.tar.gz: 3613df0c1a78371c7c6bcf079b6f7e460de35cb6d039f56f892d92454c76ae98d89873a8609b295a0ecd9bd6485aa96e2772704c846cbc050f9c5acab09c0c47
data/README.md CHANGED
@@ -7,7 +7,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
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.0.0b71572533171
10
+ - Package version: 3.0.0rc1
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
 
13
13
  ## Installation
@@ -23,16 +23,16 @@ gem build pulp_rpm_client.gemspec
23
23
  Then either install the gem locally:
24
24
 
25
25
  ```shell
26
- gem install ./pulp_rpm_client-3.0.0b71572533171.gem
26
+ gem install ./pulp_rpm_client-3.0.0rc1.gem
27
27
  ```
28
28
 
29
- (for development, run `gem install --dev ./pulp_rpm_client-3.0.0b71572533171.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./pulp_rpm_client-3.0.0rc1.gem` to install the development dependencies)
30
30
 
31
31
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
32
32
 
33
33
  Finally add this to the Gemfile:
34
34
 
35
- gem 'pulp_rpm_client', '~> 3.0.0b71572533171'
35
+ gem 'pulp_rpm_client', '~> 3.0.0rc1'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -64,11 +64,16 @@ PulpRpmClient.configure do |config|
64
64
  end
65
65
 
66
66
  api_instance = PulpRpmClient::ContentAdvisoriesApi.new
67
- data = PulpRpmClient::UpdateRecord.new # UpdateRecord |
67
+ relative_path = 'relative_path_example' # String | Path where the artifact is located relative to distributions base_path
68
+ opts = {
69
+ artifact: 'artifact_example', # String | Artifact file representing the physical content
70
+ file: File.new('/path/to/file'), # File | An uploaded file that should be turned into the artifact of the content unit.
71
+ repository: 'repository_example' # String | A URI of a repository the new content unit should be associated with.
72
+ }
68
73
 
69
74
  begin
70
75
  #Create an update record
71
- result = api_instance.create(data)
76
+ result = api_instance.create(relative_path, opts)
72
77
  p result
73
78
  rescue PulpRpmClient::ApiError => e
74
79
  puts "Exception when calling ContentAdvisoriesApi->create: #{e}"
@@ -88,12 +93,24 @@ Class | Method | HTTP request | Description
88
93
  *PulpRpmClient::ContentDistributionTreesApi* | [**delete**](docs/ContentDistributionTreesApi.md#delete) | **DELETE** {distribution_tree_href} | Delete a distribution tree
89
94
  *PulpRpmClient::ContentDistributionTreesApi* | [**list**](docs/ContentDistributionTreesApi.md#list) | **GET** /pulp/api/v3/content/rpm/distribution_trees/ | List distribution trees
90
95
  *PulpRpmClient::ContentDistributionTreesApi* | [**read**](docs/ContentDistributionTreesApi.md#read) | **GET** {distribution_tree_href} | Inspect a distribution tree
91
- *PulpRpmClient::ContentModulemdApi* | [**create**](docs/ContentModulemdApi.md#create) | **POST** /pulp/api/v3/content/rpm/modulemd/ | Create a modulemd
92
- *PulpRpmClient::ContentModulemdApi* | [**list**](docs/ContentModulemdApi.md#list) | **GET** /pulp/api/v3/content/rpm/modulemd/ | List modulemds
93
- *PulpRpmClient::ContentModulemdApi* | [**read**](docs/ContentModulemdApi.md#read) | **GET** {modulemd_href} | Inspect a modulemd
94
- *PulpRpmClient::ContentModulemdDefaultsApi* | [**create**](docs/ContentModulemdDefaultsApi.md#create) | **POST** /pulp/api/v3/content/rpm/modulemd-defaults/ | Create a modulemd defaults
95
- *PulpRpmClient::ContentModulemdDefaultsApi* | [**list**](docs/ContentModulemdDefaultsApi.md#list) | **GET** /pulp/api/v3/content/rpm/modulemd-defaults/ | List modulemd defaultss
96
+ *PulpRpmClient::ContentModulemdDefaultsApi* | [**create**](docs/ContentModulemdDefaultsApi.md#create) | **POST** /pulp/api/v3/content/rpm/modulemd_defaults/ | Create a modulemd defaults
97
+ *PulpRpmClient::ContentModulemdDefaultsApi* | [**list**](docs/ContentModulemdDefaultsApi.md#list) | **GET** /pulp/api/v3/content/rpm/modulemd_defaults/ | List modulemd defaultss
96
98
  *PulpRpmClient::ContentModulemdDefaultsApi* | [**read**](docs/ContentModulemdDefaultsApi.md#read) | **GET** {modulemd_defaults_href} | Inspect a modulemd defaults
99
+ *PulpRpmClient::ContentModulemdsApi* | [**create**](docs/ContentModulemdsApi.md#create) | **POST** /pulp/api/v3/content/rpm/modulemds/ | Create a modulemd
100
+ *PulpRpmClient::ContentModulemdsApi* | [**list**](docs/ContentModulemdsApi.md#list) | **GET** /pulp/api/v3/content/rpm/modulemds/ | List modulemds
101
+ *PulpRpmClient::ContentModulemdsApi* | [**read**](docs/ContentModulemdsApi.md#read) | **GET** {modulemd_href} | Inspect a modulemd
102
+ *PulpRpmClient::ContentPackagecategoriesApi* | [**delete**](docs/ContentPackagecategoriesApi.md#delete) | **DELETE** {package_category_href} | Delete a package category
103
+ *PulpRpmClient::ContentPackagecategoriesApi* | [**list**](docs/ContentPackagecategoriesApi.md#list) | **GET** /pulp/api/v3/content/rpm/packagecategories/ | List package categorys
104
+ *PulpRpmClient::ContentPackagecategoriesApi* | [**read**](docs/ContentPackagecategoriesApi.md#read) | **GET** {package_category_href} | Inspect a package category
105
+ *PulpRpmClient::ContentPackageenvironmentsApi* | [**delete**](docs/ContentPackageenvironmentsApi.md#delete) | **DELETE** {package_environment_href} | Delete a package environment
106
+ *PulpRpmClient::ContentPackageenvironmentsApi* | [**list**](docs/ContentPackageenvironmentsApi.md#list) | **GET** /pulp/api/v3/content/rpm/packageenvironments/ | List package environments
107
+ *PulpRpmClient::ContentPackageenvironmentsApi* | [**read**](docs/ContentPackageenvironmentsApi.md#read) | **GET** {package_environment_href} | Inspect a package environment
108
+ *PulpRpmClient::ContentPackagegroupsApi* | [**delete**](docs/ContentPackagegroupsApi.md#delete) | **DELETE** {package_group_href} | Delete a package group
109
+ *PulpRpmClient::ContentPackagegroupsApi* | [**list**](docs/ContentPackagegroupsApi.md#list) | **GET** /pulp/api/v3/content/rpm/packagegroups/ | List package groups
110
+ *PulpRpmClient::ContentPackagegroupsApi* | [**read**](docs/ContentPackagegroupsApi.md#read) | **GET** {package_group_href} | Inspect a package group
111
+ *PulpRpmClient::ContentPackagelangpacksApi* | [**delete**](docs/ContentPackagelangpacksApi.md#delete) | **DELETE** {package_langpacks_href} | Delete a package langpacks
112
+ *PulpRpmClient::ContentPackagelangpacksApi* | [**list**](docs/ContentPackagelangpacksApi.md#list) | **GET** /pulp/api/v3/content/rpm/packagelangpacks/ | List package langpackss
113
+ *PulpRpmClient::ContentPackagelangpacksApi* | [**read**](docs/ContentPackagelangpacksApi.md#read) | **GET** {package_langpacks_href} | Inspect a package langpacks
97
114
  *PulpRpmClient::ContentPackagesApi* | [**create**](docs/ContentPackagesApi.md#create) | **POST** /pulp/api/v3/content/rpm/packages/ | Create a package
98
115
  *PulpRpmClient::ContentPackagesApi* | [**list**](docs/ContentPackagesApi.md#list) | **GET** /pulp/api/v3/content/rpm/packages/ | List packages
99
116
  *PulpRpmClient::ContentPackagesApi* | [**read**](docs/ContentPackagesApi.md#read) | **GET** {package_href} | Inspect a package
@@ -115,9 +132,18 @@ Class | Method | HTTP request | Description
115
132
  *PulpRpmClient::RemotesRpmApi* | [**list**](docs/RemotesRpmApi.md#list) | **GET** /pulp/api/v3/remotes/rpm/rpm/ | List rpm remotes
116
133
  *PulpRpmClient::RemotesRpmApi* | [**partial_update**](docs/RemotesRpmApi.md#partial_update) | **PATCH** {rpm_remote_href} | Partially update a rpm remote
117
134
  *PulpRpmClient::RemotesRpmApi* | [**read**](docs/RemotesRpmApi.md#read) | **GET** {rpm_remote_href} | Inspect a rpm remote
118
- *PulpRpmClient::RemotesRpmApi* | [**sync**](docs/RemotesRpmApi.md#sync) | **POST** {rpm_remote_href}sync/ | Sync from remote
119
135
  *PulpRpmClient::RemotesRpmApi* | [**update**](docs/RemotesRpmApi.md#update) | **PUT** {rpm_remote_href} | Update a rpm remote
120
- *PulpRpmClient::RpmCopyApi* | [**copy_content**](docs/RpmCopyApi.md#copy_content) | **POST** /pulp/api/v3/rpm/copy/ | Copy content
136
+ *PulpRpmClient::RepositoriesRpmApi* | [**create**](docs/RepositoriesRpmApi.md#create) | **POST** /pulp/api/v3/repositories/rpm/rpm/ | Create a rpm repository
137
+ *PulpRpmClient::RepositoriesRpmApi* | [**delete**](docs/RepositoriesRpmApi.md#delete) | **DELETE** {rpm_repository_href} | Delete a rpm repository
138
+ *PulpRpmClient::RepositoriesRpmApi* | [**list**](docs/RepositoriesRpmApi.md#list) | **GET** /pulp/api/v3/repositories/rpm/rpm/ | List rpm repositorys
139
+ *PulpRpmClient::RepositoriesRpmApi* | [**modify**](docs/RepositoriesRpmApi.md#modify) | **POST** {rpm_repository_href}modify/ |
140
+ *PulpRpmClient::RepositoriesRpmApi* | [**partial_update**](docs/RepositoriesRpmApi.md#partial_update) | **PATCH** {rpm_repository_href} | Partially update a rpm repository
141
+ *PulpRpmClient::RepositoriesRpmApi* | [**read**](docs/RepositoriesRpmApi.md#read) | **GET** {rpm_repository_href} | Inspect a rpm repository
142
+ *PulpRpmClient::RepositoriesRpmApi* | [**sync**](docs/RepositoriesRpmApi.md#sync) | **POST** {rpm_repository_href}sync/ | Sync from remote
143
+ *PulpRpmClient::RepositoriesRpmApi* | [**update**](docs/RepositoriesRpmApi.md#update) | **PUT** {rpm_repository_href} | Update a rpm repository
144
+ *PulpRpmClient::RepositoriesRpmVersionsApi* | [**delete**](docs/RepositoriesRpmVersionsApi.md#delete) | **DELETE** {rpm_repository_version_href} | Delete a repository version
145
+ *PulpRpmClient::RepositoriesRpmVersionsApi* | [**list**](docs/RepositoriesRpmVersionsApi.md#list) | **GET** {rpm_repository_href}versions/ | List repository versions
146
+ *PulpRpmClient::RepositoriesRpmVersionsApi* | [**read**](docs/RepositoriesRpmVersionsApi.md#read) | **GET** {rpm_repository_version_href} | Inspect a repository version
121
147
 
122
148
 
123
149
  ## Documentation for Models
@@ -126,10 +152,15 @@ Class | Method | HTTP request | Description
126
152
  - [PulpRpmClient::Artifact](docs/Artifact.md)
127
153
  - [PulpRpmClient::AsyncOperationResponse](docs/AsyncOperationResponse.md)
128
154
  - [PulpRpmClient::Checksum](docs/Checksum.md)
129
- - [PulpRpmClient::DistributionTree](docs/DistributionTree.md)
155
+ - [PulpRpmClient::ContentSummary](docs/ContentSummary.md)
130
156
  - [PulpRpmClient::Image](docs/Image.md)
131
157
  - [PulpRpmClient::InlineResponse200](docs/InlineResponse200.md)
132
158
  - [PulpRpmClient::InlineResponse2001](docs/InlineResponse2001.md)
159
+ - [PulpRpmClient::InlineResponse20010](docs/InlineResponse20010.md)
160
+ - [PulpRpmClient::InlineResponse20011](docs/InlineResponse20011.md)
161
+ - [PulpRpmClient::InlineResponse20012](docs/InlineResponse20012.md)
162
+ - [PulpRpmClient::InlineResponse20013](docs/InlineResponse20013.md)
163
+ - [PulpRpmClient::InlineResponse20014](docs/InlineResponse20014.md)
133
164
  - [PulpRpmClient::InlineResponse2002](docs/InlineResponse2002.md)
134
165
  - [PulpRpmClient::InlineResponse2003](docs/InlineResponse2003.md)
135
166
  - [PulpRpmClient::InlineResponse2004](docs/InlineResponse2004.md)
@@ -137,15 +168,25 @@ Class | Method | HTTP request | Description
137
168
  - [PulpRpmClient::InlineResponse2006](docs/InlineResponse2006.md)
138
169
  - [PulpRpmClient::InlineResponse2007](docs/InlineResponse2007.md)
139
170
  - [PulpRpmClient::InlineResponse2008](docs/InlineResponse2008.md)
140
- - [PulpRpmClient::Modulemd](docs/Modulemd.md)
141
- - [PulpRpmClient::ModulemdDefaults](docs/ModulemdDefaults.md)
142
- - [PulpRpmClient::Package](docs/Package.md)
143
- - [PulpRpmClient::RepoMetadataFile](docs/RepoMetadataFile.md)
171
+ - [PulpRpmClient::InlineResponse2009](docs/InlineResponse2009.md)
172
+ - [PulpRpmClient::RepositoryAddRemoveContent](docs/RepositoryAddRemoveContent.md)
144
173
  - [PulpRpmClient::RepositorySyncURL](docs/RepositorySyncURL.md)
145
- - [PulpRpmClient::RpmDistribution](docs/RpmDistribution.md)
146
- - [PulpRpmClient::RpmPublication](docs/RpmPublication.md)
147
- - [PulpRpmClient::RpmRemote](docs/RpmRemote.md)
148
- - [PulpRpmClient::UpdateRecord](docs/UpdateRecord.md)
174
+ - [PulpRpmClient::RepositoryVersion](docs/RepositoryVersion.md)
175
+ - [PulpRpmClient::RpmDistributionTree](docs/RpmDistributionTree.md)
176
+ - [PulpRpmClient::RpmModulemd](docs/RpmModulemd.md)
177
+ - [PulpRpmClient::RpmModulemdDefaults](docs/RpmModulemdDefaults.md)
178
+ - [PulpRpmClient::RpmPackage](docs/RpmPackage.md)
179
+ - [PulpRpmClient::RpmPackageCategory](docs/RpmPackageCategory.md)
180
+ - [PulpRpmClient::RpmPackageEnvironment](docs/RpmPackageEnvironment.md)
181
+ - [PulpRpmClient::RpmPackageGroup](docs/RpmPackageGroup.md)
182
+ - [PulpRpmClient::RpmPackageLangpacks](docs/RpmPackageLangpacks.md)
183
+ - [PulpRpmClient::RpmRepoMetadataFile](docs/RpmRepoMetadataFile.md)
184
+ - [PulpRpmClient::RpmRpmDistribution](docs/RpmRpmDistribution.md)
185
+ - [PulpRpmClient::RpmRpmPublication](docs/RpmRpmPublication.md)
186
+ - [PulpRpmClient::RpmRpmRemote](docs/RpmRpmRemote.md)
187
+ - [PulpRpmClient::RpmRpmRepository](docs/RpmRpmRepository.md)
188
+ - [PulpRpmClient::RpmUpdateCollection](docs/RpmUpdateCollection.md)
189
+ - [PulpRpmClient::RpmUpdateRecord](docs/RpmUpdateRecord.md)
149
190
  - [PulpRpmClient::Variant](docs/Variant.md)
150
191
 
151
192
 
@@ -12,7 +12,7 @@ Method | HTTP request | Description
12
12
 
13
13
  ## create
14
14
 
15
- > AsyncOperationResponse create(data)
15
+ > AsyncOperationResponse create(relative_path, opts)
16
16
 
17
17
  Create an update record
18
18
 
@@ -31,11 +31,16 @@ PulpRpmClient.configure do |config|
31
31
  end
32
32
 
33
33
  api_instance = PulpRpmClient::ContentAdvisoriesApi.new
34
- data = PulpRpmClient::UpdateRecord.new # UpdateRecord |
34
+ relative_path = 'relative_path_example' # String | Path where the artifact is located relative to distributions base_path
35
+ opts = {
36
+ artifact: 'artifact_example', # String | Artifact file representing the physical content
37
+ file: File.new('/path/to/file'), # File | An uploaded file that should be turned into the artifact of the content unit.
38
+ repository: 'repository_example' # String | A URI of a repository the new content unit should be associated with.
39
+ }
35
40
 
36
41
  begin
37
42
  #Create an update record
38
- result = api_instance.create(data)
43
+ result = api_instance.create(relative_path, opts)
39
44
  p result
40
45
  rescue PulpRpmClient::ApiError => e
41
46
  puts "Exception when calling ContentAdvisoriesApi->create: #{e}"
@@ -47,7 +52,10 @@ end
47
52
 
48
53
  Name | Type | Description | Notes
49
54
  ------------- | ------------- | ------------- | -------------
50
- **data** | [**UpdateRecord**](UpdateRecord.md)| |
55
+ **relative_path** | **String**| Path where the artifact is located relative to distributions base_path |
56
+ **artifact** | **String**| Artifact file representing the physical content | [optional]
57
+ **file** | **File**| An uploaded file that should be turned into the artifact of the content unit. | [optional]
58
+ **repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
51
59
 
52
60
  ### Return type
53
61
 
@@ -59,7 +67,7 @@ Name | Type | Description | Notes
59
67
 
60
68
  ### HTTP request headers
61
69
 
62
- - **Content-Type**: application/json
70
+ - **Content-Type**: multipart/form-data, application/x-www-form-urlencoded
63
71
  - **Accept**: application/json
64
72
 
65
73
 
@@ -148,7 +156,7 @@ Name | Type | Description | Notes
148
156
 
149
157
  ## read
150
158
 
151
- > UpdateRecord read(update_record_href, opts)
159
+ > RpmUpdateRecord read(update_record_href, opts)
152
160
 
153
161
  Inspect an update record
154
162
 
@@ -193,7 +201,7 @@ Name | Type | Description | Notes
193
201
 
194
202
  ### Return type
195
203
 
196
- [**UpdateRecord**](UpdateRecord.md)
204
+ [**RpmUpdateRecord**](RpmUpdateRecord.md)
197
205
 
198
206
  ### Authorization
199
207
 
@@ -131,7 +131,7 @@ Name | Type | Description | Notes
131
131
 
132
132
  ## read
133
133
 
134
- > DistributionTree read(distribution_tree_href, opts)
134
+ > RpmDistributionTree read(distribution_tree_href, opts)
135
135
 
136
136
  Inspect a distribution tree
137
137
 
@@ -176,7 +176,7 @@ Name | Type | Description | Notes
176
176
 
177
177
  ### Return type
178
178
 
179
- [**DistributionTree**](DistributionTree.md)
179
+ [**RpmDistributionTree**](RpmDistributionTree.md)
180
180
 
181
181
  ### Authorization
182
182
 
@@ -4,8 +4,8 @@ All URIs are relative to *http://localhost:24817*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
- [**create**](ContentModulemdDefaultsApi.md#create) | **POST** /pulp/api/v3/content/rpm/modulemd-defaults/ | Create a modulemd defaults
8
- [**list**](ContentModulemdDefaultsApi.md#list) | **GET** /pulp/api/v3/content/rpm/modulemd-defaults/ | List modulemd defaultss
7
+ [**create**](ContentModulemdDefaultsApi.md#create) | **POST** /pulp/api/v3/content/rpm/modulemd_defaults/ | Create a modulemd defaults
8
+ [**list**](ContentModulemdDefaultsApi.md#list) | **GET** /pulp/api/v3/content/rpm/modulemd_defaults/ | List modulemd defaultss
9
9
  [**read**](ContentModulemdDefaultsApi.md#read) | **GET** {modulemd_defaults_href} | Inspect a modulemd defaults
10
10
 
11
11
 
@@ -146,7 +146,7 @@ Name | Type | Description | Notes
146
146
 
147
147
  ## read
148
148
 
149
- > ModulemdDefaults read(modulemd_defaults_href, opts)
149
+ > RpmModulemdDefaults read(modulemd_defaults_href, opts)
150
150
 
151
151
  Inspect a modulemd defaults
152
152
 
@@ -165,7 +165,7 @@ PulpRpmClient.configure do |config|
165
165
  end
166
166
 
167
167
  api_instance = PulpRpmClient::ContentModulemdDefaultsApi.new
168
- modulemd_defaults_href = 'modulemd_defaults_href_example' # String | URI of Modulemd Defaults. e.g.: /pulp/api/v3/content/rpm/modulemd-defaults/1/
168
+ modulemd_defaults_href = 'modulemd_defaults_href_example' # String | URI of Modulemd Defaults. e.g.: /pulp/api/v3/content/rpm/modulemd_defaults/1/
169
169
  opts = {
170
170
  fields: 'fields_example', # String | A list of fields to include in the response.
171
171
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
@@ -185,13 +185,13 @@ end
185
185
 
186
186
  Name | Type | Description | Notes
187
187
  ------------- | ------------- | ------------- | -------------
188
- **modulemd_defaults_href** | **String**| URI of Modulemd Defaults. e.g.: /pulp/api/v3/content/rpm/modulemd-defaults/1/ |
188
+ **modulemd_defaults_href** | **String**| URI of Modulemd Defaults. e.g.: /pulp/api/v3/content/rpm/modulemd_defaults/1/ |
189
189
  **fields** | **String**| A list of fields to include in the response. | [optional]
190
190
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
191
191
 
192
192
  ### Return type
193
193
 
194
- [**ModulemdDefaults**](ModulemdDefaults.md)
194
+ [**RpmModulemdDefaults**](RpmModulemdDefaults.md)
195
195
 
196
196
  ### Authorization
197
197
 
@@ -1,12 +1,12 @@
1
- # PulpRpmClient::ContentModulemdApi
1
+ # PulpRpmClient::ContentModulemdsApi
2
2
 
3
3
  All URIs are relative to *http://localhost:24817*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
- [**create**](ContentModulemdApi.md#create) | **POST** /pulp/api/v3/content/rpm/modulemd/ | Create a modulemd
8
- [**list**](ContentModulemdApi.md#list) | **GET** /pulp/api/v3/content/rpm/modulemd/ | List modulemds
9
- [**read**](ContentModulemdApi.md#read) | **GET** {modulemd_href} | Inspect a modulemd
7
+ [**create**](ContentModulemdsApi.md#create) | **POST** /pulp/api/v3/content/rpm/modulemds/ | Create a modulemd
8
+ [**list**](ContentModulemdsApi.md#list) | **GET** /pulp/api/v3/content/rpm/modulemds/ | List modulemds
9
+ [**read**](ContentModulemdsApi.md#read) | **GET** {modulemd_href} | Inspect a modulemd
10
10
 
11
11
 
12
12
 
@@ -30,7 +30,7 @@ PulpRpmClient.configure do |config|
30
30
  config.password = 'YOUR PASSWORD'
31
31
  end
32
32
 
33
- api_instance = PulpRpmClient::ContentModulemdApi.new
33
+ api_instance = PulpRpmClient::ContentModulemdsApi.new
34
34
  relative_path = 'relative_path_example' # String | Path where the artifact is located relative to distributions base_path
35
35
  name = 'name_example' # String | Modulemd name.
36
36
  stream = 'stream_example' # String | Stream name.
@@ -51,7 +51,7 @@ begin
51
51
  result = api_instance.create(relative_path, name, stream, version, context, arch, artifacts, dependencies, opts)
52
52
  p result
53
53
  rescue PulpRpmClient::ApiError => e
54
- puts "Exception when calling ContentModulemdApi->create: #{e}"
54
+ puts "Exception when calling ContentModulemdsApi->create: #{e}"
55
55
  end
56
56
  ```
57
57
 
@@ -107,7 +107,7 @@ PulpRpmClient.configure do |config|
107
107
  config.password = 'YOUR PASSWORD'
108
108
  end
109
109
 
110
- api_instance = PulpRpmClient::ContentModulemdApi.new
110
+ api_instance = PulpRpmClient::ContentModulemdsApi.new
111
111
  opts = {
112
112
  repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
113
113
  repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
@@ -123,7 +123,7 @@ begin
123
123
  result = api_instance.list(opts)
124
124
  p result
125
125
  rescue PulpRpmClient::ApiError => e
126
- puts "Exception when calling ContentModulemdApi->list: #{e}"
126
+ puts "Exception when calling ContentModulemdsApi->list: #{e}"
127
127
  end
128
128
  ```
129
129
 
@@ -156,7 +156,7 @@ Name | Type | Description | Notes
156
156
 
157
157
  ## read
158
158
 
159
- > Modulemd read(modulemd_href, opts)
159
+ > RpmModulemd read(modulemd_href, opts)
160
160
 
161
161
  Inspect a modulemd
162
162
 
@@ -174,8 +174,8 @@ PulpRpmClient.configure do |config|
174
174
  config.password = 'YOUR PASSWORD'
175
175
  end
176
176
 
177
- api_instance = PulpRpmClient::ContentModulemdApi.new
178
- modulemd_href = 'modulemd_href_example' # String | URI of Modulemd. e.g.: /pulp/api/v3/content/rpm/modulemd/1/
177
+ api_instance = PulpRpmClient::ContentModulemdsApi.new
178
+ modulemd_href = 'modulemd_href_example' # String | URI of Modulemd. e.g.: /pulp/api/v3/content/rpm/modulemds/1/
179
179
  opts = {
180
180
  fields: 'fields_example', # String | A list of fields to include in the response.
181
181
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
@@ -186,7 +186,7 @@ begin
186
186
  result = api_instance.read(modulemd_href, opts)
187
187
  p result
188
188
  rescue PulpRpmClient::ApiError => e
189
- puts "Exception when calling ContentModulemdApi->read: #{e}"
189
+ puts "Exception when calling ContentModulemdsApi->read: #{e}"
190
190
  end
191
191
  ```
192
192
 
@@ -195,13 +195,13 @@ end
195
195
 
196
196
  Name | Type | Description | Notes
197
197
  ------------- | ------------- | ------------- | -------------
198
- **modulemd_href** | **String**| URI of Modulemd. e.g.: /pulp/api/v3/content/rpm/modulemd/1/ |
198
+ **modulemd_href** | **String**| URI of Modulemd. e.g.: /pulp/api/v3/content/rpm/modulemds/1/ |
199
199
  **fields** | **String**| A list of fields to include in the response. | [optional]
200
200
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
201
201
 
202
202
  ### Return type
203
203
 
204
- [**Modulemd**](Modulemd.md)
204
+ [**RpmModulemd**](RpmModulemd.md)
205
205
 
206
206
  ### Authorization
207
207
 
@@ -0,0 +1,189 @@
1
+ # PulpRpmClient::ContentPackagecategoriesApi
2
+
3
+ All URIs are relative to *http://localhost:24817*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**delete**](ContentPackagecategoriesApi.md#delete) | **DELETE** {package_category_href} | Delete a package category
8
+ [**list**](ContentPackagecategoriesApi.md#list) | **GET** /pulp/api/v3/content/rpm/packagecategories/ | List package categorys
9
+ [**read**](ContentPackagecategoriesApi.md#read) | **GET** {package_category_href} | Inspect a package category
10
+
11
+
12
+
13
+ ## delete
14
+
15
+ > delete(package_category_href)
16
+
17
+ Delete a package category
18
+
19
+ PackageCategory 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::ContentPackagecategoriesApi.new
34
+ package_category_href = 'package_category_href_example' # String | URI of Package Category. e.g.: /pulp/api/v3/content/rpm/packagecategories/1/
35
+
36
+ begin
37
+ #Delete a package category
38
+ api_instance.delete(package_category_href)
39
+ rescue PulpRpmClient::ApiError => e
40
+ puts "Exception when calling ContentPackagecategoriesApi->delete: #{e}"
41
+ end
42
+ ```
43
+
44
+ ### Parameters
45
+
46
+
47
+ Name | Type | Description | Notes
48
+ ------------- | ------------- | ------------- | -------------
49
+ **package_category_href** | **String**| URI of Package Category. e.g.: /pulp/api/v3/content/rpm/packagecategories/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
+ > InlineResponse2004 list(opts)
68
+
69
+ List package categorys
70
+
71
+ PackageCategory 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::ContentPackagecategoriesApi.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 categorys
98
+ result = api_instance.list(opts)
99
+ p result
100
+ rescue PulpRpmClient::ApiError => e
101
+ puts "Exception when calling ContentPackagecategoriesApi->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
+ [**InlineResponse2004**](InlineResponse2004.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
+ > RpmPackageCategory read(package_category_href, opts)
135
+
136
+ Inspect a package category
137
+
138
+ PackageCategory 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::ContentPackagecategoriesApi.new
153
+ package_category_href = 'package_category_href_example' # String | URI of Package Category. e.g.: /pulp/api/v3/content/rpm/packagecategories/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 category
161
+ result = api_instance.read(package_category_href, opts)
162
+ p result
163
+ rescue PulpRpmClient::ApiError => e
164
+ puts "Exception when calling ContentPackagecategoriesApi->read: #{e}"
165
+ end
166
+ ```
167
+
168
+ ### Parameters
169
+
170
+
171
+ Name | Type | Description | Notes
172
+ ------------- | ------------- | ------------- | -------------
173
+ **package_category_href** | **String**| URI of Package Category. e.g.: /pulp/api/v3/content/rpm/packagecategories/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
+ [**RpmPackageCategory**](RpmPackageCategory.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
+