pulp_container_client 2.22.12 → 2.22.14

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 (31) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/ContainerContainerDistribution.md +5 -5
  4. data/docs/ContainerContainerDistributionResponse.md +13 -13
  5. data/docs/ContainerContainerPullThroughDistribution.md +5 -5
  6. data/docs/ContainerContainerPullThroughDistributionResponse.md +13 -13
  7. data/docs/ContainerContainerPushRepository.md +6 -6
  8. data/docs/ContainerContainerPushRepositoryResponse.md +16 -16
  9. data/docs/PatchedcontainerContainerDistribution.md +5 -5
  10. data/docs/PatchedcontainerContainerPullThroughDistribution.md +5 -5
  11. data/docs/PatchedcontainerContainerPushRepository.md +6 -6
  12. data/lib/pulp_container_client/models/container_container_distribution.rb +18 -18
  13. data/lib/pulp_container_client/models/container_container_distribution_response.rb +54 -54
  14. data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +18 -18
  15. data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +54 -54
  16. data/lib/pulp_container_client/models/container_container_push_repository.rb +41 -41
  17. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +57 -57
  18. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +18 -18
  19. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +18 -18
  20. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +41 -41
  21. data/lib/pulp_container_client/version.rb +1 -1
  22. data/spec/models/container_container_distribution_response_spec.rb +11 -11
  23. data/spec/models/container_container_distribution_spec.rb +6 -6
  24. data/spec/models/container_container_pull_through_distribution_response_spec.rb +11 -11
  25. data/spec/models/container_container_pull_through_distribution_spec.rb +6 -6
  26. data/spec/models/container_container_push_repository_response_spec.rb +8 -8
  27. data/spec/models/container_container_push_repository_spec.rb +5 -5
  28. data/spec/models/patchedcontainer_container_distribution_spec.rb +6 -6
  29. data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +6 -6
  30. data/spec/models/patchedcontainer_container_push_repository_spec.rb +5 -5
  31. metadata +2 -2
@@ -15,48 +15,48 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # Serializer for Container Push Repositories.
17
17
  class ContainerContainerPushRepository
18
- # An optional description.
19
- attr_accessor :description
20
-
21
- attr_accessor :pulp_labels
22
-
23
18
  # A reference to an associated signing service.
24
19
  attr_accessor :manifest_signing_service
25
20
 
26
21
  # Retain X versions of the repository. Default is null which retains all versions.
27
22
  attr_accessor :retain_repo_versions
28
23
 
24
+ attr_accessor :pulp_labels
25
+
29
26
  # A unique name for this repository.
30
27
  attr_accessor :name
31
28
 
29
+ # An optional description.
30
+ attr_accessor :description
31
+
32
32
  # Attribute mapping from ruby-style variable name to JSON key.
33
33
  def self.attribute_map
34
34
  {
35
- :'description' => :'description',
36
- :'pulp_labels' => :'pulp_labels',
37
35
  :'manifest_signing_service' => :'manifest_signing_service',
38
36
  :'retain_repo_versions' => :'retain_repo_versions',
39
- :'name' => :'name'
37
+ :'pulp_labels' => :'pulp_labels',
38
+ :'name' => :'name',
39
+ :'description' => :'description'
40
40
  }
41
41
  end
42
42
 
43
43
  # Attribute type mapping.
44
44
  def self.openapi_types
45
45
  {
46
- :'description' => :'String',
47
- :'pulp_labels' => :'Hash<String, String>',
48
46
  :'manifest_signing_service' => :'String',
49
47
  :'retain_repo_versions' => :'Integer',
50
- :'name' => :'String'
48
+ :'pulp_labels' => :'Hash<String, String>',
49
+ :'name' => :'String',
50
+ :'description' => :'String'
51
51
  }
52
52
  end
53
53
 
54
54
  # List of attributes with nullable: true
55
55
  def self.openapi_nullable
56
56
  Set.new([
57
- :'description',
58
57
  :'manifest_signing_service',
59
58
  :'retain_repo_versions',
59
+ :'description'
60
60
  ])
61
61
  end
62
62
 
@@ -75,16 +75,6 @@ module PulpContainerClient
75
75
  h[k.to_sym] = v
76
76
  }
77
77
 
78
- if attributes.key?(:'description')
79
- self.description = attributes[:'description']
80
- end
81
-
82
- if attributes.key?(:'pulp_labels')
83
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
84
- self.pulp_labels = value
85
- end
86
- end
87
-
88
78
  if attributes.key?(:'manifest_signing_service')
89
79
  self.manifest_signing_service = attributes[:'manifest_signing_service']
90
80
  end
@@ -93,19 +83,25 @@ module PulpContainerClient
93
83
  self.retain_repo_versions = attributes[:'retain_repo_versions']
94
84
  end
95
85
 
86
+ if attributes.key?(:'pulp_labels')
87
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
88
+ self.pulp_labels = value
89
+ end
90
+ end
91
+
96
92
  if attributes.key?(:'name')
97
93
  self.name = attributes[:'name']
98
94
  end
95
+
96
+ if attributes.key?(:'description')
97
+ self.description = attributes[:'description']
98
+ end
99
99
  end
100
100
 
101
101
  # Show invalid properties with the reasons. Usually used together with valid?
102
102
  # @return Array for valid properties with the reasons
103
103
  def list_invalid_properties
104
104
  invalid_properties = Array.new
105
- if !@description.nil? && @description.to_s.length < 1
106
- invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
107
- end
108
-
109
105
  if !@retain_repo_versions.nil? && @retain_repo_versions < 1
110
106
  invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
111
107
  end
@@ -118,29 +114,23 @@ module PulpContainerClient
118
114
  invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
119
115
  end
120
116
 
117
+ if !@description.nil? && @description.to_s.length < 1
118
+ invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
119
+ end
120
+
121
121
  invalid_properties
122
122
  end
123
123
 
124
124
  # Check to see if the all the properties in the model are valid
125
125
  # @return true if the model is valid
126
126
  def valid?
127
- return false if !@description.nil? && @description.to_s.length < 1
128
127
  return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
129
128
  return false if @name.nil?
130
129
  return false if @name.to_s.length < 1
130
+ return false if !@description.nil? && @description.to_s.length < 1
131
131
  true
132
132
  end
133
133
 
134
- # Custom attribute writer method with validation
135
- # @param [Object] description Value to be assigned
136
- def description=(description)
137
- if !description.nil? && description.to_s.length < 1
138
- fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
139
- end
140
-
141
- @description = description
142
- end
143
-
144
134
  # Custom attribute writer method with validation
145
135
  # @param [Object] retain_repo_versions Value to be assigned
146
136
  def retain_repo_versions=(retain_repo_versions)
@@ -165,16 +155,26 @@ module PulpContainerClient
165
155
  @name = name
166
156
  end
167
157
 
158
+ # Custom attribute writer method with validation
159
+ # @param [Object] description Value to be assigned
160
+ def description=(description)
161
+ if !description.nil? && description.to_s.length < 1
162
+ fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
163
+ end
164
+
165
+ @description = description
166
+ end
167
+
168
168
  # Checks equality by comparing each attribute.
169
169
  # @param [Object] Object to be compared
170
170
  def ==(o)
171
171
  return true if self.equal?(o)
172
172
  self.class == o.class &&
173
- description == o.description &&
174
- pulp_labels == o.pulp_labels &&
175
173
  manifest_signing_service == o.manifest_signing_service &&
176
174
  retain_repo_versions == o.retain_repo_versions &&
177
- name == o.name
175
+ pulp_labels == o.pulp_labels &&
176
+ name == o.name &&
177
+ description == o.description
178
178
  end
179
179
 
180
180
  # @see the `==` method
@@ -186,7 +186,7 @@ module PulpContainerClient
186
186
  # Calculates hash code according to all attributes.
187
187
  # @return [Integer] Hash code
188
188
  def hash
189
- [description, pulp_labels, manifest_signing_service, retain_repo_versions, name].hash
189
+ [manifest_signing_service, retain_repo_versions, pulp_labels, name, description].hash
190
190
  end
191
191
 
192
192
  # Builds the object from hash
@@ -15,75 +15,75 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # Serializer for Container Push Repositories.
17
17
  class ContainerContainerPushRepositoryResponse
18
- # An optional description.
19
- attr_accessor :description
18
+ attr_accessor :pulp_href
20
19
 
21
- # The Pulp Resource Name (PRN).
22
- attr_accessor :prn
20
+ attr_accessor :versions_href
23
21
 
24
- # Timestamp of creation.
25
- attr_accessor :pulp_created
22
+ # 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.
23
+ attr_accessor :pulp_last_updated
26
24
 
27
- attr_accessor :pulp_labels
25
+ # A reference to an associated signing service.
26
+ attr_accessor :manifest_signing_service
28
27
 
29
28
  attr_accessor :latest_version_href
30
29
 
31
- # A reference to an associated signing service.
32
- attr_accessor :manifest_signing_service
30
+ # Timestamp of creation.
31
+ attr_accessor :pulp_created
33
32
 
34
33
  # Retain X versions of the repository. Default is null which retains all versions.
35
34
  attr_accessor :retain_repo_versions
36
35
 
37
- attr_accessor :pulp_href
36
+ attr_accessor :pulp_labels
38
37
 
39
38
  # A unique name for this repository.
40
39
  attr_accessor :name
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.
43
- attr_accessor :pulp_last_updated
41
+ # An optional description.
42
+ attr_accessor :description
44
43
 
45
- attr_accessor :versions_href
44
+ # The Pulp Resource Name (PRN).
45
+ attr_accessor :prn
46
46
 
47
47
  # Attribute mapping from ruby-style variable name to JSON key.
48
48
  def self.attribute_map
49
49
  {
50
- :'description' => :'description',
51
- :'prn' => :'prn',
52
- :'pulp_created' => :'pulp_created',
53
- :'pulp_labels' => :'pulp_labels',
54
- :'latest_version_href' => :'latest_version_href',
50
+ :'pulp_href' => :'pulp_href',
51
+ :'versions_href' => :'versions_href',
52
+ :'pulp_last_updated' => :'pulp_last_updated',
55
53
  :'manifest_signing_service' => :'manifest_signing_service',
54
+ :'latest_version_href' => :'latest_version_href',
55
+ :'pulp_created' => :'pulp_created',
56
56
  :'retain_repo_versions' => :'retain_repo_versions',
57
- :'pulp_href' => :'pulp_href',
57
+ :'pulp_labels' => :'pulp_labels',
58
58
  :'name' => :'name',
59
- :'pulp_last_updated' => :'pulp_last_updated',
60
- :'versions_href' => :'versions_href'
59
+ :'description' => :'description',
60
+ :'prn' => :'prn'
61
61
  }
62
62
  end
63
63
 
64
64
  # Attribute type mapping.
65
65
  def self.openapi_types
66
66
  {
67
- :'description' => :'String',
68
- :'prn' => :'String',
69
- :'pulp_created' => :'DateTime',
70
- :'pulp_labels' => :'Hash<String, String>',
71
- :'latest_version_href' => :'String',
67
+ :'pulp_href' => :'String',
68
+ :'versions_href' => :'String',
69
+ :'pulp_last_updated' => :'DateTime',
72
70
  :'manifest_signing_service' => :'String',
71
+ :'latest_version_href' => :'String',
72
+ :'pulp_created' => :'DateTime',
73
73
  :'retain_repo_versions' => :'Integer',
74
- :'pulp_href' => :'String',
74
+ :'pulp_labels' => :'Hash<String, String>',
75
75
  :'name' => :'String',
76
- :'pulp_last_updated' => :'DateTime',
77
- :'versions_href' => :'String'
76
+ :'description' => :'String',
77
+ :'prn' => :'String'
78
78
  }
79
79
  end
80
80
 
81
81
  # List of attributes with nullable: true
82
82
  def self.openapi_nullable
83
83
  Set.new([
84
- :'description',
85
84
  :'manifest_signing_service',
86
85
  :'retain_repo_versions',
86
+ :'description',
87
87
  ])
88
88
  end
89
89
 
@@ -102,50 +102,50 @@ module PulpContainerClient
102
102
  h[k.to_sym] = v
103
103
  }
104
104
 
105
- if attributes.key?(:'description')
106
- self.description = attributes[:'description']
105
+ if attributes.key?(:'pulp_href')
106
+ self.pulp_href = attributes[:'pulp_href']
107
107
  end
108
108
 
109
- if attributes.key?(:'prn')
110
- self.prn = attributes[:'prn']
109
+ if attributes.key?(:'versions_href')
110
+ self.versions_href = attributes[:'versions_href']
111
111
  end
112
112
 
113
- if attributes.key?(:'pulp_created')
114
- self.pulp_created = attributes[:'pulp_created']
113
+ if attributes.key?(:'pulp_last_updated')
114
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
115
115
  end
116
116
 
117
- if attributes.key?(:'pulp_labels')
118
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
119
- self.pulp_labels = value
120
- end
117
+ if attributes.key?(:'manifest_signing_service')
118
+ self.manifest_signing_service = attributes[:'manifest_signing_service']
121
119
  end
122
120
 
123
121
  if attributes.key?(:'latest_version_href')
124
122
  self.latest_version_href = attributes[:'latest_version_href']
125
123
  end
126
124
 
127
- if attributes.key?(:'manifest_signing_service')
128
- self.manifest_signing_service = attributes[:'manifest_signing_service']
125
+ if attributes.key?(:'pulp_created')
126
+ self.pulp_created = attributes[:'pulp_created']
129
127
  end
130
128
 
131
129
  if attributes.key?(:'retain_repo_versions')
132
130
  self.retain_repo_versions = attributes[:'retain_repo_versions']
133
131
  end
134
132
 
135
- if attributes.key?(:'pulp_href')
136
- self.pulp_href = attributes[:'pulp_href']
133
+ if attributes.key?(:'pulp_labels')
134
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
135
+ self.pulp_labels = value
136
+ end
137
137
  end
138
138
 
139
139
  if attributes.key?(:'name')
140
140
  self.name = attributes[:'name']
141
141
  end
142
142
 
143
- if attributes.key?(:'pulp_last_updated')
144
- self.pulp_last_updated = attributes[:'pulp_last_updated']
143
+ if attributes.key?(:'description')
144
+ self.description = attributes[:'description']
145
145
  end
146
146
 
147
- if attributes.key?(:'versions_href')
148
- self.versions_href = attributes[:'versions_href']
147
+ if attributes.key?(:'prn')
148
+ self.prn = attributes[:'prn']
149
149
  end
150
150
  end
151
151
 
@@ -187,17 +187,17 @@ module PulpContainerClient
187
187
  def ==(o)
188
188
  return true if self.equal?(o)
189
189
  self.class == o.class &&
190
- description == o.description &&
191
- prn == o.prn &&
192
- pulp_created == o.pulp_created &&
193
- pulp_labels == o.pulp_labels &&
194
- latest_version_href == o.latest_version_href &&
190
+ pulp_href == o.pulp_href &&
191
+ versions_href == o.versions_href &&
192
+ pulp_last_updated == o.pulp_last_updated &&
195
193
  manifest_signing_service == o.manifest_signing_service &&
194
+ latest_version_href == o.latest_version_href &&
195
+ pulp_created == o.pulp_created &&
196
196
  retain_repo_versions == o.retain_repo_versions &&
197
- pulp_href == o.pulp_href &&
197
+ pulp_labels == o.pulp_labels &&
198
198
  name == o.name &&
199
- pulp_last_updated == o.pulp_last_updated &&
200
- versions_href == o.versions_href
199
+ description == o.description &&
200
+ prn == o.prn
201
201
  end
202
202
 
203
203
  # @see the `==` method
@@ -209,7 +209,7 @@ module PulpContainerClient
209
209
  # Calculates hash code according to all attributes.
210
210
  # @return [Integer] Hash code
211
211
  def hash
212
- [description, prn, pulp_created, pulp_labels, latest_version_href, manifest_signing_service, retain_repo_versions, pulp_href, name, pulp_last_updated, versions_href].hash
212
+ [pulp_href, versions_href, pulp_last_updated, manifest_signing_service, latest_version_href, pulp_created, retain_repo_versions, pulp_labels, name, description, prn].hash
213
213
  end
214
214
 
215
215
  # Builds the object from hash
@@ -15,6 +15,9 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # A serializer for ContainerDistribution.
17
17
  class PatchedcontainerContainerDistribution
18
+ # The latest RepositoryVersion for this Repository will be served.
19
+ attr_accessor :repository
20
+
18
21
  # Whether this distribution should be shown in the content app.
19
22
  attr_accessor :hidden
20
23
 
@@ -23,15 +26,12 @@ module PulpContainerClient
23
26
 
24
27
  attr_accessor :pulp_labels
25
28
 
26
- # The latest RepositoryVersion for this Repository will be served.
27
- attr_accessor :repository
29
+ # An optional content-guard. If none is specified, a default one will be used.
30
+ attr_accessor :content_guard
28
31
 
29
32
  # A unique name. Ex, `rawhide` and `stable`.
30
33
  attr_accessor :name
31
34
 
32
- # An optional content-guard. If none is specified, a default one will be used.
33
- attr_accessor :content_guard
34
-
35
35
  # RepositoryVersion to be served
36
36
  attr_accessor :repository_version
37
37
 
@@ -44,12 +44,12 @@ module PulpContainerClient
44
44
  # Attribute mapping from ruby-style variable name to JSON key.
45
45
  def self.attribute_map
46
46
  {
47
+ :'repository' => :'repository',
47
48
  :'hidden' => :'hidden',
48
49
  :'base_path' => :'base_path',
49
50
  :'pulp_labels' => :'pulp_labels',
50
- :'repository' => :'repository',
51
- :'name' => :'name',
52
51
  :'content_guard' => :'content_guard',
52
+ :'name' => :'name',
53
53
  :'repository_version' => :'repository_version',
54
54
  :'private' => :'private',
55
55
  :'description' => :'description'
@@ -59,12 +59,12 @@ module PulpContainerClient
59
59
  # Attribute type mapping.
60
60
  def self.openapi_types
61
61
  {
62
+ :'repository' => :'String',
62
63
  :'hidden' => :'Boolean',
63
64
  :'base_path' => :'String',
64
65
  :'pulp_labels' => :'Hash<String, String>',
65
- :'repository' => :'String',
66
- :'name' => :'String',
67
66
  :'content_guard' => :'String',
67
+ :'name' => :'String',
68
68
  :'repository_version' => :'String',
69
69
  :'private' => :'Boolean',
70
70
  :'description' => :'String'
@@ -95,6 +95,10 @@ module PulpContainerClient
95
95
  h[k.to_sym] = v
96
96
  }
97
97
 
98
+ if attributes.key?(:'repository')
99
+ self.repository = attributes[:'repository']
100
+ end
101
+
98
102
  if attributes.key?(:'hidden')
99
103
  self.hidden = attributes[:'hidden']
100
104
  else
@@ -111,18 +115,14 @@ module PulpContainerClient
111
115
  end
112
116
  end
113
117
 
114
- if attributes.key?(:'repository')
115
- self.repository = attributes[:'repository']
118
+ if attributes.key?(:'content_guard')
119
+ self.content_guard = attributes[:'content_guard']
116
120
  end
117
121
 
118
122
  if attributes.key?(:'name')
119
123
  self.name = attributes[:'name']
120
124
  end
121
125
 
122
- if attributes.key?(:'content_guard')
123
- self.content_guard = attributes[:'content_guard']
124
- end
125
-
126
126
  if attributes.key?(:'repository_version')
127
127
  self.repository_version = attributes[:'repository_version']
128
128
  end
@@ -199,12 +199,12 @@ module PulpContainerClient
199
199
  def ==(o)
200
200
  return true if self.equal?(o)
201
201
  self.class == o.class &&
202
+ repository == o.repository &&
202
203
  hidden == o.hidden &&
203
204
  base_path == o.base_path &&
204
205
  pulp_labels == o.pulp_labels &&
205
- repository == o.repository &&
206
- name == o.name &&
207
206
  content_guard == o.content_guard &&
207
+ name == o.name &&
208
208
  repository_version == o.repository_version &&
209
209
  private == o.private &&
210
210
  description == o.description
@@ -219,7 +219,7 @@ module PulpContainerClient
219
219
  # Calculates hash code according to all attributes.
220
220
  # @return [Integer] Hash code
221
221
  def hash
222
- [hidden, base_path, pulp_labels, repository, name, content_guard, repository_version, private, description].hash
222
+ [repository, hidden, base_path, pulp_labels, content_guard, name, repository_version, private, description].hash
223
223
  end
224
224
 
225
225
  # Builds the object from hash
@@ -15,6 +15,9 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # A serializer for a specialized pull-through distribution referencing sub-distributions.
17
17
  class PatchedcontainerContainerPullThroughDistribution
18
+ # The latest RepositoryVersion for this Repository will be served.
19
+ attr_accessor :repository
20
+
18
21
  # Whether this distribution should be shown in the content app.
19
22
  attr_accessor :hidden
20
23
 
@@ -23,15 +26,12 @@ module PulpContainerClient
23
26
 
24
27
  attr_accessor :pulp_labels
25
28
 
26
- # The latest RepositoryVersion for this Repository will be served.
27
- attr_accessor :repository
29
+ # An optional content-guard. If none is specified, a default one will be used.
30
+ attr_accessor :content_guard
28
31
 
29
32
  # A unique name. Ex, `rawhide` and `stable`.
30
33
  attr_accessor :name
31
34
 
32
- # An optional content-guard. If none is specified, a default one will be used.
33
- attr_accessor :content_guard
34
-
35
35
  # Remote that can be used to fetch content when using pull-through caching.
36
36
  attr_accessor :remote
37
37
 
@@ -47,12 +47,12 @@ module PulpContainerClient
47
47
  # Attribute mapping from ruby-style variable name to JSON key.
48
48
  def self.attribute_map
49
49
  {
50
+ :'repository' => :'repository',
50
51
  :'hidden' => :'hidden',
51
52
  :'base_path' => :'base_path',
52
53
  :'pulp_labels' => :'pulp_labels',
53
- :'repository' => :'repository',
54
- :'name' => :'name',
55
54
  :'content_guard' => :'content_guard',
55
+ :'name' => :'name',
56
56
  :'remote' => :'remote',
57
57
  :'distributions' => :'distributions',
58
58
  :'private' => :'private',
@@ -63,12 +63,12 @@ module PulpContainerClient
63
63
  # Attribute type mapping.
64
64
  def self.openapi_types
65
65
  {
66
+ :'repository' => :'String',
66
67
  :'hidden' => :'Boolean',
67
68
  :'base_path' => :'String',
68
69
  :'pulp_labels' => :'Hash<String, String>',
69
- :'repository' => :'String',
70
- :'name' => :'String',
71
70
  :'content_guard' => :'String',
71
+ :'name' => :'String',
72
72
  :'remote' => :'String',
73
73
  :'distributions' => :'Array<String>',
74
74
  :'private' => :'Boolean',
@@ -99,6 +99,10 @@ module PulpContainerClient
99
99
  h[k.to_sym] = v
100
100
  }
101
101
 
102
+ if attributes.key?(:'repository')
103
+ self.repository = attributes[:'repository']
104
+ end
105
+
102
106
  if attributes.key?(:'hidden')
103
107
  self.hidden = attributes[:'hidden']
104
108
  else
@@ -115,18 +119,14 @@ module PulpContainerClient
115
119
  end
116
120
  end
117
121
 
118
- if attributes.key?(:'repository')
119
- self.repository = attributes[:'repository']
122
+ if attributes.key?(:'content_guard')
123
+ self.content_guard = attributes[:'content_guard']
120
124
  end
121
125
 
122
126
  if attributes.key?(:'name')
123
127
  self.name = attributes[:'name']
124
128
  end
125
129
 
126
- if attributes.key?(:'content_guard')
127
- self.content_guard = attributes[:'content_guard']
128
- end
129
-
130
130
  if attributes.key?(:'remote')
131
131
  self.remote = attributes[:'remote']
132
132
  end
@@ -209,12 +209,12 @@ module PulpContainerClient
209
209
  def ==(o)
210
210
  return true if self.equal?(o)
211
211
  self.class == o.class &&
212
+ repository == o.repository &&
212
213
  hidden == o.hidden &&
213
214
  base_path == o.base_path &&
214
215
  pulp_labels == o.pulp_labels &&
215
- repository == o.repository &&
216
- name == o.name &&
217
216
  content_guard == o.content_guard &&
217
+ name == o.name &&
218
218
  remote == o.remote &&
219
219
  distributions == o.distributions &&
220
220
  private == o.private &&
@@ -230,7 +230,7 @@ module PulpContainerClient
230
230
  # Calculates hash code according to all attributes.
231
231
  # @return [Integer] Hash code
232
232
  def hash
233
- [hidden, base_path, pulp_labels, repository, name, content_guard, remote, distributions, private, description].hash
233
+ [repository, hidden, base_path, pulp_labels, content_guard, name, remote, distributions, private, description].hash
234
234
  end
235
235
 
236
236
  # Builds the object from hash