pulp_container_client 2.26.3 → 2.26.5

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