pulp_container_client 2.20.2 → 2.20.3

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