pulp_rpm_client 3.18.0.dev1662699317 → 3.18.0.dev1662786860

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of pulp_rpm_client might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5abc63809156528b11a3688a1879604925e48dc073192e680b8f78a04c54f285
4
- data.tar.gz: 7e484a6c692c3d36d5ab6ee27e6c614c76cb6edc3f02b850d566afe661bc919a
3
+ metadata.gz: a9028e7eaeff592eeba16a37f6ab4df238e0c2518aaf2c37a056d78d6edabb5e
4
+ data.tar.gz: a8ae3d2ea40c9973ce71e59806c00a8db9a7c289547e1047c10f5941f54dd8fe
5
5
  SHA512:
6
- metadata.gz: 7dcb9e9d044b7fc2771de063f3cdb6226243f993ac47dc310766fd0dd09b9711989309de9972181b763e206b8c1c6d3dc13acedb56a5c8d5a6a874b7ee5efde3
7
- data.tar.gz: 3e135441a729a711d9ef0194aceb067a51ad9bfbfa5e23c490fab0f9def546ceee91e12042353e846d09b1321ecefc6c216b818ea3ed23b90cf01f013ab980fe
6
+ metadata.gz: 95ea80c3147ec14196e4fc224688c61b95bb74248b5a98182169e74c8a3c9b1ed09b2a3f898b748d4de69555b6941a4732dcd9bc983d94a16c2872829da0539d
7
+ data.tar.gz: 1975235cc6b74b3085c5dbfc1b87789500f841ba2b4e1743c722357b3a677d3489ff8d8cf9b1d2e744e9c4f97cb4147a47dfc1f8d96b79ffb13a218778c1a5cd
data/README.md CHANGED
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
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.18.0.dev1662699317
10
+ - Package version: 3.18.0.dev1662786860
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
13
13
 
@@ -24,16 +24,16 @@ gem build pulp_rpm_client.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./pulp_rpm_client-3.18.0.dev1662699317.gem
27
+ gem install ./pulp_rpm_client-3.18.0.dev1662786860.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_rpm_client-3.18.0.dev1662699317.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_rpm_client-3.18.0.dev1662786860.gem` to install the development dependencies)
31
31
 
32
32
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
33
33
 
34
34
  Finally add this to the Gemfile:
35
35
 
36
- gem 'pulp_rpm_client', '~> 3.18.0.dev1662699317'
36
+ gem 'pulp_rpm_client', '~> 3.18.0.dev1662786860'
37
37
 
38
38
  ### Install from Git
39
39
 
data/docs/RpmModulemd.md CHANGED
@@ -14,6 +14,8 @@ Name | Type | Description | Notes
14
14
  **dependencies** | [**Object**](.md) | Modulemd dependencies. |
15
15
  **packages** | **Array<String>** | Modulemd artifacts' packages. | [optional]
16
16
  **snippet** | **String** | Modulemd snippet |
17
+ **profiles** | [**Object**](.md) | Modulemd profiles. |
18
+ **description** | **String** | Description of module. |
17
19
 
18
20
  ## Code Sample
19
21
 
@@ -29,7 +31,9 @@ instance = PulpRpmClient::RpmModulemd.new(name: null,
29
31
  artifacts: null,
30
32
  dependencies: null,
31
33
  packages: null,
32
- snippet: null)
34
+ snippet: null,
35
+ profiles: null,
36
+ description: null)
33
37
  ```
34
38
 
35
39
 
@@ -15,6 +15,8 @@ Name | Type | Description | Notes
15
15
  **artifacts** | [**Object**](.md) | Modulemd artifacts. |
16
16
  **dependencies** | [**Object**](.md) | Modulemd dependencies. |
17
17
  **packages** | **Array<String>** | Modulemd artifacts' packages. | [optional]
18
+ **profiles** | [**Object**](.md) | Modulemd profiles. |
19
+ **description** | **String** | Description of module. |
18
20
 
19
21
  ## Code Sample
20
22
 
