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
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -150,7 +150,8 @@ module PulpRpmClient
150
150
  # @option opts [Integer] :limit Number of results to return per page.
151
151
  # @option opts [Integer] :offset The initial index from which to return the results.
152
152
  # @option opts [String] :fields A list of fields to include in the response.
153
- # @return [InlineResponse2006]
153
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
154
+ # @return [InlineResponse2007]
154
155
  def list(opts = {})
155
156
  data, _status_code, _headers = list_with_http_info(opts)
156
157
  data
@@ -163,7 +164,8 @@ module PulpRpmClient
163
164
  # @option opts [Integer] :limit Number of results to return per page.
164
165
  # @option opts [Integer] :offset The initial index from which to return the results.
165
166
  # @option opts [String] :fields A list of fields to include in the response.
166
- # @return [Array<(InlineResponse2006, Integer, Hash)>] InlineResponse2006 data, response status code and response headers
167
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
168
+ # @return [Array<(InlineResponse2007, Integer, Hash)>] InlineResponse2007 data, response status code and response headers
167
169
  def list_with_http_info(opts = {})
168
170
  if @api_client.config.debugging
169
171
  @api_client.config.logger.debug 'Calling API: PublicationsRpmApi.list ...'
@@ -177,6 +179,7 @@ module PulpRpmClient
177
179
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
178
180
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
179
181
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
182
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
180
183
 
181
184
  # header parameters
182
185
  header_params = opts[:header_params] || {}
@@ -190,7 +193,7 @@ module PulpRpmClient
190
193
  post_body = opts[:body]
191
194
 
192
195
  # return_type
193
- return_type = opts[:return_type] || 'InlineResponse2006'
196
+ return_type = opts[:return_type] || 'InlineResponse2007'
194
197
 
195
198
  # auth_names
196
199
  auth_names = opts[:auth_names] || ['Basic']
@@ -216,6 +219,7 @@ module PulpRpmClient
216
219
  # @param rpm_publication_href [String] URI of Rpm Publication. e.g.: /pulp/api/v3/publications/rpm/rpm/1/
217
220
  # @param [Hash] opts the optional parameters
218
221
  # @option opts [String] :fields A list of fields to include in the response.
222
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
219
223
  # @return [RpmPublication]
220
224
  def read(rpm_publication_href, opts = {})
221
225
  data, _status_code, _headers = read_with_http_info(rpm_publication_href, opts)
@@ -227,6 +231,7 @@ module PulpRpmClient
227
231
  # @param rpm_publication_href [String] URI of Rpm Publication. e.g.: /pulp/api/v3/publications/rpm/rpm/1/
228
232
  # @param [Hash] opts the optional parameters
229
233
  # @option opts [String] :fields A list of fields to include in the response.
234
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
230
235
  # @return [Array<(RpmPublication, Integer, Hash)>] RpmPublication data, response status code and response headers
231
236
  def read_with_http_info(rpm_publication_href, opts = {})
232
237
  if @api_client.config.debugging
@@ -242,6 +247,7 @@ module PulpRpmClient
242
247
  # query parameters
243
248
  query_params = opts[:query_params] || {}
244
249
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
250
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
245
251
 
246
252
  # header parameters
247
253
  header_params = opts[:header_params] || {}
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -150,16 +150,17 @@ module PulpRpmClient
150
150
  # @param [Hash] opts the optional parameters
151
151
  # @option opts [String] :name
152
152
  # @option opts [String] :name__in Filter results where name is in a comma-separated list of values
153
- # @option opts [String] :_last_updated__lt Filter results where _last_updated is less than value
154
- # @option opts [String] :_last_updated__lte Filter results where _last_updated is less than or equal to value
155
- # @option opts [String] :_last_updated__gt Filter results where _last_updated is greater than value
156
- # @option opts [String] :_last_updated__gte Filter results where _last_updated is greater than or equal to value
157
- # @option opts [String] :_last_updated__range Filter results where _last_updated is between two comma separated values
158
- # @option opts [String] :_last_updated ISO 8601 formatted dates are supported
153
+ # @option opts [String] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
154
+ # @option opts [String] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
155
+ # @option opts [String] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
156
+ # @option opts [String] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
157
+ # @option opts [String] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
158
+ # @option opts [String] :pulp_last_updated ISO 8601 formatted dates are supported
159
159
  # @option opts [Integer] :limit Number of results to return per page.
