pulp_python_client 3.26.0 → 3.26.1

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: af7b558c46dafb1c1e584b7d170d4204580e8d72bcbae223522c6c80462a19e6
4
- data.tar.gz: 67ec3504b9707eec2c892718372ba1989a16df984c33332efac6b0575bc25c49
3
+ metadata.gz: fa87c01411ec5abfa48b6f5335a0ddaf21e013629ed8422f7184d70ce7bdd2ea
4
+ data.tar.gz: 294a66def195f27899d8a8cffea8ed369ed8e47afcf32b334995d36b84bdcacb
5
5
  SHA512:
6
- metadata.gz: 2b71999fab753f7d33bea302e09b6726bbf6b8435bc7021a9b7e325d4ebefc4169e4b7563f6deca64b667051ada3517d6848f9671e8fe36aebd66134b7309dc5
7
- data.tar.gz: 1fde08d86114caa63e7dc6b89c741f5a2e04eaa695770f23d02b982f6b63ab68007de110fb2fa66755e49c265d548f8a41cd35bc3ebe661cbfea1f2aa564db47
6
+ metadata.gz: fed78601fb897624f76858376d1da77dc8e89c12df3c00b0edea5c830f2a6e716633a83d317ca8bee79a1fd0b9b8b443c726d0784f9bbc23b54eaa3eb889c1e0
7
+ data.tar.gz: 2156c58ff99d5897978831864dbe168849f4318ffc40a6b5e41ec315ad732c9ae43440bcbe1f640b6589e1d1e893842466ee1339284d1a0231d1aa82d54b211c
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.26.0
10
+ - Package version: 3.26.1
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_python_client.gemspec
25
25
  Then either install the gem locally:
26
26
 
27
27
  ```shell
28
- gem install ./pulp_python_client-3.26.0.gem
28
+ gem install ./pulp_python_client-3.26.1.gem
29
29
  ```
30
30
 
31
- (for development, run `gem install --dev ./pulp_python_client-3.26.0.gem` to install the development dependencies)
31
+ (for development, run `gem install --dev ./pulp_python_client-3.26.1.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_python_client', '~> 3.26.0'
37
+ gem 'pulp_python_client', '~> 3.26.1'
38
38
 
39
39
  ### Install from Git
40
40
 
@@ -420,6 +420,10 @@ module PulpPythonClient
420
420
  invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
421
421
  end
422
422
 
423
+ if !@download_concurrency.nil? && @download_concurrency < 1
424
+ invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
425
+ end
426
+
423
427
  invalid_properties
424
428
  end
425
429
 
@@ -441,6 +445,7 @@ module PulpPythonClient
441
445
  return false if !@connect_timeout.nil? && @connect_timeout < 0.0
442
446
  return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
443
447
  return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
448
+ return false if !@download_concurrency.nil? && @download_concurrency < 1
444
449
  true
445
450
  end
446
451
 
@@ -592,6 +597,16 @@ module PulpPythonClient
592
597
  @sock_read_timeout = sock_read_timeout
593
598
  end
594
599
 
600
+ # Custom attribute writer method with validation
601
+ # @param [Object] download_concurrency Value to be assigned
602
+ def download_concurrency=(download_concurrency)
603
+ if !download_concurrency.nil? && download_concurrency < 1
604
+ fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
605
+ end
606
+
607
+ @download_concurrency = download_concurrency
608
+ end
609
+
595
610
  # Checks equality by comparing each attribute.
596
611
  # @param [Object] Object to be compared
597
612
  def ==(o)
@@ -128,6 +128,10 @@ module PulpPythonClient
128
128
  invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
129
129
  end
130
130
 
131
+ if !@retain_repo_versions.nil? && @retain_repo_versions < 1
132
+ invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
133
+ end
134
+
131
135
  invalid_properties
132
136
  end
133
137
 
@@ -137,6 +141,7 @@ module PulpPythonClient
137
141
  warn '[DEPRECATED] the `valid?` method is obsolete'
138
142
  return false if !@name.nil? && @name.to_s.length < 1
139
143
  return false if !@description.nil? && @description.to_s.length < 1
144
+ return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
140
145
  true
141
146
  end
142
147
 
@@ -164,6 +169,16 @@ module PulpPythonClient
164
169
  @description = description
165
170
  end
166
171
 
172
+ # Custom attribute writer method with validation
173
+ # @param [Object] retain_repo_versions Value to be assigned
174
+ def retain_repo_versions=(retain_repo_versions)
175
+ if !retain_repo_versions.nil? && retain_repo_versions < 1
176
+ fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
177
+ end
178
+
179
+ @retain_repo_versions = retain_repo_versions
180
+ end
181
+
167
182
  # Checks equality by comparing each attribute.
168
183
  # @param [Object] Object to be compared
169
184
  def ==(o)
@@ -432,6 +432,10 @@ module PulpPythonClient
432
432
  invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
433
433
  end
434
434
 
435
+ if !@download_concurrency.nil? && @download_concurrency < 1
436
+ invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
437
+ end
438
+
435
439
  invalid_properties
436
440
  end
437
441
 
@@ -455,6 +459,7 @@ module PulpPythonClient
455
459
  return false if !@connect_timeout.nil? && @connect_timeout < 0.0
456
460
  return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
457
461
  return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
462
+ return false if !@download_concurrency.nil? && @download_concurrency < 1
458
463
  true
459
464
  end
460
465
 
@@ -606,6 +611,16 @@ module PulpPythonClient
606
611
  @sock_read_timeout = sock_read_timeout
607
612
  end
608
613
 
614
+ # Custom attribute writer method with validation
615
+ # @param [Object] download_concurrency Value to be assigned
616
+ def download_concurrency=(download_concurrency)
617
+ if !download_concurrency.nil? && download_concurrency < 1
618
+ fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
619
+ end
620
+
621
+ @download_concurrency = download_concurrency
622
+ end
623
+
609
624
  # Checks equality by comparing each attribute.
610
625
  # @param [Object] Object to be compared
611
626
  def ==(o)
@@ -388,6 +388,10 @@ module PulpPythonClient
388
388
  invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
389
389
  end
390
390
 
391
+ if !@download_concurrency.nil? && @download_concurrency < 1
392
+ invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
393
+ end
394
+
391
395
  invalid_properties
392
396
  end
393
397
 
@@ -401,6 +405,7 @@ module PulpPythonClient
401
405
  return false if !@connect_timeout.nil? && @connect_timeout < 0.0
402
406
  return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
403
407
  return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
408
+ return false if !@download_concurrency.nil? && @download_concurrency < 1
404
409
  true
405
410
  end
406
411
 
@@ -444,6 +449,16 @@ module PulpPythonClient
444
449
  @sock_read_timeout = sock_read_timeout
445
450
  end
446
451
 
452
+ # Custom attribute writer method with validation
453
+ # @param [Object] download_concurrency Value to be assigned
454
+ def download_concurrency=(download_concurrency)
455
+ if !download_concurrency.nil? && download_concurrency < 1
456
+ fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
457
+ end
458
+
459
+ @download_concurrency = download_concurrency
460
+ end
461
+
447
462
  # Checks equality by comparing each attribute.
448
463
  # @param [Object] Object to be compared
449
464
  def ==(o)
@@ -134,6 +134,10 @@ module PulpPythonClient
134
134
  invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
135
135
  end
136
136
 
137
+ if !@retain_repo_versions.nil? && @retain_repo_versions < 1
138
+ invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
139
+ end
140
+
137
141
  invalid_properties
138
142
  end
139
143
 
@@ -144,6 +148,7 @@ module PulpPythonClient
144
148
  return false if @name.nil?
145
149
  return false if @name.to_s.length < 1
146
150
  return false if !@description.nil? && @description.to_s.length < 1
151
+ return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
147
152
  true
148
153
  end
149
154
 
@@ -171,6 +176,16 @@ module PulpPythonClient
171
176
  @description = description
172
177
  end
173
178
 
179
+ # Custom attribute writer method with validation
180
+ # @param [Object] retain_repo_versions Value to be assigned
181
+ def retain_repo_versions=(retain_repo_versions)
182
+ if !retain_repo_versions.nil? && retain_repo_versions < 1
183
+ fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
184
+ end
185
+
186
+ @retain_repo_versions = retain_repo_versions
187
+ end
188
+
174
189
  # Checks equality by comparing each attribute.
175
190
  # @param [Object] Object to be compared
176
191
  def ==(o)
@@ -177,6 +177,10 @@ module PulpPythonClient
177
177
  invalid_properties.push('invalid value for "name", name cannot be nil.')
178
178
  end
179
179
 
180
+ if !@retain_repo_versions.nil? && @retain_repo_versions < 1
181
+ invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
182
+ end
183
+
180
184
  invalid_properties
181
185
  end
182
186
 
@@ -185,9 +189,20 @@ module PulpPythonClient
185
189
  def valid?
186
190
  warn '[DEPRECATED] the `valid?` method is obsolete'
187
191
  return false if @name.nil?
192
+ return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
188
193
  true
189
194
  end
190
195
 
196
+ # Custom attribute writer method with validation
197
+ # @param [Object] retain_repo_versions Value to be assigned
198
+ def retain_repo_versions=(retain_repo_versions)
199
+ if !retain_repo_versions.nil? && retain_repo_versions < 1
200
+ fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
201
+ end
202
+
203
+ @retain_repo_versions = retain_repo_versions
204
+ end
205
+
191
206
  # Checks equality by comparing each attribute.
192
207
  # @param [Object] Object to be compared
193
208
  def ==(o)
@@ -278,6 +278,10 @@ module PulpPythonClient
278
278
  invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
279
279
  end
280
280
 
281
+ if !@download_concurrency.nil? && @download_concurrency < 1
282
+ invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
283
+ end
284
+
281
285
  invalid_properties
282
286
  end
283
287
 
@@ -297,6 +301,7 @@ module PulpPythonClient
297
301
  return false if !@connect_timeout.nil? && @connect_timeout < 0.0
298
302
  return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
299
303
  return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
304
+ return false if !@download_concurrency.nil? && @download_concurrency < 1
300
305
  true
301
306
  end
302
307
 
@@ -420,6 +425,16 @@ module PulpPythonClient
420
425
  @sock_read_timeout = sock_read_timeout
421
426
  end
422
427
 
428
+ # Custom attribute writer method with validation
429
+ # @param [Object] download_concurrency Value to be assigned
430
+ def download_concurrency=(download_concurrency)
431
+ if !download_concurrency.nil? && download_concurrency < 1
432
+ fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
433
+ end
434
+
435
+ @download_concurrency = download_concurrency
436
+ end
437
+
423
438
  # Checks equality by comparing each attribute.
424
439
  # @param [Object] Object to be compared
425
440
  def ==(o)
@@ -196,6 +196,10 @@ module PulpPythonClient
196
196
  invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
197
197
  end
198
198
 
199
+ if !@download_concurrency.nil? && @download_concurrency < 1
200
+ invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
201
+ end
202
+
199
203
  invalid_properties
200
204
  end
201
205
 
@@ -207,6 +211,7 @@ module PulpPythonClient
207
211
  return false if !@connect_timeout.nil? && @connect_timeout < 0.0
208
212
  return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
209
213
  return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
214
+ return false if !@download_concurrency.nil? && @download_concurrency < 1
210
215
  true
211
216
  end
212
217
 
@@ -250,6 +255,16 @@ module PulpPythonClient
250
255
  @sock_read_timeout = sock_read_timeout
251
256
  end
252
257
 
258
+ # Custom attribute writer method with validation
259
+ # @param [Object] download_concurrency Value to be assigned
260
+ def download_concurrency=(download_concurrency)
261
+ if !download_concurrency.nil? && download_concurrency < 1
262
+ fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
263
+ end
264
+
265
+ @download_concurrency = download_concurrency
266
+ end
267
+
253
268
  # Checks equality by comparing each attribute.
254
269
  # @param [Object] Object to be compared
255
270
  def ==(o)
@@ -89,11 +89,6 @@ module PulpPythonClient
89
89
  invalid_properties.push('invalid value for "key", the character length must be great than or equal to 1.')
90
90
  end
91
91
 
92
- pattern = Regexp.new(/^[-a-zA-Z0-9_]+$/)
93
- if @key !~ pattern
94
- invalid_properties.push("invalid value for \"key\", must conform to the pattern #{pattern}.")
95
- end
96
-
97
92
  invalid_properties
98
93
  end
99
94
 
@@ -103,7 +98,6 @@ module PulpPythonClient
103
98
  warn '[DEPRECATED] the `valid?` method is obsolete'
104
99
  return false if @key.nil?
105
100
  return false if @key.to_s.length < 1
106
- return false if @key !~ Regexp.new(/^[-a-zA-Z0-9_]+$/)
107
101
  true
108
102
  end
109
103
 
@@ -118,11 +112,6 @@ module PulpPythonClient
118
112
  fail ArgumentError, 'invalid value for "key", the character length must be great than or equal to 1.'
119
113
  end
120
114
 
121
- pattern = Regexp.new(/^[-a-zA-Z0-9_]+$/)
122
- if key !~ pattern
123
- fail ArgumentError, "invalid value for \"key\", must conform to the pattern #{pattern}."
124
- end
125
-
126
115
  @key = key
127
116
  end
128
117
 
@@ -85,11 +85,6 @@ module PulpPythonClient
85
85
  invalid_properties.push('invalid value for "key", key cannot be nil.')
86
86
  end
87
87
 
88
- pattern = Regexp.new(/^[-a-zA-Z0-9_]+$/)
89
- if @key !~ pattern
90
- invalid_properties.push("invalid value for \"key\", must conform to the pattern #{pattern}.")
91
- end
92
-
93
88
  invalid_properties
94
89
  end
95
90
 
@@ -98,25 +93,9 @@ module PulpPythonClient
98
93
  def valid?
99
94
  warn '[DEPRECATED] the `valid?` method is obsolete'
100
95
  return false if @key.nil?
101
- return false if @key !~ Regexp.new(/^[-a-zA-Z0-9_]+$/)
102
96
  true
103
97
  end
104
98
 
105
- # Custom attribute writer method with validation
106
- # @param [Object] key Value to be assigned
107
- def key=(key)
108
- if key.nil?
109
- fail ArgumentError, 'key cannot be nil'
110
- end
111
-
112
- pattern = Regexp.new(/^[-a-zA-Z0-9_]+$/)
113
- if key !~ pattern
114
- fail ArgumentError, "invalid value for \"key\", must conform to the pattern #{pattern}."
115
- end
116
-
117
- @key = key
118
- end
119
-
120
99
  # Checks equality by comparing each attribute.
121
100
  # @param [Object] Object to be compared
122
101
  def ==(o)
@@ -78,11 +78,6 @@ module PulpPythonClient
78
78
  invalid_properties.push('invalid value for "key", the character length must be great than or equal to 1.')
79
79
  end
80
80
 
81
- pattern = Regexp.new(/^[-a-zA-Z0-9_]+$/)
82
- if @key !~ pattern
83
- invalid_properties.push("invalid value for \"key\", must conform to the pattern #{pattern}.")
84
- end
85
-
86
81
  invalid_properties
87
82
  end
88
83
 
@@ -92,7 +87,6 @@ module PulpPythonClient
92
87
  warn '[DEPRECATED] the `valid?` method is obsolete'
93
88
  return false if @key.nil?
94
89
  return false if @key.to_s.length < 1
95
- return false if @key !~ Regexp.new(/^[-a-zA-Z0-9_]+$/)
96
90
  true
97
91
  end
98
92
 
@@ -107,11 +101,6 @@ module PulpPythonClient
107
101
  fail ArgumentError, 'invalid value for "key", the character length must be great than or equal to 1.'
108
102
  end
109
103
 
110
- pattern = Regexp.new(/^[-a-zA-Z0-9_]+$/)
111
- if key !~ pattern
112
- fail ArgumentError, "invalid value for \"key\", must conform to the pattern #{pattern}."
113
- end
114
-
115
104
  @key = key
116
105
  end
117
106
 
@@ -82,11 +82,6 @@ module PulpPythonClient
82
82
  invalid_properties.push('invalid value for "key", key cannot be nil.')
83
83
  end
84
84
 
85
- pattern = Regexp.new(/^[-a-zA-Z0-9_]+$/)
86
- if @key !~ pattern
87
- invalid_properties.push("invalid value for \"key\", must conform to the pattern #{pattern}.")
88
- end
89
-
90
85
  invalid_properties
91
86
  end
92
87
 
@@ -95,25 +90,9 @@ module PulpPythonClient
95
90
  def valid?
96
91
  warn '[DEPRECATED] the `valid?` method is obsolete'
97
92
  return false if @key.nil?
98
- return false if @key !~ Regexp.new(/^[-a-zA-Z0-9_]+$/)
99
93
  true
100
94
  end
101
95
 
102
- # Custom attribute writer method with validation
103
- # @param [Object] key Value to be assigned
104
- def key=(key)
105
- if key.nil?
106
- fail ArgumentError, 'key cannot be nil'
107
- end
108
-
109
- pattern = Regexp.new(/^[-a-zA-Z0-9_]+$/)
110
- if key !~ pattern
111
- fail ArgumentError, "invalid value for \"key\", must conform to the pattern #{pattern}."
112
- end
113
-
114
- @key = key
115
- end
116
-
117
96
  # Checks equality by comparing each attribute.
118
97
  # @param [Object] Object to be compared
119
98
  def ==(o)
@@ -11,5 +11,5 @@ Generator version: 7.10.0
11
11
  =end
12
12
 
13
13
  module PulpPythonClient
14
- VERSION = '3.26.0'
14
+ VERSION = '3.26.1'
15
15
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulp_python_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.26.0
4
+ version: 3.26.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-02-26 00:00:00.000000000 Z
11
+ date: 2026-03-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday