pulp_container_client 2.26.1 → 2.26.3

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 (49) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/ContainerContainerDistribution.md +4 -4
  4. data/docs/ContainerContainerDistributionResponse.md +12 -12
  5. data/docs/ContainerContainerPullThroughDistribution.md +4 -4
  6. data/docs/ContainerContainerPullThroughDistributionResponse.md +12 -12
  7. data/docs/ContainerContainerPushRepository.md +4 -4
  8. data/docs/ContainerContainerPushRepositoryResponse.md +14 -14
  9. data/docs/DistributionsContainerApi.md +10 -10
  10. data/docs/DistributionsPullThroughApi.md +10 -10
  11. data/docs/PatchedcontainerContainerDistribution.md +4 -4
  12. data/docs/PatchedcontainerContainerPullThroughDistribution.md +4 -4
  13. data/docs/PatchedcontainerContainerPushRepository.md +4 -4
  14. data/docs/RemotesContainerApi.md +10 -10
  15. data/docs/RemotesPullThroughApi.md +10 -10
  16. data/docs/RepositoriesContainerApi.md +10 -10
  17. data/docs/RepositoriesContainerPushApi.md +10 -10
  18. data/lib/pulp_container_client/api/distributions_container_api.rb +10 -10
  19. data/lib/pulp_container_client/api/distributions_pull_through_api.rb +10 -10
  20. data/lib/pulp_container_client/api/remotes_container_api.rb +10 -10
  21. data/lib/pulp_container_client/api/remotes_pull_through_api.rb +10 -10
  22. data/lib/pulp_container_client/api/repositories_container_api.rb +10 -10
  23. data/lib/pulp_container_client/api/repositories_container_push_api.rb +10 -10
  24. data/lib/pulp_container_client/models/container_container_distribution.rb +20 -20
  25. data/lib/pulp_container_client/models/container_container_distribution_response.rb +53 -53
  26. data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +20 -20
  27. data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +53 -53
  28. data/lib/pulp_container_client/models/container_container_push_repository.rb +21 -21
  29. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +58 -58
  30. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +20 -20
  31. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +20 -20
  32. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +19 -19
  33. data/lib/pulp_container_client/version.rb +1 -1
  34. data/spec/api/distributions_container_api_spec.rb +4 -4
  35. data/spec/api/distributions_pull_through_api_spec.rb +4 -4
  36. data/spec/api/remotes_container_api_spec.rb +4 -4
  37. data/spec/api/remotes_pull_through_api_spec.rb +4 -4
  38. data/spec/api/repositories_container_api_spec.rb +4 -4
  39. data/spec/api/repositories_container_push_api_spec.rb +4 -4
  40. data/spec/models/container_container_distribution_response_spec.rb +9 -9
  41. data/spec/models/container_container_distribution_spec.rb +6 -6
  42. data/spec/models/container_container_pull_through_distribution_response_spec.rb +9 -9
  43. data/spec/models/container_container_pull_through_distribution_spec.rb +6 -6
  44. data/spec/models/container_container_push_repository_response_spec.rb +10 -10
  45. data/spec/models/container_container_push_repository_spec.rb +3 -3
  46. data/spec/models/patchedcontainer_container_distribution_spec.rb +6 -6
  47. data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +6 -6
  48. data/spec/models/patchedcontainer_container_push_repository_spec.rb +3 -3
  49. metadata +58 -58
@@ -16,37 +16,37 @@ require 'time'
16
16
  module PulpContainerClient
17
17
  # A serializer for a specialized pull-through distribution referencing sub-distributions.
18
18
  class ContainerContainerPullThroughDistributionResponse
19
- # Timestamp of creation.
20
- attr_accessor :pulp_created
19
+ # 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.
20
+ attr_accessor :pulp_last_updated
21
21
 
22
- # A unique name. Ex, `rawhide` and `stable`.
23
- attr_accessor :name
22
+ attr_accessor :pulp_href
24
23
 
25
24
  # Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
26
25
  attr_accessor :no_content_change_since
27
26
 
28
- # 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.
29
- attr_accessor :pulp_last_updated
30
-
31
- # The Pulp Resource Name (PRN).
32
- attr_accessor :prn
33
-
34
27
  # The latest RepositoryVersion for this Repository will be served.