160
160
  # @option opts [Integer] :offset The initial index from which to return the results.
161
161
  # @option opts [String] :fields A list of fields to include in the response.
162
- # @return [InlineResponse2007]
162
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
163
+ # @return [InlineResponse2008]
163
164
  def list(opts = {})
164
165
  data, _status_code, _headers = list_with_http_info(opts)
165
166
  data
@@ -170,16 +171,17 @@ module PulpRpmClient
170
171
  # @param [Hash] opts the optional parameters
171
172
  # @option opts [String] :name
172
173
  # @option opts [String] :name__in Filter results where name is in a comma-separated list of values
173
- # @option opts [String] :_last_updated__lt Filter results where _last_updated is less than value
174
- # @option opts [String] :_last_updated__lte Filter results where _last_updated is less than or equal to value
175
- # @option opts [String] :_last_updated__gt Filter results where _last_updated is greater than value
176
- # @option opts [String] :_last_updated__gte Filter results where _last_updated is greater than or equal to value
177
- # @option opts [String] :_last_updated__range Filter results where _last_updated is between two comma separated values
178
- # @option opts [String] :_last_updated ISO 8601 formatted dates are supported
174
+ # @option opts [String] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
175
+ # @option opts [String] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
176
+ # @option opts [String] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
177
+ # @option opts [String] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
178
+ # @option opts [String] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
179
+ # @option opts [String] :pulp_last_updated ISO 8601 formatted dates are supported
179
180
  # @option opts [Integer] :limit Number of results to return per page.
180
181
  # @option opts [Integer] :offset The initial index from which to return the results.
181
182
  # @option opts [String] :fields A list of fields to include in the response.
182
- # @return [Array<(InlineResponse2007, Integer, Hash)>] InlineResponse2007 data, response status code and response headers
183
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
184
+ # @return [Array<(InlineResponse2008, Integer, Hash)>] InlineResponse2008 data, response status code and response headers
183
185
  def list_with_http_info(opts = {})
184
186
  if @api_client.config.debugging
185
187
  @api_client.config.logger.debug 'Calling API: RemotesRpmApi.list ...'
@@ -191,15 +193,16 @@ module PulpRpmClient
191
193
  query_params = opts[:query_params] || {}
192
194
  query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
193
195
  query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
194
- query_params[:'_last_updated__lt'] = opts[:'_last_updated__lt'] if !opts[:'_last_updated__lt'].nil?
195
- query_params[:'_last_updated__lte'] = opts[:'_last_updated__lte'] if !opts[:'_last_updated__lte'].nil?
196
- query_params[:'_last_updated__gt'] = opts[:'_last_updated__gt'] if !opts[:'_last_updated__gt'].nil?
197
- query_params[:'_last_updated__gte'] = opts[:'_last_updated__gte'] if !opts[:'_last_updated__gte'].nil?
198
- query_params[:'_last_updated__range'] = opts[:'_last_updated__range'] if !opts[:'_last_updated__range'].nil?
199
- query_params[:'_last_updated'] = opts[:'_last_updated'] if !opts[:'_last_updated'].nil?
196
+ query_params[:'pulp_last_updated__lt'] = opts[:'pulp_last_updated__lt'] if !opts[:'pulp_last_updated__lt'].nil?
197
+ query_params[:'pulp_last_updated__lte'] = opts[:'pulp_last_updated__lte'] if !opts[:'pulp_last_updated__lte'].nil?
198
+ query_params[:'pulp_last_updated__gt'] = opts[:'pulp_last_updated__gt'] if !opts[:'pulp_last_updated__gt'].nil?
199
+ query_params[:'pulp_last_updated__gte'] = opts[:'pulp_last_updated__gte'] if !opts[:'pulp_last_updated__gte'].nil?
200
+ query_params[:'pulp_last_updated__range'] = opts[:'pulp_last_updated__range'] if !opts[:'pulp_last_updated__range'].nil?
201
+ query_params[:'pulp_last_updated'] = opts[:'pulp_last_updated'] if !opts[:'pulp_last_updated'].nil?
200
202
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
201
203
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
202
204
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
205
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
203
206
 
204
207
  # header parameters
205
208
  header_params = opts[:header_params] || {}
