pulp_rpm_client 3.0.0b4 → 3.0.0b5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (96) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +21 -6
  3. data/docs/Addon.md +27 -0
  4. data/docs/Artifact.md +35 -0
  5. data/docs/Checksum.md +19 -0
  6. data/docs/ContentAdvisoriesApi.md +12 -6
  7. data/docs/ContentPackagesApi.md +12 -6
  8. data/docs/DistributionTree.md +53 -0
  9. data/docs/DistributionTreesDistributionTreesApi.md +179 -0
  10. data/docs/DistributionsRpmApi.md +14 -8
  11. data/docs/Image.md +23 -0
  12. data/docs/InlineResponse200.md +3 -3
  13. data/docs/InlineResponse2001.md +3 -3
  14. data/docs/InlineResponse2002.md +4 -4
  15. data/docs/InlineResponse2003.md +4 -4
  16. data/docs/InlineResponse2004.md +4 -4
  17. data/docs/InlineResponse2005.md +23 -0
  18. data/docs/InlineResponse2006.md +23 -0
  19. data/docs/Package.md +10 -8
  20. data/docs/PublicationsRpmApi.md +14 -8
  21. data/docs/RemotesRpmApi.md +14 -8
  22. data/docs/RepoMetadataFile.md +31 -0
  23. data/docs/RepoMetadataFilesRepoMetadataFilesApi.md +179 -0
  24. data/docs/Variant.md +37 -0
  25. data/git_push.sh +10 -7
  26. data/lib/pulp_rpm_client/api/content_advisories_api.rb +15 -9
  27. data/lib/pulp_rpm_client/api/content_packages_api.rb +15 -9
  28. data/lib/pulp_rpm_client/api/distribution_trees_distribution_trees_api.rb +212 -0
  29. data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +21 -15
  30. data/lib/pulp_rpm_client/api/publications_rpm_api.rb +19 -13
  31. data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +22 -16
  32. data/lib/pulp_rpm_client/api/repo_metadata_files_repo_metadata_files_api.rb +212 -0
  33. data/lib/pulp_rpm_client/api/rpm_copy_api.rb +2 -2
  34. data/lib/pulp_rpm_client/api/rpm_upload_api.rb +2 -2
  35. data/lib/pulp_rpm_client/api_client.rb +77 -62
  36. data/lib/pulp_rpm_client/api_error.rb +1 -1
  37. data/lib/pulp_rpm_client/configuration.rb +13 -21
  38. data/lib/pulp_rpm_client/models/addon.rb +372 -0
  39. data/lib/pulp_rpm_client/models/artifact.rb +376 -0
  40. data/lib/pulp_rpm_client/models/async_operation_response.rb +1 -1
  41. data/lib/pulp_rpm_client/models/checksum.rb +255 -0
  42. data/lib/pulp_rpm_client/models/distribution_tree.rb +660 -0
  43. data/lib/pulp_rpm_client/models/image.rb +303 -0
  44. data/lib/pulp_rpm_client/models/inline_response200.rb +11 -11
  45. data/lib/pulp_rpm_client/models/inline_response2001.rb +11 -11
  46. data/lib/pulp_rpm_client/models/inline_response2002.rb +12 -12
  47. data/lib/pulp_rpm_client/models/inline_response2003.rb +12 -12
  48. data/lib/pulp_rpm_client/models/inline_response2004.rb +12 -12
  49. data/lib/pulp_rpm_client/models/inline_response2005.rb +235 -0
  50. data/lib/pulp_rpm_client/models/inline_response2006.rb +235 -0
  51. data/lib/pulp_rpm_client/models/package.rb +69 -40
  52. data/lib/pulp_rpm_client/models/repo_metadata_file.rb +381 -0
  53. data/lib/pulp_rpm_client/models/repository_sync_url.rb +1 -1
  54. data/lib/pulp_rpm_client/models/rpm_distribution.rb +1 -1
  55. data/lib/pulp_rpm_client/models/rpm_publication.rb +1 -1
  56. data/lib/pulp_rpm_client/models/rpm_remote.rb +1 -1
  57. data/lib/pulp_rpm_client/models/update_record.rb +1 -1
  58. data/lib/pulp_rpm_client/models/variant.rb +542 -0
  59. data/lib/pulp_rpm_client/version.rb +2 -2
  60. data/lib/pulp_rpm_client.rb +12 -1
  61. data/pulp_rpm_client.gemspec +3 -9
  62. data/spec/api/content_advisories_api_spec.rb +5 -3
  63. data/spec/api/content_packages_api_spec.rb +5 -3
  64. data/spec/api/distribution_trees_distribution_trees_api_spec.rb +74 -0
  65. data/spec/api/distributions_rpm_api_spec.rb +6 -4
  66. data/spec/api/publications_rpm_api_spec.rb +6 -4
  67. data/spec/api/remotes_rpm_api_spec.rb +6 -4
  68. data/spec/api/repo_metadata_files_repo_metadata_files_api_spec.rb +74 -0
  69. data/spec/api/rpm_copy_api_spec.rb +1 -1
  70. data/spec/api/rpm_upload_api_spec.rb +1 -1
  71. data/spec/api_client_spec.rb +1 -39
  72. data/spec/configuration_spec.rb +1 -1
  73. data/spec/models/addon_spec.rb +71 -0
  74. data/spec/models/artifact_spec.rb +95 -0
  75. data/spec/models/async_operation_response_spec.rb +1 -1
  76. data/spec/models/checksum_spec.rb +47 -0
  77. data/spec/models/distribution_tree_spec.rb +149 -0
  78. data/spec/models/image_spec.rb +59 -0
  79. data/spec/models/inline_response2001_spec.rb +4 -4
  80. data/spec/models/inline_response2002_spec.rb +4 -4
  81. data/spec/models/inline_response2003_spec.rb +4 -4
  82. data/spec/models/inline_response2004_spec.rb +4 -4
  83. data/spec/models/inline_response2005_spec.rb +59 -0
  84. data/spec/models/inline_response2006_spec.rb +59 -0
  85. data/spec/models/inline_response200_spec.rb +4 -4
  86. data/spec/models/package_spec.rb +16 -10
  87. data/spec/models/repo_metadata_file_spec.rb +83 -0
  88. data/spec/models/repository_sync_url_spec.rb +1 -1
  89. data/spec/models/rpm_distribution_spec.rb +1 -1
  90. data/spec/models/rpm_publication_spec.rb +1 -1
  91. data/spec/models/rpm_remote_spec.rb +1 -1
  92. data/spec/models/update_record_spec.rb +1 -1
  93. data/spec/models/variant_spec.rb +101 -0
  94. data/spec/spec_helper.rb +1 -1
  95. metadata +50 -133
  96. data/Gemfile.lock +0 -79
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a1fb0c0a531addcab1f64ec989cf90cf29b33198decf09abc0f756d9263e6540
4
- data.tar.gz: 4d9c9d056c42555c4b88cc5c7734d10fad323bf5452cabc6bb706652679a272b
3
+ metadata.gz: 48dabe76606278d5bca0bfd2cdd7d71bd253467df29cef0c59832faa7bf5552b
4
+ data.tar.gz: 3969ec1cca5704a632b85f8d36b81e4f270e27b133479ce088fa039e89a34d9a
5
5
  SHA512:
6
- metadata.gz: 1c1c0c8d9548acca335519c646d99c9456dd649a4c31fa0c27c8028e3c62066df2336dc3b326512511372725b15a6e387561a492a3ca779c65abcf91aa720213
7
- data.tar.gz: 38ab378aa33c454a2dc6bf6fb64d7e4c02f7ab6b9735617bfdcc1c72c99de03e2d901f1aca129aecf8e42ca0e665890c5ee8728aba89bb342f16b98b7b4801b6
6
+ metadata.gz: 3f2eca97d622dd2e6118f8e110b653d5a6373da2713a14b3eba5bcc6548f2d28d55f866bf44eadd676e24ddadb7a3a74bbee397aefb8cbcc4cf5815512ea11f8
7
+ data.tar.gz: 4b5252f2b133f4af2f1100f87ce8019d338d02a0d8aaf1f384bdb72d5ed67ef34f99670112177ff08ecb77a060233f75a7d4e0b7c990e40814ad4827855890d9
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.0b4
10
+ - Package version: 3.0.0b5
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.0b4.gem
26
+ gem install ./pulp_rpm_client-3.0.0b5.gem
27
27
  ```
28
28
 
29
- (for development, run `gem install --dev ./pulp_rpm_client-3.0.0b4.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./pulp_rpm_client-3.0.0b5.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.0b4'
35
+ gem 'pulp_rpm_client', '~> 3.0.0b5'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -59,8 +59,8 @@ require 'pulp_rpm_client'
59
59
  # Setup authorization
