pulp_container_client 2.20.10 → 2.20.12

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 (34) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +6 -6
  3. data/docs/ContainerContainerDistribution.md +8 -8
  4. data/docs/ContainerContainerDistributionResponse.md +10 -10
  5. data/docs/ContainerContainerPullThroughDistribution.md +9 -9
  6. data/docs/ContainerContainerPullThroughDistributionResponse.md +11 -11
  7. data/docs/ContainerContainerPushRepository.md +7 -7
  8. data/docs/ContainerContainerPushRepositoryResponse.md +13 -13
  9. data/docs/DistributionsPullThroughApi.md +6 -8
  10. data/docs/PatchedcontainerContainerDistribution.md +8 -8
  11. data/docs/PatchedcontainerContainerPullThroughDistribution.md +9 -9
  12. data/docs/PatchedcontainerContainerPushRepository.md +7 -7
  13. data/lib/pulp_container_client/api/distributions_pull_through_api.rb +4 -8
  14. data/lib/pulp_container_client/models/container_container_distribution.rb +34 -34
  15. data/lib/pulp_container_client/models/container_container_distribution_response.rb +48 -48
  16. data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +34 -34
  17. data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +49 -49
  18. data/lib/pulp_container_client/models/container_container_push_repository.rb +47 -47
  19. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +57 -57
  20. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +34 -34
  21. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +34 -34
  22. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +47 -47
  23. data/lib/pulp_container_client/version.rb +1 -1
  24. data/spec/api/distributions_pull_through_api_spec.rb +2 -4
  25. data/spec/models/container_container_distribution_response_spec.rb +8 -8
  26. data/spec/models/container_container_distribution_spec.rb +5 -5
  27. data/spec/models/container_container_pull_through_distribution_response_spec.rb +8 -8
  28. data/spec/models/container_container_pull_through_distribution_spec.rb +5 -5
  29. data/spec/models/container_container_push_repository_response_spec.rb +9 -9
  30. data/spec/models/container_container_push_repository_spec.rb +5 -5
  31. data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
  32. data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +5 -5
  33. data/spec/models/patchedcontainer_container_push_repository_spec.rb +5 -5
  34. metadata +61 -61
@@ -15,31 +15,31 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # A serializer for ContainerDistribution.
17
17
  class ContainerContainerDistributionResponse
18
- # An optional content-guard. If none is specified, a default one will be used.
19
- attr_accessor :content_guard
20
-
21
- attr_accessor :pulp_labels
18
+ attr_accessor :pulp_href
22
19
 
23
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.
24
21
  attr_accessor :pulp_last_updated
25
22
 
26
- # Whether this distribution should be shown in the content app.
27
- attr_accessor :hidden
28
-
29
- # The latest RepositoryVersion for this Repository will be served.
30
- attr_accessor :repository
31
-
32
- attr_accessor :pulp_href
33
-
34
23
  # Timestamp of creation.
35
24
  attr_accessor :pulp_created
36
25
 
37
26
  # A unique name. Ex, `rawhide` and `stable`.
38
27
  attr_accessor :name
39
28
 
29
+ # The latest RepositoryVersion for this Repository will be served.
30
+ attr_accessor :repository
31
+
32
+ # Whether this distribution should be shown in the content app.
33
+ attr_accessor :hidden
34
+
40
35
  # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
41
36
  attr_accessor :base_path
42
37
 
38
+ attr_accessor :pulp_labels
39
+
40
+ # An optional content-guard. If none is specified, a default one will be used.
41
+ attr_accessor :content_guard
42
+
43
43
  # RepositoryVersion to be served
44
44
  attr_accessor :repository_version
45
45
 
@@ -61,15 +61,15 @@ module PulpContainerClient
61
61
  # Attribute mapping from ruby-style variable name to JSON key.
62
62
  def self.attribute_map
63
63
  {
64
- :'content_guard' => :'content_guard',
65
- :'pulp_labels' => :'pulp_labels',
66
- :'pulp_last_updated' => :'pulp_last_updated',
67
- :'hidden' => :'hidden',
68
- :'repository' => :'repository',
69
64
  :'pulp_href' => :'pulp_href',
65
+ :'pulp_last_updated' => :'pulp_last_updated',
70
66
  :'pulp_created' => :'pulp_created',
71
67
  :'name' => :'name',
68
+ :'repository' => :'repository',
69
+ :'hidden' => :'hidden',
72
70
  :'base_path' => :'base_path',
71
+ :'pulp_labels' => :'pulp_labels',
72
+ :'content_guard' => :'content_guard',
73
73
  :'repository_version' => :'repository_version',
74
74
  :'registry_path' => :'registry_path',
75
75
  :'remote' => :'remote',
@@ -82,15 +82,15 @@ module PulpContainerClient
82
82
  # Attribute type mapping.
83
83
  def self.openapi_types
84
84
  {
85
- :'content_guard' => :'String',
86
- :'pulp_labels' => :'Hash<String, String>',
87
- :'pulp_last_updated' => :'DateTime',
88
- :'hidden' => :'Boolean',
89
- :'repository' => :'String',
90
85
  :'pulp_href' => :'String',
86
+ :'pulp_last_updated' => :'DateTime',
91
87
  :'pulp_created' => :'DateTime',
92
88
  :'name' => :'String',
89
+ :'repository' => :'String',
90
+ :'hidden' => :'Boolean',
93
91
  :'base_path' => :'String',
92
+ :'pulp_labels' => :'Hash<String, String>',
93
+ :'content_guard' => :'String',
94
94
  :'repository_version' => :'String',
95
95
  :'registry_path' => :'String',
96
96
  :'remote' => :'String',
@@ -124,44 +124,44 @@ module PulpContainerClient
124
124
  h[k.to_sym] = v
125
125
  }
126
126
 
127
- if attributes.key?(:'content_guard')
128
- self.content_guard = attributes[:'content_guard']
129
- end
130
-
131
- if attributes.key?(:'pulp_labels')
132
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
133
- self.pulp_labels = value
134
- end
127
+ if attributes.key?(:'pulp_href')
128
+ self.pulp_href = attributes[:'pulp_href']
135
129
  end
136
130
 
137
131
  if attributes.key?(:'pulp_last_updated')
138
132
  self.pulp_last_updated = attributes[:'pulp_last_updated']
139
133
  end
140
134
 
141
- if attributes.key?(:'hidden')
142
- self.hidden = attributes[:'hidden']
143
- else
144
- self.hidden = false
135
+ if attributes.key?(:'pulp_created')
136
+ self.pulp_created = attributes[:'pulp_created']
137
+ end
138
+
139
+ if attributes.key?(:'name')
140
+ self.name = attributes[:'name']
145
141
  end
146
142
 
147
143
  if attributes.key?(:'repository')
148
144
  self.repository = attributes[:'repository']
149
145
  end
150
146
 
151
- if attributes.key?(:'pulp_href')
152
- self.pulp_href = attributes[:'pulp_href']
147
+ if attributes.key?(:'hidden')
148
+ self.hidden = attributes[:'hidden']
149
+ else
150
+ self.hidden = false
153
151
  end
154
152
 
155
- if attributes.key?(:'pulp_created')
156
- self.pulp_created = attributes[:'pulp_created']
153
+ if attributes.key?(:'base_path')
154
+ self.base_path = attributes[:'base_path']
157
155
  end
158
156
 
159
- if attributes.key?(:'name')
160
- self.name = attributes[:'name']
157
+ if attributes.key?(:'pulp_labels')
158
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
159
+ self.pulp_labels = value
160
+ end
161
161
  end
162
162
 
163
- if attributes.key?(:'base_path')
164
- self.base_path = attributes[:'base_path']
163
+ if attributes.key?(:'content_guard')
164
+ self.content_guard = attributes[:'content_guard']
165
165
  end
166
166
 
167
167
  if attributes.key?(:'repository_version')
@@ -217,15 +217,15 @@ module PulpContainerClient
217
217
  def ==(o)
218
218
  return true if self.equal?(o)
219
219
  self.class == o.class &&
220
- content_guard == o.content_guard &&
221
- pulp_labels == o.pulp_labels &&
222
- pulp_last_updated == o.pulp_last_updated &&
223
- hidden == o.hidden &&
224
- repository == o.repository &&
225
220
  pulp_href == o.pulp_href &&
221
+ pulp_last_updated == o.pulp_last_updated &&
226
222
  pulp_created == o.pulp_created &&
227
223
  name == o.name &&
224
+ repository == o.repository &&
225
+ hidden == o.hidden &&
228
226
  base_path == o.base_path &&
227
+ pulp_labels == o.pulp_labels &&
228
+ content_guard == o.content_guard &&
229
229
  repository_version == o.repository_version &&
230
230
  registry_path == o.registry_path &&
231
231
  remote == o.remote &&
@@ -243,7 +243,7 @@ module PulpContainerClient
243
243
  # Calculates hash code according to all attributes.
244
244
  # @return [Integer] Hash code
245
245
  def hash
246
- [content_guard, pulp_labels, pulp_last_updated, hidden, repository, pulp_href, pulp_created, name, base_path, repository_version, registry_path, remote, namespace, private, description].hash
246
+ [pulp_href, pulp_last_updated, pulp_created, name, repository, hidden, base_path, pulp_labels, content_guard, repository_version, registry_path, remote, namespace, private, description].hash
247
247
  end
248
248
 
249
249
  # Builds the object from hash
@@ -15,22 +15,22 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # A serializer for a specialized pull-through distribution referencing sub-distributions.
17
17
  class ContainerContainerPullThroughDistribution
18
- # An optional content-guard. If none is specified, a default one will be used.
19
- attr_accessor :content_guard
18
+ # A unique name. Ex, `rawhide` and `stable`.
19
+ attr_accessor :name
20
20
 
21
- attr_accessor :pulp_labels
21
+ # The latest RepositoryVersion for this Repository will be served.
22
+ attr_accessor :repository
22
23
 
23
24
  # Whether this distribution should be shown in the content app.
24
25
  attr_accessor :hidden
25
26
 
26
- # The latest RepositoryVersion for this Repository will be served.
27
- attr_accessor :repository
27
+ # The registry path exposed by this pull-through distribution.
28
+ attr_accessor :base_path
28
29
 
29
- # A unique name. Ex, `rawhide` and `stable`.
30
- attr_accessor :name
30
+ attr_accessor :pulp_labels
31
31
 
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\")
33
- attr_accessor :base_path
32
+ # An optional content-guard. If none is specified, a default one will be used.
33
+ attr_accessor :content_guard
34
34
 
35
35
  # Remote that can be used to fetch content when using pull-through caching.
36
36
  attr_accessor :remote
@@ -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
- :'content_guard' => :'content_guard',
51
- :'pulp_labels' => :'pulp_labels',
52
- :'hidden' => :'hidden',
53
- :'repository' => :'repository',
54
50
  :'name' => :'name',
51
+ :'repository' => :'repository',
52
+ :'hidden' => :'hidden',
55
53
  :'base_path' => :'base_path',
54
+ :'pulp_labels' => :'pulp_labels',
55
+ :'content_guard' => :'content_guard',
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
- :'content_guard' => :'String',
67
- :'pulp_labels' => :'Hash<String, String>',
68
- :'hidden' => :'Boolean',
69
- :'repository' => :'String',
70
66
  :'name' => :'String',
67
+ :'repository' => :'String',
68
+ :'hidden' => :'Boolean',
71
69
  :'base_path' => :'String',
70
+ :'pulp_labels' => :'Hash<String, String>',
71
+ :'content_guard' => :'String',
72
72
  :'remote' => :'String',
73
73
  :'distributions' => :'Array<String>',
74
74
  :'private' => :'Boolean',
@@ -99,14 +99,12 @@ module PulpContainerClient
99
99
  h[k.to_sym] = v
100
100
  }
101
101
 
102
- if attributes.key?(:'content_guard')
103
- self.content_guard = attributes[:'content_guard']
102
+ if attributes.key?(:'name')
103
+ self.name = attributes[:'name']
104
104
  end
105
105
 
106
- if attributes.key?(:'pulp_labels')
107
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
108
- self.pulp_labels = value
109
- end
106
+ if attributes.key?(:'repository')
107
+ self.repository = attributes[:'repository']
110
108
  end
111
109
 
112
110
  if attributes.key?(:'hidden')
@@ -115,16 +113,18 @@ module PulpContainerClient
115
113
  self.hidden = false
116
114
  end
117
115
 
118
- if attributes.key?(:'repository')
119
- self.repository = attributes[:'repository']
116
+ if attributes.key?(:'base_path')
117
+ self.base_path = attributes[:'base_path']
120
118
  end
121
119
 
122
- if attributes.key?(:'name')
123
- self.name = attributes[:'name']
120
+ if attributes.key?(:'pulp_labels')
121
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
122
+ self.pulp_labels = value
123
+ end
124
124
  end
125
125
 
126
- if attributes.key?(:'base_path')
127
- self.base_path = attributes[:'base_path']
126
+ if attributes.key?(:'content_guard')
127
+ self.content_guard = attributes[:'content_guard']
128
128
  end
129
129
 
130
130
  if attributes.key?(:'remote')
@@ -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
- content_guard == o.content_guard &&
236
- pulp_labels == o.pulp_labels &&
237
- hidden == o.hidden &&
238
- repository == o.repository &&
239
235
  name == o.name &&
236
+ repository == o.repository &&
237
+ hidden == o.hidden &&
240
238
  base_path == o.base_path &&
239
+ pulp_labels == o.pulp_labels &&
240
+ content_guard == o.content_guard &&
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
- [content_guard, pulp_labels, hidden, repository, name, base_path, remote, distributions, private, description].hash
256
+ [name, repository, hidden, base_path, pulp_labels, content_guard, remote, distributions, private, description].hash
257
257
  end
258
258
 
259
259
  # Builds the object from hash
@@ -15,31 +15,31 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # A serializer for a specialized pull-through distribution referencing sub-distributions.
17
17
  class ContainerContainerPullThroughDistributionResponse
18
- # An optional content-guard. If none is specified, a default one will be used.
19
- attr_accessor :content_guard
20
-
21
- attr_accessor :pulp_labels
18
+ attr_accessor :pulp_href
22
19
 
23
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.
24
21
  attr_accessor :pulp_last_updated
25
22
 
26
- # Whether this distribution should be shown in the content app.
27
- attr_accessor :hidden
28
-
29
- # The latest RepositoryVersion for this Repository will be served.
30
- attr_accessor :repository
31
-
32
- attr_accessor :pulp_href
33
-
34
23
  # Timestamp of creation.
35
24
  attr_accessor :pulp_created
36
25
 
37
26
  # A unique name. Ex, `rawhide` and `stable`.
38
27
  attr_accessor :name
39
28
 
40
- # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
29
+ # The latest RepositoryVersion for this Repository will be served.
30
+ attr_accessor :repository
31
+
32
+ # Whether this distribution should be shown in the content app.
33
+ attr_accessor :hidden
34
+
35
+ # The registry path exposed by this pull-through distribution.
41
36
  attr_accessor :base_path
42
37
 
38
+ attr_accessor :pulp_labels
39
+
40
+ # An optional content-guard. If none is specified, a default one will be used.
41
+ attr_accessor :content_guard
42
+
43
43
  # Remote that can be used to fetch content when using pull-through caching.
44
44
  attr_accessor :remote
45
45
 
@@ -58,15 +58,15 @@ module PulpContainerClient
58
58
  # Attribute mapping from ruby-style variable name to JSON key.
59
59
  def self.attribute_map
60
60
  {
61
- :'content_guard' => :'content_guard',
62
- :'pulp_labels' => :'pulp_labels',
63
- :'pulp_last_updated' => :'pulp_last_updated',
64
- :'hidden' => :'hidden',
65
- :'repository' => :'repository',
66
61
  :'pulp_href' => :'pulp_href',
62
+ :'pulp_last_updated' => :'pulp_last_updated',
67
63
  :'pulp_created' => :'pulp_created',
68
64
  :'name' => :'name',
65
+ :'repository' => :'repository',
66
+ :'hidden' => :'hidden',
69
67
  :'base_path' => :'base_path',
68
+ :'pulp_labels' => :'pulp_labels',
69
+ :'content_guard' => :'content_guard',
70
70
  :'remote' => :'remote',
71
71
  :'distributions' => :'distributions',
72
72
  :'namespace' => :'namespace',
@@ -78,15 +78,15 @@ module PulpContainerClient
78
78
  # Attribute type mapping.
79
79
  def self.openapi_types
80
80
  {
81
- :'content_guard' => :'String',
82
- :'pulp_labels' => :'Hash<String, String>',
83
- :'pulp_last_updated' => :'DateTime',
84
- :'hidden' => :'Boolean',
85
- :'repository' => :'String',
86
81
  :'pulp_href' => :'String',
82
+ :'pulp_last_updated' => :'DateTime',
87
83
  :'pulp_created' => :'DateTime',
88
84
  :'name' => :'String',
85
+ :'repository' => :'String',
86
+ :'hidden' => :'Boolean',
89
87
  :'base_path' => :'String',
88
+ :'pulp_labels' => :'Hash<String, String>',
89
+ :'content_guard' => :'String',
90
90
  :'remote' => :'String',
91
91
  :'distributions' => :'Array<String>',
92
92
  :'namespace' => :'String',
@@ -118,44 +118,44 @@ module PulpContainerClient
118
118
  h[k.to_sym] = v
119
119
  }
120
120
 
121
- if attributes.key?(:'content_guard')
122
- self.content_guard = attributes[:'content_guard']
123
- end
124
-
125
- if attributes.key?(:'pulp_labels')
126
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
127
- self.pulp_labels = value
128
- end
121
+ if attributes.key?(:'pulp_href')
122
+ self.pulp_href = attributes[:'pulp_href']
129
123
  end
130
124
 
131
125
  if attributes.key?(:'pulp_last_updated')
132
126
  self.pulp_last_updated = attributes[:'pulp_last_updated']
133
127
  end
134
128
 
135
- if attributes.key?(:'hidden')
136
- self.hidden = attributes[:'hidden']
137
- else
138
- self.hidden = false
129
+ if attributes.key?(:'pulp_created')
130
+ self.pulp_created = attributes[:'pulp_created']
131
+ end
132
+
133
+ if attributes.key?(:'name')
134
+ self.name = attributes[:'name']
139
135
  end
140
136
 
141
137
  if attributes.key?(:'repository')
142
138
  self.repository = attributes[:'repository']
143
139
  end
144
140
 
145
- if attributes.key?(:'pulp_href')
146
- self.pulp_href = attributes[:'pulp_href']
141
+ if attributes.key?(:'hidden')
142
+ self.hidden = attributes[:'hidden']
143
+ else
144
+ self.hidden = false
147
145
  end
148
146
 
149
- if attributes.key?(:'pulp_created')
150
- self.pulp_created = attributes[:'pulp_created']
147
+ if attributes.key?(:'base_path')
148
+ self.base_path = attributes[:'base_path']
151
149
  end
152
150
 
153
- if attributes.key?(:'name')
154
- self.name = attributes[:'name']
151
+ if attributes.key?(:'pulp_labels')
152
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
153
+ self.pulp_labels = value
154
+ end
155
155
  end
156
156
 
157
- if attributes.key?(:'base_path')
158
- self.base_path = attributes[:'base_path']
157
+ if attributes.key?(:'content_guard')
158
+ self.content_guard = attributes[:'content_guard']
159
159
  end
160
160
 
161
161
  if attributes.key?(:'remote')
@@ -214,15 +214,15 @@ module PulpContainerClient
214
214
  def ==(o)
215
215
  return true if self.equal?(o)
216
216
  self.class == o.class &&
217
- content_guard == o.content_guard &&
218
- pulp_labels == o.pulp_labels &&
219
- pulp_last_updated == o.pulp_last_updated &&
220
- hidden == o.hidden &&
221
- repository == o.repository &&
222
217
  pulp_href == o.pulp_href &&
218
+ pulp_last_updated == o.pulp_last_updated &&
223
219
  pulp_created == o.pulp_created &&
224
220
  name == o.name &&
221
+ repository == o.repository &&
222
+ hidden == o.hidden &&
225
223
  base_path == o.base_path &&
224
+ pulp_labels == o.pulp_labels &&
225
+ content_guard == o.content_guard &&
226
226
  remote == o.remote &&
227
227
  distributions == o.distributions &&
228
228
  namespace == o.namespace &&
@@ -239,7 +239,7 @@ module PulpContainerClient
239
239
  # Calculates hash code according to all attributes.
240
240
  # @return [Integer] Hash code
241
241
  def hash
242
- [content_guard, pulp_labels, pulp_last_updated, hidden, repository, pulp_href, pulp_created, name, base_path, remote, distributions, namespace, private, description].hash
242
+ [pulp_href, pulp_last_updated, pulp_created, name, repository, hidden, base_path, pulp_labels, content_guard, remote, distributions, namespace, private, description].hash
243
243
  end
244
244
 
245
245
  # Builds the object from hash