pulp_rpm_client 3.0.0b6 → 3.0.0b7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (111) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +10 -10
  3. data/docs/Addon.md +1 -3
  4. data/docs/Artifact.md +5 -5
  5. data/docs/ContentAdvisoriesApi.md +6 -2
  6. data/docs/{DistributionTreesDistributionTreesApi.md → ContentDistributionTreesApi.md} +28 -18
  7. data/docs/ContentModulemdApi.md +8 -4
  8. data/docs/ContentModulemdDefaultsApi.md +8 -4
  9. data/docs/ContentPackagesApi.md +8 -4
  10. data/docs/{RepoMetadataFilesRepoMetadataFilesApi.md → ContentRepoMetadataFilesApi.md} +28 -18
  11. data/docs/DistributionTree.md +2 -2
  12. data/docs/DistributionsRpmApi.md +8 -4
  13. data/docs/InlineResponse2001.md +1 -1
  14. data/docs/InlineResponse2002.md +1 -1
  15. data/docs/InlineResponse2003.md +1 -1
  16. data/docs/InlineResponse2004.md +1 -1
  17. data/docs/InlineResponse2005.md +1 -1
  18. data/docs/InlineResponse2006.md +1 -1
  19. data/docs/InlineResponse2007.md +1 -1
  20. data/docs/InlineResponse2008.md +1 -1
  21. data/docs/Modulemd.md +7 -9
  22. data/docs/ModulemdDefaults.md +6 -8
  23. data/docs/Package.md +41 -43
  24. data/docs/PublicationsRpmApi.md +8 -4
  25. data/docs/RemotesRpmApi.md +20 -16
  26. data/docs/RepoMetadataFile.md +5 -7
  27. data/docs/RpmDistribution.md +5 -5
  28. data/docs/RpmPublication.md +4 -6
  29. data/docs/RpmRemote.md +6 -8
  30. data/docs/UpdateRecord.md +6 -8
  31. data/docs/Variant.md +0 -2
  32. data/lib/pulp_rpm_client/api/content_advisories_api.rb +7 -1
  33. data/lib/pulp_rpm_client/api/{distribution_trees_distribution_trees_api.rb → content_distribution_trees_api.rb} +33 -18
  34. data/lib/pulp_rpm_client/api/content_modulemd_api.rb +10 -12
  35. data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +10 -8
  36. data/lib/pulp_rpm_client/api/content_packages_api.rb +10 -4
  37. data/lib/pulp_rpm_client/api/{repo_metadata_files_repo_metadata_files_api.rb → content_repo_metadata_files_api.rb} +33 -18
  38. data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +10 -4
  39. data/lib/pulp_rpm_client/api/publications_rpm_api.rb +10 -4
  40. data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +28 -22
  41. data/lib/pulp_rpm_client/api/rpm_copy_api.rb +1 -1
  42. data/lib/pulp_rpm_client/api_client.rb +1 -1
  43. data/lib/pulp_rpm_client/api_error.rb +1 -1
  44. data/lib/pulp_rpm_client/configuration.rb +1 -1
  45. data/lib/pulp_rpm_client/models/addon.rb +5 -20
  46. data/lib/pulp_rpm_client/models/artifact.rb +14 -14
  47. data/lib/pulp_rpm_client/models/async_operation_response.rb +1 -1
  48. data/lib/pulp_rpm_client/models/checksum.rb +1 -1
  49. data/lib/pulp_rpm_client/models/distribution_tree.rb +8 -8
  50. data/lib/pulp_rpm_client/models/image.rb +1 -1
  51. data/lib/pulp_rpm_client/models/inline_response200.rb +1 -1
  52. data/lib/pulp_rpm_client/models/inline_response2001.rb +2 -2
  53. data/lib/pulp_rpm_client/models/inline_response2002.rb +2 -2
  54. data/lib/pulp_rpm_client/models/inline_response2003.rb +2 -2
  55. data/lib/pulp_rpm_client/models/inline_response2004.rb +2 -2
  56. data/lib/pulp_rpm_client/models/inline_response2005.rb +2 -2
  57. data/lib/pulp_rpm_client/models/inline_response2006.rb +2 -2
  58. data/lib/pulp_rpm_client/models/inline_response2007.rb +2 -2
  59. data/lib/pulp_rpm_client/models/inline_response2008.rb +2 -2
  60. data/lib/pulp_rpm_client/models/modulemd.rb +16 -78
  61. data/lib/pulp_rpm_client/models/modulemd_defaults.rb +15 -58
  62. data/lib/pulp_rpm_client/models/package.rb +24 -218
  63. data/lib/pulp_rpm_client/models/repo_metadata_file.rb +14 -38
  64. data/lib/pulp_rpm_client/models/repository_sync_url.rb +1 -1
  65. data/lib/pulp_rpm_client/models/rpm_distribution.rb +14 -14
  66. data/lib/pulp_rpm_client/models/rpm_publication.rb +14 -38
  67. data/lib/pulp_rpm_client/models/rpm_remote.rb +20 -44
  68. data/lib/pulp_rpm_client/models/update_record.rb +14 -38
  69. data/lib/pulp_rpm_client/models/variant.rb +2 -17
  70. data/lib/pulp_rpm_client/version.rb +2 -2
  71. data/lib/pulp_rpm_client.rb +3 -3
  72. data/pulp_rpm_client.gemspec +1 -1
  73. data/spec/api/content_advisories_api_spec.rb +3 -1
  74. data/spec/api/{distribution_trees_distribution_trees_api_spec.rb → content_distribution_trees_api_spec.rb} +15 -10
  75. data/spec/api/content_modulemd_api_spec.rb +4 -2
  76. data/spec/api/content_modulemd_defaults_api_spec.rb +4 -2
  77. data/spec/api/content_packages_api_spec.rb +4 -2
  78. data/spec/api/{repo_metadata_files_repo_metadata_files_api_spec.rb → content_repo_metadata_files_api_spec.rb} +15 -10
  79. data/spec/api/distributions_rpm_api_spec.rb +4 -2
  80. data/spec/api/publications_rpm_api_spec.rb +4 -2
  81. data/spec/api/remotes_rpm_api_spec.rb +10 -8
  82. data/spec/api/rpm_copy_api_spec.rb +1 -1
  83. data/spec/api_client_spec.rb +2 -2
  84. data/spec/configuration_spec.rb +1 -1
  85. data/spec/models/addon_spec.rb +1 -7
  86. data/spec/models/artifact_spec.rb +3 -3
  87. data/spec/models/async_operation_response_spec.rb +1 -1
  88. data/spec/models/checksum_spec.rb +1 -1
  89. data/spec/models/distribution_tree_spec.rb +2 -2
  90. data/spec/models/image_spec.rb +1 -1
  91. data/spec/models/inline_response2001_spec.rb +1 -1
  92. data/spec/models/inline_response2002_spec.rb +1 -1
  93. data/spec/models/inline_response2003_spec.rb +1 -1
  94. data/spec/models/inline_response2004_spec.rb +1 -1
  95. data/spec/models/inline_response2005_spec.rb +1 -1
  96. data/spec/models/inline_response2006_spec.rb +1 -1
  97. data/spec/models/inline_response2007_spec.rb +1 -1
  98. data/spec/models/inline_response2008_spec.rb +1 -1
  99. data/spec/models/inline_response200_spec.rb +1 -1
  100. data/spec/models/modulemd_defaults_spec.rb +3 -9
  101. data/spec/models/modulemd_spec.rb +3 -9
  102. data/spec/models/package_spec.rb +3 -9
  103. data/spec/models/repo_metadata_file_spec.rb +3 -9
  104. data/spec/models/repository_sync_url_spec.rb +1 -1
  105. data/spec/models/rpm_distribution_spec.rb +3 -3
  106. data/spec/models/rpm_publication_spec.rb +3 -9
  107. data/spec/models/rpm_remote_spec.rb +4 -10
  108. data/spec/models/update_record_spec.rb +3 -9
  109. data/spec/models/variant_spec.rb +1 -7
  110. data/spec/spec_helper.rb +1 -1
  111. metadata +10 -10
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b6be90b168f1d2146ef66d723985f35ed0b21f12522ac3e69ae8d346f12eb9db
4
- data.tar.gz: 95a5a8a8cfd46efaa01357cec7453369c7d2016bda4c3ea68b3c6fe9da58b9c9
3
+ metadata.gz: f522dbf09b3a4541fdfc7f700ad4edf3f14ffac1704f379b301c06feff3a4c21
4
+ data.tar.gz: c1c6d5fda8dd0163af9b0597cd85bf789e5945b62efb5d2812e1ef98763f2af8
5
5
  SHA512:
6
- metadata.gz: e2b134470628b3fda1cb934d47c67b552c9173daeb850a196ae1011ef04ee5a76fb19111cfd1681c4385157f4be3049dbecc6baf7379927c4ccee37bba9921e3
7
- data.tar.gz: 7a6c1725b89aa26f187c8c0770b8e1da4e5bdcbe899b72768cd7c1867ce674f0d79e4daf788257dc26383ab83b218a530b1c5a12d3b99d517dc6ef5c1beace20
6
+ metadata.gz: 793a6f28e2c8eac80b4c305a62e8a85e589cc8500b9f42f7361b622437ea84d7a5dea4d8f4cc42f2e99aa740d9957abcd350fc01e7757e2a340c350a4414f818
7
+ data.tar.gz: ce7a871829fd546bc50d43d3602645cdca51a0386f009e38eba5f29481fca696e33ac15359980125f7282bc6774409de8f3c26b5779052e6e9edb360732675cf
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.0b6
10
+ - Package version: 3.0.0b7
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.0b6.gem
26
+ gem install ./pulp_rpm_client-3.0.0b7.gem
27
27
  ```
28
28
 
29
- (for development, run `gem install --dev ./pulp_rpm_client-3.0.0b6.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./pulp_rpm_client-3.0.0b7.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.0b6'
35
+ gem 'pulp_rpm_client', '~> 3.0.0b7'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -85,6 +85,9 @@ Class | Method | HTTP request | Description
85
85
  *PulpRpmClient::ContentAdvisoriesApi* | [**create**](docs/ContentAdvisoriesApi.md#create) | **POST** /pulp/api/v3/content/rpm/advisories/ | Create an update record
86
86
  *PulpRpmClient::ContentAdvisoriesApi* | [**list**](docs/ContentAdvisoriesApi.md#list) | **GET** /pulp/api/v3/content/rpm/advisories/ | List update records
87
87
  *PulpRpmClient::ContentAdvisoriesApi* | [**read**](docs/ContentAdvisoriesApi.md#read) | **GET** {update_record_href} | Inspect an update record
88
+ *PulpRpmClient::ContentDistributionTreesApi* | [**delete**](docs/ContentDistributionTreesApi.md#delete) | **DELETE** {distribution_tree_href} | Delete a distribution tree
89
+ *PulpRpmClient::ContentDistributionTreesApi* | [**list**](docs/ContentDistributionTreesApi.md#list) | **GET** /pulp/api/v3/content/rpm/distribution_trees/ | List distribution trees
90
+ *PulpRpmClient::ContentDistributionTreesApi* | [**read**](docs/ContentDistributionTreesApi.md#read) | **GET** {distribution_tree_href} | Inspect a distribution tree
88
91
  *PulpRpmClient::ContentModulemdApi* | [**create**](docs/ContentModulemdApi.md#create) | **POST** /pulp/api/v3/content/rpm/modulemd/ | Create a modulemd
89
92
  *PulpRpmClient::ContentModulemdApi* | [**list**](docs/ContentModulemdApi.md#list) | **GET** /pulp/api/v3/content/rpm/modulemd/ | List modulemds
90
93
  *PulpRpmClient::ContentModulemdApi* | [**read**](docs/ContentModulemdApi.md#read) | **GET** {modulemd_href} | Inspect a modulemd
@@ -94,9 +97,9 @@ Class | Method | HTTP request | Description
94
97
  *PulpRpmClient::ContentPackagesApi* | [**create**](docs/ContentPackagesApi.md#create) | **POST** /pulp/api/v3/content/rpm/packages/ | Create a package
95
98
  *PulpRpmClient::ContentPackagesApi* | [**list**](docs/ContentPackagesApi.md#list) | **GET** /pulp/api/v3/content/rpm/packages/ | List packages
96
99
  *PulpRpmClient::ContentPackagesApi* | [**read**](docs/ContentPackagesApi.md#read) | **GET** {package_href} | Inspect a package
97
- *PulpRpmClient::DistributionTreesDistributionTreesApi* | [**delete**](docs/DistributionTreesDistributionTreesApi.md#delete) | **DELETE** {distribution_tree_href} | Delete a distribution tree
98
- *PulpRpmClient::DistributionTreesDistributionTreesApi* | [**list**](docs/DistributionTreesDistributionTreesApi.md#list) | **GET** /pulp/api/v3/distribution_trees/rpm/distribution_trees/ | List distribution trees
99
- *PulpRpmClient::DistributionTreesDistributionTreesApi* | [**read**](docs/DistributionTreesDistributionTreesApi.md#read) | **GET** {distribution_tree_href} | Inspect a distribution tree
100
+ *PulpRpmClient::ContentRepoMetadataFilesApi* | [**delete**](docs/ContentRepoMetadataFilesApi.md#delete) | **DELETE** {repo_metadata_file_href} | Delete a repo metadata file
101
+ *PulpRpmClient::ContentRepoMetadataFilesApi* | [**list**](docs/ContentRepoMetadataFilesApi.md#list) | **GET** /pulp/api/v3/content/rpm/repo_metadata_files/ | List repo metadata files
102
+ *PulpRpmClient::ContentRepoMetadataFilesApi* | [**read**](docs/ContentRepoMetadataFilesApi.md#read) | **GET** {repo_metadata_file_href} | Inspect a repo metadata file
100
103
  *PulpRpmClient::DistributionsRpmApi* | [**create**](docs/DistributionsRpmApi.md#create) | **POST** /pulp/api/v3/distributions/rpm/rpm/ | Create a rpm distribution
101
104
  *PulpRpmClient::DistributionsRpmApi* | [**delete**](docs/DistributionsRpmApi.md#delete) | **DELETE** {rpm_distribution_href} | Delete a rpm distribution
102
105
  *PulpRpmClient::DistributionsRpmApi* | [**list**](docs/DistributionsRpmApi.md#list) | **GET** /pulp/api/v3/distributions/rpm/rpm/ | List rpm distributions
@@ -114,9 +117,6 @@ Class | Method | HTTP request | Description
114
117
  *PulpRpmClient::RemotesRpmApi* | [**read**](docs/RemotesRpmApi.md#read) | **GET** {rpm_remote_href} | Inspect a rpm remote
115
118
  *PulpRpmClient::RemotesRpmApi* | [**sync**](docs/RemotesRpmApi.md#sync) | **POST** {rpm_remote_href}sync/ | Sync from remote
116
119
  *PulpRpmClient::RemotesRpmApi* | [**update**](docs/RemotesRpmApi.md#update) | **PUT** {rpm_remote_href} | Update a rpm remote
117
- *PulpRpmClient::RepoMetadataFilesRepoMetadataFilesApi* | [**delete**](docs/RepoMetadataFilesRepoMetadataFilesApi.md#delete) | **DELETE** {repo_metadata_file_href} | Delete a repo metadata file
118
- *PulpRpmClient::RepoMetadataFilesRepoMetadataFilesApi* | [**list**](docs/RepoMetadataFilesRepoMetadataFilesApi.md#list) | **GET** /pulp/api/v3/repo_metadata_files/rpm/repo_metadata_files/ | List repo metadata files
119
- *PulpRpmClient::RepoMetadataFilesRepoMetadataFilesApi* | [**read**](docs/RepoMetadataFilesRepoMetadataFilesApi.md#read) | **GET** {repo_metadata_file_href} | Inspect a repo metadata file
120
120
  *PulpRpmClient::RpmCopyApi* | [**copy_content**](docs/RpmCopyApi.md#copy_content) | **POST** /pulp/api/v3/rpm/copy/ | Copy content
121
121
 
122
122
 
data/docs/Addon.md CHANGED
@@ -9,7 +9,6 @@ Name | Type | Description | Notes
9
9
  **name** | **String** | Addon name. |
10
10
  **type** | **String** | Addon type. |
11
11
  **packages** | **String** | Relative path to directory with binary RPMs. |
12
- **repository** | **String** | A URI of the repository containing the content for this Addon. |
13
12
 
14
13
  ## Code Sample
15
14
 
@@ -20,8 +19,7 @@ instance = PulpRpmClient::Addon.new(addon_id: null,
20
19
  uid: null,
21
20
  name: null,
22
21
  type: null,
23
- packages: null,
24
- repository: null)
22
+ packages: null)
25
23
  ```
26
24
 
27
25
 
data/docs/Artifact.md CHANGED
@@ -4,9 +4,9 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **_href** | **String** | | [optional]
8
- **_created** | **DateTime** | Timestamp of creation. | [optional]
9
- **file** | **String** | The stored file. | [optional]
7
+ **pulp_href** | **String** | | [optional] [readonly]
8
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
+ **file** | **String** | The stored file. | [optional] [readonly]
10
10
  **size** | **Integer** | The size of the file in bytes. | [optional]
11
11
  **md5** | **String** | The MD5 checksum of the file if available. | [optional]
12
12
  **sha1** | **String** | The SHA-1 checksum of the file if available. | [optional]
@@ -20,8 +20,8 @@ Name | Type | Description | Notes
20
20
  ```ruby
21
21
  require 'PulpRpmClient'
22
22
 
23
- instance = PulpRpmClient::Artifact.new(_href: null,
24
- _created: null,
23
+ instance = PulpRpmClient::Artifact.new(pulp_href: null,
24
+ pulp_created: null,
25
25
  file: null,
26
26
  size: null,
27
27
  md5: null,
@@ -98,7 +98,8 @@ opts = {
98
98
  repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
99
99
  limit: 56, # Integer | Number of results to return per page.
100
100
  offset: 56, # Integer | The initial index from which to return the results.
101
- fields: 'fields_example' # String | A list of fields to include in the response.
101
+ fields: 'fields_example', # String | A list of fields to include in the response.
102
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
102
103
  }
103
104
 
104
105
  begin
@@ -129,6 +130,7 @@ Name | Type | Description | Notes
129
130
  **limit** | **Integer**| Number of results to return per page. | [optional]
130
131
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
131
132
  **fields** | **String**| A list of fields to include in the response. | [optional]
133
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
132
134
 
133
135
  ### Return type
134
136
 
@@ -167,7 +169,8 @@ end
167
169
  api_instance = PulpRpmClient::ContentAdvisoriesApi.new
168
170
  update_record_href = 'update_record_href_example' # String | URI of Update Record. e.g.: /pulp/api/v3/content/rpm/advisories/1/
169
171
  opts = {
170
- fields: 'fields_example' # String | A list of fields to include in the response.
172
+ fields: 'fields_example', # String | A list of fields to include in the response.
173
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
171
174
  }
172
175
 
173
176
  begin
@@ -186,6 +189,7 @@ Name | Type | Description | Notes
186
189
  ------------- | ------------- | ------------- | -------------
187
190
  **update_record_href** | **String**| URI of Update Record. e.g.: /pulp/api/v3/content/rpm/advisories/1/ |
188
191
  **fields** | **String**| A list of fields to include in the response. | [optional]
192
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
189
193
 
190
194
  ### Return type
191
195
 
@@ -1,12 +1,12 @@
1
- # PulpRpmClient::DistributionTreesDistributionTreesApi
1
+ # PulpRpmClient::ContentDistributionTreesApi
2
2
 
3
3
  All URIs are relative to *http://localhost:24817*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
- [**delete**](DistributionTreesDistributionTreesApi.md#delete) | **DELETE** {distribution_tree_href} | Delete a distribution tree
8
- [**list**](DistributionTreesDistributionTreesApi.md#list) | **GET** /pulp/api/v3/distribution_trees/rpm/distribution_trees/ | List distribution trees
9
- [**read**](DistributionTreesDistributionTreesApi.md#read) | **GET** {distribution_tree_href} | Inspect a distribution tree
7
+ [**delete**](ContentDistributionTreesApi.md#delete) | **DELETE** {distribution_tree_href} | Delete a distribution tree
8
+ [**list**](ContentDistributionTreesApi.md#list) | **GET** /pulp/api/v3/content/rpm/distribution_trees/ | List distribution trees
9
+ [**read**](ContentDistributionTreesApi.md#read) | **GET** {distribution_tree_href} | Inspect a distribution tree
10
10
 
11
11
 
12
12
 
@@ -30,14 +30,14 @@ PulpRpmClient.configure do |config|
30
30
  config.password = 'YOUR PASSWORD'
31
31
  end
32
32
 
33
- api_instance = PulpRpmClient::DistributionTreesDistributionTreesApi.new
34
- distribution_tree_href = 'distribution_tree_href_example' # String | URI of Distribution Tree. e.g.: /pulp/api/v3/distribution_trees/rpm/distribution_trees/1/
33
+ api_instance = PulpRpmClient::ContentDistributionTreesApi.new
34
+ distribution_tree_href = 'distribution_tree_href_example' # String | URI of Distribution Tree. e.g.: /pulp/api/v3/content/rpm/distribution_trees/1/
35
35
 
36
36
  begin
37
37
  #Delete a distribution tree
38
38
  api_instance.delete(distribution_tree_href)
39
39
  rescue PulpRpmClient::ApiError => e
40
- puts "Exception when calling DistributionTreesDistributionTreesApi->delete: #{e}"
40
+ puts "Exception when calling ContentDistributionTreesApi->delete: #{e}"
41
41
  end
42
42
  ```
43
43
 
@@ -46,7 +46,7 @@ end
46
46
 
47
47
  Name | Type | Description | Notes
48
48
  ------------- | ------------- | ------------- | -------------
49
- **distribution_tree_href** | **String**| URI of Distribution Tree. e.g.: /pulp/api/v3/distribution_trees/rpm/distribution_trees/1/ |
49
+ **distribution_tree_href** | **String**| URI of Distribution Tree. e.g.: /pulp/api/v3/content/rpm/distribution_trees/1/ |
50
50
 
51
51
  ### Return type
52
52
 
@@ -64,7 +64,7 @@ nil (empty response body)
64
64
 
65
65
  ## list
66
66
 
67
- > InlineResponse2004 list(opts)
67
+ > InlineResponse2001 list(opts)
68
68
 
69
69
  List distribution trees
70
70
 
@@ -82,11 +82,15 @@ PulpRpmClient.configure do |config|
82
82
  config.password = 'YOUR PASSWORD'
83
83
  end
84
84
 
85
- api_instance = PulpRpmClient::DistributionTreesDistributionTreesApi.new
85
+ api_instance = PulpRpmClient::ContentDistributionTreesApi.new
86
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
87
90
  limit: 56, # Integer | Number of results to return per page.
88
91
  offset: 56, # Integer | The initial index from which to return the results.
89
- fields: 'fields_example' # String | A list of fields to include in the response.
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.
90
94
  }
91
95
 
92
96
  begin
@@ -94,7 +98,7 @@ begin
94
98
  result = api_instance.list(opts)
95
99
  p result
96
100
  rescue PulpRpmClient::ApiError => e
97
- puts "Exception when calling DistributionTreesDistributionTreesApi->list: #{e}"
101
+ puts "Exception when calling ContentDistributionTreesApi->list: #{e}"
98
102
  end
99
103
  ```
100
104
 
@@ -103,13 +107,17 @@ end
103
107
 
104
108
  Name | Type | Description | Notes
105
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]
106
113
  **limit** | **Integer**| Number of results to return per page. | [optional]
107
114
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
108
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]
109
117
 
110
118
  ### Return type
111
119
 
112
- [**InlineResponse2004**](InlineResponse2004.md)
120
+ [**InlineResponse2001**](InlineResponse2001.md)
113
121
 
114
122
  ### Authorization
115
123
 
@@ -141,10 +149,11 @@ PulpRpmClient.configure do |config|
141
149
  config.password = 'YOUR PASSWORD'
142
150
  end
143
151
 
144
- api_instance = PulpRpmClient::DistributionTreesDistributionTreesApi.new
145
- distribution_tree_href = 'distribution_tree_href_example' # String | URI of Distribution Tree. e.g.: /pulp/api/v3/distribution_trees/rpm/distribution_trees/1/
152
+ api_instance = PulpRpmClient::ContentDistributionTreesApi.new
153
+ distribution_tree_href = 'distribution_tree_href_example' # String | URI of Distribution Tree. e.g.: /pulp/api/v3/content/rpm/distribution_trees/1/
146
154
  opts = {
147
- fields: 'fields_example' # String | A list of fields to include in the response.
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.
148
157
  }
149
158
 
150
159
  begin
@@ -152,7 +161,7 @@ begin
152
161
  result = api_instance.read(distribution_tree_href, opts)
153
162
  p result
154
163
  rescue PulpRpmClient::ApiError => e
155
- puts "Exception when calling DistributionTreesDistributionTreesApi->read: #{e}"
164
+ puts "Exception when calling ContentDistributionTreesApi->read: #{e}"
156
165
  end
157
166
  ```
158
167
 
@@ -161,8 +170,9 @@ end
161
170
 
162
171
  Name | Type | Description | Notes
163
172
  ------------- | ------------- | ------------- | -------------
164
- **distribution_tree_href** | **String**| URI of Distribution Tree. e.g.: /pulp/api/v3/distribution_trees/rpm/distribution_trees/1/ |
173
+ **distribution_tree_href** | **String**| URI of Distribution Tree. e.g.: /pulp/api/v3/content/rpm/distribution_trees/1/ |
165
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]
166
176
 
167
177
  ### Return type
168
178
 
@@ -89,7 +89,7 @@ Name | Type | Description | Notes
89
89
 
90
90
  ## list
91
91
 
92
- > InlineResponse2002 list(opts)
92
+ > InlineResponse2003 list(opts)
93
93
 
94
94
  List modulemds
95
95
 
@@ -114,7 +114,8 @@ opts = {
114
114
  repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
115
115
  limit: 56, # Integer | Number of results to return per page.
116
116
  offset: 56, # Integer | The initial index from which to return the results.
117
- fields: 'fields_example' # String | A list of fields to include in the response.
117
+ fields: 'fields_example', # String | A list of fields to include in the response.
118
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
118
119
  }
119
120
 
120
121
  begin
@@ -137,10 +138,11 @@ Name | Type | Description | Notes
137
138
  **limit** | **Integer**| Number of results to return per page. | [optional]
138
139
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
139
140
  **fields** | **String**| A list of fields to include in the response. | [optional]
141
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
140
142
 
141
143
  ### Return type
142
144
 
143
- [**InlineResponse2002**](InlineResponse2002.md)
145
+ [**InlineResponse2003**](InlineResponse2003.md)
144
146
 
145
147
  ### Authorization
146
148
 
@@ -175,7 +177,8 @@ end
175
177
  api_instance = PulpRpmClient::ContentModulemdApi.new
176
178
  modulemd_href = 'modulemd_href_example' # String | URI of Modulemd. e.g.: /pulp/api/v3/content/rpm/modulemd/1/
177
179
  opts = {
178
- fields: 'fields_example' # String | A list of fields to include in the response.
180
+ fields: 'fields_example', # String | A list of fields to include in the response.
181
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
179
182
  }
180
183
 
181
184
  begin
@@ -194,6 +197,7 @@ Name | Type | Description | Notes
194
197
  ------------- | ------------- | ------------- | -------------
195
198
  **modulemd_href** | **String**| URI of Modulemd. e.g.: /pulp/api/v3/content/rpm/modulemd/1/ |
196
199
  **fields** | **String**| A list of fields to include in the response. | [optional]
200
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
197
201
 
198
202
  ### Return type
199
203
 
@@ -79,7 +79,7 @@ Name | Type | Description | Notes
79
79
 
80
80
  ## list
81
81
 
82
- > InlineResponse2001 list(opts)
82
+ > InlineResponse2002 list(opts)
83
83
 
84
84
  List modulemd defaultss
85
85
 
@@ -104,7 +104,8 @@ opts = {
104
104
  repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
105
105
  limit: 56, # Integer | Number of results to return per page.
106
106
  offset: 56, # Integer | The initial index from which to return the results.
107
- fields: 'fields_example' # String | A list of fields to include in the response.
107
+ fields: 'fields_example', # String | A list of fields to include in the response.
108
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
108
109
  }
109
110
 
110
111
  begin
@@ -127,10 +128,11 @@ Name | Type | Description | Notes
127
128
  **limit** | **Integer**| Number of results to return per page. | [optional]
128
129
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
129
130
  **fields** | **String**| A list of fields to include in the response. | [optional]
131
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
130
132
 
131
133
  ### Return type
132
134
 
133
- [**InlineResponse2001**](InlineResponse2001.md)
135
+ [**InlineResponse2002**](InlineResponse2002.md)
134
136
 
135
137
  ### Authorization
136
138
 
@@ -165,7 +167,8 @@ end
165
167
  api_instance = PulpRpmClient::ContentModulemdDefaultsApi.new
166
168
  modulemd_defaults_href = 'modulemd_defaults_href_example' # String | URI of Modulemd Defaults. e.g.: /pulp/api/v3/content/rpm/modulemd-defaults/1/
167
169
  opts = {
168
- fields: 'fields_example' # String | A list of fields to include in the response.
170
+ fields: 'fields_example', # String | A list of fields to include in the response.
171
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
169
172
  }
170
173
 
171
174
  begin
@@ -184,6 +187,7 @@ Name | Type | Description | Notes
184
187
  ------------- | ------------- | ------------- | -------------
185
188
  **modulemd_defaults_href** | **String**| URI of Modulemd Defaults. e.g.: /pulp/api/v3/content/rpm/modulemd-defaults/1/ |
186
189
  **fields** | **String**| A list of fields to include in the response. | [optional]
190
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
187
191
 
188
192
  ### Return type
189
193
 
@@ -73,7 +73,7 @@ Name | Type | Description | Notes
73
73
 
74
74
  ## list
75
75
 
76
- > InlineResponse2003 list(opts)
76
+ > InlineResponse2004 list(opts)
77
77
 
78
78
  List packages
79
79
 
@@ -112,7 +112,8 @@ opts = {
112
112
  repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
113
113
  limit: 56, # Integer | Number of results to return per page.
114
114
  offset: 56, # Integer | The initial index from which to return the results.
115
- fields: 'fields_example' # String | A list of fields to include in the response.
115
+ fields: 'fields_example', # String | A list of fields to include in the response.
116
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
116
117
  }
117
118
 
118
119
  begin
@@ -149,10 +150,11 @@ Name | Type | Description | Notes
149
150
  **limit** | **Integer**| Number of results to return per page. | [optional]
150
151
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
151
152
  **fields** | **String**| A list of fields to include in the response. | [optional]
153
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
152
154
 
153
155
  ### Return type
154
156
 
155
- [**InlineResponse2003**](InlineResponse2003.md)
157
+ [**InlineResponse2004**](InlineResponse2004.md)
156
158
 
157
159
  ### Authorization
158
160
 
@@ -187,7 +189,8 @@ end
187
189
  api_instance = PulpRpmClient::ContentPackagesApi.new
188
190
  package_href = 'package_href_example' # String | URI of Package. e.g.: /pulp/api/v3/content/rpm/packages/1/
189
191
  opts = {
190
- fields: 'fields_example' # String | A list of fields to include in the response.
192
+ fields: 'fields_example', # String | A list of fields to include in the response.
193
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
191
194
  }
192
195
 
193
196
  begin
@@ -206,6 +209,7 @@ Name | Type | Description | Notes
206
209
  ------------- | ------------- | ------------- | -------------
207
210
  **package_href** | **String**| URI of Package. e.g.: /pulp/api/v3/content/rpm/packages/1/ |
208
211
  **fields** | **String**| A list of fields to include in the response. | [optional]
212
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
209
213
 
210
214
  ### Return type
211
215
 
@@ -1,12 +1,12 @@
1
- # PulpRpmClient::RepoMetadataFilesRepoMetadataFilesApi
1
+ # PulpRpmClient::ContentRepoMetadataFilesApi
2
2
 
3
3
  All URIs are relative to *http://localhost:24817*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
- [**delete**](RepoMetadataFilesRepoMetadataFilesApi.md#delete) | **DELETE** {repo_metadata_file_href} | Delete a repo metadata file
8
- [**list**](RepoMetadataFilesRepoMetadataFilesApi.md#list) | **GET** /pulp/api/v3/repo_metadata_files/rpm/repo_metadata_files/ | List repo metadata files
9
- [**read**](RepoMetadataFilesRepoMetadataFilesApi.md#read) | **GET** {repo_metadata_file_href} | Inspect a repo metadata file
7
+ [**delete**](ContentRepoMetadataFilesApi.md#delete) | **DELETE** {repo_metadata_file_href} | Delete a repo metadata file
8
+ [**list**](ContentRepoMetadataFilesApi.md#list) | **GET** /pulp/api/v3/content/rpm/repo_metadata_files/ | List repo metadata files
9
+ [**read**](ContentRepoMetadataFilesApi.md#read) | **GET** {repo_metadata_file_href} | Inspect a repo metadata file
10
10
 
11
11
 
12
12
 
@@ -30,14 +30,14 @@ PulpRpmClient.configure do |config|
30
30
  config.password = 'YOUR PASSWORD'
31
31
  end
32
32
 
33
- api_instance = PulpRpmClient::RepoMetadataFilesRepoMetadataFilesApi.new
34
- repo_metadata_file_href = 'repo_metadata_file_href_example' # String | URI of Repo Metadata File. e.g.: /pulp/api/v3/repo_metadata_files/rpm/repo_metadata_files/1/
33
+ api_instance = PulpRpmClient::ContentRepoMetadataFilesApi.new
34
+ repo_metadata_file_href = 'repo_metadata_file_href_example' # String | URI of Repo Metadata File. e.g.: /pulp/api/v3/content/rpm/repo_metadata_files/1/
35
35
 
36
36
  begin
37
37
  #Delete a repo metadata file
38
38
  api_instance.delete(repo_metadata_file_href)
39
39
  rescue PulpRpmClient::ApiError => e
40
- puts "Exception when calling RepoMetadataFilesRepoMetadataFilesApi->delete: #{e}"
40
+ puts "Exception when calling ContentRepoMetadataFilesApi->delete: #{e}"
41
41
  end
42
42
  ```
43
43
 
@@ -46,7 +46,7 @@ end
46
46
 
47
47
  Name | Type | Description | Notes
48
48
  ------------- | ------------- | ------------- | -------------
49
- **repo_metadata_file_href** | **String**| URI of Repo Metadata File. e.g.: /pulp/api/v3/repo_metadata_files/rpm/repo_metadata_files/1/ |
49
+ **repo_metadata_file_href** | **String**| URI of Repo Metadata File. e.g.: /pulp/api/v3/content/rpm/repo_metadata_files/1/ |
50
50
 
51
51
  ### Return type
52
52
 
@@ -64,7 +64,7 @@ nil (empty response body)
64
64
 
65
65
  ## list
66
66
 
67
- > InlineResponse2008 list(opts)
67
+ > InlineResponse2005 list(opts)
68
68
 
69
69
  List repo metadata files
70
70
 
@@ -82,11 +82,15 @@ PulpRpmClient.configure do |config|
82
82
  config.password = 'YOUR PASSWORD'
83
83
  end
84
84
 
85
- api_instance = PulpRpmClient::RepoMetadataFilesRepoMetadataFilesApi.new
85
+ api_instance = PulpRpmClient::ContentRepoMetadataFilesApi.new
86
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
87
90
  limit: 56, # Integer | Number of results to return per page.
88
91
  offset: 56, # Integer | The initial index from which to return the results.
89
- fields: 'fields_example' # String | A list of fields to include in the response.
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.
90
94
  }
91
95
 
92
96
  begin
@@ -94,7 +98,7 @@ begin
94
98
  result = api_instance.list(opts)
95
99
  p result
96
100
  rescue PulpRpmClient::ApiError => e
97
- puts "Exception when calling RepoMetadataFilesRepoMetadataFilesApi->list: #{e}"
101
+ puts "Exception when calling ContentRepoMetadataFilesApi->list: #{e}"
98
102
  end
99
103
  ```
100
104
 
@@ -103,13 +107,17 @@ end
103
107
 
104
108
  Name | Type | Description | Notes
105
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]
106
113
  **limit** | **Integer**| Number of results to return per page. | [optional]
107
114
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
108
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]
109
117
 
110
118
  ### Return type
111
119
 
112
- [**InlineResponse2008**](InlineResponse2008.md)
120
+ [**InlineResponse2005**](InlineResponse2005.md)
113
121
 
114
122
  ### Authorization
115
123
 
@@ -141,10 +149,11 @@ PulpRpmClient.configure do |config|
141
149
  config.password = 'YOUR PASSWORD'
142
150
  end
143
151
 
144
- api_instance = PulpRpmClient::RepoMetadataFilesRepoMetadataFilesApi.new
145
- repo_metadata_file_href = 'repo_metadata_file_href_example' # String | URI of Repo Metadata File. e.g.: /pulp/api/v3/repo_metadata_files/rpm/repo_metadata_files/1/
152
+ api_instance = PulpRpmClient::ContentRepoMetadataFilesApi.new
153
+ repo_metadata_file_href = 'repo_metadata_file_href_example' # String | URI of Repo Metadata File. e.g.: /pulp/api/v3/content/rpm/repo_metadata_files/1/
146
154
  opts = {
147
- fields: 'fields_example' # String | A list of fields to include in the response.
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.
148
157
  }
149
158
 
150
159
  begin
@@ -152,7 +161,7 @@ begin
152
161
  result = api_instance.read(repo_metadata_file_href, opts)
153
162
  p result
154
163
  rescue PulpRpmClient::ApiError => e
155
- puts "Exception when calling RepoMetadataFilesRepoMetadataFilesApi->read: #{e}"
164
+ puts "Exception when calling ContentRepoMetadataFilesApi->read: #{e}"
156
165
  end
157
166
  ```
158
167
 
@@ -161,8 +170,9 @@ end
161
170
 
162
171
  Name | Type | Description | Notes
163
172
  ------------- | ------------- | ------------- | -------------
164
- **repo_metadata_file_href** | **String**| URI of Repo Metadata File. e.g.: /pulp/api/v3/repo_metadata_files/rpm/repo_metadata_files/1/ |
173
+ **repo_metadata_file_href** | **String**| URI of Repo Metadata File. e.g.: /pulp/api/v3/content/rpm/repo_metadata_files/1/ |
165
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]
166
176
 
167
177
  ### Return type
168
178
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **_href** | **String** | | [optional]
7
+ **pulp_href** | **String** | | [optional] [readonly]
8
8
  **header_version** | **String** | Header Version. |
9
9
  **release_name** | **String** | Release name. |
10
10
  **release_short** | **String** | Release short name. |
@@ -29,7 +29,7 @@ Name | Type | Description | Notes
29
29
  ```ruby
30
30
  require 'PulpRpmClient'
31
31
 
32
- instance = PulpRpmClient::DistributionTree.new(_href: null,
32
+ instance = PulpRpmClient::DistributionTree.new(pulp_href: null,
33
33
  header_version: null,
34
34
  release_name: null,
35
35
  release_short: null,
@@ -121,7 +121,7 @@ Name | Type | Description | Notes
121
121
 
122
122
  ## list
123
123
 
124
- > InlineResponse2005 list(opts)
124
+ > InlineResponse2006 list(opts)
125
125
 
126
126
  List rpm distributions
127
127
 
@@ -149,7 +149,8 @@ opts = {
149
149
  base_path__in: 'base_path__in_example', # String | Filter results where base_path is in a comma-separated list of values
150
150
  limit: 56, # Integer | Number of results to return per page.
151
151
  offset: 56, # Integer | The initial index from which to return the results.
152
- fields: 'fields_example' # String | A list of fields to include in the response.
152
+ fields: 'fields_example', # String | A list of fields to include in the response.
153
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
153
154
  }
154
155
 
155
156
  begin
@@ -175,10 +176,11 @@ Name | Type | Description | Notes
175
176
  **limit** | **Integer**| Number of results to return per page. | [optional]
176
177
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
177
178
  **fields** | **String**| A list of fields to include in the response. | [optional]
179
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
178
180
 
179
181
  ### Return type
180
182
 
181
- [**InlineResponse2005**](InlineResponse2005.md)
183
+ [**InlineResponse2006**](InlineResponse2006.md)
182
184
 
183
185
  ### Authorization
184
186
 
@@ -268,7 +270,8 @@ end
268
270
  api_instance = PulpRpmClient::DistributionsRpmApi.new
269
271
  rpm_distribution_href = 'rpm_distribution_href_example' # String | URI of Rpm Distribution. e.g.: /pulp/api/v3/distributions/rpm/rpm/1/
270
272
  opts = {
271
- fields: 'fields_example' # String | A list of fields to include in the response.
273
+ fields: 'fields_example', # String | A list of fields to include in the response.
274
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
272
275
  }
273
276
 
274
277
  begin
@@ -287,6 +290,7 @@ Name | Type | Description | Notes
287
290
  ------------- | ------------- | ------------- | -------------
288
291
  **rpm_distribution_href** | **String**| URI of Rpm Distribution. e.g.: /pulp/api/v3/distributions/rpm/rpm/1/ |
289
292
  **fields** | **String**| A list of fields to include in the response. | [optional]
293
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
290
294
 
291
295
  ### Return type
292
296
 
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
7
7
  **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<ModulemdDefaults>**](ModulemdDefaults.md) | |
10
+ **results** | [**Array<DistributionTree>**](DistributionTree.md) | |
11
11
 
12
12
  ## Code Sample
13
13