@@ -31,7 +33,9 @@ instance = PulpRpmClient::RpmModulemdResponse.new(pulp_href: null,
31
33
  arch: null,
32
34
  artifacts: null,
33
35
  dependencies: null,
34
- packages: null)
36
+ packages: null,
37
+ profiles: null,
38
+ description: null)
35
39
  ```
36
40
 
37
41
 
@@ -126,7 +126,7 @@ module PulpRpmClient
126
126
  if @api_client.config.debugging
127
127
  @api_client.config.logger.debug 'Calling API: ContentModulemdsApi.list ...'
128
128
  end
129
- allowable_values = ["-_artifacts", "-arch", "-artifacts", "-content_ptr", "-contentartifact", "-context", "-dependencies", "-group_roles", "-name", "-packages", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-repositories", "-snippet", "-static_context", "-stream", "-timestamp_of_interest", "-upstream_id", "-user_roles", "-version", "-version_memberships", "_artifacts", "arch", "artifacts", "content_ptr", "contentartifact", "context", "dependencies", "group_roles", "name", "packages", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "repositories", "snippet", "static_context", "stream", "timestamp_of_interest", "upstream_id", "user_roles", "version", "version_memberships"]
129
+ allowable_values = ["-_artifacts", "-arch", "-artifacts", "-content_ptr", "-contentartifact", "-context", "-dependencies", "-description", "-group_roles", "-name", "-packages", "-pk", "-profiles", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-repositories", "-snippet", "-static_context", "-stream", "-timestamp_of_interest", "-upstream_id", "-user_roles", "-version", "-version_memberships", "_artifacts", "arch", "artifacts", "content_ptr", "contentartifact", "context", "dependencies", "description", "group_roles", "name", "packages", "pk", "profiles", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "repositories", "snippet", "static_context", "stream", "timestamp_of_interest", "upstream_id", "user_roles", "version", "version_memberships"]
130
130
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
131
131
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
132
132
  end
@@ -45,6 +45,12 @@ module PulpRpmClient
45
45
  # Modulemd snippet
46
46
  attr_accessor :snippet
47
47
 
48
+ # Modulemd profiles.
49
+ attr_accessor :profiles
50
+
51
+ # Description of module.
52
+ attr_accessor :description
53
+
48
54
  # Attribute mapping from ruby-style variable name to JSON key.
49
55
  def self.attribute_map
50
56
  {
@@ -57,7 +63,9 @@ module PulpRpmClient
57
63
  :'artifacts' => :'artifacts',
58
64
  :'dependencies' => :'dependencies',
59
65
  :'packages' => :'packages',
60
- :'snippet' => :'snippet'
66
+ :'snippet' => :'snippet',
67
+ :'profiles' => :'profiles',
68
+ :'description' => :'description'
61
69
  }
62
70
  end
63
71
 
@@ -73,7 +81,9 @@ module PulpRpmClient
73
81
  :'artifacts' => :'Object',
74
82
  :'dependencies' => :'Object',
75
83
  :'packages' => :'Array<String>',
76
- :'snippet' => :'String'
84
+ :'snippet' => :'String',
85
+ :'profiles' => :'Object',
86
+ :'description' => :'String'
77
87
  }
78
88
  end
79
89
 
@@ -82,6 +92,7 @@ module PulpRpmClient
82
92
  Set.new([
83
93
  :'artifacts',
84
94
  :'dependencies',
95
+ :'profiles',
85
96
  ])
86
97
  end
87
98
 
@@ -141,6 +152,14 @@ module PulpRpmClient
141
152
  if attributes.key?(:'snippet')
142
153
  self.snippet = attributes[:'snippet']
143
154
  end
155
+
156
+ if attributes.key?(:'profiles')
157
+ self.profiles = attributes[:'profiles']
158
+ end
159
+
160
+ if attributes.key?(:'description')
161
+ self.description = attributes[:'description']
162
+ end
144
163
  end
145
164
 
146
165
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -195,6 +214,14 @@ module PulpRpmClient
195
214
  invalid_properties.push('invalid value for "snippet", the character length must be great than or equal to 1.')
196
215
  end
197
216
 
217
+ if @description.nil?
218
+ invalid_properties.push('invalid value for "description", description cannot be nil.')
219
+ end
220
+
221
+ if @description.to_s.length < 1
222
+ invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
223
+ end
224
+
198
225
  invalid_properties
199
226
  end
200
227
 
@@ -213,6 +240,8 @@ module PulpRpmClient
213
240
  return false if @arch.to_s.length < 1
214
241
  return false if @snippet.nil?
215
242
  return false if @snippet.to_s.length < 1
243
+ return false if @description.nil?
244
+ return false if @description.to_s.length < 1
216
245
  true
217
246
  end
218
247
 
@@ -300,6 +329,20 @@ module PulpRpmClient
300
329
  @snippet = snippet
301
330
  end
302
331
 
332
+ # Custom attribute writer method with validation
333
+ # @param [Object] description Value to be assigned
334
+ def description=(description)
335
+ if description.nil?
336
+ fail ArgumentError, 'description cannot be nil'
337
+ end
338
+
339
+ if description.to_s.length < 1
340
+ fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
341
+ end
342
+
343
+ @description = description
344
+ end
345
+
303
346
  # Checks equality by comparing each attribute.
304
347
  # @param [Object] Object to be compared
305
348
  def ==(o)
@@ -314,7 +357,9 @@ module PulpRpmClient
314
357
  artifacts == o.artifacts &&
315
358
  dependencies == o.dependencies &&
316
359
  packages == o.packages &&
317
- snippet == o.snippet
360
+ snippet == o.snippet &&
361
+ profiles == o.profiles &&
362
+ description == o.description
318
363
  end
319
364
 
320
365
  # @see the `==` method
@@ -326,7 +371,7 @@ module PulpRpmClient
326
371
  # Calculates hash code according to all attributes.
327
372
  # @return [Integer] Hash code
328
373
  def hash
329
- [name, stream, version, static_context, context, arch, artifacts, dependencies, packages, snippet].hash
374
+ [name, stream, version, static_context, context, arch, artifacts, dependencies, packages, snippet, profiles, description].hash
330
375
  end
331
376
 
332
377
  # Builds the object from hash
@@ -47,6 +47,12 @@ module PulpRpmClient
47
47
  # Modulemd artifacts' packages.
48
48
  attr_accessor :packages
49
49
 
50
+ # Modulemd profiles.
51
+ attr_accessor :profiles
52
+
53
+ # Description of module.
54
+ attr_accessor :description
55
+
50
56
  # Attribute mapping from ruby-style variable name to JSON key.
51
57
  def self.attribute_map
52
58
  {
@@ -60,7 +66,9 @@ module PulpRpmClient
60
66
  :'arch' => :'arch',
61
67
  :'artifacts' => :'artifacts',
62
68
  :'dependencies' => :'dependencies',
63
- :'packages' => :'packages'
69
+ :'packages' => :'packages',
70
+ :'profiles' => :'profiles',
71
+ :'description' => :'description'
64
72
  }
65
73
  end
66
74
 
@@ -77,7 +85,9 @@ module PulpRpmClient
77
85
  :'arch' => :'String',
78
86
  :'artifacts' => :'Object',
79
87
  :'dependencies' => :'Object',
80
- :'packages' => :'Array<String>'
88
+ :'packages' => :'Array<String>',
89
+ :'profiles' => :'Object',
90
+ :'description' => :'String'
81
91
  }
82
92
  end
83
93
 
@@ -86,6 +96,7 @@ module PulpRpmClient
86
96
  Set.new([
87
97
  :'artifacts',
88
98
  :'dependencies',
99
+ :'profiles',
89
100
  ])
90
101
  end
91
102
 
@@ -149,6 +160,14 @@ module PulpRpmClient
149
160
  self.packages = value
150
161
  end
151
162
  end
163
+
164
+ if attributes.key?(:'profiles')
165
+ self.profiles = attributes[:'profiles']
166
+ end
167
+
168
+ if attributes.key?(:'description')
169
+ self.description = attributes[:'description']
170
+ end
152
171
  end
153
172
 
154
173
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -175,6 +194,10 @@ module PulpRpmClient
175
194
  invalid_properties.push('invalid value for "arch", arch cannot be nil.')
176
195
  end
177
196
 
197
+ if @description.nil?
198
+ invalid_properties.push('invalid value for "description", description cannot be nil.')
199
+ end
200
+
178
201
  invalid_properties
179
202
  end
180
203
 
@@ -186,6 +209,7 @@ module PulpRpmClient
186
209
  return false if @version.nil?
187
210
  return false if @context.nil?
188
211
  return false if @arch.nil?
212
+ return false if @description.nil?
189
213
  true
190
214
  end
191
215
 
@@ -204,7 +228,9 @@ module PulpRpmClient
204
228
  arch == o.arch &&
205
229
  artifacts == o.artifacts &&
206
230
  dependencies == o.dependencies &&
207
- packages == o.packages
231
+ packages == o.packages &&
232
+ profiles == o.profiles &&
233
+ description == o.description
208
234
  end
209
235
 
210
236
  # @see the `==` method
@@ -216,7 +242,7 @@ module PulpRpmClient
216
242
  # Calculates hash code according to all attributes.
217
243
  # @return [Integer] Hash code
218
244
  def hash
219
- [pulp_href, pulp_created, name, stream, version, static_context, context, arch, artifacts, dependencies, packages].hash
245
+ [pulp_href, pulp_created, name, stream, version, static_context, context, arch, artifacts, dependencies, packages, profiles, description].hash
220
246
  end
221
247
 
222
248
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module PulpRpmClient
14
- VERSION = '3.18.0.dev1662699317'
14
+ VERSION = '3.18.0.dev1662786860'
15
15
  end
@@ -98,4 +98,16 @@ describe 'RpmModulemdResponse' do
98
98
  end
99
99
  end
100
100
 
101
+ describe 'test attribute "profiles"' do
102
+ it 'should work' do
103
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
104
+ end
105
+ end
106
+
107
+ describe 'test attribute "description"' do
108
+ it 'should work' do
109
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
110
+ end
111
+ end
112
+
101
113
  end
@@ -92,4 +92,16 @@ describe 'RpmModulemd' do
92
92
  end
93
93
  end
94
94
 
95
+ describe 'test attribute "profiles"' do
96
+ it 'should work' do
97
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
98
+ end
99
+ end
100
+
101
+ describe 'test attribute "description"' do
102
+ it 'should work' do
103
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
104
+ end
105
+ end
106
+
95
107
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulp_rpm_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.18.0.dev1662699317
4
+ version: 3.18.0.dev1662786860
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-09-09 00:00:00.000000000 Z
11
+ date: 2022-09-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday