pulp_maven_client 0.8.3 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bba4422c7d45be1a9fe2f178e8a5a73f70e68d780da250369f533aa2c9d916df
4
- data.tar.gz: e779556f4d6cfac4ff81b7f8c6d1215c6180185f90113bee0719a43a41723824
3
+ metadata.gz: 79362984ad7f3ad5fe7003132c02f72a26f48dcd9008294e17e3055874ba8cfc
4
+ data.tar.gz: c7b712a5041e74211f661341ffef2784cb920bbca9b71a74aefca2a795aeabab
5
5
  SHA512:
6
- metadata.gz: e5a2d480cb8f04e57d3749d66bdbab32471d8c8794e038a2172c39c83aaf350c50ec7766de1a4a611c77d3a3cf53b33edcdb1cec21998387e7a62e7bbc1cbc46
7
- data.tar.gz: f4054adfcca341bf97427278ab40b3897e6437504da27621c30e484e605bc80ee98f0db7c8241c7eccfa69ae3d7ebb596a1920598ddb4257f54b59bffbe601a9
6
+ metadata.gz: 2b099029d183c325c13f83cbb6e1e20705ebb9b79c93a5825c9568f0c8b3a8d49f0a24f1843bda422bf6047633403c8eed8a2c39b6dc3f584723802f03156e5b
7
+ data.tar.gz: af8d17d744ab8956cce1845735655205099f06107c6cf4c3c957b03b6f61fc85755957d596dd1ab122bd573b60defca2fff9aa4df9ad652cb09df7248ca3e84d
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: 0.8.3
10
+ - Package version: 0.9.0
11
11
  - Generator version: 7.10.0
12
12
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
13
13
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
@@ -25,16 +25,16 @@ gem build pulp_maven_client.gemspec
25
25
  Then either install the gem locally:
26
26
 
27
27
  ```shell
28
- gem install ./pulp_maven_client-0.8.3.gem
28
+ gem install ./pulp_maven_client-0.9.0.gem
29
29
  ```
30
30
 
31
- (for development, run `gem install --dev ./pulp_maven_client-0.8.3.gem` to install the development dependencies)
31
+ (for development, run `gem install --dev ./pulp_maven_client-0.9.0.gem` to install the development dependencies)
32
32
 
33
33
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
34
34
 
35
35
  Finally add this to the Gemfile:
36
36
 
37
- gem 'pulp_maven_client', '~> 0.8.3'
37
+ gem 'pulp_maven_client', '~> 0.9.0'
38
38
 
39
39
  ### Install from Git
40
40
 
@@ -24,7 +24,7 @@
24
24
  | **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
25
25
  | **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
26
26
  | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
27
- | **hidden_fields** | [**Array<MavenMavenRemoteResponseHiddenFieldsInner>**](MavenMavenRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional] |
27
+ | **hidden_fields** | [**Array<MavenMavenRemoteResponseHiddenFieldsInner>**](MavenMavenRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional][readonly] |
28
28
 
29
29
  ## Example
30
30
 
@@ -341,6 +341,10 @@ module PulpMavenClient
341
341
  invalid_properties.push('invalid value for "password", the character length must be great than or equal to 1.')
342
342
  end
343
343
 
344
+ if !@download_concurrency.nil? && @download_concurrency < 1
345
+ invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
346
+ end
347
+
344
348
  if !@total_timeout.nil? && @total_timeout < 0.0
345
349
  invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
346
350
  end
@@ -376,6 +380,7 @@ module PulpMavenClient
376
380
  return false if !@proxy_password.nil? && @proxy_password.to_s.length < 1
377
381
  return false if !@username.nil? && @username.to_s.length < 1
378
382
  return false if !@password.nil? && @password.to_s.length < 1
383
+ return false if !@download_concurrency.nil? && @download_concurrency < 1
379
384
  return false if !@total_timeout.nil? && @total_timeout < 0.0
380
385
  return false if !@connect_timeout.nil? && @connect_timeout < 0.0
381
386
  return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
@@ -491,6 +496,16 @@ module PulpMavenClient
491
496
  @password = password
492
497
  end
493
498
 
