pulp_container_client 2.26.18 → 2.26.20

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 +6 -6
  4. data/docs/ContainerContainerDistributionResponse.md +10 -10
  5. data/docs/ContainerContainerPullThroughDistribution.md +6 -6
  6. data/docs/ContainerContainerPullThroughDistributionResponse.md +10 -10
  7. data/docs/ContainerContainerPushRepository.md +5 -5
  8. data/docs/ContainerContainerPushRepositoryResponse.md +13 -13
  9. data/docs/PatchedcontainerContainerDistribution.md +6 -6
  10. data/docs/PatchedcontainerContainerPullThroughDistribution.md +6 -6
  11. data/docs/PatchedcontainerContainerPushRepository.md +5 -5
  12. data/lib/pulp_container_client/models/container_container_distribution.rb +29 -29
  13. data/lib/pulp_container_client/models/container_container_distribution_response.rb +46 -46
  14. data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +29 -29
  15. data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +46 -46
  16. data/lib/pulp_container_client/models/container_container_push_repository.rb +43 -43
  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 +25 -25
  19. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +25 -25
  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 +9 -9
  23. data/spec/models/container_container_distribution_spec.rb +6 -6
  24. data/spec/models/container_container_pull_through_distribution_response_spec.rb +9 -9
  25. data/spec/models/container_container_pull_through_distribution_spec.rb +6 -6
  26. data/spec/models/container_container_push_repository_response_spec.rb +11 -11
  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
@@ -16,8 +16,8 @@ require 'time'
16
16
  module PulpContainerClient
17
17
  # A serializer for ContainerDistribution.
18
18
  class ContainerContainerDistributionResponse
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.
20
- attr_accessor :no_content_change_since
19
+ # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
20
+ attr_accessor :base_path
21
21
 
22
22
  # Whether this distribution should be shown in the content app.
23
23
  attr_accessor :hidden
@@ -25,28 +25,28 @@ module PulpContainerClient
25
25
  # 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.
26
26
  attr_accessor :pulp_last_updated
27
27
 
28
+ # Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
29
+ attr_accessor :no_content_change_since
30
+
28
31
  # An optional content-guard. If none is specified, a default one will be used.
29
32
  attr_accessor :content_guard
30
33
 
31
- # The latest RepositoryVersion for this Repository will be served.
32
- attr_accessor :repository
34
+ # A unique name. Ex, `rawhide` and `stable`.
35
+ attr_accessor :name
36
+
37
+ # The Pulp Resource Name (PRN).
38
+ attr_accessor :prn
33
39
 
34
40
  attr_accessor :pulp_labels
35
41
 
36
42
  attr_accessor :pulp_href
37
43
 
38
- # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
39
- attr_accessor :base_path
40
-
41
- # The Pulp Resource Name (PRN).
42
- attr_accessor :prn
44
+ # The latest RepositoryVersion for this Repository will be served.
45
+ attr_accessor :repository
43
46
 
44
47
  # Timestamp of creation.
45
48
  attr_accessor :pulp_created
46
49
 
47
- # A unique name. Ex, `rawhide` and `stable`.
48
- attr_accessor :name
49
-
50
50
  # RepositoryVersion to be served
51
51
  attr_accessor :repository_version
52
52
 
@@ -68,17 +68,17 @@ module PulpContainerClient
68
68
  # Attribute mapping from ruby-style variable name to JSON key.
69
69
  def self.attribute_map
70
70
  {
71
- :'no_content_change_since' => :'no_content_change_since',
71
+ :'base_path' => :'base_path',
72
72
  :'hidden' => :'hidden',
73
73
  :'pulp_last_updated' => :'pulp_last_updated',
74
+ :'no_content_change_since' => :'no_content_change_since',
74
75
  :'content_guard' => :'content_guard',
75
- :'repository' => :'repository',
76
+ :'name' => :'name',
77
+ :'prn' => :'prn',
76
78
  :'pulp_labels' => :'pulp_labels',
77
79
  :'pulp_href' => :'pulp_href',
78
- :'base_path' => :'base_path',
79
- :'prn' => :'prn',
80
+ :'repository' => :'repository',
80
81
  :'pulp_created' => :'pulp_created',
81
- :'name' => :'name',
82
82
  :'repository_version' => :'repository_version',
83
83
  :'registry_path' => :'registry_path',
84
84
  :'remote' => :'remote',
@@ -96,17 +96,17 @@ module PulpContainerClient
96
96
  # Attribute type mapping.
97
97
  def self.openapi_types
98
98
  {
99
- :'no_content_change_since' => :'String',
99
+ :'base_path' => :'String',
100
100
  :'hidden' => :'Boolean',
101
101
  :'pulp_last_updated' => :'Time',
102
+ :'no_content_change_since' => :'String',
102
103
  :'content_guard' => :'String',
103
- :'repository' => :'String',
104
+ :'name' => :'String',
105
+ :'prn' => :'String',
104
106
  :'pulp_labels' => :'Hash<String, String>',
105
107
  :'pulp_href' => :'String',
106
- :'base_path' => :'String',
107
- :'prn' => :'String',
108
+ :'repository' => :'String',
108
109
  :'pulp_created' => :'Time',
109
- :'name' => :'String',
110
110
  :'repository_version' => :'String',
111
111
  :'registry_path' => :'String',
112
112
  :'remote' => :'String',
@@ -140,8 +140,10 @@ module PulpContainerClient
140
140
  h[k.to_sym] = v
141
141
  }
142
142
 
143
- if attributes.key?(:'no_content_change_since')
144
- self.no_content_change_since = attributes[:'no_content_change_since']
143
+ if attributes.key?(:'base_path')
144
+ self.base_path = attributes[:'base_path']
145
+ else
146
+ self.base_path = nil
145
147
  end
146
148
 
147
149
  if attributes.key?(:'hidden')
@@ -154,12 +156,22 @@ module PulpContainerClient
154
156
  self.pulp_last_updated = attributes[:'pulp_last_updated']
155
157
  end
156
158
 
159
+ if attributes.key?(:'no_content_change_since')
160
+ self.no_content_change_since = attributes[:'no_content_change_since']
161
+ end
162
+
157
163
  if attributes.key?(:'content_guard')
158
164
  self.content_guard = attributes[:'content_guard']
159
165
  end
160
166
 
161
- if attributes.key?(:'repository')
162
- self.repository = attributes[:'repository']
167
+ if attributes.key?(:'name')
168
+ self.name = attributes[:'name']
169
+ else
170
+ self.name = nil
171
+ end
172
+
173
+ if attributes.key?(:'prn')
174
+ self.prn = attributes[:'prn']
163
175
  end
164
176
 
165
177
  if attributes.key?(:'pulp_labels')
@@ -172,26 +184,14 @@ module PulpContainerClient
172
184
  self.pulp_href = attributes[:'pulp_href']
173
185
  end
174
186
 
175
- if attributes.key?(:'base_path')
176
- self.base_path = attributes[:'base_path']
177
- else
178
- self.base_path = nil
179
- end
180
-
181
- if attributes.key?(:'prn')
182
- self.prn = attributes[:'prn']
187
+ if attributes.key?(:'repository')
188
+ self.repository = attributes[:'repository']
183
189
  end
184
190
 
185
191
  if attributes.key?(:'pulp_created')
186
192
  self.pulp_created = attributes[:'pulp_created']
187
193
  end
188
194
 
189
- if attributes.key?(:'name')
190
- self.name = attributes[:'name']
191
- else
192
- self.name = nil
193
- end
194
-
195
195
  if attributes.key?(:'repository_version')
196
196
  self.repository_version = attributes[:'repository_version']
197
197
  end
@@ -247,17 +247,17 @@ module PulpContainerClient
247
247
  def ==(o)
248
248
  return true if self.equal?(o)
249
249
  self.class == o.class &&
250
- no_content_change_since == o.no_content_change_since &&
250
+ base_path == o.base_path &&
251
251
  hidden == o.hidden &&
252
252
  pulp_last_updated == o.pulp_last_updated &&
253
+ no_content_change_since == o.no_content_change_since &&
253
254
  content_guard == o.content_guard &&
254
- repository == o.repository &&
255
+ name == o.name &&
256
+ prn == o.prn &&
255
257
  pulp_labels == o.pulp_labels &&
256
258
  pulp_href == o.pulp_href &&
257
- base_path == o.base_path &&
258
- prn == o.prn &&
259
+ repository == o.repository &&
259
260
  pulp_created == o.pulp_created &&
260
- name == o.name &&
261
261
  repository_version == o.repository_version &&
262
262
  registry_path == o.registry_path &&
263
263
  remote == o.remote &&
@@ -275,7 +275,7 @@ module PulpContainerClient
275
275
  # Calculates hash code according to all attributes.
276
276
  # @return [Integer] Hash code
277
277
  def hash
278
- [no_content_change_since, hidden, pulp_last_updated, content_guard, repository, pulp_labels, pulp_href, base_path, prn, pulp_created, name, repository_version, registry_path, remote, namespace, private, description].hash
278
+ [base_path, hidden, pulp_last_updated, no_content_change_since, content_guard, name, prn, pulp_labels, pulp_href, repository, pulp_created, repository_version, registry_path, remote, namespace, private, description].hash
279
279
  end
280
280
 
281
281
  # Builds the object from hash
@@ -16,22 +16,22 @@ require 'time'
16
16
  module PulpContainerClient
17
17
  # A serializer for a specialized pull-through distribution referencing sub-distributions.
18
18
  class ContainerContainerPullThroughDistribution
19
+ # The registry path exposed by this pull-through distribution.
20
+ attr_accessor :base_path
21
+
19
22
  # Whether this distribution should be shown in the content app.
20
23
  attr_accessor :hidden
21
24
 
22
25
  # An optional content-guard. If none is specified, a default one will be used.
23
26
  attr_accessor :content_guard
24
27
 
25
- # The latest RepositoryVersion for this Repository will be served.
26
- attr_accessor :repository
28
+ # A unique name. Ex, `rawhide` and `stable`.
29
+ attr_accessor :name
27
30
 
28
31
  attr_accessor :pulp_labels
29
32
 
30
- # The registry path exposed by this pull-through distribution.
31
- attr_accessor :base_path
32
-
33
- # A unique name. Ex, `rawhide` and `stable`.
34
- attr_accessor :name
33
+ # The latest RepositoryVersion for this Repository will be served.
34
+ attr_accessor :repository
35
35
 
36
36
  # Remote that can be used to fetch content when using pull-through caching.
37
37
  attr_accessor :remote
@@ -48,12 +48,12 @@ module PulpContainerClient
48
48
  # Attribute mapping from ruby-style variable name to JSON key.
49
49
  def self.attribute_map
50
50
  {
51
+ :'base_path' => :'base_path',
51
52
  :'hidden' => :'hidden',
52
53
  :'content_guard' => :'content_guard',
53
- :'repository' => :'repository',
54
- :'pulp_labels' => :'pulp_labels',
55
- :'base_path' => :'base_path',
56
54
  :'name' => :'name',
55
+ :'pulp_labels' => :'pulp_labels',
56
+ :'repository' => :'repository',
57
57
  :'remote' => :'remote',
58
58
  :'distributions' => :'distributions',
59
59
  :'private' => :'private',
@@ -69,12 +69,12 @@ module PulpContainerClient
69
69
  # Attribute type mapping.
70
70
  def self.openapi_types
71
71
  {
72
+ :'base_path' => :'String',
72
73
  :'hidden' => :'Boolean',
73
74
  :'content_guard' => :'String',
74
- :'repository' => :'String',
75
- :'pulp_labels' => :'Hash<String, String>',
76
- :'base_path' => :'String',
77
75
  :'name' => :'String',
76
+ :'pulp_labels' => :'Hash<String, String>',
77
+ :'repository' => :'String',
78
78
  :'remote' => :'String',
79
79
  :'distributions' => :'Array<String>',
80
80
  :'private' => :'Boolean',
@@ -105,6 +105,12 @@ module PulpContainerClient
105
105
  h[k.to_sym] = v
106
106
  }
107
107
 
108
+ if attributes.key?(:'base_path')
109
+ self.base_path = attributes[:'base_path']
110
+ else
111
+ self.base_path = nil
112
+ end
113
+
108
114
  if attributes.key?(:'hidden')
109
115
  self.hidden = attributes[:'hidden']
110
116
  else
@@ -115,8 +121,10 @@ module PulpContainerClient
115
121
  self.content_guard = attributes[:'content_guard']
116
122
  end
117
123
 
118
- if attributes.key?(:'repository')
119
- self.repository = attributes[:'repository']
124
+ if attributes.key?(:'name')
125
+ self.name = attributes[:'name']
126
+ else
127
+ self.name = nil
120
128
  end
121
129
 
122
130
  if attributes.key?(:'pulp_labels')
@@ -125,16 +133,8 @@ module PulpContainerClient
125
133
  end
126
134
  end
127
135
 
128
- if attributes.key?(:'base_path')
129
- self.base_path = attributes[:'base_path']
130
- else
131
- self.base_path = nil
132
- end
133
-
134
- if attributes.key?(:'name')
135
- self.name = attributes[:'name']
136
- else
137
- self.name = nil
136
+ if attributes.key?(:'repository')
137
+ self.repository = attributes[:'repository']
138
138
  end
139
139
 
140
140
  if attributes.key?(:'remote')
@@ -246,12 +246,12 @@ module PulpContainerClient
246
246
  def ==(o)
247
247
  return true if self.equal?(o)
248
248
  self.class == o.class &&
249
+ base_path == o.base_path &&
249
250
  hidden == o.hidden &&
250
251
  content_guard == o.content_guard &&
251
- repository == o.repository &&
252
- pulp_labels == o.pulp_labels &&
253
- base_path == o.base_path &&
254
252
  name == o.name &&
253
+ pulp_labels == o.pulp_labels &&
254
+ repository == o.repository &&
255
255
  remote == o.remote &&
256
256
  distributions == o.distributions &&
257
257
  private == o.private &&
@@ -267,7 +267,7 @@ module PulpContainerClient
267
267
  # Calculates hash code according to all attributes.
268
268
  # @return [Integer] Hash code
269
269
  def hash
270
- [hidden, content_guard, repository, pulp_labels, base_path, name, remote, distributions, private, description].hash
270
+ [base_path, hidden, content_guard, name, pulp_labels, repository, remote, distributions, private, description].hash
271
271
  end
272
272
 
273
273
  # Builds the object from hash
@@ -16,8 +16,8 @@ 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 since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
20
- attr_accessor :no_content_change_since
19
+ # The registry path exposed by this pull-through distribution.
20
+ attr_accessor :base_path
21
21
 
22
22
  # Whether this distribution should be shown in the content app.
23
23
  attr_accessor :hidden
@@ -25,28 +25,28 @@ module PulpContainerClient
25
25
  # 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.
26
26
  attr_accessor :pulp_last_updated
27
27
 
28
+ # Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
29
+ attr_accessor :no_content_change_since
30
+
28
31
  # An optional content-guard. If none is specified, a default one will be used.
29
32
  attr_accessor :content_guard
30
33
 
31
- # The latest RepositoryVersion for this Repository will be served.
32
- attr_accessor :repository
34
+ # A unique name. Ex, `rawhide` and `stable`.
35
+ attr_accessor :name
36
+
37
+ # The Pulp Resource Name (PRN).
38
+ attr_accessor :prn
33
39
 
34
40
  attr_accessor :pulp_labels
35
41
 
36
42
  attr_accessor :pulp_href
37
43
 
38
- # The registry path exposed by this pull-through distribution.
39
- attr_accessor :base_path
40
-
41
- # The Pulp Resource Name (PRN).
42
- attr_accessor :prn
44
+ # The latest RepositoryVersion for this Repository will be served.
45
+ attr_accessor :repository
43
46
 
44
47
  # Timestamp of creation.
45
48
  attr_accessor :pulp_created
46
49
 
47
- # A unique name. Ex, `rawhide` and `stable`.
48
- attr_accessor :name
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
- :'no_content_change_since' => :'no_content_change_since',
68
+ :'base_path' => :'base_path',
69
69
  :'hidden' => :'hidden',
70
70
  :'pulp_last_updated' => :'pulp_last_updated',
71
+ :'no_content_change_since' => :'no_content_change_since',
71
72
  :'content_guard' => :'content_guard',
72
- :'repository' => :'repository',
73
+ :'name' => :'name',
74
+ :'prn' => :'prn',
73
75
  :'pulp_labels' => :'pulp_labels',
74
76
  :'pulp_href' => :'pulp_href',
75
- :'base_path' => :'base_path',
76
- :'prn' => :'prn',
77
+ :'repository' => :'repository',
77
78
  :'pulp_created' => :'pulp_created',
78
- :'name' => :'name',
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
- :'no_content_change_since' => :'String',
95
+ :'base_path' => :'String',
96
96
  :'hidden' => :'Boolean',
97
97
  :'pulp_last_updated' => :'Time',
98
+ :'no_content_change_since' => :'String',
98
99
  :'content_guard' => :'String',
99
- :'repository' => :'String',
100
+ :'name' => :'String',
101
+ :'prn' => :'String',
100
102
  :'pulp_labels' => :'Hash<String, String>',
101
103
  :'pulp_href' => :'String',
102
- :'base_path' => :'String',
103
- :'prn' => :'String',
104
+ :'repository' => :'String',
104
105
  :'pulp_created' => :'Time',
105
- :'name' => :'String',
106
106
  :'remote' => :'String',
107
107
  :'distributions' => :'Array<String>',
108
108
  :'namespace' => :'String',
@@ -134,8 +134,10 @@ module PulpContainerClient
134
134
  h[k.to_sym] = v
135
135
  }
136
136
 
137
- if attributes.key?(:'no_content_change_since')
138
- self.no_content_change_since = attributes[:'no_content_change_since']
137
+ if attributes.key?(:'base_path')
138
+ self.base_path = attributes[:'base_path']
139
+ else
140
+ self.base_path = nil
139
141
  end
140
142
 
141
143
  if attributes.key?(:'hidden')
@@ -148,12 +150,22 @@ module PulpContainerClient
148
150
  self.pulp_last_updated = attributes[:'pulp_last_updated']
149
151
  end
150
152
 
153
+ if attributes.key?(:'no_content_change_since')
154
+ self.no_content_change_since = attributes[:'no_content_change_since']
155
+ end
156
+
151
157
  if attributes.key?(:'content_guard')
152
158
  self.content_guard = attributes[:'content_guard']
153
159
  end
154
160
 
155
- if attributes.key?(:'repository')
156
- self.repository = attributes[:'repository']
161
+ if attributes.key?(:'name')
162
+ self.name = attributes[:'name']
163
+ else
164
+ self.name = nil
165
+ end
166
+
167
+ if attributes.key?(:'prn')
168
+ self.prn = attributes[:'prn']
157
169
  end
158
170
 
159
171
  if attributes.key?(:'pulp_labels')
@@ -166,26 +178,14 @@ module PulpContainerClient
166
178
  self.pulp_href = attributes[:'pulp_href']
167
179
  end
168
180
 
169
- if attributes.key?(:'base_path')
170
- self.base_path = attributes[:'base_path']
171
- else
172
- self.base_path = nil
173
- end
174
-
175
- if attributes.key?(:'prn')
176
- self.prn = attributes[:'prn']
181
+ if attributes.key?(:'repository')
182
+ self.repository = attributes[:'repository']
177
183
  end
178
184
 
179
185
  if attributes.key?(:'pulp_created')
180
186
  self.pulp_created = attributes[:'pulp_created']
181
187
  end
182
188
 
183
- if attributes.key?(:'name')
184
- self.name = attributes[:'name']
185
- else
186
- self.name = nil
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
- no_content_change_since == o.no_content_change_since &&
249
+ base_path == o.base_path &&
250
250
  hidden == o.hidden &&
251
251
  pulp_last_updated == o.pulp_last_updated &&
252
+ no_content_change_since == o.no_content_change_since &&
252
253
  content_guard == o.content_guard &&
253
- repository == o.repository &&
254
+ name == o.name &&
255
+ prn == o.prn &&
254
256
  pulp_labels == o.pulp_labels &&
255
257
  pulp_href == o.pulp_href &&
256
- base_path == o.base_path &&
257
- prn == o.prn &&
258
+ repository == o.repository &&
258
259
  pulp_created == o.pulp_created &&
259
- name == o.name &&
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
- [no_content_change_since, hidden, pulp_last_updated, content_guard, repository, pulp_labels, pulp_href, base_path, prn, pulp_created, name, remote, distributions, namespace, private, description].hash
276
+ [base_path, hidden, pulp_last_updated, no_content_change_since, content_guard, name, prn, pulp_labels, pulp_href, repository, pulp_created, remote, distributions, namespace, private, description].hash
277
277
  end
278
278
 
279
279
  # Builds the object from hash