pulp_docker_client 4.0.0b7 → 4.0.0b8.dev01573482113
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.
Potentially problematic release.
This version of pulp_docker_client might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +24 -16
- data/docs/ContentBlobsApi.md +8 -58
- data/docs/ContentManifestsApi.md +8 -58
- data/docs/ContentTagsApi.md +8 -58
- data/docs/DistributionsDockerApi.md +14 -10
- data/docs/{Blob.md → DockerBlob.md} +5 -9
- data/docs/{DockerDistribution.md → DockerDockerDistribution.md} +11 -11
- data/docs/{DockerRemote.md → DockerDockerRemote.md} +8 -14
- data/docs/{Manifest.md → DockerManifest.md} +5 -9
- data/docs/{Tag.md → DockerTag.md} +5 -9
- data/docs/InlineResponse200.md +1 -1
- data/docs/InlineResponse2001.md +1 -1
- data/docs/InlineResponse2002.md +1 -1
- data/docs/InlineResponse2003.md +1 -1
- data/docs/InlineResponse2004.md +1 -1
- data/docs/RemotesDockerApi.md +28 -24
- data/lib/pulp_docker_client/api/content_blobs_api.rb +10 -68
- data/lib/pulp_docker_client/api/content_manifests_api.rb +10 -68
- data/lib/pulp_docker_client/api/content_tags_api.rb +10 -68
- data/lib/pulp_docker_client/api/distributions_docker_api.rb +16 -10
- data/lib/pulp_docker_client/api/docker_copy_api.rb +1 -1
- data/lib/pulp_docker_client/api/docker_recursive_add_api.rb +1 -1
- data/lib/pulp_docker_client/api/docker_recursive_remove_api.rb +1 -1
- data/lib/pulp_docker_client/api/docker_tag_api.rb +1 -1
- data/lib/pulp_docker_client/api/docker_untag_api.rb +1 -1
- data/lib/pulp_docker_client/api/remotes_docker_api.rb +37 -31
- data/lib/pulp_docker_client/api_client.rb +1 -1
- data/lib/pulp_docker_client/api_error.rb +1 -1
- data/lib/pulp_docker_client/configuration.rb +1 -1
- data/lib/pulp_docker_client/models/async_operation_response.rb +12 -2
- data/lib/pulp_docker_client/models/{blob.rb → docker_blob.rb} +28 -76
- data/lib/pulp_docker_client/models/{docker_distribution.rb → docker_docker_distribution.rb} +52 -39
- data/lib/pulp_docker_client/models/{docker_remote.rb → docker_docker_remote.rb} +44 -116
- data/lib/pulp_docker_client/models/{manifest.rb → docker_manifest.rb} +28 -76
- data/lib/pulp_docker_client/models/{tag.rb → docker_tag.rb} +28 -76
- data/lib/pulp_docker_client/models/inline_response200.rb +15 -3
- data/lib/pulp_docker_client/models/inline_response2001.rb +15 -3
- data/lib/pulp_docker_client/models/inline_response2002.rb +15 -3
- data/lib/pulp_docker_client/models/inline_response2003.rb +15 -3
- data/lib/pulp_docker_client/models/inline_response2004.rb +15 -3
- data/lib/pulp_docker_client/models/manifest_copy.rb +12 -2
- data/lib/pulp_docker_client/models/recursive_manage.rb +12 -2
- data/lib/pulp_docker_client/models/repository_sync_url.rb +12 -2
- data/lib/pulp_docker_client/models/tag_copy.rb +12 -2
- data/lib/pulp_docker_client/models/tag_image.rb +12 -2
- data/lib/pulp_docker_client/models/un_tag_image.rb +12 -2
- data/lib/pulp_docker_client/version.rb +2 -2
- data/lib/pulp_docker_client.rb +6 -6
- data/pulp_docker_client.gemspec +1 -1
- data/spec/api/content_blobs_api_spec.rb +4 -14
- data/spec/api/content_manifests_api_spec.rb +4 -14
- data/spec/api/content_tags_api_spec.rb +4 -14
- data/spec/api/distributions_docker_api_spec.rb +4 -2
- data/spec/api/docker_copy_api_spec.rb +1 -1
- data/spec/api/docker_recursive_add_api_spec.rb +1 -1
- data/spec/api/docker_recursive_remove_api_spec.rb +1 -1
- data/spec/api/docker_tag_api_spec.rb +1 -1
- data/spec/api/docker_untag_api_spec.rb +1 -1
- data/spec/api/remotes_docker_api_spec.rb +11 -9
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/async_operation_response_spec.rb +1 -1
- data/spec/models/{blob_spec.rb → docker_blob_spec.rb} +9 -21
- data/spec/models/{docker_distribution_spec.rb → docker_docker_distribution_spec.rb} +14 -14
- data/spec/models/{docker_remote_spec.rb → docker_docker_remote_spec.rb} +10 -28
- data/spec/models/{manifest_spec.rb → docker_manifest_spec.rb} +9 -21
- data/spec/models/{tag_spec.rb → docker_tag_spec.rb} +9 -21
- data/spec/models/inline_response2001_spec.rb +1 -1
- data/spec/models/inline_response2002_spec.rb +1 -1
- data/spec/models/inline_response2003_spec.rb +1 -1
- data/spec/models/inline_response2004_spec.rb +1 -1
- data/spec/models/inline_response200_spec.rb +1 -1
- data/spec/models/manifest_copy_spec.rb +1 -1
- data/spec/models/recursive_manage_spec.rb +1 -1
- data/spec/models/repository_sync_url_spec.rb +1 -1
- data/spec/models/tag_copy_spec.rb +1 -1
- data/spec/models/tag_image_spec.rb +1 -1
- data/spec/models/un_tag_image_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +22 -22
@@ -6,27 +6,22 @@
|
|
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
|
9
|
+
OpenAPI Generator version: 4.2.1-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module PulpDockerClient
|
16
|
-
class
|
17
|
-
attr_accessor :
|
16
|
+
class DockerTag
|
17
|
+
attr_accessor :pulp_href
|
18
18
|
|
19
19
|
# Timestamp of creation.
|
20
|
-
attr_accessor :
|
21
|
-
|
22
|
-
attr_accessor :_type
|
20
|
+
attr_accessor :pulp_created
|
23
21
|
|
24
22
|
# Artifact file representing the physical content
|
25
23
|
attr_accessor :artifact
|
26
24
|
|
27
|
-
# Path where the artifact is located relative to distributions base_path
|
28
|
-
attr_accessor :relative_path
|
29
|
-
|
30
25
|
# Tag name
|
31
26
|
attr_accessor :name
|
32
27
|
|
@@ -36,11 +31,9 @@ module PulpDockerClient
|
|
36
31
|
# Attribute mapping from ruby-style variable name to JSON key.
|
37
32
|
def self.attribute_map
|
38
33
|
{
|
39
|
-
:'
|
40
|
-
:'
|
41
|
-
:'_type' => :'_type',
|
34
|
+
:'pulp_href' => :'pulp_href',
|
35
|
+
:'pulp_created' => :'pulp_created',
|
42
36
|
:'artifact' => :'artifact',
|
43
|
-
:'relative_path' => :'relative_path',
|
44
37
|
:'name' => :'name',
|
45
38
|
:'tagged_manifest' => :'tagged_manifest'
|
46
39
|
}
|
@@ -49,51 +42,47 @@ module PulpDockerClient
|
|
49
42
|
# Attribute type mapping.
|
50
43
|
def self.openapi_types
|
51
44
|
{
|
52
|
-
:'
|
53
|
-
:'
|
54
|
-
:'_type' => :'String',
|
45
|
+
:'pulp_href' => :'String',
|
46
|
+
:'pulp_created' => :'DateTime',
|
55
47
|
:'artifact' => :'String',
|
56
|
-
:'relative_path' => :'String',
|
57
48
|
:'name' => :'String',
|
58
49
|
:'tagged_manifest' => :'String'
|
59
50
|
}
|
60
51
|
end
|
61
52
|
|
53
|
+
# List of attributes with nullable: true
|
54
|
+
def self.openapi_nullable
|
55
|
+
Set.new([
|
56
|
+
])
|
57
|
+
end
|
58
|
+
|
62
59
|
# Initializes the object
|
63
60
|
# @param [Hash] attributes Model attributes in the form of hash
|
64
61
|
def initialize(attributes = {})
|
65
62
|
if (!attributes.is_a?(Hash))
|
66
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpDockerClient::
|
63
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpDockerClient::DockerTag` initialize method"
|
67
64
|
end
|
68
65
|
|
69
66
|
# check to see if the attribute exists and convert string to symbol for hash key
|
70
67
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
71
68
|
if (!self.class.attribute_map.key?(k.to_sym))
|
72
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpDockerClient::
|
69
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpDockerClient::DockerTag`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
73
70
|
end
|
74
71
|
h[k.to_sym] = v
|
75
72
|
}
|
76
73
|
|
77
|
-
if attributes.key?(:'
|
78
|
-
self.
|
74
|
+
if attributes.key?(:'pulp_href')
|
75
|
+
self.pulp_href = attributes[:'pulp_href']
|
79
76
|
end
|
80
77
|
|
81
|
-
if attributes.key?(:'
|
82
|
-
self.
|
83
|
-
end
|
84
|
-
|
85
|
-
if attributes.key?(:'_type')
|
86
|
-
self._type = attributes[:'_type']
|
78
|
+
if attributes.key?(:'pulp_created')
|
79
|
+
self.pulp_created = attributes[:'pulp_created']
|
87
80
|
end
|
88
81
|
|
89
82
|
if attributes.key?(:'artifact')
|
90
83
|
self.artifact = attributes[:'artifact']
|
91
84
|
end
|
92
85
|
|
93
|
-
if attributes.key?(:'relative_path')
|
94
|
-
self.relative_path = attributes[:'relative_path']
|
95
|
-
end
|
96
|
-
|
97
86
|
if attributes.key?(:'name')
|
98
87
|
self.name = attributes[:'name']
|
99
88
|
end
|
@@ -107,22 +96,10 @@ module PulpDockerClient
|
|
107
96
|
# @return Array for valid properties with the reasons
|
108
97
|
def list_invalid_properties
|
109
98
|
invalid_properties = Array.new
|
110
|
-
if !@_type.nil? && @_type.to_s.length < 1
|
111
|
-
invalid_properties.push('invalid value for "_type", the character length must be great than or equal to 1.')
|
112
|
-
end
|
113
|
-
|
114
99
|
if @artifact.nil?
|
115
100
|
invalid_properties.push('invalid value for "artifact", artifact cannot be nil.')
|
116
101
|
end
|
117
102
|
|
118
|
-
if @relative_path.nil?
|
119
|
-
invalid_properties.push('invalid value for "relative_path", relative_path cannot be nil.')
|
120
|
-
end
|
121
|
-
|
122
|
-
if @relative_path.to_s.length < 1
|
123
|
-
invalid_properties.push('invalid value for "relative_path", the character length must be great than or equal to 1.')
|
124
|
-
end
|
125
|
-
|
126
103
|
if @name.nil?
|
127
104
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
128
105
|
end
|
@@ -141,40 +118,13 @@ module PulpDockerClient
|
|
141
118
|
# Check to see if the all the properties in the model are valid
|
142
119
|
# @return true if the model is valid
|
143
120
|
def valid?
|
144
|
-
return false if !@_type.nil? && @_type.to_s.length < 1
|
145
121
|
return false if @artifact.nil?
|
146
|
-
return false if @relative_path.nil?
|
147
|
-
return false if @relative_path.to_s.length < 1
|
148
122
|
return false if @name.nil?
|
149
123
|
return false if @name.to_s.length < 1
|
150
124
|
return false if @tagged_manifest.nil?
|
151
125
|
true
|
152
126
|
end
|
153
127
|
|
154
|
-
# Custom attribute writer method with validation
|
155
|
-
# @param [Object] _type Value to be assigned
|
156
|
-
def _type=(_type)
|
157
|
-
if !_type.nil? && _type.to_s.length < 1
|
158
|
-
fail ArgumentError, 'invalid value for "_type", the character length must be great than or equal to 1.'
|
159
|
-
end
|
160
|
-
|
161
|
-
@_type = _type
|
162
|
-
end
|
163
|
-
|
164
|
-
# Custom attribute writer method with validation
|
165
|
-
# @param [Object] relative_path Value to be assigned
|
166
|
-
def relative_path=(relative_path)
|
167
|
-
if relative_path.nil?
|
168
|
-
fail ArgumentError, 'relative_path cannot be nil'
|
169
|
-
end
|
170
|
-
|
171
|
-
if relative_path.to_s.length < 1
|
172
|
-
fail ArgumentError, 'invalid value for "relative_path", the character length must be great than or equal to 1.'
|
173
|
-
end
|
174
|
-
|
175
|
-
@relative_path = relative_path
|
176
|
-
end
|
177
|
-
|
178
128
|
# Custom attribute writer method with validation
|
179
129
|
# @param [Object] name Value to be assigned
|
180
130
|
def name=(name)
|
@@ -194,11 +144,9 @@ module PulpDockerClient
|
|
194
144
|
def ==(o)
|
195
145
|
return true if self.equal?(o)
|
196
146
|
self.class == o.class &&
|
197
|
-
|
198
|
-
|
199
|
-
_type == o._type &&
|
147
|
+
pulp_href == o.pulp_href &&
|
148
|
+
pulp_created == o.pulp_created &&
|
200
149
|
artifact == o.artifact &&
|
201
|
-
relative_path == o.relative_path &&
|
202
150
|
name == o.name &&
|
203
151
|
tagged_manifest == o.tagged_manifest
|
204
152
|
end
|
@@ -212,7 +160,7 @@ module PulpDockerClient
|
|
212
160
|
# Calculates hash code according to all attributes.
|
213
161
|
# @return [Integer] Hash code
|
214
162
|
def hash
|
215
|
-
[
|
163
|
+
[pulp_href, pulp_created, artifact, name, tagged_manifest].hash
|
216
164
|
end
|
217
165
|
|
218
166
|
# Builds the object from hash
|
@@ -301,7 +249,11 @@ module PulpDockerClient
|
|
301
249
|
hash = {}
|
302
250
|
self.class.attribute_map.each_pair do |attr, param|
|
303
251
|
value = self.send(attr)
|
304
|
-
|
252
|
+
if value.nil?
|
253
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
254
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
255
|
+
end
|
256
|
+
|
305
257
|
hash[param] = _to_hash(value)
|
306
258
|
end
|
307
259
|
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
|
9
|
+
OpenAPI Generator version: 4.2.1-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -38,10 +38,18 @@ module PulpDockerClient
|
|
38
38
|
:'count' => :'Integer',
|
39
39
|
:'_next' => :'String',
|
40
40
|
:'previous' => :'String',
|
41
|
-
:'results' => :'Array<
|
41
|
+
:'results' => :'Array<DockerBlob>'
|
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 PulpDockerClient
|
|
208
216
|
hash = {}
|
209
217
|
self.class.attribute_map.each_pair do |attr, param|
|
210
218
|
value = self.send(attr)
|
211
|
-
|
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
|
@@ -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
|
9
|
+
OpenAPI Generator version: 4.2.1-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -38,10 +38,18 @@ module PulpDockerClient
|
|
38
38
|
:'count' => :'Integer',
|
39
39
|
:'_next' => :'String',
|
40
40
|
:'previous' => :'String',
|
41
|
-
:'results' => :'Array<
|
41
|
+
:'results' => :'Array<DockerManifest>'
|
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 PulpDockerClient
|
|
208
216
|
hash = {}
|
209
217
|
self.class.attribute_map.each_pair do |attr, param|
|
210
218
|
value = self.send(attr)
|
211
|
-
|
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
|
@@ -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
|
9
|
+
OpenAPI Generator version: 4.2.1-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -38,10 +38,18 @@ module PulpDockerClient
|
|
38
38
|
:'count' => :'Integer',
|
39
39
|
:'_next' => :'String',
|
40
40
|
:'previous' => :'String',
|
41
|
-
:'results' => :'Array<
|
41
|
+
:'results' => :'Array<DockerTag>'
|
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 PulpDockerClient
|
|
208
216
|
hash = {}
|
209
217
|
self.class.attribute_map.each_pair do |attr, param|
|
210
218
|
value = self.send(attr)
|
211
|
-
|
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
|
@@ -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
|
9
|
+
OpenAPI Generator version: 4.2.1-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -38,10 +38,18 @@ module PulpDockerClient
|
|
38
38
|
:'count' => :'Integer',
|
39
39
|
:'_next' => :'String',
|
40
40
|
:'previous' => :'String',
|
41
|
-
:'results' => :'Array<
|
41
|
+
:'results' => :'Array<DockerDockerDistribution>'
|
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 PulpDockerClient
|
|
208
216
|
hash = {}
|
209
217
|
self.class.attribute_map.each_pair do |attr, param|
|
210
218
|
value = self.send(attr)
|
211
|
-
|
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
|
@@ -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
|
9
|
+
OpenAPI Generator version: 4.2.1-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -38,10 +38,18 @@ module PulpDockerClient
|
|
38
38
|
:'count' => :'Integer',
|
39
39
|
:'_next' => :'String',
|
40
40
|
:'previous' => :'String',
|
41
|
-
:'results' => :'Array<
|
41
|
+
:'results' => :'Array<DockerDockerRemote>'
|
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 PulpDockerClient
|
|
208
216
|
hash = {}
|
209
217
|
self.class.attribute_map.each_pair do |attr, param|
|
210
218
|
value = self.send(attr)
|
211
|
-
|
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
|
@@ -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
|
9
|
+
OpenAPI Generator version: 4.2.1-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -73,6 +73,12 @@ module PulpDockerClient
|
|
73
73
|
}
|
74
74
|
end
|
75
75
|
|
76
|
+
# List of attributes with nullable: true
|
77
|
+
def self.openapi_nullable
|
78
|
+
Set.new([
|
79
|
+
])
|
80
|
+
end
|
81
|
+
|
76
82
|
# Initializes the object
|
77
83
|
# @param [Hash] attributes Model attributes in the form of hash
|
78
84
|
def initialize(attributes = {})
|
@@ -241,7 +247,11 @@ module PulpDockerClient
|
|
241
247
|
hash = {}
|
242
248
|
self.class.attribute_map.each_pair do |attr, param|
|
243
249
|
value = self.send(attr)
|
244
|
-
|
250
|
+
if value.nil?
|
251
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
252
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
253
|
+
end
|
254
|
+
|
245
255
|
hash[param] = _to_hash(value)
|
246
256
|
end
|
247
257
|
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
|
9
|
+
OpenAPI Generator version: 4.2.1-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -36,6 +36,12 @@ module PulpDockerClient
|
|
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 = {})
|
@@ -187,7 +193,11 @@ module PulpDockerClient
|
|
187
193
|
hash = {}
|
188
194
|
self.class.attribute_map.each_pair do |attr, param|
|
189
195
|
value = self.send(attr)
|
190
|
-
|
196
|
+
if value.nil?
|
197
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
198
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
199
|
+
end
|
200
|
+
|
191
201
|
hash[param] = _to_hash(value)
|
192
202
|
end
|
193
203
|
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
|
9
|
+
OpenAPI Generator version: 4.2.1-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -36,6 +36,12 @@ module PulpDockerClient
|
|
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 = {})
|
@@ -187,7 +193,11 @@ module PulpDockerClient
|
|
187
193
|
hash = {}
|
188
194
|
self.class.attribute_map.each_pair do |attr, param|
|
189
195
|
value = self.send(attr)
|
190
|
-
|
196
|
+
if value.nil?
|
197
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
198
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
199
|
+
end
|
200
|
+
|
191
201
|
hash[param] = _to_hash(value)
|
192
202
|
end
|
193
203
|
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
|
9
|
+
OpenAPI Generator version: 4.2.1-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -46,6 +46,12 @@ module PulpDockerClient
|
|
46
46
|
}
|
47
47
|
end
|
48
48
|
|
49
|
+
# List of attributes with nullable: true
|
50
|
+
def self.openapi_nullable
|
51
|
+
Set.new([
|
52
|
+
])
|
53
|
+
end
|
54
|
+
|
49
55
|
# Initializes the object
|
50
56
|
# @param [Hash] attributes Model attributes in the form of hash
|
51
57
|
def initialize(attributes = {})
|
@@ -207,7 +213,11 @@ module PulpDockerClient
|
|
207
213
|
hash = {}
|
208
214
|
self.class.attribute_map.each_pair do |attr, param|
|
209
215
|
value = self.send(attr)
|
210
|
-
|
216
|
+
if value.nil?
|
217
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
218
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
219
|
+
end
|
220
|
+
|
211
221
|
hash[param] = _to_hash(value)
|
212
222
|
end
|
213
223
|
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
|
9
|
+
OpenAPI Generator version: 4.2.1-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -41,6 +41,12 @@ module PulpDockerClient
|
|
41
41
|
}
|
42
42
|
end
|
43
43
|
|
44
|
+
# List of attributes with nullable: true
|
45
|
+
def self.openapi_nullable
|
46
|
+
Set.new([
|
47
|
+
])
|
48
|
+
end
|
49
|
+
|
44
50
|
# Initializes the object
|
45
51
|
# @param [Hash] attributes Model attributes in the form of hash
|
46
52
|
def initialize(attributes = {})
|
@@ -243,7 +249,11 @@ module PulpDockerClient
|
|
243
249
|
hash = {}
|
244
250
|
self.class.attribute_map.each_pair do |attr, param|
|
245
251
|
value = self.send(attr)
|
246
|
-
|
252
|
+
if value.nil?
|
253
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
254
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
255
|
+
end
|
256
|
+
|
247
257
|
hash[param] = _to_hash(value)
|
248
258
|
end
|
249
259
|
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
|
9
|
+
OpenAPI Generator version: 4.2.1-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -36,6 +36,12 @@ module PulpDockerClient
|
|
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 = {})
|
@@ -209,7 +215,11 @@ module PulpDockerClient
|
|
209
215
|
hash = {}
|
210
216
|
self.class.attribute_map.each_pair do |attr, param|
|
211
217
|
value = self.send(attr)
|
212
|
-
|
218
|
+
if value.nil?
|
219
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
220
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
221
|
+
end
|
222
|
+
|
213
223
|
hash[param] = _to_hash(value)
|
214
224
|
end
|
215
225
|
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
|
9
|
+
OpenAPI Generator version: 4.2.1-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
module PulpDockerClient
|
14
|
-
VERSION = '4.0.
|
14
|
+
VERSION = '4.0.0b8.dev01573482113'
|
15
15
|
end
|
data/lib/pulp_docker_client.rb
CHANGED
@@ -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
|
9
|
+
OpenAPI Generator version: 4.2.1-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -18,19 +18,19 @@ require 'pulp_docker_client/configuration'
|
|
18
18
|
|
19
19
|
# Models
|
20
20
|
require 'pulp_docker_client/models/async_operation_response'
|
21
|
-
require 'pulp_docker_client/models/
|
22
|
-
require 'pulp_docker_client/models/
|
23
|
-
require 'pulp_docker_client/models/
|
21
|
+
require 'pulp_docker_client/models/docker_blob'
|
22
|
+
require 'pulp_docker_client/models/docker_docker_distribution'
|
23
|
+
require 'pulp_docker_client/models/docker_docker_remote'
|
24
|
+
require 'pulp_docker_client/models/docker_manifest'
|
25
|
+
require 'pulp_docker_client/models/docker_tag'
|
24
26
|
require 'pulp_docker_client/models/inline_response200'
|
25
27
|
require 'pulp_docker_client/models/inline_response2001'
|
26
28
|
require 'pulp_docker_client/models/inline_response2002'
|
27
29
|
require 'pulp_docker_client/models/inline_response2003'
|
28
30
|
require 'pulp_docker_client/models/inline_response2004'
|
29
|
-
require 'pulp_docker_client/models/manifest'
|
30
31
|
require 'pulp_docker_client/models/manifest_copy'
|
31
32
|
require 'pulp_docker_client/models/recursive_manage'
|
32
33
|
require 'pulp_docker_client/models/repository_sync_url'
|
33
|
-
require 'pulp_docker_client/models/tag'
|
34
34
|
require 'pulp_docker_client/models/tag_copy'
|
35
35
|
require 'pulp_docker_client/models/tag_image'
|
36
36
|
require 'pulp_docker_client/models/un_tag_image'
|