499
+ # Custom attribute writer method with validation
500
+ # @param [Object] download_concurrency Value to be assigned
501
+ def download_concurrency=(download_concurrency)
502
+ if !download_concurrency.nil? && download_concurrency < 1
503
+ fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
504
+ end
505
+
506
+ @download_concurrency = download_concurrency
507
+ end
508
+
494
509
  # Custom attribute writer method with validation
495
510
  # @param [Object] total_timeout Value to be assigned
496
511
  def total_timeout=(total_timeout)
@@ -297,6 +297,10 @@ module PulpMavenClient
297
297
  invalid_properties.push('invalid value for "url", url cannot be nil.')
298
298
  end
299
299
 
300
+ if !@download_concurrency.nil? && @download_concurrency < 1
301
+ invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
302
+ end
303
+
300
304
  if !@total_timeout.nil? && @total_timeout < 0.0
301
305
  invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
302
306
  end
@@ -322,6 +326,7 @@ module PulpMavenClient
322
326
  warn '[DEPRECATED] the `valid?` method is obsolete'
323
327
  return false if @name.nil?
324
328
  return false if @url.nil?
329
+ return false if !@download_concurrency.nil? && @download_concurrency < 1
325
330
  return false if !@total_timeout.nil? && @total_timeout < 0.0
326
331
  return false if !@connect_timeout.nil? && @connect_timeout < 0.0
327
332
  return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
@@ -329,6 +334,16 @@ module PulpMavenClient
329
334
  true
330
335
  end
331
336
 
337
+ # Custom attribute writer method with validation
338
+ # @param [Object] download_concurrency Value to be assigned
339
+ def download_concurrency=(download_concurrency)
340
+ if !download_concurrency.nil? && download_concurrency < 1
341
+ fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
342
+ end
343
+
344
+ @download_concurrency = download_concurrency
345
+ end
346
+
332
347
  # Custom attribute writer method with validation
333
348
  # @param [Object] total_timeout Value to be assigned
334
349
  def total_timeout=(total_timeout)
@@ -123,6 +123,10 @@ module PulpMavenClient
123
123
  invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
124
124
  end
125
125
 
126
+ if !@retain_repo_versions.nil? && @retain_repo_versions < 1
127
+ invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
128
+ end
129
+
126
130
  invalid_properties
127
131
  end
128
132
 
@@ -133,6 +137,7 @@ module PulpMavenClient
133
137
  return false if @name.nil?
134
138
  return false if @name.to_s.length < 1
135
139
  return false if !@description.nil? && @description.to_s.length < 1
140
+ return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
136
141
  true
137
142
  end
138
143
 
@@ -160,6 +165,16 @@ module PulpMavenClient
160
165
  @description = description
161
166
  end
162
167
 
168
+ # Custom attribute writer method with validation
169
+ # @param [Object] retain_repo_versions Value to be assigned
170
+ def retain_repo_versions=(retain_repo_versions)
171
+ if !retain_repo_versions.nil? && retain_repo_versions < 1
172
+ fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
173
+ end
174
+
175
+ @retain_repo_versions = retain_repo_versions
176
+ end
177
+
163
178
  # Checks equality by comparing each attribute.
164
179
  # @param [Object] Object to be compared
165
180
  def ==(o)
@@ -166,6 +166,10 @@ module PulpMavenClient
166
166
  invalid_properties.push('invalid value for "name", name cannot be nil.')
167
167
  end
168
168
 
169
+ if !@retain_repo_versions.nil? && @retain_repo_versions < 1
170
+ invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
171
+ end
172
+
169
173
  invalid_properties
170
174
  end
171
175
 
@@ -174,9 +178,20 @@ module PulpMavenClient
174
178
  def valid?
175
179
  warn '[DEPRECATED] the `valid?` method is obsolete'
176
180
  return false if @name.nil?
181
+ return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
177
182
  true
178
183
  end
179
184
 
185
+ # Custom attribute writer method with validation
186
+ # @param [Object] retain_repo_versions Value to be assigned
187
+ def retain_repo_versions=(retain_repo_versions)
188
+ if !retain_repo_versions.nil? && retain_repo_versions < 1
189
+ fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
190
+ end
191
+
192
+ @retain_repo_versions = retain_repo_versions
193
+ end
194
+
180
195
  # Checks equality by comparing each attribute.
181
196
  # @param [Object] Object to be compared
182
197
  def ==(o)
@@ -51,6 +51,8 @@ module PulpMavenClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
+ :'_next',
55
+ :'previous',
54
56
  ])
55
57
  end
56
58
 
@@ -51,6 +51,8 @@ module PulpMavenClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
+ :'_next',
55
+ :'previous',
54
56
  ])
55
57
  end
56
58
 
@@ -51,6 +51,8 @@ module PulpMavenClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
+ :'_next',
55
+ :'previous',
54
56
  ])
55
57
  end
56
58
 
@@ -51,6 +51,8 @@ module PulpMavenClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
+ :'_next',
55
+ :'previous',
54
56
  ])
55
57
  end
56
58
 
@@ -51,6 +51,8 @@ module PulpMavenClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
+ :'_next',
55
+ :'previous',
54
56
  ])
55
57
  end
56
58
 
@@ -329,6 +329,10 @@ module PulpMavenClient
329
329
  invalid_properties.push('invalid value for "password", the character length must be great than or equal to 1.')
330
330
  end
331
331
 
332
+ if !@download_concurrency.nil? && @download_concurrency < 1
333
+ invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
334
+ end
335
+
332
336
  if !@total_timeout.nil? && @total_timeout < 0.0
333
337
  invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
334
338
  end
@@ -362,6 +366,7 @@ module PulpMavenClient
362
366
  return false if !@proxy_password.nil? && @proxy_password.to_s.length < 1
363
367
  return false if !@username.nil? && @username.to_s.length < 1
364
368
  return false if !@password.nil? && @password.to_s.length < 1
369
+ return false if !@download_concurrency.nil? && @download_concurrency < 1
365
370
  return false if !@total_timeout.nil? && @total_timeout < 0.0
366
371
  return false if !@connect_timeout.nil? && @connect_timeout < 0.0
367
372
  return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
@@ -477,6 +482,16 @@ module PulpMavenClient
477
482
  @password = password
478
483
  end
479
484
 
485
+ # Custom attribute writer method with validation
486
+ # @param [Object] download_concurrency Value to be assigned
487
+ def download_concurrency=(download_concurrency)
488
+ if !download_concurrency.nil? && download_concurrency < 1
489
+ fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
490
+ end
491
+
492
+ @download_concurrency = download_concurrency
493
+ end
494
+
480
495
  # Custom attribute writer method with validation
481
496
  # @param [Object] total_timeout Value to be assigned
482
497
  def total_timeout=(total_timeout)
@@ -117,6 +117,10 @@ module PulpMavenClient
117
117
  invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
118
118
  end
119
119
 
120
+ if !@retain_repo_versions.nil? && @retain_repo_versions < 1
121
+ invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
122
+ end
123
+
120
124
  invalid_properties
121
125
  end
122
126
 
@@ -126,6 +130,7 @@ module PulpMavenClient
126
130
  warn '[DEPRECATED] the `valid?` method is obsolete'
127
131
  return false if !@name.nil? && @name.to_s.length < 1
128
132
  return false if !@description.nil? && @description.to_s.length < 1
133
+ return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
129
134
  true
130
135
  end
131
136
 
@@ -153,6 +158,16 @@ module PulpMavenClient
153
158
  @description = description
154
159
  end
155
160
 
161
+ # Custom attribute writer method with validation
162
+ # @param [Object] retain_repo_versions Value to be assigned
163
+ def retain_repo_versions=(retain_repo_versions)
164
+ if !retain_repo_versions.nil? && retain_repo_versions < 1
165
+ fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
166
+ end
167
+
168
+ @retain_repo_versions = retain_repo_versions
169
+ end
170
+
156
171
  # Checks equality by comparing each attribute.
157
172
  # @param [Object] Object to be compared
158
173
  def ==(o)
@@ -11,5 +11,5 @@ Generator version: 7.10.0
11
11
  =end
12
12
 
13
13
  module PulpMavenClient
14
- VERSION = '0.8.3'
14
+ VERSION = '0.9.0'
15
15
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulp_maven_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.3
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-02-25 00:00:00.000000000 Z
11
+ date: 2025-02-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday-net_http