pulp_docker_client 4.0.0b6 → 4.0.0b7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (81) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +10 -10
  3. data/docs/Blob.md +4 -4
  4. data/docs/ContentBlobsApi.md +9 -3
  5. data/docs/ContentManifestsApi.md +9 -3
  6. data/docs/ContentTagsApi.md +9 -3
  7. data/docs/DistributionsDockerApi.md +11 -5
  8. data/docs/DockerCopyApi.md +2 -2
  9. data/docs/DockerDistribution.md +9 -9
  10. data/docs/DockerRecursiveAddApi.md +1 -1
  11. data/docs/DockerRecursiveRemoveApi.md +1 -1
  12. data/docs/DockerRemote.md +1 -1
  13. data/docs/DockerTagApi.md +1 -1
  14. data/docs/DockerUntagApi.md +1 -1
  15. data/docs/Manifest.md +4 -4
  16. data/docs/RemotesDockerApi.md +13 -7
  17. data/docs/Tag.md +4 -4
  18. data/lib/pulp_docker_client/api/content_blobs_api.rb +7 -1
  19. data/lib/pulp_docker_client/api/content_manifests_api.rb +7 -1
  20. data/lib/pulp_docker_client/api/content_tags_api.rb +7 -1
  21. data/lib/pulp_docker_client/api/distributions_docker_api.rb +11 -5
  22. data/lib/pulp_docker_client/api/docker_copy_api.rb +3 -3
  23. data/lib/pulp_docker_client/api/docker_recursive_add_api.rb +2 -2
  24. data/lib/pulp_docker_client/api/docker_recursive_remove_api.rb +2 -2
  25. data/lib/pulp_docker_client/api/docker_tag_api.rb +2 -2
  26. data/lib/pulp_docker_client/api/docker_untag_api.rb +2 -2
  27. data/lib/pulp_docker_client/api/remotes_docker_api.rb +15 -9
  28. data/lib/pulp_docker_client/api_client.rb +1 -1
  29. data/lib/pulp_docker_client/api_error.rb +1 -1
  30. data/lib/pulp_docker_client/configuration.rb +1 -1
  31. data/lib/pulp_docker_client/models/async_operation_response.rb +1 -1
  32. data/lib/pulp_docker_client/models/blob.rb +30 -30
  33. data/lib/pulp_docker_client/models/docker_distribution.rb +69 -69
  34. data/lib/pulp_docker_client/models/docker_remote.rb +2 -2
  35. data/lib/pulp_docker_client/models/inline_response200.rb +1 -1
  36. data/lib/pulp_docker_client/models/inline_response2001.rb +1 -1
  37. data/lib/pulp_docker_client/models/inline_response2002.rb +1 -1
  38. data/lib/pulp_docker_client/models/inline_response2003.rb +1 -1
  39. data/lib/pulp_docker_client/models/inline_response2004.rb +1 -1
  40. data/lib/pulp_docker_client/models/manifest.rb +30 -30
  41. data/lib/pulp_docker_client/models/manifest_copy.rb +1 -1
  42. data/lib/pulp_docker_client/models/recursive_manage.rb +1 -1
  43. data/lib/pulp_docker_client/models/repository_sync_url.rb +1 -1
  44. data/lib/pulp_docker_client/models/tag.rb +30 -30
  45. data/lib/pulp_docker_client/models/tag_copy.rb +1 -1
  46. data/lib/pulp_docker_client/models/tag_image.rb +1 -1
  47. data/lib/pulp_docker_client/models/un_tag_image.rb +1 -1
  48. data/lib/pulp_docker_client/version.rb +2 -2
  49. data/lib/pulp_docker_client.rb +1 -1
  50. data/pulp_docker_client.gemspec +1 -1
  51. data/spec/api/content_blobs_api_spec.rb +3 -1
  52. data/spec/api/content_manifests_api_spec.rb +3 -1
  53. data/spec/api/content_tags_api_spec.rb +3 -1
  54. data/spec/api/distributions_docker_api_spec.rb +5 -3
  55. data/spec/api/docker_copy_api_spec.rb +1 -1
  56. data/spec/api/docker_recursive_add_api_spec.rb +1 -1
  57. data/spec/api/docker_recursive_remove_api_spec.rb +1 -1
  58. data/spec/api/docker_tag_api_spec.rb +1 -1
  59. data/spec/api/docker_untag_api_spec.rb +1 -1
  60. data/spec/api/remotes_docker_api_spec.rb +7 -5
  61. data/spec/api_client_spec.rb +1 -1
  62. data/spec/configuration_spec.rb +1 -1
  63. data/spec/models/async_operation_response_spec.rb +1 -1
  64. data/spec/models/blob_spec.rb +3 -3
  65. data/spec/models/docker_distribution_spec.rb +8 -8
  66. data/spec/models/docker_remote_spec.rb +1 -1
  67. data/spec/models/inline_response2001_spec.rb +1 -1
  68. data/spec/models/inline_response2002_spec.rb +1 -1
  69. data/spec/models/inline_response2003_spec.rb +1 -1
  70. data/spec/models/inline_response2004_spec.rb +1 -1
  71. data/spec/models/inline_response200_spec.rb +1 -1
  72. data/spec/models/manifest_copy_spec.rb +1 -1
  73. data/spec/models/manifest_spec.rb +3 -3
  74. data/spec/models/recursive_manage_spec.rb +1 -1
  75. data/spec/models/repository_sync_url_spec.rb +1 -1
  76. data/spec/models/tag_copy_spec.rb +1 -1
  77. data/spec/models/tag_image_spec.rb +1 -1
  78. data/spec/models/tag_spec.rb +3 -3
  79. data/spec/models/un_tag_image_spec.rb +1 -1
  80. data/spec/spec_helper.rb +1 -1
  81. metadata +2 -2
@@ -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.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.1.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -14,25 +14,25 @@ require 'date'
14
14
 
15
15
  module PulpDockerClient
16
16
  class DockerDistribution
17
- # A unique name. Ex, `rawhide` and `stable`.
18
- attr_accessor :name
19
-
20
17
  # An optional content-guard.
21
18
  attr_accessor :content_guard
22
19
 
23
- # Timestamp of creation.
24
- attr_accessor :_created
20
+ # The latest RepositoryVersion for this Repository will be served.
21
+ attr_accessor :repository
25
22
 
26
- # RepositoryVersion to be served
27
- attr_accessor :repository_version
23
+ attr_accessor :_href
28
24
 
29
25
  # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
30
26
  attr_accessor :base_path
31
27
 
32
- # The latest RepositoryVersion for this Repository will be served.
33
- attr_accessor :repository
28
+ # Timestamp of creation.
29
+ attr_accessor :_created
34
30
 
35
- attr_accessor :_href
31
+ # A unique name. Ex, `rawhide` and `stable`.
32
+ attr_accessor :name
33
+
34
+ # RepositoryVersion to be served
35
+ attr_accessor :repository_version
36
36
 
37
37
  # The Registry hostame:port/name/ to use with docker pull command defined by this distribution.
38
38
  attr_accessor :registry_path
@@ -40,13 +40,13 @@ module PulpDockerClient
40
40
  # Attribute mapping from ruby-style variable name to JSON key.
41
41
  def self.attribute_map
42
42
  {
43
- :'name' => :'name',
44
43
  :'content_guard' => :'content_guard',
45
- :'_created' => :'_created',
46
- :'repository_version' => :'repository_version',
47
- :'base_path' => :'base_path',
48
44
  :'repository' => :'repository',
49
45
  :'_href' => :'_href',
46
+ :'base_path' => :'base_path',
47
+ :'_created' => :'_created',
48
+ :'name' => :'name',
49
+ :'repository_version' => :'repository_version',
50
50
  :'registry_path' => :'registry_path'
51
51
  }
52
52
  end
@@ -54,13 +54,13 @@ module PulpDockerClient
54
54
  # Attribute type mapping.
55
55
  def self.openapi_types
56
56
  {
57
- :'name' => :'String',
58
57
  :'content_guard' => :'String',
59
- :'_created' => :'DateTime',
60
- :'repository_version' => :'String',
61
- :'base_path' => :'String',
62
58
  :'repository' => :'String',
63
59
  :'_href' => :'String',
60
+ :'base_path' => :'String',
61
+ :'_created' => :'DateTime',
62
+ :'name' => :'String',
63
+ :'repository_version' => :'String',
64
64
  :'registry_path' => :'String'
65
65
  }
66
66
  end
@@ -80,32 +80,32 @@ module PulpDockerClient
80
80
  h[k.to_sym] = v
81
81
  }
82
82
 
83
- if attributes.key?(:'name')
84
- self.name = attributes[:'name']
85
- end
86
-
87
83
  if attributes.key?(:'content_guard')