@@ -213,7 +216,7 @@ module PulpRpmClient
213
216
  post_body = opts[:body]
214
217
 
215
218
  # return_type
216
- return_type = opts[:return_type] || 'InlineResponse2007'
219
+ return_type = opts[:return_type] || 'InlineResponse2008'
217
220
 
218
221
  # auth_names
219
222
  auth_names = opts[:auth_names] || ['Basic']
@@ -309,6 +312,7 @@ module PulpRpmClient
309
312
  # @param rpm_remote_href [String] URI of Rpm Remote. e.g.: /pulp/api/v3/remotes/rpm/rpm/1/
310
313
  # @param [Hash] opts the optional parameters
311
314
  # @option opts [String] :fields A list of fields to include in the response.
315
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
312
316
  # @return [RpmRemote]
313
317
  def read(rpm_remote_href, opts = {})
314
318
  data, _status_code, _headers = read_with_http_info(rpm_remote_href, opts)
@@ -320,6 +324,7 @@ module PulpRpmClient
320
324
  # @param rpm_remote_href [String] URI of Rpm Remote. e.g.: /pulp/api/v3/remotes/rpm/rpm/1/
321
325
  # @param [Hash] opts the optional parameters
322
326
  # @option opts [String] :fields A list of fields to include in the response.
327
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
323
328
  # @return [Array<(RpmRemote, Integer, Hash)>] RpmRemote data, response status code and response headers
324
329
  def read_with_http_info(rpm_remote_href, opts = {})
325
330
  if @api_client.config.debugging
@@ -335,6 +340,7 @@ module PulpRpmClient
335
340
  # query parameters
336
341
  query_params = opts[:query_params] || {}
337
342
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
343
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
338
344
 
339
345
  # header parameters
340
346
  header_params = opts[:header_params] || {}
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -29,9 +29,6 @@ module PulpRpmClient
29
29
  # Relative path to directory with binary RPMs.
30
30
  attr_accessor :packages
31
31
 
32
- # A URI of the repository containing the content for this Addon.
33
- attr_accessor :repository
34
-
35
32
  # Attribute mapping from ruby-style variable name to JSON key.
36
33
  def self.attribute_map
37
34
  {
@@ -39,8 +36,7 @@ module PulpRpmClient
39
36
  :'uid' => :'uid',
40
37
  :'name' => :'name',
41
38
  :'type' => :'type',
42
- :'packages' => :'packages',
43
- :'repository' => :'repository'
39
+ :'packages' => :'packages'
44
40
  }
45
41
  end
46
42
 
@@ -51,8 +47,7 @@ module PulpRpmClient
51
47
  :'uid' => :'String',
52
48
  :'name' => :'String',
53
49
  :'type' => :'String',
54
- :'packages' => :'String',
55
- :'repository' => :'String'
50
+ :'packages' => :'String'
56
51
  }
57
52
  end
58
53
 
@@ -90,10 +85,6 @@ module PulpRpmClient
90
85
  if attributes.key?(:'packages')
91
86
  self.packages = attributes[:'packages']
92
87
  end
93
-
94
- if attributes.key?(:'repository')
95
- self.repository = attributes[:'repository']
96
- end
97
88
  end
98
89
 
99
90
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -140,10 +131,6 @@ module PulpRpmClient
140
131
  invalid_properties.push('invalid value for "packages", the character length must be great than or equal to 1.')
141
132
  end
142
133
 
143
- if @repository.nil?
144
- invalid_properties.push('invalid value for "repository", repository cannot be nil.')
145
- end
146
-
147
134
  invalid_properties
148
135
  end
149
136
 
@@ -160,7 +147,6 @@ module PulpRpmClient
160
147
  return false if @type.to_s.length < 1
161
148
  return false if @packages.nil?
162
149
  return false if @packages.to_s.length < 1
163
- return false if @repository.nil?
164
150
  true
165
151
  end
166
152
 
@@ -243,8 +229,7 @@ module PulpRpmClient
243
229
  uid == o.uid &&
244
230
  name == o.name &&
245
231
  type == o.type &&
246
- packages == o.packages &&
247
- repository == o.repository
232
+ packages == o.packages
248
233
  end
249
234
 
250
235
  # @see the `==` method
@@ -256,7 +241,7 @@ module PulpRpmClient
256
241
  # Calculates hash code according to all attributes.
257
242
  # @return [Integer] Hash code
258
243
  def hash
259
- [addon_id, uid, name, type, packages, repository].hash
244
+ [addon_id, uid, name, type, packages].hash
260
245
  end
261
246
 
262
247
  # Builds the object from hash
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -14,10 +14,10 @@ require 'date'
14
14
 
15
15
  module PulpRpmClient
16
16
  class Artifact
17
- attr_accessor :_href
17
+ attr_accessor :pulp_href
18
18
 
19
19
  # Timestamp of creation.
20
- attr_accessor :_created
20
+ attr_accessor :pulp_created
21
21
 
22
22
  # The stored file.
23
23
  attr_accessor :file
@@ -46,8 +46,8 @@ module PulpRpmClient
46
46
  # Attribute mapping from ruby-style variable name to JSON key.
47
47
  def self.attribute_map
48
48
  {
49
- :'_href' => :'_href',
50
- :'_created' => :'_created',
49
+ :'pulp_href' => :'pulp_href',
50
+ :'pulp_created' => :'pulp_created',
51
51
  :'file' => :'file',
52
52
  :'size' => :'size',
53
53
  :'md5' => :'md5',
@@ -62,8 +62,8 @@ module PulpRpmClient
62
62
  # Attribute type mapping.
63
63
  def self.openapi_types
64
64
  {
65
- :'_href' => :'String',
66
- :'_created' => :'DateTime',
65
+ :'pulp_href' => :'String',
66
+ :'pulp_created' => :'DateTime',
67
67
  :'file' => :'String',
68
68
  :'size' => :'Integer',
69
69
  :'md5' => :'String',
@@ -90,12 +90,12 @@ module PulpRpmClient
90
90
  h[k.to_sym] = v
91
91
  }
92
92
 
93
- if attributes.key?(:'_href')
94
- self._href = attributes[:'_href']
93
+ if attributes.key?(:'pulp_href')
94
+ self.pulp_href = attributes[:'pulp_href']
95
95
  end
96
96
 
97
- if attributes.key?(:'_created')
98
- self._created = attributes[:'_created']
97
+ if attributes.key?(:'pulp_created')
98
+ self.pulp_created = attributes[:'pulp_created']
99
99
  end
100
100
 
101
101
  if attributes.key?(:'file')
@@ -239,8 +239,8 @@ module PulpRpmClient
239
239
  def ==(o)
240
240
  return true if self.equal?(o)
241
241
  self.class == o.class &&
242
- _href == o._href &&
243
- _created == o._created &&
242
+ pulp_href == o.pulp_href &&
243
+ pulp_created == o.pulp_created &&
244
244
  file == o.file &&
245
245
  size == o.size &&
246
246
  md5 == o.md5 &&
@@ -260,7 +260,7 @@ module PulpRpmClient
260
260
  # Calculates hash code according to all attributes.
261
261
  # @return [Integer] Hash code
262
262
  def hash
263
- [_href, _created, file, size, md5, sha1, sha224, sha256, sha384, sha512].hash
263
+ [pulp_href, pulp_created, file, size, md5, sha1, sha224, sha256, sha384, sha512].hash
264
264
  end
265
265
 
266
266
  # Builds the object from hash
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -14,7 +14,7 @@ require 'date'
14
14
 
15
15
  module PulpRpmClient
16
16
  class DistributionTree
17
- attr_accessor :_href
17
+ attr_accessor :pulp_href
18
18
 
19
19
  # Header Version.
20
20
  attr_accessor :header_version
@@ -69,7 +69,7 @@ module PulpRpmClient
69
69
  # Attribute mapping from ruby-style variable name to JSON key.
70
70
  def self.attribute_map
71
71
  {
72
- :'_href' => :'_href',
72
+ :'pulp_href' => :'pulp_href',
73
73
  :'header_version' => :'header_version',
74
74
  :'release_name' => :'release_name',
75
75
  :'release_short' => :'release_short',
@@ -94,7 +94,7 @@ module PulpRpmClient
94
94
  # Attribute type mapping.
95
95
  def self.openapi_types
96
96
  {
97
- :'_href' => :'String',
97
+ :'pulp_href' => :'String',
98
98
  :'header_version' => :'String',
99
99
  :'release_name' => :'String',
100
100
  :'release_short' => :'String',
@@ -131,8 +131,8 @@ module PulpRpmClient
131
131
  h[k.to_sym] = v
132
132
  }
133
133
 
134
- if attributes.key?(:'_href')
135
- self._href = attributes[:'_href']
134
+ if attributes.key?(:'pulp_href')
135
+ self.pulp_href = attributes[:'pulp_href']
136
136
  end
137
137
 
138
138
  if attributes.key?(:'header_version')
@@ -514,7 +514,7 @@ module PulpRpmClient
514
514
  def ==(o)
515
515
  return true if self.equal?(o)
516
516
  self.class == o.class &&
517
- _href == o._href &&
517
+ pulp_href == o.pulp_href &&
518
518
  header_version == o.header_version &&
519
519
  release_name == o.release_name &&
520
520
  release_short == o.release_short &&
@@ -544,7 +544,7 @@ module PulpRpmClient
544
544
  # Calculates hash code according to all attributes.
545
545
  # @return [Integer] Hash code
546
546
  def hash
547
- [_href, header_version, release_name, release_short, release_version, release_is_layered, base_product_name, base_product_short, base_product_version, arch, build_timestamp, instimage, mainimage, discnum, totaldiscs, addons, checksums, images, variants].hash
547
+ [pulp_href, header_version, release_name, release_short, release_version, release_is_layered, base_product_name, base_product_short, base_product_version, arch, build_timestamp, instimage, mainimage, discnum, totaldiscs, addons, checksums, images, variants].hash
548
548
  end
549
549
 
550
550
  # Builds the object from hash
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -38,7 +38,7 @@ module PulpRpmClient
38
38
  :'count' => :'Integer',
39
39
  :'_next' => :'String',
40
40
  :'previous' => :'String',
41
- :'results' => :'Array<ModulemdDefaults>'
41
+ :'results' => :'Array<DistributionTree>'
42
42
  }
43
43
  end
44
44
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -38,7 +38,7 @@ module PulpRpmClient
38
38
  :'count' => :'Integer',
39
39
  :'_next' => :'String',
40
40
  :'previous' => :'String',
41
- :'results' => :'Array<Modulemd>'
41
+ :'results' => :'Array<ModulemdDefaults>'
42
42
  }