35
28
  attr_accessor :repository
36
29
 
30
+ # A unique name. Ex, `rawhide` and `stable`.
31
+ attr_accessor :name
32
+
33
+ # Whether this distribution should be shown in the content app.
34
+ attr_accessor :hidden
35
+
37
36
  attr_accessor :pulp_labels
38
37
 
38
+ # Timestamp of creation.
39
+ attr_accessor :pulp_created
40
+
39
41
  # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
40
42
  attr_accessor :base_path
41
43
 
42
- attr_accessor :pulp_href
44
+ # The Pulp Resource Name (PRN).
45
+ attr_accessor :prn
43
46
 
44
47
  # An optional content-guard. If none is specified, a default one will be used.
45
48
  attr_accessor :content_guard
46
49
 
47
- # Whether this distribution should be shown in the content app.
48
- attr_accessor :hidden
49
-
50
50
  # Remote that can be used to fetch content when using pull-through caching.
51
51
  attr_accessor :remote
52
52
 
@@ -65,17 +65,17 @@ module PulpContainerClient
65
65
  # Attribute mapping from ruby-style variable name to JSON key.
66
66
  def self.attribute_map
67
67
  {
68
- :'pulp_created' => :'pulp_created',
69
- :'name' => :'name',
70
- :'no_content_change_since' => :'no_content_change_since',
71
68
  :'pulp_last_updated' => :'pulp_last_updated',
72
- :'prn' => :'prn',
69
+ :'pulp_href' => :'pulp_href',
70
+ :'no_content_change_since' => :'no_content_change_since',
73
71
  :'repository' => :'repository',
72
+ :'name' => :'name',
73
+ :'hidden' => :'hidden',
74
74
  :'pulp_labels' => :'pulp_labels',
75
+ :'pulp_created' => :'pulp_created',
75
76
  :'base_path' => :'base_path',
76
- :'pulp_href' => :'pulp_href',
77
+ :'prn' => :'prn',
77
78
  :'content_guard' => :'content_guard',
78
- :'hidden' => :'hidden',
79
79
  :'remote' => :'remote',
80
80
  :'distributions' => :'distributions',
81
81
  :'namespace' => :'namespace',
@@ -92,17 +92,17 @@ module PulpContainerClient
92
92
  # Attribute type mapping.
93
93
  def self.openapi_types
94
94
  {
95
- :'pulp_created' => :'Time',
96
- :'name' => :'String',
97
- :'no_content_change_since' => :'String',
98
95
  :'pulp_last_updated' => :'Time',
99
- :'prn' => :'String',
96
+ :'pulp_href' => :'String',
97
+ :'no_content_change_since' => :'String',
100
98
  :'repository' => :'String',
99
+ :'name' => :'String',
100
+ :'hidden' => :'Boolean',
101
101
  :'pulp_labels' => :'Hash<String, String>',
102
+ :'pulp_created' => :'Time',
102
103
  :'base_path' => :'String',
103
- :'pulp_href' => :'String',
104
+ :'prn' => :'String',
104
105
  :'content_guard' => :'String',
105
- :'hidden' => :'Boolean',
106
106
  :'remote' => :'String',
107
107
  :'distributions' => :'Array<String>',
108
108
  :'namespace' => :'String',
@@ -134,30 +134,32 @@ module PulpContainerClient
134
134
  h[k.to_sym] = v
135
135
  }
136
136
 
137
- if attributes.key?(:'pulp_created')
138
- self.pulp_created = attributes[:'pulp_created']
137
+ if attributes.key?(:'pulp_last_updated')
138
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
139
139
  end
140
140
 
141
- if attributes.key?(:'name')
142
- self.name = attributes[:'name']
143
- else
144
- self.name = nil
141
+ if attributes.key?(:'pulp_href')
142
+ self.pulp_href = attributes[:'pulp_href']
145
143
  end
146
144
 
147
145
  if attributes.key?(:'no_content_change_since')
148
146
  self.no_content_change_since = attributes[:'no_content_change_since']
149
147
  end
150
148
 
151
- if attributes.key?(:'pulp_last_updated')
152
- self.pulp_last_updated = attributes[:'pulp_last_updated']
149
+ if attributes.key?(:'repository')
150
+ self.repository = attributes[:'repository']
153
151
  end
154
152
 
155
- if attributes.key?(:'prn')
156
- self.prn = attributes[:'prn']
153
+ if attributes.key?(:'name')
154
+ self.name = attributes[:'name']
155
+ else
156
+ self.name = nil
157
157
  end
158
158
 
159
- if attributes.key?(:'repository')
160
- self.repository = attributes[:'repository']
159
+ if attributes.key?(:'hidden')
160
+ self.hidden = attributes[:'hidden']
161
+ else
162
+ self.hidden = false
161
163
  end
162
164
 
163
165
  if attributes.key?(:'pulp_labels')
@@ -166,26 +168,24 @@ module PulpContainerClient
166
168
  end
167
169
  end
168
170
 
171
+ if attributes.key?(:'pulp_created')
172
+ self.pulp_created = attributes[:'pulp_created']
173
+ end
174
+
169
175
  if attributes.key?(:'base_path')
170
176
  self.base_path = attributes[:'base_path']
171
177
  else
172
178
  self.base_path = nil
173
179
  end
174
180
 
175
- if attributes.key?(:'pulp_href')
176
- self.pulp_href = attributes[:'pulp_href']
181
+ if attributes.key?(:'prn')
182
+ self.prn = attributes[:'prn']
177
183
  end
178
184
 
179
185
  if attributes.key?(:'content_guard')
180
186
  self.content_guard = attributes[:'content_guard']
181
187
  end
182
188
 
183
- if attributes.key?(:'hidden')
184
- self.hidden = attributes[:'hidden']
185
- else
186
- self.hidden = false
187
- end
188
-
189
189
  if attributes.key?(:'remote')
190
190
  self.remote = attributes[:'remote']
191
191
  else
@@ -246,17 +246,17 @@ module PulpContainerClient
246
246
  def ==(o)
247
247
  return true if self.equal?(o)
248
248
  self.class == o.class &&
249
- pulp_created == o.pulp_created &&
250
- name == o.name &&
251
- no_content_change_since == o.no_content_change_since &&
252
249
  pulp_last_updated == o.pulp_last_updated &&
253
- prn == o.prn &&
250
+ pulp_href == o.pulp_href &&
251
+ no_content_change_since == o.no_content_change_since &&
254
252
  repository == o.repository &&
253
+ name == o.name &&
254
+ hidden == o.hidden &&
255
255
  pulp_labels == o.pulp_labels &&
256
+ pulp_created == o.pulp_created &&
256
257
  base_path == o.base_path &&
257
- pulp_href == o.pulp_href &&
258
+ prn == o.prn &&
258
259
  content_guard == o.content_guard &&
259
- hidden == o.hidden &&
260
260
  remote == o.remote &&
261
261
  distributions == o.distributions &&
262
262
  namespace == o.namespace &&
@@ -273,7 +273,7 @@ module PulpContainerClient
273
273
  # Calculates hash code according to all attributes.
274
274
  # @return [Integer] Hash code
275
275
  def hash
276
- [pulp_created, name, no_content_change_since, pulp_last_updated, prn, repository, pulp_labels, base_path, pulp_href, content_guard, hidden, remote, distributions, namespace, private, description].hash
276
+ [pulp_last_updated, pulp_href, no_content_change_since, repository, name, hidden, pulp_labels, pulp_created, base_path, prn, content_guard, remote, distributions, namespace, private, description].hash
277
277
  end
278
278
 
279
279
  # Builds the object from hash
@@ -19,25 +19,25 @@ module PulpContainerClient
19
19
  # An optional description.
20
20
  attr_accessor :description
21
21
 
22
+ # A unique name for this repository.
23
+ attr_accessor :name
24
+
22
25
  # Retain X versions of the repository. Default is null which retains all versions.
23
26
  attr_accessor :retain_repo_versions
24
27
 
25
- # A reference to an associated signing service.
26
- attr_accessor :manifest_signing_service
27
-
28
28
  attr_accessor :pulp_labels
29
29
 
30
- # A unique name for this repository.
31
- attr_accessor :name
30
+ # A reference to an associated signing service.
31
+ attr_accessor :manifest_signing_service
32
32
 
33
33
  # Attribute mapping from ruby-style variable name to JSON key.
34
34
  def self.attribute_map
35
35
  {
36
36
  :'description' => :'description',
37
+ :'name' => :'name',
37
38
  :'retain_repo_versions' => :'retain_repo_versions',
38
- :'manifest_signing_service' => :'manifest_signing_service',
39
39
  :'pulp_labels' => :'pulp_labels',
40
- :'name' => :'name'
40
+ :'manifest_signing_service' => :'manifest_signing_service'
41
41
  }
42
42
  end
43
43
 
@@ -50,10 +50,10 @@ module PulpContainerClient
50
50
  def self.openapi_types
51
51
  {
52
52
  :'description' => :'String',
53
+ :'name' => :'String',
53
54
  :'retain_repo_versions' => :'Integer',
54
- :'manifest_signing_service' => :'String',
55
55
  :'pulp_labels' => :'Hash<String, String>',
56
- :'name' => :'String'
56
+ :'manifest_signing_service' => :'String'
57
57
  }
58
58
  end
59
59
 
@@ -62,7 +62,7 @@ module PulpContainerClient
62
62
  Set.new([
63
63
  :'description',
64
64
  :'retain_repo_versions',
65
- :'manifest_signing_service',
65
+ :'manifest_signing_service'
66
66
  ])
67
67
  end
68
68
 
@@ -85,12 +85,14 @@ module PulpContainerClient
85
85
  self.description = attributes[:'description']
86
86
  end
87
87
 
88
- if attributes.key?(:'retain_repo_versions')
89
- self.retain_repo_versions = attributes[:'retain_repo_versions']
88
+ if attributes.key?(:'name')
89
+ self.name = attributes[:'name']
90
+ else
91
+ self.name = nil
90
92
  end
91
93
 
92
- if attributes.key?(:'manifest_signing_service')
93
- self.manifest_signing_service = attributes[:'manifest_signing_service']
94
+ if attributes.key?(:'retain_repo_versions')
95
+ self.retain_repo_versions = attributes[:'retain_repo_versions']
94
96
  end
95
97
 
96
98
  if attributes.key?(:'pulp_labels')
@@ -99,10 +101,8 @@ module PulpContainerClient
99
101
  end
100
102
  end
101
103
 
102
- if attributes.key?(:'name')
103
- self.name = attributes[:'name']
104
- else
105
- self.name = nil
104
+ if attributes.key?(:'manifest_signing_service')
105
+ self.manifest_signing_service = attributes[:'manifest_signing_service']
106
106
  end
107
107
  end
108
108
 
@@ -166,10 +166,10 @@ module PulpContainerClient
166
166
  return true if self.equal?(o)
167
167
  self.class == o.class &&
168
168
  description == o.description &&
169
+ name == o.name &&
169
170
  retain_repo_versions == o.retain_repo_versions &&
170
- manifest_signing_service == o.manifest_signing_service &&
171
171
  pulp_labels == o.pulp_labels &&
172
- name == o.name
172
+ manifest_signing_service == o.manifest_signing_service
173
173
  end
174
174
 
175
175
  # @see the `==` method
@@ -181,7 +181,7 @@ module PulpContainerClient
181
181
  # Calculates hash code according to all attributes.
182
182
  # @return [Integer] Hash code
183
183
  def hash
184
- [description, retain_repo_versions, manifest_signing_service, pulp_labels, name].hash
184
+ [description, name, retain_repo_versions, pulp_labels, manifest_signing_service].hash
185
185
  end
186
186
 
187
187
  # Builds the object from hash
@@ -16,49 +16,49 @@ require 'time'
16
16
  module PulpContainerClient
17
17
  # Serializer for Container Push Repositories.
18
18
  class ContainerContainerPushRepositoryResponse
19
- # Timestamp of creation.
20
- attr_accessor :pulp_created
19
+ # 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.
20
+ attr_accessor :pulp_last_updated
21
+
22
+ attr_accessor :pulp_href
21
23
 
22
24
  # An optional description.
23
25
  attr_accessor :description
24
26
 
27
+ attr_accessor :latest_version_href
28
+
29
+ # A unique name for this repository.
30
+ attr_accessor :name
31
+
25
32
  # Retain X versions of the repository. Default is null which retains all versions.
26
33
  attr_accessor :retain_repo_versions
27
34
 
28
- # 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.
29
- attr_accessor :pulp_last_updated
35
+ attr_accessor :pulp_labels
30
36
 
31
37
  # A reference to an associated signing service.
32
38
  attr_accessor :manifest_signing_service
33
39
 
34
- # The Pulp Resource Name (PRN).
35
- attr_accessor :prn
36
-
37
- attr_accessor :pulp_labels
38
-
39
- attr_accessor :pulp_href
40
+ # Timestamp of creation.
41
+ attr_accessor :pulp_created
40
42
 
41
43
  attr_accessor :versions_href
42
44
 
43
- # A unique name for this repository.
44
- attr_accessor :name
45
-
46
- attr_accessor :latest_version_href
45
+ # The Pulp Resource Name (PRN).
46
+ attr_accessor :prn
47
47
 
48
48
  # Attribute mapping from ruby-style variable name to JSON key.
49
49
  def self.attribute_map
50
50
  {
51
- :'pulp_created' => :'pulp_created',
51
+ :'pulp_last_updated' => :'pulp_last_updated',
52
+ :'pulp_href' => :'pulp_href',
52
53
  :'description' => :'description',
54
+ :'latest_version_href' => :'latest_version_href',
55
+ :'name' => :'name',
53
56
  :'retain_repo_versions' => :'retain_repo_versions',
54
- :'pulp_last_updated' => :'pulp_last_updated',
55
- :'manifest_signing_service' => :'manifest_signing_service',
56
- :'prn' => :'prn',
57
57
  :'pulp_labels' => :'pulp_labels',
58
- :'pulp_href' => :'pulp_href',
58
+ :'manifest_signing_service' => :'manifest_signing_service',
59
+ :'pulp_created' => :'pulp_created',
59
60
  :'versions_href' => :'versions_href',
60
- :'name' => :'name',
61
- :'latest_version_href' => :'latest_version_href'
61
+ :'prn' => :'prn'
62
62
  }
63
63
  end
64
64
 
@@ -70,17 +70,17 @@ module PulpContainerClient
70
70
  # Attribute type mapping.
71
71
  def self.openapi_types
72
72
  {
73
- :'pulp_created' => :'Time',
73
+ :'pulp_last_updated' => :'Time',
74
+ :'pulp_href' => :'String',
74
75
  :'description' => :'String',
76
+ :'latest_version_href' => :'String',
77
+ :'name' => :'String',
75
78
  :'retain_repo_versions' => :'Integer',
76
- :'pulp_last_updated' => :'Time',
77
- :'manifest_signing_service' => :'String',
78
- :'prn' => :'String',
79
79
  :'pulp_labels' => :'Hash<String, String>',
80
- :'pulp_href' => :'String',
80
+ :'manifest_signing_service' => :'String',
81
+ :'pulp_created' => :'Time',
81
82
  :'versions_href' => :'String',
82
- :'name' => :'String',
83
- :'latest_version_href' => :'String'
83
+ :'prn' => :'String'
84
84
  }
85
85
  end
86
86
 
@@ -108,28 +108,30 @@ module PulpContainerClient
108
108
  h[k.to_sym] = v
109
109
  }
110
110
 
111
- if attributes.key?(:'pulp_created')
112
- self.pulp_created = attributes[:'pulp_created']
111
+ if attributes.key?(:'pulp_last_updated')
112
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
113
113
  end
114
114
 
115
- if attributes.key?(:'description')
116
- self.description = attributes[:'description']
115
+ if attributes.key?(:'pulp_href')
116
+ self.pulp_href = attributes[:'pulp_href']
117
117
  end
118
118
 
119
- if attributes.key?(:'retain_repo_versions')
120
- self.retain_repo_versions = attributes[:'retain_repo_versions']
119
+ if attributes.key?(:'description')
120
+ self.description = attributes[:'description']
121
121
  end
122
122
 
123
- if attributes.key?(:'pulp_last_updated')
124
- self.pulp_last_updated = attributes[:'pulp_last_updated']
123
+ if attributes.key?(:'latest_version_href')
124
+ self.latest_version_href = attributes[:'latest_version_href']
125
125
  end
126
126
 
127
- if attributes.key?(:'manifest_signing_service')
128
- self.manifest_signing_service = attributes[:'manifest_signing_service']
127
+ if attributes.key?(:'name')
128
+ self.name = attributes[:'name']
129
+ else
130
+ self.name = nil
129
131
  end
130
132
 
131
- if attributes.key?(:'prn')
132
- self.prn = attributes[:'prn']
133
+ if attributes.key?(:'retain_repo_versions')
134
+ self.retain_repo_versions = attributes[:'retain_repo_versions']
133
135
  end
134
136
 
135
137
  if attributes.key?(:'pulp_labels')
@@ -138,22 +140,20 @@ module PulpContainerClient
138
140
  end
139
141
  end
140
142
 
141
- if attributes.key?(:'pulp_href')
142
- self.pulp_href = attributes[:'pulp_href']
143
+ if attributes.key?(:'manifest_signing_service')
144
+ self.manifest_signing_service = attributes[:'manifest_signing_service']
143
145
  end
144
146
 
145
- if attributes.key?(:'versions_href')
146
- self.versions_href = attributes[:'versions_href']
147
+ if attributes.key?(:'pulp_created')
148
+ self.pulp_created = attributes[:'pulp_created']
147
149
  end
148
150
 
149
- if attributes.key?(:'name')
150
- self.name = attributes[:'name']
151
- else
152
- self.name = nil
151
+ if attributes.key?(:'versions_href')
152
+ self.versions_href = attributes[:'versions_href']
153
153
  end
154
154
 
155
- if attributes.key?(:'latest_version_href')
156
- self.latest_version_href = attributes[:'latest_version_href']
155
+ if attributes.key?(:'prn')
156
+ self.prn = attributes[:'prn']
157
157
  end
158
158
  end
159
159
 
@@ -182,17 +182,17 @@ module PulpContainerClient
182
182
  def ==(o)
183
183
  return true if self.equal?(o)
184
184
  self.class == o.class &&
185
- pulp_created == o.pulp_created &&
185
+ pulp_last_updated == o.pulp_last_updated &&
186
+ pulp_href == o.pulp_href &&
186
187
  description == o.description &&
188
+ latest_version_href == o.latest_version_href &&
189
+ name == o.name &&
187
190
  retain_repo_versions == o.retain_repo_versions &&
188
- pulp_last_updated == o.pulp_last_updated &&
189
- manifest_signing_service == o.manifest_signing_service &&
190
- prn == o.prn &&
191
191
  pulp_labels == o.pulp_labels &&
192
- pulp_href == o.pulp_href &&
192
+ manifest_signing_service == o.manifest_signing_service &&
193
+ pulp_created == o.pulp_created &&
193
194
  versions_href == o.versions_href &&
194
- name == o.name &&
195
- latest_version_href == o.latest_version_href
195
+ prn == o.prn
196
196
  end
197
197
 
198
198
  # @see the `==` method
@@ -204,7 +204,7 @@ module PulpContainerClient
204
204
  # Calculates hash code according to all attributes.
205
205
  # @return [Integer] Hash code
206
206
  def hash
207
- [pulp_created, description, retain_repo_versions, pulp_last_updated, manifest_signing_service, prn, pulp_labels, pulp_href, versions_href, name, latest_version_href].hash
207
+ [pulp_last_updated, pulp_href, description, latest_version_href, name, retain_repo_versions, pulp_labels, manifest_signing_service, pulp_created, versions_href, prn].hash
208
208
  end
209
209
 
210
210
  # Builds the object from hash
@@ -16,11 +16,14 @@ require 'time'
16
16
  module PulpContainerClient
17
17
  # A serializer for ContainerDistribution.
18
18
  class PatchedcontainerContainerDistribution
19
+ # The latest RepositoryVersion for this Repository will be served.
20
+ attr_accessor :repository
21
+
19
22
  # A unique name. Ex, `rawhide` and `stable`.
20
23
  attr_accessor :name
21
24
 
22
- # The latest RepositoryVersion for this Repository will be served.
23
- attr_accessor :repository
25
+ # Whether this distribution should be shown in the content app.
26
+ attr_accessor :hidden
24
27
 
25
28
  attr_accessor :pulp_labels
26
29
 
@@ -30,9 +33,6 @@ module PulpContainerClient
30
33
  # An optional content-guard. If none is specified, a default one will be used.
31
34
  attr_accessor :content_guard
32
35
 
33
- # Whether this distribution should be shown in the content app.
34
- attr_accessor :hidden
35
-
36
36
  # RepositoryVersion to be served
37
37
  attr_accessor :repository_version
38
38
 
@@ -45,12 +45,12 @@ module PulpContainerClient
45
45
  # Attribute mapping from ruby-style variable name to JSON key.
46
46
  def self.attribute_map
47
47
  {
48
- :'name' => :'name',
49
48
  :'repository' => :'repository',
49
+ :'name' => :'name',
50
+ :'hidden' => :'hidden',
50
51
  :'pulp_labels' => :'pulp_labels',
51
52
  :'base_path' => :'base_path',
52
53
  :'content_guard' => :'content_guard',
53
- :'hidden' => :'hidden',
54
54
  :'repository_version' => :'repository_version',
55
55
  :'private' => :'private',
56
56
  :'description' => :'description'
@@ -65,12 +65,12 @@ module PulpContainerClient
65
65
  # Attribute type mapping.
66
66
  def self.openapi_types
67
67
  {
68
- :'name' => :'String',
69
68
  :'repository' => :'String',
69
+ :'name' => :'String',
70
+ :'hidden' => :'Boolean',
70
71
  :'pulp_labels' => :'Hash<String, String>',
71
72
  :'base_path' => :'String',
72
73
  :'content_guard' => :'String',
73
- :'hidden' => :'Boolean',
74
74
  :'repository_version' => :'String',
75
75
  :'private' => :'Boolean',
76
76
  :'description' => :'String'
@@ -101,12 +101,18 @@ module PulpContainerClient
101
101
  h[k.to_sym] = v
102
102
  }
103
103
 
104
+ if attributes.key?(:'repository')
105
+ self.repository = attributes[:'repository']
106
+ end
107
+
104
108
  if attributes.key?(:'name')
105
109
  self.name = attributes[:'name']
106
110
  end
107
111
 
108
- if attributes.key?(:'repository')
109
- self.repository = attributes[:'repository']
112
+ if attributes.key?(:'hidden')
113
+ self.hidden = attributes[:'hidden']
114
+ else
115
+ self.hidden = false
110
116
  end
111
117
 
112
118
  if attributes.key?(:'pulp_labels')
@@ -123,12 +129,6 @@ module PulpContainerClient
123
129
  self.content_guard = attributes[:'content_guard']
124
130
  end
125
131
 
126
- if attributes.key?(:'hidden')
127
- self.hidden = attributes[:'hidden']
128
- else
129
- self.hidden = false
130
- end
131
-
132
132
  if attributes.key?(:'repository_version')
133
133
  self.repository_version = attributes[:'repository_version']
134
134
  end
@@ -215,12 +215,12 @@ module PulpContainerClient
215
215
  def ==(o)
216
216
  return true if self.equal?(o)
217
217
  self.class == o.class &&
218
- name == o.name &&
219
218
  repository == o.repository &&
219
+ name == o.name &&
220
+ hidden == o.hidden &&
220
221
  pulp_labels == o.pulp_labels &&
221
222
  base_path == o.base_path &&
222
223
  content_guard == o.content_guard &&
223
- hidden == o.hidden &&
224
224
  repository_version == o.repository_version &&
225
225
  private == o.private &&
226
226
  description == o.description
@@ -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
- [name, repository, pulp_labels, base_path, content_guard, hidden, repository_version, private, description].hash
238
+ [repository, name, hidden, pulp_labels, base_path, content_guard, repository_version, private, description].hash
239
239
  end
240
240
 
241
241
  # Builds the object from hash