88
84
  self.content_guard = attributes[:'content_guard']
89
85
  end
90
86
 
91
- if attributes.key?(:'_created')
92
- self._created = attributes[:'_created']
87
+ if attributes.key?(:'repository')
88
+ self.repository = attributes[:'repository']
93
89
  end
94
90
 
95
- if attributes.key?(:'repository_version')
96
- self.repository_version = attributes[:'repository_version']
91
+ if attributes.key?(:'_href')
92
+ self._href = attributes[:'_href']
97
93
  end
98
94
 
99
95
  if attributes.key?(:'base_path')
100
96
  self.base_path = attributes[:'base_path']
101
97
  end
102
98
 
103
- if attributes.key?(:'repository')
104
- self.repository = attributes[:'repository']
99
+ if attributes.key?(:'_created')
100
+ self._created = attributes[:'_created']
105
101
  end
106
102
 
107
- if attributes.key?(:'_href')
108
- self._href = attributes[:'_href']
103
+ if attributes.key?(:'name')
104
+ self.name = attributes[:'name']
105
+ end
106
+
107
+ if attributes.key?(:'repository_version')
108
+ self.repository_version = attributes[:'repository_version']
109
109
  end
110
110
 
111
111
  if attributes.key?(:'registry_path')
@@ -117,18 +117,6 @@ module PulpDockerClient
117
117
  # @return Array for valid properties with the reasons
118
118
  def list_invalid_properties
119
119
  invalid_properties = Array.new
120
- if @name.nil?
121
- invalid_properties.push('invalid value for "name", name cannot be nil.')
122
- end
123
-
124
- if @name.to_s.length > 255
125
- invalid_properties.push('invalid value for "name", the character length must be smaller than or equal to 255.')
126
- end
127
-
128
- if @name.to_s.length < 1
129
- invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
130
- end
131
-
132
120
  if @base_path.nil?
133
121
  invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
134
122
  end
@@ -141,6 +129,18 @@ module PulpDockerClient
141
129
  invalid_properties.push('invalid value for "base_path", the character length must be great than or equal to 1.')
142
130
  end
143
131
 
132
+ if @name.nil?
133
+ invalid_properties.push('invalid value for "name", name cannot be nil.')
134
+ end
135
+
136
+ if @name.to_s.length > 255
137
+ invalid_properties.push('invalid value for "name", the character length must be smaller than or equal to 255.')
138
+ end
139
+
140
+ if @name.to_s.length < 1
141
+ invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
142
+ end
143
+
144
144
  if !@registry_path.nil? && @registry_path.to_s.length < 1
145
145
  invalid_properties.push('invalid value for "registry_path", the character length must be great than or equal to 1.')
146
146
  end
@@ -151,34 +151,16 @@ module PulpDockerClient
151
151
  # Check to see if the all the properties in the model are valid
152
152
  # @return true if the model is valid
153
153
  def valid?
154
- return false if @name.nil?
155
- return false if @name.to_s.length > 255
156
- return false if @name.to_s.length < 1
157
154
  return false if @base_path.nil?
158
155
  return false if @base_path.to_s.length > 255
159
156
  return false if @base_path.to_s.length < 1
157
+ return false if @name.nil?
158
+ return false if @name.to_s.length > 255
159
+ return false if @name.to_s.length < 1
160
160
  return false if !@registry_path.nil? && @registry_path.to_s.length < 1
161
161
  true
162
162
  end
163
163
 
164
- # Custom attribute writer method with validation
165
- # @param [Object] name Value to be assigned
166
- def name=(name)
167
- if name.nil?
168
- fail ArgumentError, 'name cannot be nil'
169
- end
170
-
171
- if name.to_s.length > 255
172
- fail ArgumentError, 'invalid value for "name", the character length must be smaller than or equal to 255.'
173
- end
174
-
175
- if name.to_s.length < 1
176
- fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
177
- end
178
-
179
- @name = name
180
- end
181
-
182
164
  # Custom attribute writer method with validation
183
165
  # @param [Object] base_path Value to be assigned
184
166
  def base_path=(base_path)
@@ -197,6 +179,24 @@ module PulpDockerClient
197
179
  @base_path = base_path
198
180
  end
199
181
 