43
43
  end
44
44
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -38,7 +38,7 @@ module PulpRpmClient
38
38
  :'count' => :'Integer',
39
39
  :'_next' => :'String',
40
40
  :'previous' => :'String',
41
- :'results' => :'Array<Package>'
41
+ :'results' => :'Array<Modulemd>'
42
42
  }
43
43
  end
44
44
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -38,7 +38,7 @@ module PulpRpmClient
38
38
  :'count' => :'Integer',
39
39
  :'_next' => :'String',
40
40
  :'previous' => :'String',
41
- :'results' => :'Array<DistributionTree>'
41
+ :'results' => :'Array<Package>'
42
42
  }
43
43
  end
44
44
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -38,7 +38,7 @@ module PulpRpmClient
38
38
  :'count' => :'Integer',
39
39
  :'_next' => :'String',
40
40
  :'previous' => :'String',
41
- :'results' => :'Array<RpmDistribution>'
41
+ :'results' => :'Array<RepoMetadataFile>'
42
42
  }
43
43
  end
44
44
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -38,7 +38,7 @@ module PulpRpmClient
38
38
  :'count' => :'Integer',
39
39
  :'_next' => :'String',
40
40
  :'previous' => :'String',
41
- :'results' => :'Array<RpmPublication>'
41
+ :'results' => :'Array<RpmDistribution>'
42
42
  }
43
43
  end
44
44
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -38,7 +38,7 @@ module PulpRpmClient
38
38
  :'count' => :'Integer',
39
39
  :'_next' => :'String',
40
40
  :'previous' => :'String',
41
- :'results' => :'Array<RpmRemote>'
41
+ :'results' => :'Array<RpmPublication>'
42
42
  }
43
43
  end
44
44
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -38,7 +38,7 @@ module PulpRpmClient
38
38
  :'count' => :'Integer',
39
39
  :'_next' => :'String',
40
40
  :'previous' => :'String',
41
- :'results' => :'Array<RepoMetadataFile>'
41
+ :'results' => :'Array<RpmRemote>'
42
42
  }
43
43
  end
44
44