60
60
  PulpRpmClient.configure do |config|
61
61
  # Configure HTTP basic authorization: Basic
62
- config.username = 'YOUR USERNAME'
63
- config.password = 'YOUR PASSWORD'
62
+ config.username = 'YOUR_USERNAME'
63
+ config.password = 'YOUR_PASSWORD'
64
64
  end
65
65
 
66
66
  api_instance = PulpRpmClient::ContentAdvisoriesApi.new
@@ -88,6 +88,9 @@ Class | Method | HTTP request | Description
88
88
  *PulpRpmClient::ContentPackagesApi* | [**create**](docs/ContentPackagesApi.md#create) | **POST** /pulp/api/v3/content/rpm/packages/ | Create a package
89
89
  *PulpRpmClient::ContentPackagesApi* | [**list**](docs/ContentPackagesApi.md#list) | **GET** /pulp/api/v3/content/rpm/packages/ | List packages
90
90
  *PulpRpmClient::ContentPackagesApi* | [**read**](docs/ContentPackagesApi.md#read) | **GET** {package_href} | Inspect a package
91
+ *PulpRpmClient::DistributionTreesDistributionTreesApi* | [**delete**](docs/DistributionTreesDistributionTreesApi.md#delete) | **DELETE** {distribution_tree_href} | Delete a distribution tree
92
+ *PulpRpmClient::DistributionTreesDistributionTreesApi* | [**list**](docs/DistributionTreesDistributionTreesApi.md#list) | **GET** /pulp/api/v3/distribution_trees/rpm/distribution_trees/ | List distribution trees
93
+ *PulpRpmClient::DistributionTreesDistributionTreesApi* | [**read**](docs/DistributionTreesDistributionTreesApi.md#read) | **GET** {distribution_tree_href} | Inspect a distribution tree
91
94
  *PulpRpmClient::DistributionsRpmApi* | [**create**](docs/DistributionsRpmApi.md#create) | **POST** /pulp/api/v3/distributions/rpm/rpm/ | Create a rpm distribution
92
95
  *PulpRpmClient::DistributionsRpmApi* | [**delete**](docs/DistributionsRpmApi.md#delete) | **DELETE** {rpm_distribution_href} | Delete a rpm distribution
93
96
  *PulpRpmClient::DistributionsRpmApi* | [**list**](docs/DistributionsRpmApi.md#list) | **GET** /pulp/api/v3/distributions/rpm/rpm/ | List rpm distributions
@@ -105,24 +108,36 @@ Class | Method | HTTP request | Description
105
108
  *PulpRpmClient::RemotesRpmApi* | [**read**](docs/RemotesRpmApi.md#read) | **GET** {rpm_remote_href} | Inspect a rpm remote
106
109
  *PulpRpmClient::RemotesRpmApi* | [**sync**](docs/RemotesRpmApi.md#sync) | **POST** {rpm_remote_href}sync/ | Sync from remote
107
110
  *PulpRpmClient::RemotesRpmApi* | [**update**](docs/RemotesRpmApi.md#update) | **PUT** {rpm_remote_href} | Update a rpm remote
111
+ *PulpRpmClient::RepoMetadataFilesRepoMetadataFilesApi* | [**delete**](docs/RepoMetadataFilesRepoMetadataFilesApi.md#delete) | **DELETE** {repo_metadata_file_href} | Delete a repo metadata file
112
+ *PulpRpmClient::RepoMetadataFilesRepoMetadataFilesApi* | [**list**](docs/RepoMetadataFilesRepoMetadataFilesApi.md#list) | **GET** /pulp/api/v3/repo_metadata_files/rpm/repo_metadata_files/ | List repo metadata files
113
+ *PulpRpmClient::RepoMetadataFilesRepoMetadataFilesApi* | [**read**](docs/RepoMetadataFilesRepoMetadataFilesApi.md#read) | **GET** {repo_metadata_file_href} | Inspect a repo metadata file
108
114
  *PulpRpmClient::RpmCopyApi* | [**copy_content**](docs/RpmCopyApi.md#copy_content) | **POST** /rpm/copy/ | Copy content
109
115
  *PulpRpmClient::RpmUploadApi* | [**upload_rpm_package**](docs/RpmUploadApi.md#upload_rpm_package) | **POST** /rpm/upload/ | Upload a package
110
116
 
111
117
 
112
118
  ## Documentation for Models
113
119
 
120
+ - [PulpRpmClient::Addon](docs/Addon.md)
121
+ - [PulpRpmClient::Artifact](docs/Artifact.md)
114
122
  - [PulpRpmClient::AsyncOperationResponse](docs/AsyncOperationResponse.md)
123
+ - [PulpRpmClient::Checksum](docs/Checksum.md)
124
+ - [PulpRpmClient::DistributionTree](docs/DistributionTree.md)
125
+ - [PulpRpmClient::Image](docs/Image.md)
115
126
  - [PulpRpmClient::InlineResponse200](docs/InlineResponse200.md)
116
127
  - [PulpRpmClient::InlineResponse2001](docs/InlineResponse2001.md)
117
128
  - [PulpRpmClient::InlineResponse2002](docs/InlineResponse2002.md)
118
129
  - [PulpRpmClient::InlineResponse2003](docs/InlineResponse2003.md)
119
130
  - [PulpRpmClient::InlineResponse2004](docs/InlineResponse2004.md)
131
+ - [PulpRpmClient::InlineResponse2005](docs/InlineResponse2005.md)
132
+ - [PulpRpmClient::InlineResponse2006](docs/InlineResponse2006.md)
120
133
  - [PulpRpmClient::Package](docs/Package.md)
134
+ - [PulpRpmClient::RepoMetadataFile](docs/RepoMetadataFile.md)
121
135
  - [PulpRpmClient::RepositorySyncURL](docs/RepositorySyncURL.md)
122
136
  - [PulpRpmClient::RpmDistribution](docs/RpmDistribution.md)
123
137
  - [PulpRpmClient::RpmPublication](docs/RpmPublication.md)
124
138
  - [PulpRpmClient::RpmRemote](docs/RpmRemote.md)
125
139
  - [PulpRpmClient::UpdateRecord](docs/UpdateRecord.md)
140
+ - [PulpRpmClient::Variant](docs/Variant.md)
126
141
 
127
142
 
128
143
  ## Documentation for Authorization
data/docs/Addon.md ADDED
@@ -0,0 +1,27 @@
1
+ # PulpRpmClient::Addon
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **addon_id** | **String** | Addon id. |
8
+ **uid** | **String** | Addon uid. |
9
+ **name** | **String** | Addon name. |
10
+ **type** | **String** | Addon type. |
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
+
14
+ ## Code Sample
15
+
16
+ ```ruby
17
+ require 'PulpRpmClient'
18
+
19
+ instance = PulpRpmClient::Addon.new(addon_id: null,
20
+ uid: null,
21
+ name: null,
22
+ type: null,
23
+ packages: null,
24
+ repository: null)
25
+ ```
26
+
27
+
data/docs/Artifact.md ADDED
@@ -0,0 +1,35 @@
1
+ # PulpRpmClient::Artifact
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **_href** | **String** | | [optional]
8
+ **_created** | **DateTime** | Timestamp of creation. | [optional]
9
+ **file** | **String** | The stored file. | [optional]
10
+ **size** | **Integer** | The size of the file in bytes. | [optional]
11
+ **md5** | **String** | The MD5 checksum of the file if available. | [optional]
12
+ **sha1** | **String** | The SHA-1 checksum of the file if available. | [optional]
13
+ **sha224** | **String** | The SHA-224 checksum of the file if available. | [optional]
14
+ **sha256** | **String** | The SHA-256 checksum of the file if available. | [optional]
15
+ **sha384** | **String** | The SHA-384 checksum of the file if available. | [optional]
16
+ **sha512** | **String** | The SHA-512 checksum of the file if available. | [optional]
17
+
18
+ ## Code Sample
19
+
20
+ ```ruby
21
+ require 'PulpRpmClient'
22
+
23
+ instance = PulpRpmClient::Artifact.new(_href: null,
24
+ _created: null,
25
+ file: null,
26
+ size: null,
27
+ md5: null,
28
+ sha1: null,
29
+ sha224: null,
30
+ sha256: null,
31
+ sha384: null,
32
+ sha512: null)
33
+ ```
34
+
35
+
data/docs/Checksum.md ADDED
@@ -0,0 +1,19 @@
1
+ # PulpRpmClient::Checksum
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **path** | **String** | File path. |
8
+ **checksum** | **String** | Checksum for the file. |
9
+
10
+ ## Code Sample
11
+
12
+ ```ruby
13
+ require 'PulpRpmClient'
14
+
15
+ instance = PulpRpmClient::Checksum.new(path: null,
16
+ checksum: null)
17
+ ```
18
+
19
+
@@ -96,8 +96,9 @@ opts = {
96
96
  repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
97
97
  repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
98
98
  repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
99
- page: 56, # Integer | A page number within the paginated result set.
100
- page_size: 56 # Integer | Number of results to return per page.
99
+ limit: 56, # Integer | Number of results to return per page.
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
102
  }
102
103
 
103
104
  begin
@@ -125,8 +126,9 @@ Name | Type | Description | Notes
125
126
  **repository_version** | **String**| Repository Version referenced by HREF | [optional]
126
127
  **repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
127
128
  **repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
128
- **page** | **Integer**| A page number within the paginated result set. | [optional]
129
- **page_size** | **Integer**| Number of results to return per page. | [optional]
129
+ **limit** | **Integer**| Number of results to return per page. | [optional]
130
+ **offset** | **Integer**| The initial index from which to return the results. | [optional]
131
+ **fields** | **String**| A list of fields to include in the response. | [optional]
130
132
 
131
133
  ### Return type
132
134
 
@@ -144,7 +146,7 @@ Name | Type | Description | Notes
144
146
 
145
147
  ## read
146
148
 
147
- > UpdateRecord read(update_record_href)
149
+ > UpdateRecord read(update_record_href, opts)
148
150
 
149
151
  Inspect an update record
150
152
 
@@ -164,10 +166,13 @@ end
164
166
 
165
167
  api_instance = PulpRpmClient::ContentAdvisoriesApi.new
166
168
  update_record_href = 'update_record_href_example' # String | URI of Update Record. e.g.: /pulp/api/v3/content/rpm/advisories/1/
169
+ opts = {
170
+ fields: 'fields_example' # String | A list of fields to include in the response.
171
+ }
167
172
 
168
173
  begin
169
174
  #Inspect an update record
170
- result = api_instance.read(update_record_href)
175
+ result = api_instance.read(update_record_href, opts)
171
176
  p result
172
177
  rescue PulpRpmClient::ApiError => e
173
178
  puts "Exception when calling ContentAdvisoriesApi->read: #{e}"
@@ -180,6 +185,7 @@ end
180
185
  Name | Type | Description | Notes
181
186
  ------------- | ------------- | ------------- | -------------
182
187
  **update_record_href** | **String**| URI of Update Record. e.g.: /pulp/api/v3/content/rpm/advisories/1/ |
188
+ **fields** | **String**| A list of fields to include in the response. | [optional]
183
189
 
184
190
  ### Return type
185
191
 
@@ -102,8 +102,9 @@ opts = {
102
102
  repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
103
103
  repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
104
104
  repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
105
- page: 56, # Integer | A page number within the paginated result set.
106
- page_size: 56 # Integer | Number of results to return per page.
105
+ limit: 56, # Integer | Number of results to return per page.
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
108
  }
108
109
 
109
110
  begin
@@ -137,8 +138,9 @@ Name | Type | Description | Notes
137
138
  **repository_version** | **String**| Repository Version referenced by HREF | [optional]
138
139
  **repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
139
140
  **repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
140
- **page** | **Integer**| A page number within the paginated result set. | [optional]
141
- **page_size** | **Integer**| Number of results to return per page. | [optional]
141
+ **limit** | **Integer**| Number of results to return per page. | [optional]
142
+ **offset** | **Integer**| The initial index from which to return the results. | [optional]
143
+ **fields** | **String**| A list of fields to include in the response. | [optional]
142
144
 
143
145
  ### Return type
144
146
 
@@ -156,7 +158,7 @@ Name | Type | Description | Notes
156
158
 
157
159
  ## read
158
160
 
159
- > Package read(package_href)
161
+ > Package read(package_href, opts)
160
162
 
161
163
  Inspect a package
162
164
 
@@ -176,10 +178,13 @@ end
176
178
 
177
179
  api_instance = PulpRpmClient::ContentPackagesApi.new
178
180
  package_href = 'package_href_example' # String | URI of Package. e.g.: /pulp/api/v3/content/rpm/packages/1/
181
+ opts = {
182
+ fields: 'fields_example' # String | A list of fields to include in the response.
183
+ }
179
184
 
180
185
  begin
181
186
  #Inspect a package
182
- result = api_instance.read(package_href)
187
+ result = api_instance.read(package_href, opts)
183
188
  p result
184
189
  rescue PulpRpmClient::ApiError => e
185
190
  puts "Exception when calling ContentPackagesApi->read: #{e}"
@@ -192,6 +197,7 @@ end
192
197
  Name | Type | Description | Notes
193
198
  ------------- | ------------- | ------------- | -------------
194
199
  **package_href** | **String**| URI of Package. e.g.: /pulp/api/v3/content/rpm/packages/1/ |
200
+ **fields** | **String**| A list of fields to include in the response. | [optional]
195
201
 
196
202
  ### Return type
197
203
 
@@ -0,0 +1,53 @@
1
+ # PulpRpmClient::DistributionTree
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **_href** | **String** | | [optional]
8
+ **header_version** | **String** | Header Version. |
9
+ **release_name** | **String** | Release name. |
10
+ **release_short** | **String** | Release short name. |
11
+ **release_version** | **String** | Release version. |
12
+ **release_is_layered** | **Boolean** | Typically False for an operating system, True otherwise. |
13
+ **base_product_name** | **String** | Base Product name. |
14
+ **base_product_short** | **String** | Base Product short name. |
15
+ **base_product_version** | **String** | Base Product version. |
16
+ **arch** | **String** | Tree architecturerch. |
17
+ **build_timestamp** | **Float** | Tree build time timestamp. |
18
+ **instimage** | **String** | Relative path to Anaconda instimage. |
19
+ **mainimage** | **String** | Relative path to Anaconda stage2 image. |
20
+ **discnum** | **Integer** | Disc number. |
21
+ **totaldiscs** | **Integer** | Number of discs in media set. |
22
+ **addons** | [**Array<Addon>**](Addon.md) | |
23
+ **checksums** | [**Array<Checksum>**](Checksum.md) | |
24
+ **images** | [**Array<Image>**](Image.md) | |
25
+ **variants** | [**Array<Variant>**](Variant.md) | |
26
+
27
+ ## Code Sample
28
+
29
+ ```ruby
30
+ require 'PulpRpmClient'
31
+
32
+ instance = PulpRpmClient::DistributionTree.new(_href: null,
33
+ header_version: null,
34
+ release_name: null,
35
+ release_short: null,
36
+ release_version: null,
37
+ release_is_layered: null,
38
+ base_product_name: null,
39
+ base_product_short: null,
40
+ base_product_version: null,
41
+ arch: null,
42
+ build_timestamp: null,
43
+ instimage: null,
44
+ mainimage: null,
45
+ discnum: null,
46
+ totaldiscs: null,
47
+ addons: null,
48
+ checksums: null,
49
+ images: null,
50
+ variants: null)
51
+ ```
52
+
53
+
@@ -0,0 +1,179 @@
1
+ # PulpRpmClient::DistributionTreesDistributionTreesApi
2
+
3
+ All URIs are relative to *http://localhost:24817*
4
+
5
+ Method | HTTP request | Description
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
10
+
11
+
12
+
13
+ ## delete
14
+
15
+ > delete(distribution_tree_href)
16
+
17
+ Delete a distribution tree
18
+
19
+ Distribution Tree 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::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/
35
+
36
+ begin
37
+ #Delete a distribution tree
38
+ api_instance.delete(distribution_tree_href)
39
+ rescue PulpRpmClient::ApiError => e
40
+ puts "Exception when calling DistributionTreesDistributionTreesApi->delete: #{e}"
41
+ end
42
+ ```
43
+
44
+ ### Parameters
45
+
46
+
47
+ Name | Type | Description | Notes
48
+ ------------- | ------------- | ------------- | -------------
49
+ **distribution_tree_href** | **String**| URI of Distribution Tree. e.g.: /pulp/api/v3/distribution_trees/rpm/distribution_trees/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
+ > InlineResponse2002 list(opts)
68
+
69
+ List distribution trees
70
+
71
+ Distribution Tree 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::DistributionTreesDistributionTreesApi.new
86
+ opts = {
87
+ limit: 56, # Integer | Number of results to return per page.
88
+ 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.
90
+ }
91
+
92
+ begin
93
+ #List distribution trees
94
+ result = api_instance.list(opts)
95
+ p result
96
+ rescue PulpRpmClient::ApiError => e
97
+ puts "Exception when calling DistributionTreesDistributionTreesApi->list: #{e}"
98
+ end
99
+ ```
100
+
101
+ ### Parameters
102
+
103
+
104
+ Name | Type | Description | Notes
105
+ ------------- | ------------- | ------------- | -------------
106
+ **limit** | **Integer**| Number of results to return per page. | [optional]
107
+ **offset** | **Integer**| The initial index from which to return the results. | [optional]
108
+ **fields** | **String**| A list of fields to include in the response. | [optional]
109
+
110
+ ### Return type
111
+
112
+ [**InlineResponse2002**](InlineResponse2002.md)
113
+
114
+ ### Authorization
115
+
116
+ [Basic](../README.md#Basic)
117
+
118
+ ### HTTP request headers
119
+
120
+ - **Content-Type**: Not defined
121
+ - **Accept**: application/json
122
+
123
+
124
+ ## read
125
+
126
+ > DistributionTree read(distribution_tree_href, opts)
127
+
128
+ Inspect a distribution tree
129
+
130
+ Distribution Tree Viewset.
131
+
132
+ ### Example
133
+
134
+ ```ruby
135
+ # load the gem
136
+ require 'pulp_rpm_client'
137
+ # setup authorization
138
+ PulpRpmClient.configure do |config|
139
+ # Configure HTTP basic authorization: Basic
140
+ config.username = 'YOUR USERNAME'
141
+ config.password = 'YOUR PASSWORD'
142
+ end
143
+
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/
146
+ opts = {
147
+ fields: 'fields_example' # String | A list of fields to include in the response.
148
+ }
149
+
150
+ begin
151
+ #Inspect a distribution tree
152
+ result = api_instance.read(distribution_tree_href, opts)
153
+ p result
154
+ rescue PulpRpmClient::ApiError => e
155
+ puts "Exception when calling DistributionTreesDistributionTreesApi->read: #{e}"
156
+ end
157
+ ```
158
+
159
+ ### Parameters
160
+
161
+
162
+ Name | Type | Description | Notes
163
+ ------------- | ------------- | ------------- | -------------
164
+ **distribution_tree_href** | **String**| URI of Distribution Tree. e.g.: /pulp/api/v3/distribution_trees/rpm/distribution_trees/1/ |
165
+ **fields** | **String**| A list of fields to include in the response. | [optional]
166
+
167
+ ### Return type
168
+
169
+ [**DistributionTree**](DistributionTree.md)
170
+
171
+ ### Authorization
172
+
173
+ [Basic](../README.md#Basic)
174
+
175
+ ### HTTP request headers
176
+
177
+ - **Content-Type**: Not defined
178
+ - **Accept**: application/json
179
+
@@ -121,7 +121,7 @@ Name | Type | Description | Notes
121
121
 
122
122
  ## list
123
123
 
124
- > InlineResponse2002 list(opts)
124
+ > InlineResponse2003 list(opts)
125
125
 
126
126
  List rpm distributions
127
127
 
@@ -147,8 +147,9 @@ opts = {
147
147
  base_path__contains: 'base_path__contains_example', # String | Filter results where base_path contains value
148
148
  base_path__icontains: 'base_path__icontains_example', # String | Filter results where base_path contains value
149
149
  base_path__in: 'base_path__in_example', # String | Filter results where base_path is in a comma-separated list of values
150
- page: 56, # Integer | A page number within the paginated result set.
151
- page_size: 56 # Integer | Number of results to return per page.
150
+ limit: 56, # Integer | Number of results to return per page.
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
153
  }
153
154
 
154
155
  begin
@@ -171,12 +172,13 @@ Name | Type | Description | Notes
171
172
  **base_path__contains** | **String**| Filter results where base_path contains value | [optional]
172
173
  **base_path__icontains** | **String**| Filter results where base_path contains value | [optional]
173
174
  **base_path__in** | **String**| Filter results where base_path is in a comma-separated list of values | [optional]
174
- **page** | **Integer**| A page number within the paginated result set. | [optional]
175
- **page_size** | **Integer**| Number of results to return per page. | [optional]
175
+ **limit** | **Integer**| Number of results to return per page. | [optional]
176
+ **offset** | **Integer**| The initial index from which to return the results. | [optional]
177
+ **fields** | **String**| A list of fields to include in the response. | [optional]
176
178
 
177
179
  ### Return type
178
180
 
179
- [**InlineResponse2002**](InlineResponse2002.md)
181
+ [**InlineResponse2003**](InlineResponse2003.md)
180
182
 
181
183
  ### Authorization
182
184
 
@@ -245,7 +247,7 @@ Name | Type | Description | Notes
245
247
 
246
248
  ## read
247
249
 
248
- > RpmDistribution read(rpm_distribution_href)
250
+ > RpmDistribution read(rpm_distribution_href, opts)
249
251
 
250
252
  Inspect a rpm distribution
251
253
 
@@ -265,10 +267,13 @@ end
265
267
 
266
268
  api_instance = PulpRpmClient::DistributionsRpmApi.new
267
269
  rpm_distribution_href = 'rpm_distribution_href_example' # String | URI of Rpm Distribution. e.g.: /pulp/api/v3/distributions/rpm/rpm/1/
270
+ opts = {
271
+ fields: 'fields_example' # String | A list of fields to include in the response.
272
+ }
268
273
 
269
274
  begin
270
275
  #Inspect a rpm distribution
271
- result = api_instance.read(rpm_distribution_href)
276
+ result = api_instance.read(rpm_distribution_href, opts)
272
277
  p result
273
278
  rescue PulpRpmClient::ApiError => e
274
279
  puts "Exception when calling DistributionsRpmApi->read: #{e}"
@@ -281,6 +286,7 @@ end
281
286
  Name | Type | Description | Notes
282
287
  ------------- | ------------- | ------------- | -------------
283
288
  **rpm_distribution_href** | **String**| URI of Rpm Distribution. e.g.: /pulp/api/v3/distributions/rpm/rpm/1/ |
289
+ **fields** | **String**| A list of fields to include in the response. | [optional]
284
290
 
285
291
  ### Return type
286
292
 
data/docs/Image.md ADDED
@@ -0,0 +1,23 @@
1
+ # PulpRpmClient::Image
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **name** | **String** | File name. |
8
+ **path** | **String** | File path. |
9
+ **platforms** | **String** | Compatible platforms. |
10
+ **artifact** | [**Artifact**](Artifact.md) | |
11
+
12
+ ## Code Sample
13
+
14
+ ```ruby
15
+ require 'PulpRpmClient'
16
+
17
+ instance = PulpRpmClient::Image.new(name: null,
18
+ path: null,
19
+ platforms: null,
20
+ artifact: null)
21
+ ```
22
+
23
+
@@ -4,9 +4,9 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
+ **count** | **Integer** | |
7
8
  **_next** | **String** | | [optional]
8
9
  **previous** | **String** | | [optional]
9
- **count** | **Integer** | |
10
10
  **results** | [**Array<UpdateRecord>**](UpdateRecord.md) | |
11
11
 
12
12
  ## Code Sample
@@ -14,9 +14,9 @@ Name | Type | Description | Notes
14
14
  ```ruby
15
15
  require 'PulpRpmClient'
16
16
 
17
- instance = PulpRpmClient::InlineResponse200.new(_next: null,
17
+ instance = PulpRpmClient::InlineResponse200.new(count: null,
18
+ _next: null,
18
19
  previous: null,
19
- count: null,
20
20
  results: null)
21
21
  ```
22
22
 
@@ -4,9 +4,9 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
+ **count** | **Integer** | |
7
8
  **_next** | **String** | | [optional]
8
9
  **previous** | **String** | | [optional]
9
- **count** | **Integer** | |
10
10
  **results** | [**Array<Package>**](Package.md) | |
11
11
 
12
12
  ## Code Sample
@@ -14,9 +14,9 @@ Name | Type | Description | Notes
14
14
  ```ruby
15
15
  require 'PulpRpmClient'
16
16
 
17
- instance = PulpRpmClient::InlineResponse2001.new(_next: null,
17
+ instance = PulpRpmClient::InlineResponse2001.new(count: null,
18
+ _next: null,
18
19
  previous: null,
19
- count: null,
20
20
  results: null)
21
21
  ```
22
22