182
+ # Custom attribute writer method with validation
183
+ # @param [Object] name Value to be assigned
184
+ def name=(name)
185
+ if name.nil?
186
+ fail ArgumentError, 'name cannot be nil'
187
+ end
188
+
189
+ if name.to_s.length > 255
190
+ fail ArgumentError, 'invalid value for "name", the character length must be smaller than or equal to 255.'
191
+ end
192
+
193
+ if name.to_s.length < 1
194
+ fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
195
+ end
196
+
197
+ @name = name
198
+ end
199
+
200
200
  # Custom attribute writer method with validation
201
201
  # @param [Object] registry_path Value to be assigned
202
202
  def registry_path=(registry_path)
@@ -212,13 +212,13 @@ module PulpDockerClient
212
212
  def ==(o)
213
213
  return true if self.equal?(o)
214
214
  self.class == o.class &&
215
- name == o.name &&
216
215
  content_guard == o.content_guard &&
217
- _created == o._created &&
218
- repository_version == o.repository_version &&
219
- base_path == o.base_path &&
220
216
  repository == o.repository &&
221
217
  _href == o._href &&
218
+ base_path == o.base_path &&
219
+ _created == o._created &&
220
+ name == o.name &&
221
+ repository_version == o.repository_version &&
222
222
  registry_path == o.registry_path
223
223
  end
224
224
 
@@ -231,7 +231,7 @@ module PulpDockerClient
231
231
  # Calculates hash code according to all attributes.
232
232
  # @return [Integer] Hash code
233
233
  def hash
234
- [name, content_guard, _created, repository_version, base_path, repository, _href, registry_path].hash
234
+ [content_guard, repository, _href, base_path, _created, name, repository_version, registry_path].hash
235
235
  end
236
236
 
237
237
  # Builds the object from 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.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.1.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -54,7 +54,7 @@ module PulpDockerClient
54
54
  # Total number of simultaneous connections.
55
55
  attr_accessor :download_concurrency
56
56
 
57
- # The policy to use when downloading content.
57
+ # immediate - All manifests and blobs are downloaded and saved during a sync. on_demand - Only tags and manifests are downloaded. Blobs are not downloaded until they are requested for the first time by a client. streamed - Blobs are streamed to the client with every request and never saved.
58
58
  attr_accessor :policy
59
59
 
60
60
  # Name of the upstream repository
@@ -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.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.1.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.1.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.1.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.1.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.1.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.1.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -22,10 +22,10 @@ module PulpDockerClient
22
22
  attr_accessor :_type
23
23
 
24
24
  # Artifact file representing the physical content
25
- attr_accessor :_artifact
25
+ attr_accessor :artifact
26
26
 
27
27
  # Path where the artifact is located relative to distributions base_path
28
- attr_accessor :_relative_path
28
+ attr_accessor :relative_path
29
29
 
30
30
  # sha256 of the Manifest file
31
31
  attr_accessor :digest
@@ -51,8 +51,8 @@ module PulpDockerClient
51
51
  :'_href' => :'_href',
52
52
  :'_created' => :'_created',
53
53
  :'_type' => :'_type',
54
- :'_artifact' => :'_artifact',
55
- :'_relative_path' => :'_relative_path',
54
+ :'artifact' => :'artifact',
55
+ :'relative_path' => :'relative_path',
56
56
  :'digest' => :'digest',
57
57
  :'schema_version' => :'schema_version',
58
58
  :'media_type' => :'media_type',
@@ -68,8 +68,8 @@ module PulpDockerClient
68
68
  :'_href' => :'String',
69
69
  :'_created' => :'DateTime',
70
70
  :'_type' => :'String',
71
- :'_artifact' => :'String',
72
- :'_relative_path' => :'String',
71
+ :'artifact' => :'String',
72
+ :'relative_path' => :'String',
73
73
  :'digest' => :'String',
74
74
  :'schema_version' => :'Integer',
75
75
  :'media_type' => :'String',
@@ -106,12 +106,12 @@ module PulpDockerClient
106
106
  self._type = attributes[:'_type']
107
107
  end
108
108
 
109
- if attributes.key?(:'_artifact')
110
- self._artifact = attributes[:'_artifact']
109
+ if attributes.key?(:'artifact')
110
+ self.artifact = attributes[:'artifact']
111
111
  end
112
112
 
113
- if attributes.key?(:'_relative_path')
114
- self._relative_path = attributes[:'_relative_path']
113
+ if attributes.key?(:'relative_path')
114
+ self.relative_path = attributes[:'relative_path']
115
115
  end
116
116
 
117
117
  if attributes.key?(:'digest')
