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,36 +15,36 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # A serializer for ContainerDistribution.
17
17
  class ContainerContainerDistributionResponse
18
+ attr_accessor :pulp_href
19
+
20
+ # 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.
21
+ attr_accessor :pulp_last_updated
22
+
23
+ # The latest RepositoryVersion for this Repository will be served.
24
+ attr_accessor :repository
25
+
26
+ # Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
27
+ attr_accessor :no_content_change_since
28
+
18
29
  # Whether this distribution should be shown in the content app.
19
30
  attr_accessor :hidden
20
31
 
21
32
  # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
22
33
  attr_accessor :base_path
23
34
 
24
- # The Pulp Resource Name (PRN).
25
- attr_accessor :prn
26
-
27
35
  # Timestamp of creation.
28
36
  attr_accessor :pulp_created
29
37
 
30
38
  attr_accessor :pulp_labels
31
39
 
32
- attr_accessor :pulp_href
33
-
34
- # Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
35
- attr_accessor :no_content_change_since
36
-
37
- # The latest RepositoryVersion for this Repository will be served.
38
- attr_accessor :repository
40
+ # An optional content-guard. If none is specified, a default one will be used.
41
+ attr_accessor :content_guard
39
42
 
40
43
  # A unique name. Ex, `rawhide` and `stable`.
41
44
  attr_accessor :name
42
45
 
43
- # An optional content-guard. If none is specified, a default one will be used.
44
- attr_accessor :content_guard
45
-
46
- # 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.
47
- attr_accessor :pulp_last_updated
46
+ # The Pulp Resource Name (PRN).
47
+ attr_accessor :prn
48
48
 
49
49
  # RepositoryVersion to be served
50
50
  attr_accessor :repository_version
@@ -67,17 +67,17 @@ module PulpContainerClient
67
67
  # Attribute mapping from ruby-style variable name to JSON key.
68
68
  def self.attribute_map
69
69
  {
70
+ :'pulp_href' => :'pulp_href',
71
+ :'pulp_last_updated' => :'pulp_last_updated',
72
+ :'repository' => :'repository',
73
+ :'no_content_change_since' => :'no_content_change_since',
70
74
  :'hidden' => :'hidden',
71
75
  :'base_path' => :'base_path',
72
- :'prn' => :'prn',
73
76
  :'pulp_created' => :'pulp_created',
74
77
  :'pulp_labels' => :'pulp_labels',
75
- :'pulp_href' => :'pulp_href',
76
- :'no_content_change_since' => :'no_content_change_since',
77
- :'repository' => :'repository',
78
- :'name' => :'name',
79
78
  :'content_guard' => :'content_guard',
80
- :'pulp_last_updated' => :'pulp_last_updated',
79
+ :'name' => :'name',
80
+ :'prn' => :'prn',
81
81
  :'repository_version' => :'repository_version',
82
82
  :'registry_path' => :'registry_path',
83
83
  :'remote' => :'remote',
@@ -90,17 +90,17 @@ module PulpContainerClient
90
90
  # Attribute type mapping.
91
91
  def self.openapi_types
92
92
  {
93
+ :'pulp_href' => :'String',
94
+ :'pulp_last_updated' => :'DateTime',
95
+ :'repository' => :'String',
96
+ :'no_content_change_since' => :'String',
93
97
  :'hidden' => :'Boolean',
94
98
  :'base_path' => :'String',
95
- :'prn' => :'String',
96
99
  :'pulp_created' => :'DateTime',
97
100
  :'pulp_labels' => :'Hash<String, String>',
98
- :'pulp_href' => :'String',
99
- :'no_content_change_since' => :'String',
100
- :'repository' => :'String',
101
- :'name' => :'String',
102
101
  :'content_guard' => :'String',
103
- :'pulp_last_updated' => :'DateTime',
102
+ :'name' => :'String',
103
+ :'prn' => :'String',
104
104
  :'repository_version' => :'String',
105
105
  :'registry_path' => :'String',
106
106
  :'remote' => :'String',
@@ -134,6 +134,22 @@ module PulpContainerClient
134
134
  h[k.to_sym] = v
135
135
  }
136
136
 
137
+ if attributes.key?(:'pulp_href')
138
+ self.pulp_href = attributes[:'pulp_href']
139
+ end
140
+
141
+ if attributes.key?(:'pulp_last_updated')
142
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
143
+ end
144
+
145
+ if attributes.key?(:'repository')
146
+ self.repository = attributes[:'repository']
147
+ end
148
+
149
+ if attributes.key?(:'no_content_change_since')
150
+ self.no_content_change_since = attributes[:'no_content_change_since']
151
+ end
152
+
137
153
  if attributes.key?(:'hidden')
138
154
  self.hidden = attributes[:'hidden']
139
155
  else
@@ -144,10 +160,6 @@ module PulpContainerClient
144
160
  self.base_path = attributes[:'base_path']
145
161
  end
146
162
 
147
- if attributes.key?(:'prn')
148
- self.prn = attributes[:'prn']
149
- end
150
-
151
163
  if attributes.key?(:'pulp_created')
152
164
  self.pulp_created = attributes[:'pulp_created']
153
165
  end
@@ -158,28 +170,16 @@ module PulpContainerClient
158
170
  end
159
171
  end
160
172
 
161
- if attributes.key?(:'pulp_href')
162
- self.pulp_href = attributes[:'pulp_href']
163
- end
164
-
165
- if attributes.key?(:'no_content_change_since')
166
- self.no_content_change_since = attributes[:'no_content_change_since']
167
- end
168
-
169
- if attributes.key?(:'repository')
170
- self.repository = attributes[:'repository']
173
+ if attributes.key?(:'content_guard')
174
+ self.content_guard = attributes[:'content_guard']
171
175
  end
172
176
 
173
177
  if attributes.key?(:'name')
174
178
  self.name = attributes[:'name']
175
179
  end
176
180
 
177
- if attributes.key?(:'content_guard')
178
- self.content_guard = attributes[:'content_guard']
179
- end
180
-
181
- if attributes.key?(:'pulp_last_updated')
182
- self.pulp_last_updated = attributes[:'pulp_last_updated']
181
+ if attributes.key?(:'prn')
182
+ self.prn = attributes[:'prn']
183
183
  end
184
184
 
185
185
  if attributes.key?(:'repository_version')
@@ -235,17 +235,17 @@ module PulpContainerClient
235
235
  def ==(o)
236
236
  return true if self.equal?(o)
237
237
  self.class == o.class &&
238
+ pulp_href == o.pulp_href &&
239
+ pulp_last_updated == o.pulp_last_updated &&
240
+ repository == o.repository &&
241
+ no_content_change_since == o.no_content_change_since &&
238
242
  hidden == o.hidden &&
239
243
  base_path == o.base_path &&
240
- prn == o.prn &&
241
244
  pulp_created == o.pulp_created &&
242
245
  pulp_labels == o.pulp_labels &&
243
- pulp_href == o.pulp_href &&
244
- no_content_change_since == o.no_content_change_since &&
245
- repository == o.repository &&
246
- name == o.name &&
247
246
  content_guard == o.content_guard &&
248
- pulp_last_updated == o.pulp_last_updated &&
247
+ name == o.name &&
248
+ prn == o.prn &&
249
249
  repository_version == o.repository_version &&
250
250
  registry_path == o.registry_path &&
251
251
  remote == o.remote &&
@@ -263,7 +263,7 @@ module PulpContainerClient
263
263
  # Calculates hash code according to all attributes.
264
264
  # @return [Integer] Hash code
265
265
  def hash
266
- [hidden, base_path, prn, pulp_created, pulp_labels, pulp_href, no_content_change_since, repository, name, content_guard, pulp_last_updated, repository_version, registry_path, remote, namespace, private, description].hash
266
+ [pulp_href, pulp_last_updated, repository, no_content_change_since, hidden, base_path, pulp_created, pulp_labels, content_guard, name, prn, repository_version, registry_path, remote, namespace, private, description].hash
267
267
  end
268
268
 
269
269
  # 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 ContainerContainerPullThroughDistribution
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
@@ -232,12 +232,12 @@ module PulpContainerClient
232
232
  def ==(o)
233
233
  return true if self.equal?(o)
234
234
  self.class == o.class &&
235
+ repository == o.repository &&
235
236
  hidden == o.hidden &&
236
237
  base_path == o.base_path &&
237
238
  pulp_labels == o.pulp_labels &&
238
- repository == o.repository &&
239
- name == o.name &&
240
239
  content_guard == o.content_guard &&
240
+ name == o.name &&
241
241
  remote == o.remote &&
242
242
  distributions == o.distributions &&
243
243
  private == o.private &&
@@ -253,7 +253,7 @@ module PulpContainerClient
253
253
  # Calculates hash code according to all attributes.
254
254
  # @return [Integer] Hash code
255
255
  def hash
256
- [hidden, base_path, pulp_labels, repository, name, content_guard, remote, distributions, private, description].hash
256
+ [repository, hidden, base_path, pulp_labels, content_guard, name, remote, distributions, private, description].hash
257
257
  end
258
258
 
259
259
  # Builds the object from hash
@@ -15,36 +15,36 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # A serializer for a specialized pull-through distribution referencing sub-distributions.
17
17
  class ContainerContainerPullThroughDistributionResponse
18
+ attr_accessor :pulp_href
19
+
20
+ # 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.
21
+ attr_accessor :pulp_last_updated
22
+
23
+ # The latest RepositoryVersion for this Repository will be served.
24
+ attr_accessor :repository
25
+
26
+ # Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
27
+ attr_accessor :no_content_change_since
28
+
18
29
  # Whether this distribution should be shown in the content app.
19
30
  attr_accessor :hidden
20
31
 
21
32
  # The registry path exposed by this pull-through distribution.
22
33
  attr_accessor :base_path
23
34
 
24
- # The Pulp Resource Name (PRN).
25
- attr_accessor :prn
26
-
27
35
  # Timestamp of creation.
28
36
  attr_accessor :pulp_created
29
37
 
30
38
  attr_accessor :pulp_labels
31
39
 
32
- attr_accessor :pulp_href
33
-
34
- # Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
35
- attr_accessor :no_content_change_since
36
-
37
- # The latest RepositoryVersion for this Repository will be served.
38
- attr_accessor :repository
40
+ # An optional content-guard. If none is specified, a default one will be used.
41
+ attr_accessor :content_guard
39
42
 
40
43
  # A unique name. Ex, `rawhide` and `stable`.
41
44
  attr_accessor :name
42
45
 
43
- # An optional content-guard. If none is specified, a default one will be used.
44
- attr_accessor :content_guard
45
-
46
- # 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.
47
- attr_accessor :pulp_last_updated
46
+ # The Pulp Resource Name (PRN).
47
+ attr_accessor :prn
48
48
 
49
49
  # Remote that can be used to fetch content when using pull-through caching.
50
50
  attr_accessor :remote
@@ -64,17 +64,17 @@ module PulpContainerClient
64
64
  # Attribute mapping from ruby-style variable name to JSON key.
65
65
  def self.attribute_map
66
66
  {
67
+ :'pulp_href' => :'pulp_href',
68
+ :'pulp_last_updated' => :'pulp_last_updated',
69
+ :'repository' => :'repository',
70
+ :'no_content_change_since' => :'no_content_change_since',
67
71
  :'hidden' => :'hidden',
68
72
  :'base_path' => :'base_path',
69
- :'prn' => :'prn',
70
73
  :'pulp_created' => :'pulp_created',
71
74
  :'pulp_labels' => :'pulp_labels',
72
- :'pulp_href' => :'pulp_href',
73
- :'no_content_change_since' => :'no_content_change_since',
74
- :'repository' => :'repository',
75
- :'name' => :'name',
76
75
  :'content_guard' => :'content_guard',
77
- :'pulp_last_updated' => :'pulp_last_updated',
76
+ :'name' => :'name',
77
+ :'prn' => :'prn',
78
78
  :'remote' => :'remote',
79
79
  :'distributions' => :'distributions',
80
80
  :'namespace' => :'namespace',
@@ -86,17 +86,17 @@ module PulpContainerClient
86
86
  # Attribute type mapping.
87
87
  def self.openapi_types
88
88
  {
89
+ :'pulp_href' => :'String',
90
+ :'pulp_last_updated' => :'DateTime',
91
+ :'repository' => :'String',
92
+ :'no_content_change_since' => :'String',
89
93
  :'hidden' => :'Boolean',
90
94
  :'base_path' => :'String',
91
- :'prn' => :'String',
92
95
  :'pulp_created' => :'DateTime',
93
96
  :'pulp_labels' => :'Hash<String, String>',
94
- :'pulp_href' => :'String',
95
- :'no_content_change_since' => :'String',
96
- :'repository' => :'String',
97
- :'name' => :'String',
98
97
  :'content_guard' => :'String',
99
- :'pulp_last_updated' => :'DateTime',
98
+ :'name' => :'String',
99
+ :'prn' => :'String',
100
100
  :'remote' => :'String',
101
101
  :'distributions' => :'Array<String>',
102
102
  :'namespace' => :'String',
@@ -128,6 +128,22 @@ module PulpContainerClient
128
128
  h[k.to_sym] = v
129
129
  }
130
130
 
131
+ if attributes.key?(:'pulp_href')
132
+ self.pulp_href = attributes[:'pulp_href']
133
+ end
134
+
135
+ if attributes.key?(:'pulp_last_updated')
136
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
137
+ end
138
+
139
+ if attributes.key?(:'repository')
140
+ self.repository = attributes[:'repository']
141
+ end
142
+
143
+ if attributes.key?(:'no_content_change_since')
144
+ self.no_content_change_since = attributes[:'no_content_change_since']
145
+ end
146
+
131
147
  if attributes.key?(:'hidden')
132
148
  self.hidden = attributes[:'hidden']
133
149
  else
@@ -138,10 +154,6 @@ module PulpContainerClient
138
154
  self.base_path = attributes[:'base_path']
139
155
  end
140
156
 
141
- if attributes.key?(:'prn')
142
- self.prn = attributes[:'prn']
143
- end
144
-
145
157
  if attributes.key?(:'pulp_created')
146
158
  self.pulp_created = attributes[:'pulp_created']
147
159
  end
@@ -152,28 +164,16 @@ module PulpContainerClient
152
164
  end
153
165
  end
154
166
 
155
- if attributes.key?(:'pulp_href')
156
- self.pulp_href = attributes[:'pulp_href']
157
- end
158
-
159
- if attributes.key?(:'no_content_change_since')
160
- self.no_content_change_since = attributes[:'no_content_change_since']
161
- end
162
-
163
- if attributes.key?(:'repository')
164
- self.repository = attributes[:'repository']
167
+ if attributes.key?(:'content_guard')
168
+ self.content_guard = attributes[:'content_guard']
165
169
  end
166
170
 
167
171
  if attributes.key?(:'name')
168
172
  self.name = attributes[:'name']
169
173
  end
170
174
 
171
- if attributes.key?(:'content_guard')
172
- self.content_guard = attributes[:'content_guard']
173
- end
174
-
175
- if attributes.key?(:'pulp_last_updated')
176
- self.pulp_last_updated = attributes[:'pulp_last_updated']
175
+ if attributes.key?(:'prn')
176
+ self.prn = attributes[:'prn']
177
177
  end
178
178
 
179
179
  if attributes.key?(:'remote')
@@ -232,17 +232,17 @@ module PulpContainerClient
232
232
  def ==(o)
233
233
  return true if self.equal?(o)
234
234
  self.class == o.class &&
235
+ pulp_href == o.pulp_href &&
236
+ pulp_last_updated == o.pulp_last_updated &&
237
+ repository == o.repository &&
238
+ no_content_change_since == o.no_content_change_since &&
235
239
  hidden == o.hidden &&
236
240
  base_path == o.base_path &&
237
- prn == o.prn &&
238
241
  pulp_created == o.pulp_created &&
239
242
  pulp_labels == o.pulp_labels &&
240
- pulp_href == o.pulp_href &&
241
- no_content_change_since == o.no_content_change_since &&
242
- repository == o.repository &&
243
- name == o.name &&
244
243
  content_guard == o.content_guard &&
245
- pulp_last_updated == o.pulp_last_updated &&
244
+ name == o.name &&
245
+ prn == o.prn &&
246
246
  remote == o.remote &&
247
247
  distributions == o.distributions &&
248
248
  namespace == o.namespace &&
@@ -259,7 +259,7 @@ module PulpContainerClient
259
259
  # Calculates hash code according to all attributes.
260
260
  # @return [Integer] Hash code
261
261
  def hash
262
- [hidden, base_path, prn, pulp_created, pulp_labels, pulp_href, no_content_change_since, repository, name, content_guard, pulp_last_updated, remote, distributions, namespace, private, description].hash
262
+ [pulp_href, pulp_last_updated, repository, no_content_change_since, hidden, base_path, pulp_created, pulp_labels, content_guard, name, prn, remote, distributions, namespace, private, description].hash
263
263
  end
264
264
 
265
265
  # Builds the object from hash