pulp_2to3_migration_client 0.0.1a1.dev01573066581 → 0.0.1a1.dev01573153490

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: 81ad0440a3ad6687ac71df7aa05483d758f916618383a942327bc9cf40f102b4
4
- data.tar.gz: e4b37b0dfba9e8390e5e6e7dbeb6e0fe7d14f6c6db5cd04f0fa8531bdbfb26fe
3
+ metadata.gz: 333d6901d5401312bbcd113177f455df77f50c05c8204ca3cf09f5c98e0a9077
4
+ data.tar.gz: 4da7ee3ac57a923da31964b5dd3c756daca07c3895f1a0e5ff84cfdbd320d4cd
5
5
  SHA512:
6
- metadata.gz: 3accd62104f10f840ac9e51c847e866c703b5e6c47fdbb2142dfc4623b9dd6c79447b5546112582fba3eccf55eb1c5bfa28aada3f6148d3c021b81e09621f462
7
- data.tar.gz: 809eefe2991a5cb5097c6b6b161549a186272b6de4dfcf86bc472287dc04e58f72e8db9798ba41c893f89b1afb6ecad58f0f1d68a8164d6afc5028858af95cb0
6
+ metadata.gz: e2856cb5f16944f2f0aa0d832dab74cf2b317f5ded58ef074b7e754467f80ca63deb37fb841e97b03ffe0a67439174104a47cd07f60cabb4a658c83788e00048
7
+ data.tar.gz: 688ea26c818e067041b46967db28da0f1bfe623ea046c0cc0d6e2c92eb0e3b069f84af4ad0a1cde31e55ed2923419c4ae361fdd66a323e87ae97a0f8dead1ae5
data/README.md CHANGED
@@ -7,7 +7,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
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.0.1a1.dev01573066581
10
+ - Package version: 0.0.1a1.dev01573153490
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
 
13
13
  ## Installation
@@ -23,16 +23,16 @@ gem build pulp_2to3_migration_client.gemspec
23
23
  Then either install the gem locally:
24
24
 
25
25
  ```shell
26
- gem install ./pulp_2to3_migration_client-0.0.1a1.dev01573066581.gem
26
+ gem install ./pulp_2to3_migration_client-0.0.1a1.dev01573153490.gem
27
27
  ```
28
28
 
29
- (for development, run `gem install --dev ./pulp_2to3_migration_client-0.0.1a1.dev01573066581.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./pulp_2to3_migration_client-0.0.1a1.dev01573153490.gem` to install the development dependencies)
30
30
 
31
31
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
32
32
 
33
33
  Finally add this to the Gemfile:
34
34
 
35
- gem 'pulp_2to3_migration_client', '~> 0.0.1a1.dev01573066581'
35
+ gem 'pulp_2to3_migration_client', '~> 0.0.1a1.dev01573153490'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -31,6 +31,12 @@ module Pulp2to3MigrationClient
31
31
  }
32
32
  end
33
33
 
34
+ # List of attributes with nullable: true
35
+ def self.openapi_nullable
36
+ Set.new([
37
+ ])
38
+ end
39
+
34
40
  # Initializes the object
35
41
  # @param [Hash] attributes Model attributes in the form of hash
36
42
  def initialize(attributes = {})
@@ -175,7 +181,11 @@ module Pulp2to3MigrationClient
175
181
  hash = {}
176
182
  self.class.attribute_map.each_pair do |attr, param|
177
183
  value = self.send(attr)
178
- next if value.nil?
184
+ if value.nil?
185
+ is_nullable = self.class.openapi_nullable.include?(attr)
186
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
187
+ end
188
+
179
189
  hash[param] = _to_hash(value)
180
190
  end
181
191
  hash
@@ -42,6 +42,14 @@ module Pulp2to3MigrationClient
42
42
  }
43
43
  end
44
44
 
45
+ # List of attributes with nullable: true
46
+ def self.openapi_nullable
47
+ Set.new([
48
+ :'_next',
49
+ :'previous',
50
+ ])
51
+ end
52
+
45
53
  # Initializes the object
46
54
  # @param [Hash] attributes Model attributes in the form of hash
47
55
  def initialize(attributes = {})
@@ -208,7 +216,11 @@ module Pulp2to3MigrationClient
208
216
  hash = {}
209
217
  self.class.attribute_map.each_pair do |attr, param|
210
218
  value = self.send(attr)
211
- next if value.nil?
219
+ if value.nil?
220
+ is_nullable = self.class.openapi_nullable.include?(attr)
221
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
222
+ end
223
+
212
224
  hash[param] = _to_hash(value)
213
225
  end
214
226
  hash
@@ -42,6 +42,14 @@ module Pulp2to3MigrationClient
42
42
  }
43
43
  end
44
44
 
45
+ # List of attributes with nullable: true
46
+ def self.openapi_nullable
47
+ Set.new([
48
+ :'_next',
49
+ :'previous',
50
+ ])
51
+ end
52
+
45
53
  # Initializes the object
46
54
  # @param [Hash] attributes Model attributes in the form of hash
47
55
  def initialize(attributes = {})
@@ -208,7 +216,11 @@ module Pulp2to3MigrationClient
208
216
  hash = {}