@@ -151,16 +151,16 @@ module PulpDockerClient
151
151
  invalid_properties.push('invalid value for "_type", the character length must be great than or equal to 1.')
152
152
  end
153
153
 
154
- if @_artifact.nil?
155
- invalid_properties.push('invalid value for "_artifact", _artifact cannot be nil.')
154
+ if @artifact.nil?
155
+ invalid_properties.push('invalid value for "artifact", artifact cannot be nil.')
156
156
  end
157
157
 
158
- if @_relative_path.nil?
159
- invalid_properties.push('invalid value for "_relative_path", _relative_path cannot be nil.')
158
+ if @relative_path.nil?
159
+ invalid_properties.push('invalid value for "relative_path", relative_path cannot be nil.')
160
160
  end
161
161
 
162
- if @_relative_path.to_s.length < 1
163
- invalid_properties.push('invalid value for "_relative_path", the character length must be great than or equal to 1.')
162
+ if @relative_path.to_s.length < 1
163
+ invalid_properties.push('invalid value for "relative_path", the character length must be great than or equal to 1.')
164
164
  end
165
165
 
166
166
  if @digest.nil?
@@ -202,9 +202,9 @@ module PulpDockerClient
202
202
  # @return true if the model is valid
203
203
  def valid?
204
204
  return false if !@_type.nil? && @_type.to_s.length < 1
205
- return false if @_artifact.nil?
206
- return false if @_relative_path.nil?
207
- return false if @_relative_path.to_s.length < 1
205
+ return false if @artifact.nil?
206
+ return false if @relative_path.nil?
207
+ return false if @relative_path.to_s.length < 1
208
208
  return false if @digest.nil?
209
209
  return false if @digest.to_s.length < 1
210
210
  return false if @schema_version.nil?
@@ -227,17 +227,17 @@ module PulpDockerClient
227
227
  end
228
228
 
229
229
  # Custom attribute writer method with validation
230
- # @param [Object] _relative_path Value to be assigned
231
- def _relative_path=(_relative_path)
232
- if _relative_path.nil?
233
- fail ArgumentError, '_relative_path cannot be nil'
230
+ # @param [Object] relative_path Value to be assigned
231
+ def relative_path=(relative_path)
232
+ if relative_path.nil?
233
+ fail ArgumentError, 'relative_path cannot be nil'
234
234
  end
235
235
 
236
- if _relative_path.to_s.length < 1
237
- fail ArgumentError, 'invalid value for "_relative_path", the character length must be great than or equal to 1.'
236
+ if relative_path.to_s.length < 1
237
+ fail ArgumentError, 'invalid value for "relative_path", the character length must be great than or equal to 1.'
238
238
  end
239
239
 
240
- @_relative_path = _relative_path
240
+ @relative_path = relative_path
241
241
  end
242
242
 
243
243
  # Custom attribute writer method with validation
@@ -276,8 +276,8 @@ module PulpDockerClient
276
276
  _href == o._href &&
277
277
  _created == o._created &&
278
278
  _type == o._type &&
279
- _artifact == o._artifact &&
280
- _relative_path == o._relative_path &&
279
+ artifact == o.artifact &&
280
+ relative_path == o.relative_path &&
281
281
  digest == o.digest &&
282
282
  schema_version == o.schema_version &&
283
283
  media_type == o.media_type &&
@@ -295,7 +295,7 @@ module PulpDockerClient
295
295
  # Calculates hash code according to all attributes.
296
296
  # @return [Integer] Hash code
297
297
  def hash
298
- [_href, _created, _type, _artifact, _relative_path, digest, schema_version, media_type, listed_manifests, config_blob, blobs].hash
298
+ [_href, _created, _type, artifact, relative_path, digest, schema_version, media_type, listed_manifests, config_blob, blobs].hash
299
299
  end
300
300
 
301
301
  # Builds the object from 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.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.1.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.1.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.1.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.1.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -22,10 +22,10 @@ module PulpDockerClient
22
22
  attr_accessor :_type
23
23
 
24
24
  # Artifact file representing the physical content
25
- attr_accessor :_artifact
25
+ attr_accessor :artifact
26
26
 
27
27
  # Path where the artifact is located relative to distributions base_path
28
- attr_accessor :_relative_path
28
+ attr_accessor :relative_path
29
29
 
30
30
  # Tag name
31
31
  attr_accessor :name
@@ -39,8 +39,8 @@ module PulpDockerClient
39
39
  :'_href' => :'_href',
40
40
  :'_created' => :'_created',
41
41
  :'_type' => :'_type',
42
- :'_artifact' => :'_artifact',
43
- :'_relative_path' => :'_relative_path',
42
+ :'artifact' => :'artifact',
43
+ :'relative_path' => :'relative_path',
44
44
  :'name' => :'name',
45
45
  :'tagged_manifest' => :'tagged_manifest'
46
46
  }
@@ -52,8 +52,8 @@ module PulpDockerClient
52
52
  :'_href' => :'String',
53
53
  :'_created' => :'DateTime',
54
54
  :'_type' => :'String',
55
- :'_artifact' => :'String',
56
- :'_relative_path' => :'String',
55
+ :'artifact' => :'String',
56
+ :'relative_path' => :'String',
57
57
  :'name' => :'String',
58
58
  :'tagged_manifest' => :'String'
59
59
  }
@@ -86,12 +86,12 @@ module PulpDockerClient
86
86
  self._type = attributes[:'_type']
87
87
  end
88
88
 
89
- if attributes.key?(:'_artifact')
90
- self._artifact = attributes[:'_artifact']
89
+ if attributes.key?(:'artifact')
90
+ self.artifact = attributes[:'artifact']
91
91
  end
92
92
 
93
- if attributes.key?(:'_relative_path')
94
- self._relative_path = attributes[:'_relative_path']
93
+ if attributes.key?(:'relative_path')
94
+ self.relative_path = attributes[:'relative_path']
95
95
  end
96
96
 
97
97
  if attributes.key?(:'name')
@@ -111,16 +111,16 @@ module PulpDockerClient
111
111
  invalid_properties.push('invalid value for "_type", the character length must be great than or equal to 1.')
112
112
  end
113
113
 
114
- if @_artifact.nil?
115
- invalid_properties.push('invalid value for "_artifact", _artifact cannot be nil.')
114
+ if @artifact.nil?
115
+ invalid_properties.push('invalid value for "artifact", artifact cannot be nil.')
116
116
  end
117
117
 
118
- if @_relative_path.nil?
119
- invalid_properties.push('invalid value for "_relative_path", _relative_path cannot be nil.')
118
+ if @relative_path.nil?
119
+ invalid_properties.push('invalid value for "relative_path", relative_path cannot be nil.')
120
120
  end
121
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.')
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
124
  end
125
125
 
126
126
  if @name.nil?
@@ -142,9 +142,9 @@ module PulpDockerClient
142
142
  # @return true if the model is valid
143
143
  def valid?
144
144
  return false if !@_type.nil? && @_type.to_s.length < 1
145
- return false if @_artifact.nil?
146
- return false if @_relative_path.nil?
147
- return false if @_relative_path.to_s.length < 1
145
+ return false if @artifact.nil?
146
+ return false if @relative_path.nil?
147
+ return false if @relative_path.to_s.length < 1
148
148
  return false if @name.nil?
149
149
  return false if @name.to_s.length < 1
150
150
  return false if @tagged_manifest.nil?
@@ -162,17 +162,17 @@ module PulpDockerClient
162
162
  end
163
163
 
164
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'
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
169
  end
170
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.'
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
173
  end
174
174
 
175
- @_relative_path = _relative_path
175
+ @relative_path = relative_path
176
176
  end
177
177
 
178
178
  # Custom attribute writer method with validation
@@ -197,8 +197,8 @@ module PulpDockerClient
197
197
  _href == o._href &&
198
198
  _created == o._created &&
199
199
  _type == o._type &&
200
- _artifact == o._artifact &&
201
- _relative_path == o._relative_path &&
200
+ artifact == o.artifact &&
201
+ relative_path == o.relative_path &&
202
202
  name == o.name &&
203
203
  tagged_manifest == o.tagged_manifest
204
204
  end
@@ -212,7 +212,7 @@ module PulpDockerClient
212
212
  # Calculates hash code according to all attributes.
213
213
  # @return [Integer] Hash code
214
214
  def hash
215
- [_href, _created, _type, _artifact, _relative_path, name, tagged_manifest].hash
215
+ [_href, _created, _type, artifact, relative_path, name, tagged_manifest].hash
216
216
  end
217
217
 
218
218
  # Builds the object from 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.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.1.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.1.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.1.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.1.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
13
13
  module PulpDockerClient
14
- VERSION = '4.0.0b6'
14
+ VERSION = '4.0.0b7'
15
15
  end