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
 
@@ -14,12 +14,10 @@ require 'date'
14
14
 
15
15
  module PulpRpmClient
16
16
  class RpmPublication
17
- attr_accessor :_href
17
+ attr_accessor :pulp_href
18
18
 
19
19
  # Timestamp of creation.
20
- attr_accessor :_created
21
-
22
- attr_accessor :_type
20
+ attr_accessor :pulp_created
23
21
 
24
22
  attr_accessor :publisher
25
23
 
@@ -31,9 +29,8 @@ module PulpRpmClient
31
29
  # Attribute mapping from ruby-style variable name to JSON key.
32
30
  def self.attribute_map
33
31
  {
34
- :'_href' => :'_href',
35
- :'_created' => :'_created',
36
- :'_type' => :'_type',
32
+ :'pulp_href' => :'pulp_href',
33
+ :'pulp_created' => :'pulp_created',
37
34
  :'publisher' => :'publisher',
38
35
  :'repository_version' => :'repository_version',
39
36
  :'repository' => :'repository'
@@ -43,9 +40,8 @@ module PulpRpmClient
43
40
  # Attribute type mapping.
44
41
  def self.openapi_types
45
42
  {
46
- :'_href' => :'String',
47
- :'_created' => :'DateTime',
48
- :'_type' => :'String',
43
+ :'pulp_href' => :'String',
44
+ :'pulp_created' => :'DateTime',
49
45
  :'publisher' => :'String',
50
46
  :'repository_version' => :'String',
51
47
  :'repository' => :'String'
@@ -67,16 +63,12 @@ module PulpRpmClient
67
63
  h[k.to_sym] = v
68
64
  }
69
65
 
70
- if attributes.key?(:'_href')
71
- self._href = attributes[:'_href']
72
- end
73
-
74
- if attributes.key?(:'_created')
75
- self._created = attributes[:'_created']
66
+ if attributes.key?(:'pulp_href')
67
+ self.pulp_href = attributes[:'pulp_href']
76
68
  end
77
69
 
78
- if attributes.key?(:'_type')
79
- self._type = attributes[:'_type']
70
+ if attributes.key?(:'pulp_created')
71
+ self.pulp_created = attributes[:'pulp_created']
80
72
  end
81
73
 
82
74
  if attributes.key?(:'publisher')
@@ -96,38 +88,22 @@ module PulpRpmClient
96
88
  # @return Array for valid properties with the reasons
97
89
  def list_invalid_properties
98
90
  invalid_properties = Array.new
99
- if !@_type.nil? && @_type.to_s.length < 1
100
- invalid_properties.push('invalid value for "_type", the character length must be great than or equal to 1.')
101
- end
102
-
103
91
  invalid_properties
104
92
  end
105
93
 
106
94
  # Check to see if the all the properties in the model are valid
107
95
  # @return true if the model is valid
108
96
  def valid?
109
- return false if !@_type.nil? && @_type.to_s.length < 1
110
97
  true
111
98
  end
112
99
 
113
- # Custom attribute writer method with validation
114
- # @param [Object] _type Value to be assigned
115
- def _type=(_type)
116
- if !_type.nil? && _type.to_s.length < 1
117
- fail ArgumentError, 'invalid value for "_type", the character length must be great than or equal to 1.'
118
- end
119
-
120
- @_type = _type
121
- end
122
-
123
100
  # Checks equality by comparing each attribute.
124
101
  # @param [Object] Object to be compared
125
102
  def ==(o)
126
103
  return true if self.equal?(o)
127
104
  self.class == o.class &&
128
- _href == o._href &&
129
- _created == o._created &&
130
- _type == o._type &&
105
+ pulp_href == o.pulp_href &&
106
+ pulp_created == o.pulp_created &&
131
107
  publisher == o.publisher &&
132
108
  repository_version == o.repository_version &&
133
109
  repository == o.repository
@@ -142,7 +118,7 @@ module PulpRpmClient
142
118
  # Calculates hash code according to all attributes.
143
119
  # @return [Integer] Hash code
144
120
  def hash
145
- [_href, _created, _type, publisher, repository_version, repository].hash
121
+ [pulp_href, pulp_created, publisher, repository_version, repository].hash
146
122
  end
147
123
 
148
124
  # 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,12 +14,10 @@ require 'date'
14
14
 
15
15
  module PulpRpmClient
16
16
  class RpmRemote
17
- attr_accessor :_href
17
+ attr_accessor :pulp_href
18
18
 
19
19
  # Timestamp of creation.
20
- attr_accessor :_created
21
-
22
- attr_accessor :_type
20
+ attr_accessor :pulp_created
23
21
 
24
22
  # A unique name for this remote.
25
23
  attr_accessor :name
@@ -49,7 +47,7 @@ module PulpRpmClient
49
47
  attr_accessor :password
50
48
 
51
49
  # Timestamp of the most recent update of the remote.
52
- attr_accessor :_last_updated
50
+ attr_accessor :pulp_last_updated
53
51
 
54
52
  # Total number of simultaneous connections.
55
53
  attr_accessor :download_concurrency
@@ -82,9 +80,8 @@ module PulpRpmClient
82
80
  # Attribute mapping from ruby-style variable name to JSON key.
83
81
  def self.attribute_map
84
82
  {
85
- :'_href' => :'_href',
86
- :'_created' => :'_created',
87
- :'_type' => :'_type',
83
+ :'pulp_href' => :'pulp_href',
84
+ :'pulp_created' => :'pulp_created',
88
85
  :'name' => :'name',
89
86
  :'url' => :'url',
90
87
  :'ssl_ca_certificate' => :'ssl_ca_certificate',
@@ -94,7 +91,7 @@ module PulpRpmClient
94
91
  :'proxy_url' => :'proxy_url',
95
92
  :'username' => :'username',
96
93
  :'password' => :'password',
97
- :'_last_updated' => :'_last_updated',
94
+ :'pulp_last_updated' => :'pulp_last_updated',
98
95
  :'download_concurrency' => :'download_concurrency',
99
96
  :'policy' => :'policy'
100
97
  }
@@ -103,9 +100,8 @@ module PulpRpmClient
103
100
  # Attribute type mapping.
104
101
  def self.openapi_types
105
102
  {
106
- :'_href' => :'String',
107
- :'_created' => :'DateTime',
108
- :'_type' => :'String',
103
+ :'pulp_href' => :'String',
104
+ :'pulp_created' => :'DateTime',
109
105
  :'name' => :'String',
110
106
  :'url' => :'String',
111
107
  :'ssl_ca_certificate' => :'String',
@@ -115,7 +111,7 @@ module PulpRpmClient
115
111
  :'proxy_url' => :'String',
116
112
  :'username' => :'String',
117
113
  :'password' => :'String',
118
- :'_last_updated' => :'DateTime',
114
+ :'pulp_last_updated' => :'DateTime',
119
115
  :'download_concurrency' => :'Integer',
120
116
  :'policy' => :'String'
121
117
  }
@@ -136,16 +132,12 @@ module PulpRpmClient
136
132
  h[k.to_sym] = v
137
133
  }
138
134
 
139
- if attributes.key?(:'_href')
140
- self._href = attributes[:'_href']
141
- end
142
-
143
- if attributes.key?(:'_created')
144
- self._created = attributes[:'_created']
135
+ if attributes.key?(:'pulp_href')
136
+ self.pulp_href = attributes[:'pulp_href']
145
137
  end
146
138
 
147
- if attributes.key?(:'_type')
148
- self._type = attributes[:'_type']
139
+ if attributes.key?(:'pulp_created')
140
+ self.pulp_created = attributes[:'pulp_created']
149
141
  end
150
142
 
151
143
  if attributes.key?(:'name')
@@ -184,8 +176,8 @@ module PulpRpmClient
184
176
  self.password = attributes[:'password']
185
177
  end
186
178
 
187
- if attributes.key?(:'_last_updated')
188
- self._last_updated = attributes[:'_last_updated']
179
+ if attributes.key?(:'pulp_last_updated')
180
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
189
181
  end
190
182
 
191
183
  if attributes.key?(:'download_concurrency')
@@ -203,10 +195,6 @@ module PulpRpmClient
203
195
  # @return Array for valid properties with the reasons
204
196
  def list_invalid_properties
205
197
  invalid_properties = Array.new
206
- if !@_type.nil? && @_type.to_s.length < 1
207
- invalid_properties.push('invalid value for "_type", the character length must be great than or equal to 1.')
208
- end
209
-
210
198
  if @name.nil?
211
199
  invalid_properties.push('invalid value for "name", name cannot be nil.')
212
200
  end
@@ -257,7 +245,6 @@ module PulpRpmClient
257
245
  # Check to see if the all the properties in the model are valid
258
246
  # @return true if the model is valid
259
247
  def valid?
260
- return false if !@_type.nil? && @_type.to_s.length < 1
261
248
  return false if @name.nil?
262
249
  return false if @name.to_s.length < 1
263
250
  return false if @url.nil?
@@ -274,16 +261,6 @@ module PulpRpmClient
274
261
  true
275
262
  end
276
263
 
277
- # Custom attribute writer method with validation
278
- # @param [Object] _type Value to be assigned
279
- def _type=(_type)
280
- if !_type.nil? && _type.to_s.length < 1
281
- fail ArgumentError, 'invalid value for "_type", the character length must be great than or equal to 1.'
282
- end
283
-
284
- @_type = _type
285
- end
286
-
287
264
  # Custom attribute writer method with validation
288
265
  # @param [Object] name Value to be assigned
289
266
  def name=(name)
@@ -397,9 +374,8 @@ module PulpRpmClient
397
374
  def ==(o)
398
375
  return true if self.equal?(o)
399
376
  self.class == o.class &&
400
- _href == o._href &&
401
- _created == o._created &&
402
- _type == o._type &&
377
+ pulp_href == o.pulp_href &&
378
+ pulp_created == o.pulp_created &&
403
379
  name == o.name &&
404
380
  url == o.url &&
405
381
  ssl_ca_certificate == o.ssl_ca_certificate &&
@@ -409,7 +385,7 @@ module PulpRpmClient
409
385
  proxy_url == o.proxy_url &&
410
386
  username == o.username &&
411
387
  password == o.password &&
412
- _last_updated == o._last_updated &&
388
+ pulp_last_updated == o.pulp_last_updated &&
413
389
  download_concurrency == o.download_concurrency &&
414
390
  policy == o.policy
415
391
  end
@@ -423,7 +399,7 @@ module PulpRpmClient
423
399
  # Calculates hash code according to all attributes.
424
400
  # @return [Integer] Hash code
425
401
  def hash
426
- [_href, _created, _type, name, url, ssl_ca_certificate, ssl_client_certificate, ssl_client_key, ssl_validation, proxy_url, username, password, _last_updated, download_concurrency, policy].hash
402
+ [pulp_href, pulp_created, name, url, ssl_ca_certificate, ssl_client_certificate, ssl_client_key, ssl_validation, proxy_url, username, password, pulp_last_updated, download_concurrency, policy].hash
427
403
  end
428
404
 
429
405
  # 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,12 +14,10 @@ require 'date'
14
14
 
15
15
  module PulpRpmClient
16
16
  class UpdateRecord
17
- attr_accessor :_href
17
+ attr_accessor :pulp_href
18
18
 
19
19
  # Timestamp of creation.
20
- attr_accessor :_created
21
-
22
- attr_accessor :_type
20
+ attr_accessor :pulp_created
23
21
 
24
22
  # Update id (short update name, e.g. RHEA-2013:1777)
25
23
  attr_accessor :id
@@ -75,9 +73,8 @@ module PulpRpmClient
75
73
  # Attribute mapping from ruby-style variable name to JSON key.
76
74
  def self.attribute_map
77
75
  {
78
- :'_href' => :'_href',
79
- :'_created' => :'_created',
80
- :'_type' => :'_type',
76
+ :'pulp_href' => :'pulp_href',
77
+ :'pulp_created' => :'pulp_created',
81
78
  :'id' => :'id',
82
79
  :'updated_date' => :'updated_date',
83
80
  :'description' => :'description',
@@ -101,9 +98,8 @@ module PulpRpmClient
101
98
  # Attribute type mapping.
102
99
  def self.openapi_types
103
100
  {
104
- :'_href' => :'String',
105
- :'_created' => :'DateTime',
106
- :'_type' => :'String',
101
+ :'pulp_href' => :'String',
102
+ :'pulp_created' => :'DateTime',
107
103
  :'id' => :'String',
108
104
  :'updated_date' => :'String',
109
105
  :'description' => :'String',
@@ -139,16 +135,12 @@ module PulpRpmClient
139
135
  h[k.to_sym] = v
140
136
  }
141
137
 
142
- if attributes.key?(:'_href')
143
- self._href = attributes[:'_href']
144
- end
145
-
146
- if attributes.key?(:'_created')
147
- self._created = attributes[:'_created']
138
+ if attributes.key?(:'pulp_href')
139
+ self.pulp_href = attributes[:'pulp_href']
148
140
  end
149
141
 
150
- if attributes.key?(:'_type')
151
- self._type = attributes[:'_type']
142
+ if attributes.key?(:'pulp_created')
143
+ self.pulp_created = attributes[:'pulp_created']
152
144
  end
153
145
 
154
146
  if attributes.key?(:'id')
@@ -228,10 +220,6 @@ module PulpRpmClient
228
220
  # @return Array for valid properties with the reasons
229
221
  def list_invalid_properties
230
222
  invalid_properties = Array.new
231
- if !@_type.nil? && @_type.to_s.length < 1
232
- invalid_properties.push('invalid value for "_type", the character length must be great than or equal to 1.')
233
- end
234
-
235
223
  if @id.nil?
236
224
  invalid_properties.push('invalid value for "id", id cannot be nil.')
237
225
  end
@@ -358,7 +346,6 @@ module PulpRpmClient
358
346
  # Check to see if the all the properties in the model are valid
359
347
  # @return true if the model is valid
360
348
  def valid?
361
- return false if !@_type.nil? && @_type.to_s.length < 1
362
349
  return false if @id.nil?
363
350
  return false if @id.to_s.length < 1
364
351
  return false if @updated_date.nil?
@@ -392,16 +379,6 @@ module PulpRpmClient
392
379
  true
393
380
  end
394
381
 
395
- # Custom attribute writer method with validation
396
- # @param [Object] _type Value to be assigned
397
- def _type=(_type)
398
- if !_type.nil? && _type.to_s.length < 1
399
- fail ArgumentError, 'invalid value for "_type", the character length must be great than or equal to 1.'
400
- end
401
-
402
- @_type = _type
403
- end
404
-
405
382
  # Custom attribute writer method with validation
406
383
  # @param [Object] id Value to be assigned
407
384
  def id=(id)
@@ -617,9 +594,8 @@ module PulpRpmClient
617
594
  def ==(o)
618
595
  return true if self.equal?(o)
619
596
  self.class == o.class &&
620
- _href == o._href &&
621
- _created == o._created &&
622
- _type == o._type &&
597
+ pulp_href == o.pulp_href &&
598
+ pulp_created == o.pulp_created &&
623
599
  id == o.id &&
624
600
  updated_date == o.updated_date &&
625
601
  description == o.description &&
@@ -648,7 +624,7 @@ module PulpRpmClient
648
624
  # Calculates hash code according to all attributes.
649
625
  # @return [Integer] Hash code
650
626
  def hash
651
- [_href, _created, _type, id, updated_date, description, issued_date, fromstr, status, title, summary, version, type, severity, solution, release, rights, pushcount, pkglist, references].hash
627
+ [pulp_href, pulp_created, id, updated_date, description, issued_date, fromstr, status, title, summary, version, type, severity, solution, release, rights, pushcount, pkglist, references].hash
652
628
  end
653
629
 
654
630
  # 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
 
@@ -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 Variant.
33
- attr_accessor :repository
34
-
35
32
  # Relative path to directory with source RPMs.
36
33
  attr_accessor :source_packages
37
34
 
@@ -55,7 +52,6 @@ module PulpRpmClient
55
52
  :'name' => :'name',
56
53
  :'type' => :'type',
57
54
  :'packages' => :'packages',
58
- :'repository' => :'repository',
59
55
  :'source_packages' => :'source_packages',
60
56
  :'source_repository' => :'source_repository',
61
57
  :'debug_packages' => :'debug_packages',
@@ -72,7 +68,6 @@ module PulpRpmClient
72
68
  :'name' => :'String',
73
69
  :'type' => :'String',
74
70
  :'packages' => :'String',
75
- :'repository' => :'String',
76
71
  :'source_packages' => :'String',
77
72
  :'source_repository' => :'String',
78
73
  :'debug_packages' => :'String',
@@ -116,10 +111,6 @@ module PulpRpmClient
116
111
  self.packages = attributes[:'packages']
117
112
  end
118
113
 
119
- if attributes.key?(:'repository')
120
- self.repository = attributes[:'repository']
121
- end
122
-
123
114
  if attributes.key?(:'source_packages')
124
115
  self.source_packages = attributes[:'source_packages']
125
116
  end
@@ -185,10 +176,6 @@ module PulpRpmClient
185
176
  invalid_properties.push('invalid value for "packages", the character length must be great than or equal to 1.')
186
177
  end
187
178
 
188
- if @repository.nil?
189
- invalid_properties.push('invalid value for "repository", repository cannot be nil.')
190
- end
191
-
192
179
  if @source_packages.nil?
193
180
  invalid_properties.push('invalid value for "source_packages", source_packages cannot be nil.')
194
181
  end
@@ -245,7 +232,6 @@ module PulpRpmClient
245
232
  return false if @type.to_s.length < 1
246
233
  return false if @packages.nil?
247
234
  return false if @packages.to_s.length < 1
248
- return false if @repository.nil?
249
235
  return false if @source_packages.nil?
250
236
  return false if @source_packages.to_s.length < 1
251
237
  return false if @source_repository.nil?
@@ -409,7 +395,6 @@ module PulpRpmClient
409
395
  name == o.name &&
410
396
  type == o.type &&
411
397
  packages == o.packages &&
412
- repository == o.repository &&
413
398
  source_packages == o.source_packages &&
414
399
  source_repository == o.source_repository &&
415
400
  debug_packages == o.debug_packages &&
@@ -426,7 +411,7 @@ module PulpRpmClient
426
411
  # Calculates hash code according to all attributes.
427
412
  # @return [Integer] Hash code
428
413
  def hash
429
- [variant_id, uid, name, type, packages, repository, source_packages, source_repository, debug_packages, debug_repository, identity].hash
414
+ [variant_id, uid, name, type, packages, source_packages, source_repository, debug_packages, debug_repository, identity].hash
430
415
  end
431
416
 
432
417
  # Builds the object from hash
@@ -6,10 +6,10 @@
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
 
13
13
  module PulpRpmClient
14
- VERSION = '3.0.0b6'
14
+ VERSION = '3.0.0b7'
15
15
  end
@@ -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
 
@@ -45,14 +45,14 @@ require 'pulp_rpm_client/models/variant'
45
45
 
46
46
  # APIs
47
47
  require 'pulp_rpm_client/api/content_advisories_api'
48
+ require 'pulp_rpm_client/api/content_distribution_trees_api'
48
49
  require 'pulp_rpm_client/api/content_modulemd_api'
49
50
  require 'pulp_rpm_client/api/content_modulemd_defaults_api'
50
51
  require 'pulp_rpm_client/api/content_packages_api'
51
- require 'pulp_rpm_client/api/distribution_trees_distribution_trees_api'
52
+ require 'pulp_rpm_client/api/content_repo_metadata_files_api'
52
53
  require 'pulp_rpm_client/api/distributions_rpm_api'
53
54
  require 'pulp_rpm_client/api/publications_rpm_api'
54
55
  require 'pulp_rpm_client/api/remotes_rpm_api'
55
- require 'pulp_rpm_client/api/repo_metadata_files_repo_metadata_files_api'
56
56
  require 'pulp_rpm_client/api/rpm_copy_api'
57
57
 
58
58
  module PulpRpmClient
@@ -8,7 +8,7 @@
8
8
  The version of the OpenAPI document: v3
9
9
 
10
10
  Generated by: https://openapi-generator.tech
11
- OpenAPI Generator version: 4.1.3-SNAPSHOT
11
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
12
12
 
13
13
  =end
14
14
 
@@ -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
 
@@ -62,6 +62,7 @@ describe 'ContentAdvisoriesApi' do
62
62
  # @option opts [Integer] :limit Number of results to return per page.
63
63
  # @option opts [Integer] :offset The initial index from which to return the results.
64
64
  # @option opts [String] :fields A list of fields to include in the response.
65
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
65
66
  # @return [InlineResponse200]
66
67
  describe 'list test' do
67
68
  it 'should work' do
@@ -75,6 +76,7 @@ describe 'ContentAdvisoriesApi' do
75
76
  # @param update_record_href URI of Update Record. e.g.: /pulp/api/v3/content/rpm/advisories/1/
76
77
  # @param [Hash] opts the optional parameters
77
78
  # @option opts [String] :fields A list of fields to include in the response.
79
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
78
80
  # @return [UpdateRecord]
79
81
  describe 'read test' do
80
82
  it 'should work' do
@@ -6,36 +6,36 @@
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
 
13
13
  require 'spec_helper'
14
14
  require 'json'
15
15
 
16
- # Unit tests for PulpRpmClient::DistributionTreesDistributionTreesApi
16
+ # Unit tests for PulpRpmClient::ContentDistributionTreesApi
17
17
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
18
  # Please update as you see appropriate
19
- describe 'DistributionTreesDistributionTreesApi' do
19
+ describe 'ContentDistributionTreesApi' do
20
20
  before do
21
21
  # run before each test
22
- @api_instance = PulpRpmClient::DistributionTreesDistributionTreesApi.new
22
+ @api_instance = PulpRpmClient::ContentDistributionTreesApi.new
23
23
  end
24
24
 
25
25
  after do
26
26
  # run after each test
27
27
  end
28
28
 
29
- describe 'test an instance of DistributionTreesDistributionTreesApi' do
30
- it 'should create an instance of DistributionTreesDistributionTreesApi' do
31
- expect(@api_instance).to be_instance_of(PulpRpmClient::DistributionTreesDistributionTreesApi)
29
+ describe 'test an instance of ContentDistributionTreesApi' do
30
+ it 'should create an instance of ContentDistributionTreesApi' do
31
+ expect(@api_instance).to be_instance_of(PulpRpmClient::ContentDistributionTreesApi)
32
32
  end
33
33
  end
34
34
 
35
35
  # unit tests for delete
36
36
  # Delete a distribution tree
37
37
  # Distribution Tree Viewset.
38
- # @param distribution_tree_href URI of Distribution Tree. e.g.: /pulp/api/v3/distribution_trees/rpm/distribution_trees/1/
38
+ # @param distribution_tree_href URI of Distribution Tree. e.g.: /pulp/api/v3/content/rpm/distribution_trees/1/
39
39
  # @param [Hash] opts the optional parameters
40
40
  # @return [nil]
41
41
  describe 'delete test' do
@@ -48,10 +48,14 @@ describe 'DistributionTreesDistributionTreesApi' do
48
48
  # List distribution trees
49
49
  # Distribution Tree Viewset.
50
50
  # @param [Hash] opts the optional parameters
51
+ # @option opts [String] :repository_version Repository Version referenced by HREF
52
+ # @option opts [String] :repository_version_added Repository Version referenced by HREF
53
+ # @option opts [String] :repository_version_removed Repository Version referenced by HREF
51
54
  # @option opts [Integer] :limit Number of results to return per page.
52
55
  # @option opts [Integer] :offset The initial index from which to return the results.
53
56
  # @option opts [String] :fields A list of fields to include in the response.
54
- # @return [InlineResponse2004]
57
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
58
+ # @return [InlineResponse2001]
55
59
  describe 'list test' do
56
60
  it 'should work' do
57
61
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -61,9 +65,10 @@ describe 'DistributionTreesDistributionTreesApi' do
61
65
  # unit tests for read
62
66
  # Inspect a distribution tree
63
67
  # Distribution Tree Viewset.
64
- # @param distribution_tree_href URI of Distribution Tree. e.g.: /pulp/api/v3/distribution_trees/rpm/distribution_trees/1/
68
+ # @param distribution_tree_href URI of Distribution Tree. e.g.: /pulp/api/v3/content/rpm/distribution_trees/1/
65
69
  # @param [Hash] opts the optional parameters
66
70
  # @option opts [String] :fields A list of fields to include in the response.
71
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
67
72
  # @return [DistributionTree]
68
73
  describe 'read test' do
69
74
  it 'should work' do
@@ -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
 
@@ -65,7 +65,8 @@ describe 'ContentModulemdApi' do
65
65
  # @option opts [Integer] :limit Number of results to return per page.
66
66
  # @option opts [Integer] :offset The initial index from which to return the results.
67
67
  # @option opts [String] :fields A list of fields to include in the response.
68
- # @return [InlineResponse2002]
68
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
69
+ # @return [InlineResponse2003]
69
70
  describe 'list test' do
70
71
  it 'should work' do
71
72
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -78,6 +79,7 @@ describe 'ContentModulemdApi' do
78
79
  # @param modulemd_href URI of Modulemd. e.g.: /pulp/api/v3/content/rpm/modulemd/1/
79
80
  # @param [Hash] opts the optional parameters
80
81
  # @option opts [String] :fields A list of fields to include in the response.
82
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
81
83
  # @return [Modulemd]
82
84
  describe 'read test' do
83
85
  it 'should work' do