209
217
  self.class.attribute_map.each_pair do |attr, param|
210
218
  value = self.send(attr)
211
- next if value.nil?
219
+ if value.nil?
220
+ is_nullable = self.class.openapi_nullable.include?(attr)
221
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
222
+ end
223
+
212
224
  hash[param] = _to_hash(value)
213
225
  end
214
226
  hash
@@ -42,6 +42,14 @@ module Pulp2to3MigrationClient
42
42
  }
43
43
  end
44
44
 
45
+ # List of attributes with nullable: true
46
+ def self.openapi_nullable
47
+ Set.new([
48
+ :'_next',
49
+ :'previous',
50
+ ])
51
+ end
52
+
45
53
  # Initializes the object
46
54
  # @param [Hash] attributes Model attributes in the form of hash
47
55
  def initialize(attributes = {})
@@ -208,7 +216,11 @@ module Pulp2to3MigrationClient
208
216
  hash = {}
209
217
  self.class.attribute_map.each_pair do |attr, param|
210
218
  value = self.send(attr)
211
- next if value.nil?
219
+ if value.nil?
220
+ is_nullable = self.class.openapi_nullable.include?(attr)
221
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
222
+ end
223
+
212
224
  hash[param] = _to_hash(value)
213
225
  end
214
226
  hash
@@ -36,6 +36,12 @@ module Pulp2to3MigrationClient
36
36
  }
37
37
  end
38
38
 
39
+ # List of attributes with nullable: true
40
+ def self.openapi_nullable
41
+ Set.new([
42
+ ])
43
+ end
44
+
39
45
  # Initializes the object
40
46
  # @param [Hash] attributes Model attributes in the form of hash
41
47
  def initialize(attributes = {})
@@ -184,7 +190,11 @@ module Pulp2to3MigrationClient
184
190
  hash = {}
185
191
  self.class.attribute_map.each_pair do |attr, param|
186
192
  value = self.send(attr)
187
- next if value.nil?
193
+ if value.nil?
194
+ is_nullable = self.class.openapi_nullable.include?(attr)
195
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
196
+ end
197
+
188
198
  hash[param] = _to_hash(value)
189
199
  end
190
200
  hash
@@ -40,6 +40,12 @@ module Pulp2to3MigrationClient
40
40
  }
41
41
  end
42
42
 
43
+ # List of attributes with nullable: true
44
+ def self.openapi_nullable
45
+ Set.new([
46
+ ])
47
+ end
48
+
43
49
  # Initializes the object
44
50
  # @param [Hash] attributes Model attributes in the form of hash
45
51
  def initialize(attributes = {})
@@ -194,7 +200,11 @@ module Pulp2to3MigrationClient
194
200
  hash = {}
195
201
  self.class.attribute_map.each_pair do |attr, param|
196
202
  value = self.send(attr)
197
- next if value.nil?
203
+ if value.nil?
204
+ is_nullable = self.class.openapi_nullable.include?(attr)
205
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
206
+ end
207
+
198
208
  hash[param] = _to_hash(value)
199
209
  end
200
210
  hash
@@ -59,6 +59,13 @@ module Pulp2to3MigrationClient
59
59
  }
60
60
  end
61
61
 
62
+ # List of attributes with nullable: true
63
+ def self.openapi_nullable
64
+ Set.new([
65
+ :'pulp3_content'
66
+ ])
67
+ end
68
+
62
69
  # Initializes the object
63
70
  # @param [Hash] attributes Model attributes in the form of hash
64
71
  def initialize(attributes = {})
@@ -330,7 +337,11 @@ module Pulp2to3MigrationClient
330
337
  hash = {}
331
338
  self.class.attribute_map.each_pair do |attr, param|
332
339
  value = self.send(attr)
333
- next if value.nil?
340
+ if value.nil?
341
+ is_nullable = self.class.openapi_nullable.include?(attr)
342
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
343
+ end
344
+
334
345
  hash[param] = _to_hash(value)
335
346
  end
336
347
  hash
@@ -67,6 +67,12 @@ module Pulp2to3MigrationClient
67
67
  }
68
68
  end
69
69
 
70
+ # List of attributes with nullable: true
71
+ def self.openapi_nullable
72
+ Set.new([
73
+ ])
74
+ end
75
+
70
76
  # Initializes the object
71
77
  # @param [Hash] attributes Model attributes in the form of hash
72
78
  def initialize(attributes = {})
@@ -310,7 +316,11 @@ module Pulp2to3MigrationClient
310
316
  hash = {}
311
317
  self.class.attribute_map.each_pair do |attr, param|
312
318
  value = self.send(attr)
313
- next if value.nil?
319
+ if value.nil?
320
+ is_nullable = self.class.openapi_nullable.include?(attr)
321
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
322
+ end
323
+
314
324
  hash[param] = _to_hash(value)
315
325
  end
316
326
  hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.2.1-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module Pulp2to3MigrationClient
14
- VERSION = '0.0.1a1.dev01573066581'
14
+ VERSION = '0.0.1a1.dev01573153490'
15
15
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulp_2to3_migration_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1a1.dev01573066581
4
+ version: 0.0.1a1.dev01573153490
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-06 00:00:00.000000000 Z
11
+ date: 2019-11-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday