pulp_container_client 2.29.0 → 2.29.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.
Files changed (51) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +8 -6
  3. data/docs/ContainerContainerDistribution.md +6 -6
  4. data/docs/ContainerContainerDistributionResponse.md +12 -12
  5. data/docs/ContainerContainerPullThroughDistribution.md +6 -6
  6. data/docs/ContainerContainerPullThroughDistributionResponse.md +12 -12
  7. data/docs/ContainerContainerPushRepository.md +7 -7
  8. data/docs/ContainerContainerPushRepositoryResponse.md +15 -15
  9. data/docs/ContainerRepositorySyncURL.md +1 -1
  10. data/docs/ContentBlobsApi.md +4 -0
  11. data/docs/ContentManifestsApi.md +4 -0
  12. data/docs/ContentSignaturesApi.md +4 -0
  13. data/docs/ContentTagsApi.md +4 -0
  14. data/docs/DistributionsPullThroughApi.md +10 -10
  15. data/docs/PatchedcontainerContainerDistribution.md +6 -6
  16. data/docs/PatchedcontainerContainerPullThroughDistribution.md +6 -6
  17. data/docs/PatchedcontainerContainerPushRepository.md +7 -7
  18. data/lib/pulp_container_client/api/content_blobs_api.rb +6 -0
  19. data/lib/pulp_container_client/api/content_manifests_api.rb +6 -0
  20. data/lib/pulp_container_client/api/content_signatures_api.rb +6 -0
  21. data/lib/pulp_container_client/api/content_tags_api.rb +6 -0
  22. data/lib/pulp_container_client/api/distributions_pull_through_api.rb +4 -8
  23. data/lib/pulp_container_client/models/container_container_distribution.rb +34 -34
  24. data/lib/pulp_container_client/models/container_container_distribution_response.rb +53 -53
  25. data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +34 -34
  26. data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +53 -53
  27. data/lib/pulp_container_client/models/container_container_push_repository.rb +59 -59
  28. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +71 -71
  29. data/lib/pulp_container_client/models/container_repository_sync_url.rb +1 -1
  30. data/lib/pulp_container_client/models/nested_role.rb +1 -1
  31. data/lib/pulp_container_client/models/nested_role_response.rb +1 -1
  32. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +30 -30
  33. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +30 -30
  34. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +52 -52
  35. data/lib/pulp_container_client/models/repository_version_response.rb +1 -1
  36. data/lib/pulp_container_client/version.rb +1 -1
  37. data/spec/api/content_blobs_api_spec.rb +2 -0
  38. data/spec/api/content_manifests_api_spec.rb +2 -0
  39. data/spec/api/content_signatures_api_spec.rb +2 -0
  40. data/spec/api/content_tags_api_spec.rb +2 -0
  41. data/spec/api/distributions_pull_through_api_spec.rb +2 -4
  42. data/spec/models/container_container_distribution_response_spec.rb +10 -10
  43. data/spec/models/container_container_distribution_spec.rb +6 -6
  44. data/spec/models/container_container_pull_through_distribution_response_spec.rb +10 -10
  45. data/spec/models/container_container_pull_through_distribution_spec.rb +6 -6
  46. data/spec/models/container_container_push_repository_response_spec.rb +10 -10
  47. data/spec/models/container_container_push_repository_spec.rb +6 -6
  48. data/spec/models/patchedcontainer_container_distribution_spec.rb +6 -6
  49. data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +6 -6
  50. data/spec/models/patchedcontainer_container_push_repository_spec.rb +6 -6
  51. metadata +59 -59
@@ -16,53 +16,53 @@ require 'time'
16
16
  module PulpContainerClient
17
17
  # Serializer for Container Push Repositories.
18
18
  class ContainerContainerPushRepositoryResponse
19
- # An optional description.
20
- attr_accessor :description
21
-
22
- attr_accessor :pulp_labels
23
-
24
- # Retain X versions of the repository. Default is null which retains all versions.
25
- attr_accessor :retain_repo_versions
19
+ attr_accessor :versions_href
26
20
 
27
21
  # A unique name for this repository.
28
22
  attr_accessor :name
29
23
 
30
- attr_accessor :latest_version_href
24
+ # A reference to an associated signing service.
25
+ attr_accessor :manifest_signing_service
31
26
 
32
27
  attr_accessor :pulp_href
33
28
 
34
- # The Pulp Resource Name (PRN).
35
- attr_accessor :prn
29
+ attr_accessor :latest_version_href
30
+
31
+ attr_accessor :pulp_labels
32
+
33
+ # An optional description.
34
+ attr_accessor :description
36
35
 
37
36
  # Timestamp of creation.
38
37
  attr_accessor :pulp_created
39
38
 
39
+ # The Pulp Resource Name (PRN).
40
+ attr_accessor :prn
41
+
40
42
  # Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
41
43
  attr_accessor :pulp_last_updated
42
44
 
45
+ # Retain X versions of the repository. Default is null which retains all versions.
46
+ attr_accessor :retain_repo_versions
47
+
43
48
  # Retain X checkpoint publications for the repository. Default is null which retains all checkpoints.
44
49
  attr_accessor :retain_checkpoints
45
50
 
46
- # A reference to an associated signing service.
47
- attr_accessor :manifest_signing_service
48
-
49
- attr_accessor :versions_href
50
-
51
51
  # Attribute mapping from ruby-style variable name to JSON key.
52
52
  def self.attribute_map
53
53
  {
54
- :'description' => :'description',
55
- :'pulp_labels' => :'pulp_labels',
56
- :'retain_repo_versions' => :'retain_repo_versions',
54
+ :'versions_href' => :'versions_href',
57
55
  :'name' => :'name',
58
- :'latest_version_href' => :'latest_version_href',
56
+ :'manifest_signing_service' => :'manifest_signing_service',
59
57
  :'pulp_href' => :'pulp_href',
60
- :'prn' => :'prn',
58
+ :'latest_version_href' => :'latest_version_href',
59
+ :'pulp_labels' => :'pulp_labels',
60
+ :'description' => :'description',
61
61
  :'pulp_created' => :'pulp_created',
62
+ :'prn' => :'prn',
62
63
  :'pulp_last_updated' => :'pulp_last_updated',
63
- :'retain_checkpoints' => :'retain_checkpoints',
64
- :'manifest_signing_service' => :'manifest_signing_service',
65
- :'versions_href' => :'versions_href'
64
+ :'retain_repo_versions' => :'retain_repo_versions',
65
+ :'retain_checkpoints' => :'retain_checkpoints'
66
66
  }
67
67
  end
68
68
 
@@ -74,28 +74,28 @@ module PulpContainerClient
74
74
  # Attribute type mapping.
75
75
  def self.openapi_types
76
76
  {
77
- :'description' => :'String',
78
- :'pulp_labels' => :'Hash<String, String>',
79
- :'retain_repo_versions' => :'Integer',
77
+ :'versions_href' => :'String',
80
78
  :'name' => :'String',
81
- :'latest_version_href' => :'String',
79
+ :'manifest_signing_service' => :'String',
82
80
  :'pulp_href' => :'String',
83
- :'prn' => :'String',
81
+ :'latest_version_href' => :'String',
82
+ :'pulp_labels' => :'Hash<String, String>',
83
+ :'description' => :'String',
84
84
  :'pulp_created' => :'Time',
85
+ :'prn' => :'String',
85
86
  :'pulp_last_updated' => :'Time',
86
- :'retain_checkpoints' => :'Integer',
87
- :'manifest_signing_service' => :'String',
88
- :'versions_href' => :'String'
87
+ :'retain_repo_versions' => :'Integer',
88
+ :'retain_checkpoints' => :'Integer'
89
89
  }
90
90
  end
91
91
 
92
92
  # List of attributes with nullable: true
93
93
  def self.openapi_nullable
94
94
  Set.new([
95
+ :'manifest_signing_service',
95
96
  :'description',
96
97
  :'retain_repo_versions',
97
- :'retain_checkpoints',
98
- :'manifest_signing_service',
98
+ :'retain_checkpoints'
99
99
  ])
100
100
  end
101
101
 
@@ -114,18 +114,8 @@ module PulpContainerClient
114
114
  h[k.to_sym] = v
115
115
  }
116
116
 
117
- if attributes.key?(:'description')
118
- self.description = attributes[:'description']
119
- end
120
-
121
- if attributes.key?(:'pulp_labels')
122
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
123
- self.pulp_labels = value
124
- end
125
- end
126
-
127
- if attributes.key?(:'retain_repo_versions')
128
- self.retain_repo_versions = attributes[:'retain_repo_versions']
117
+ if attributes.key?(:'versions_href')
118
+ self.versions_href = attributes[:'versions_href']
129
119
  end
130
120
 
131
121
  if attributes.key?(:'name')
@@ -134,36 +124,46 @@ module PulpContainerClient
134
124
  self.name = nil
135
125
  end
136
126
 
137
- if attributes.key?(:'latest_version_href')
138
- self.latest_version_href = attributes[:'latest_version_href']
127
+ if attributes.key?(:'manifest_signing_service')
128
+ self.manifest_signing_service = attributes[:'manifest_signing_service']
139
129
  end
140
130
 
141
131
  if attributes.key?(:'pulp_href')
142
132
  self.pulp_href = attributes[:'pulp_href']
143
133
  end
144
134
 
145
- if attributes.key?(:'prn')
146
- self.prn = attributes[:'prn']
135
+ if attributes.key?(:'latest_version_href')
136
+ self.latest_version_href = attributes[:'latest_version_href']
137
+ end
138
+
139
+ if attributes.key?(:'pulp_labels')
140
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
141
+ self.pulp_labels = value
142
+ end
143
+ end
144
+
145
+ if attributes.key?(:'description')
146
+ self.description = attributes[:'description']
147
147
  end
148
148
 
149
149
  if attributes.key?(:'pulp_created')
150
150
  self.pulp_created = attributes[:'pulp_created']
151
151
  end
152
152
 
153
- if attributes.key?(:'pulp_last_updated')
154
- self.pulp_last_updated = attributes[:'pulp_last_updated']
153
+ if attributes.key?(:'prn')
154
+ self.prn = attributes[:'prn']
155
155
  end
156
156
 
157
- if attributes.key?(:'retain_checkpoints')
158
- self.retain_checkpoints = attributes[:'retain_checkpoints']
157
+ if attributes.key?(:'pulp_last_updated')
158
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
159
159
  end
160
160
 
161
- if attributes.key?(:'manifest_signing_service')
162
- self.manifest_signing_service = attributes[:'manifest_signing_service']
161
+ if attributes.key?(:'retain_repo_versions')
162
+ self.retain_repo_versions = attributes[:'retain_repo_versions']
163
163
  end
164
164
 
165
- if attributes.key?(:'versions_href')
166
- self.versions_href = attributes[:'versions_href']
165
+ if attributes.key?(:'retain_checkpoints')
166
+ self.retain_checkpoints = attributes[:'retain_checkpoints']
167
167
  end
168
168
  end
169
169
 
@@ -172,14 +172,14 @@ module PulpContainerClient
172
172
  def list_invalid_properties
173
173
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
174
174
  invalid_properties = Array.new
175
- if !@retain_repo_versions.nil? && @retain_repo_versions < 1
176
- invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
177
- end
178
-
179
175
  if @name.nil?
180
176
  invalid_properties.push('invalid value for "name", name cannot be nil.')
181
177
  end
182
178
 
179
+ if !@retain_repo_versions.nil? && @retain_repo_versions < 1
180
+ invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
181
+ end
182
+
183
183
  if !@retain_checkpoints.nil? && @retain_checkpoints < 1
184
184
  invalid_properties.push('invalid value for "retain_checkpoints", must be greater than or equal to 1.')
185
185
  end
@@ -191,8 +191,8 @@ module PulpContainerClient
191
191
  # @return true if the model is valid
192
192
  def valid?
193
193
  warn '[DEPRECATED] the `valid?` method is obsolete'
194
- return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
195
194
  return false if @name.nil?
195
+ return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
196
196
  return false if !@retain_checkpoints.nil? && @retain_checkpoints < 1
197
197
  true
198
198
  end
@@ -222,18 +222,18 @@ module PulpContainerClient
222
222
  def ==(o)
223
223
  return true if self.equal?(o)
224
224
  self.class == o.class &&
225
- description == o.description &&
226
- pulp_labels == o.pulp_labels &&
227
- retain_repo_versions == o.retain_repo_versions &&
225
+ versions_href == o.versions_href &&
228
226
  name == o.name &&
229
- latest_version_href == o.latest_version_href &&
227
+ manifest_signing_service == o.manifest_signing_service &&
230
228
  pulp_href == o.pulp_href &&
231
- prn == o.prn &&
229
+ latest_version_href == o.latest_version_href &&
230
+ pulp_labels == o.pulp_labels &&
231
+ description == o.description &&
232
232
  pulp_created == o.pulp_created &&
233
+ prn == o.prn &&
233
234
  pulp_last_updated == o.pulp_last_updated &&
234
- retain_checkpoints == o.retain_checkpoints &&
235
- manifest_signing_service == o.manifest_signing_service &&
236
- versions_href == o.versions_href
235
+ retain_repo_versions == o.retain_repo_versions &&
236
+ retain_checkpoints == o.retain_checkpoints
237
237
  end
238
238
 
239
239
  # @see the `==` method
@@ -245,7 +245,7 @@ module PulpContainerClient
245
245
  # Calculates hash code according to all attributes.
246
246
  # @return [Integer] Hash code
247
247
  def hash
248
- [description, pulp_labels, retain_repo_versions, name, latest_version_href, pulp_href, prn, pulp_created, pulp_last_updated, retain_checkpoints, manifest_signing_service, versions_href].hash
248
+ [versions_href, name, manifest_signing_service, pulp_href, latest_version_href, pulp_labels, description, pulp_created, prn, pulp_last_updated, retain_repo_versions, retain_checkpoints].hash
249
249
  end
250
250
 
251
251
  # Builds the object from hash
@@ -19,7 +19,7 @@ module PulpContainerClient
19
19
  # A remote to sync from. This will override a remote set on repository.
20
20
  attr_accessor :remote
21
21
 
22
- # If ``True``, synchronization will remove all content that is not present in the remote repository. If ``False``, sync will be additive only.
22
+ # If `True`, synchronization will remove all content that is not present in the remote repository. If `False`, sync will be additive only.
23
23
  attr_accessor :mirror
24
24
 
25
25
  # If ``True``, only signed content will be synced. Signatures are not verified.
@@ -14,7 +14,7 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module PulpContainerClient
17
- # Serializer to add/remove object roles to/from users/groups. This is used in conjunction with ``pulpcore.app.viewsets.base.RolesMixin`` and requires the underlying object to be passed as ``content_object`` in the context.
17
+ # Serializer to add/remove object roles to/from users/groups. This is used in conjunction with `pulpcore.app.viewsets.base.RolesMixin` and requires the underlying object to be passed as `content_object` in the context.
18
18
  class NestedRole
19
19
  attr_accessor :users
20
20
 
@@ -14,7 +14,7 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module PulpContainerClient
17
- # Serializer to add/remove object roles to/from users/groups. This is used in conjunction with ``pulpcore.app.viewsets.base.RolesMixin`` and requires the underlying object to be passed as ``content_object`` in the context.
17
+ # Serializer to add/remove object roles to/from users/groups. This is used in conjunction with `pulpcore.app.viewsets.base.RolesMixin` and requires the underlying object to be passed as `content_object` in the context.
18
18
  class NestedRoleResponse
19
19
  attr_accessor :users
20
20
 
@@ -19,23 +19,23 @@ module PulpContainerClient
19
19
  # RepositoryVersion to be served
20
20
  attr_accessor :repository_version
21
21
 
22
- attr_accessor :pulp_labels
23
-
24
- # Whether this distribution should be shown in the content app.
25
- attr_accessor :hidden
26
-
27
22
  # A unique name. Ex, `rawhide` and `stable`.
28
23
  attr_accessor :name
29
24
 
30
25
  # The latest RepositoryVersion for this Repository will be served.
31
26
  attr_accessor :repository
32
27
 
33
- # An optional content-guard. If none is specified, a default one will be used.
34
- attr_accessor :content_guard
35
-
36
28
  # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
37
29
  attr_accessor :base_path
38
30
 
31
+ attr_accessor :pulp_labels
32
+
33
+ # Whether this distribution should be shown in the content app.
34
+ attr_accessor :hidden
35
+
36
+ # An optional content-guard. If none is specified, a default one will be used.
37
+ attr_accessor :content_guard
38
+
39
39
  # Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access.
40
40
  attr_accessor :private
41
41
 
@@ -46,12 +46,12 @@ module PulpContainerClient
46
46
  def self.attribute_map
47
47
  {
48
48
  :'repository_version' => :'repository_version',
49
- :'pulp_labels' => :'pulp_labels',
50
- :'hidden' => :'hidden',
51
49
  :'name' => :'name',
52
50
  :'repository' => :'repository',
53
- :'content_guard' => :'content_guard',
54
51
  :'base_path' => :'base_path',
52
+ :'pulp_labels' => :'pulp_labels',
53
+ :'hidden' => :'hidden',
54
+ :'content_guard' => :'content_guard',
55
55
  :'private' => :'private',
56
56
  :'description' => :'description'
57
57
  }
@@ -66,12 +66,12 @@ module PulpContainerClient
66
66
  def self.openapi_types
67
67
  {
68
68
  :'repository_version' => :'String',
69
- :'pulp_labels' => :'Hash<String, String>',
70
- :'hidden' => :'Boolean',
71
69
  :'name' => :'String',
72
70
  :'repository' => :'String',
73
- :'content_guard' => :'String',
74
71
  :'base_path' => :'String',
72
+ :'pulp_labels' => :'Hash<String, String>',
73
+ :'hidden' => :'Boolean',
74
+ :'content_guard' => :'String',
75
75
  :'private' => :'Boolean',
76
76
  :'description' => :'String'
77
77
  }
@@ -105,6 +105,18 @@ module PulpContainerClient
105
105
  self.repository_version = attributes[:'repository_version']
106
106
  end
107
107
 
108
+ if attributes.key?(:'name')
109
+ self.name = attributes[:'name']
110
+ end
111
+
112
+ if attributes.key?(:'repository')
113
+ self.repository = attributes[:'repository']
114
+ end
115
+
116
+ if attributes.key?(:'base_path')
117
+ self.base_path = attributes[:'base_path']
118
+ end
119
+
108
120
  if attributes.key?(:'pulp_labels')
109
121
  if (value = attributes[:'pulp_labels']).is_a?(Hash)
110
122
  self.pulp_labels = value
@@ -117,22 +129,10 @@ module PulpContainerClient
117
129
  self.hidden = false
118
130
  end
119
131
 
120
- if attributes.key?(:'name')
121
- self.name = attributes[:'name']
122
- end
123
-
124
- if attributes.key?(:'repository')
125
- self.repository = attributes[:'repository']
126
- end
127
-
128
132
  if attributes.key?(:'content_guard')
129
133
  self.content_guard = attributes[:'content_guard']
130
134
  end
131
135
 
132
- if attributes.key?(:'base_path')
133
- self.base_path = attributes[:'base_path']
134
- end
135
-
136
136
  if attributes.key?(:'private')
137
137
  self.private = attributes[:'private']
138
138
  end
@@ -216,12 +216,12 @@ module PulpContainerClient
216
216
  return true if self.equal?(o)
217
217
  self.class == o.class &&
218
218
  repository_version == o.repository_version &&
219
- pulp_labels == o.pulp_labels &&
220
- hidden == o.hidden &&
221
219
  name == o.name &&
222
220
  repository == o.repository &&
223
- content_guard == o.content_guard &&
224
221
  base_path == o.base_path &&
222
+ pulp_labels == o.pulp_labels &&
223
+ hidden == o.hidden &&
224
+ content_guard == o.content_guard &&
225
225
  private == o.private &&
226
226
  description == o.description
227
227
  end
@@ -235,7 +235,7 @@ module PulpContainerClient
235
235
  # Calculates hash code according to all attributes.
236
236
  # @return [Integer] Hash code
237
237
  def hash
238
- [repository_version, pulp_labels, hidden, name, repository, content_guard, base_path, private, description].hash
238
+ [repository_version, name, repository, base_path, pulp_labels, hidden, content_guard, private, description].hash
239
239
  end
240
240
 
241
241
  # Builds the object from hash
@@ -19,23 +19,23 @@ module PulpContainerClient
19
19
  # RepositoryVersion to be served
20
20
  attr_accessor :repository_version
21
21
 
22
- attr_accessor :pulp_labels
23
-
24
- # Whether this distribution should be shown in the content app.
25
- attr_accessor :hidden
26
-
27
22
  # A unique name. Ex, `rawhide` and `stable`.
28
23
  attr_accessor :name
29
24
 
30
25
  # The latest RepositoryVersion for this Repository will be served.
31
26
  attr_accessor :repository
32
27
 
28
+ # The registry path exposed by this pull-through distribution.
29
+ attr_accessor :base_path
30
+
31
+ attr_accessor :pulp_labels
32
+
33
+ # Whether this distribution should be shown in the content app.
34
+ attr_accessor :hidden
35
+
33
36
  # An optional content-guard. If none is specified, a default one will be used.
34
37
  attr_accessor :content_guard
35
38
 
36
- # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
37
- attr_accessor :base_path
38
-
39
39
  # Remote that can be used to fetch content when using pull-through caching.
40
40
  attr_accessor :remote
41
41
 
@@ -52,12 +52,12 @@ module PulpContainerClient
52
52
  def self.attribute_map
53
53
  {
54
54
  :'repository_version' => :'repository_version',
55
- :'pulp_labels' => :'pulp_labels',
56
- :'hidden' => :'hidden',
57
55
  :'name' => :'name',
58
56
  :'repository' => :'repository',
59
- :'content_guard' => :'content_guard',
60
57
  :'base_path' => :'base_path',
58
+ :'pulp_labels' => :'pulp_labels',
59
+ :'hidden' => :'hidden',
60
+ :'content_guard' => :'content_guard',
61
61
  :'remote' => :'remote',
62
62
  :'distributions' => :'distributions',
63
63
  :'private' => :'private',
@@ -74,12 +74,12 @@ module PulpContainerClient
74
74
  def self.openapi_types
75
75
  {
76
76
  :'repository_version' => :'String',
77
- :'pulp_labels' => :'Hash<String, String>',
78
- :'hidden' => :'Boolean',
79
77
  :'name' => :'String',
80
78
  :'repository' => :'String',
81
- :'content_guard' => :'String',
82
79
  :'base_path' => :'String',
80
+ :'pulp_labels' => :'Hash<String, String>',
81
+ :'hidden' => :'Boolean',
82
+ :'content_guard' => :'String',
83
83
  :'remote' => :'String',
84
84
  :'distributions' => :'Array<String>',
85
85
  :'private' => :'Boolean',
@@ -115,6 +115,18 @@ module PulpContainerClient
115
115
  self.repository_version = attributes[:'repository_version']
116
116
  end
117
117
 
118
+ if attributes.key?(:'name')
119
+ self.name = attributes[:'name']
120
+ end
121
+
122
+ if attributes.key?(:'repository')
123
+ self.repository = attributes[:'repository']
124
+ end
125
+
126
+ if attributes.key?(:'base_path')
127
+ self.base_path = attributes[:'base_path']
128
+ end
129
+
118
130
  if attributes.key?(:'pulp_labels')
119
131
  if (value = attributes[:'pulp_labels']).is_a?(Hash)
120
132
  self.pulp_labels = value
@@ -127,22 +139,10 @@ module PulpContainerClient
127
139
  self.hidden = false
128
140
  end
129
141
 
130
- if attributes.key?(:'name')
131
- self.name = attributes[:'name']
132
- end
133
-
134
- if attributes.key?(:'repository')
135
- self.repository = attributes[:'repository']
136
- end
137
-
138
142
  if attributes.key?(:'content_guard')
139
143
  self.content_guard = attributes[:'content_guard']
140
144
  end
141
145
 
142
- if attributes.key?(:'base_path')
143
- self.base_path = attributes[:'base_path']
144
- end
145
-
146
146
  if attributes.key?(:'remote')
147
147
  self.remote = attributes[:'remote']
148
148
  end
@@ -236,12 +236,12 @@ module PulpContainerClient
236
236
  return true if self.equal?(o)
237
237
  self.class == o.class &&
238
238
  repository_version == o.repository_version &&
239
- pulp_labels == o.pulp_labels &&
240
- hidden == o.hidden &&
241
239
  name == o.name &&
242
240
  repository == o.repository &&
243
- content_guard == o.content_guard &&
244
241
  base_path == o.base_path &&
242
+ pulp_labels == o.pulp_labels &&
243
+ hidden == o.hidden &&
244
+ content_guard == o.content_guard &&
245
245
  remote == o.remote &&
246
246
  distributions == o.distributions &&
247
247
  private == o.private &&
@@ -257,7 +257,7 @@ module PulpContainerClient
257
257
  # Calculates hash code according to all attributes.
258
258
  # @return [Integer] Hash code
259
259
  def hash
260
- [repository_version, pulp_labels, hidden, name, repository, content_guard, base_path, remote, distributions, private, description].hash
260
+ [repository_version, name, repository, base_path, pulp_labels, hidden, content_guard, remote, distributions, private, description].hash
261
261
  end
262
262
 
263
263
  # Builds the object from hash