pulp_container_client 2.11.0 → 2.11.1

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 (38) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -6
  3. data/docs/ContainerContainerDistribution.md +7 -7
  4. data/docs/ContainerContainerDistributionResponse.md +8 -8
  5. data/docs/ContainerContainerPushRepository.md +7 -7
  6. data/docs/ContainerContainerPushRepositoryResponse.md +11 -11
  7. data/docs/PatchedcontainerContainerDistribution.md +7 -7
  8. data/docs/PatchedcontainerContainerPushRepository.md +7 -7
  9. data/docs/Repair.md +17 -0
  10. data/docs/RepositoriesContainerPushVersionsApi.md +4 -4
  11. data/docs/RepositoriesContainerVersionsApi.md +4 -4
  12. data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +9 -9
  13. data/lib/pulp_container_client/api/repositories_container_versions_api.rb +9 -9
  14. data/lib/pulp_container_client/api_client.rb +1 -4
  15. data/lib/pulp_container_client/configuration.rb +1 -0
  16. data/lib/pulp_container_client/models/container_container_distribution.rb +51 -51
  17. data/lib/pulp_container_client/models/container_container_distribution_response.rb +38 -38
  18. data/lib/pulp_container_client/models/container_container_push_repository.rb +53 -53
  19. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +49 -49
  20. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +42 -42
  21. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +45 -45
  22. data/lib/pulp_container_client/models/{repository_version.rb → repair.rb} +13 -12
  23. data/lib/pulp_container_client/version.rb +1 -1
  24. data/lib/pulp_container_client.rb +1 -2
  25. data/spec/api/repositories_container_push_versions_api_spec.rb +1 -1
  26. data/spec/api/repositories_container_versions_api_spec.rb +1 -1
  27. data/spec/models/container_container_distribution_response_spec.rb +6 -6
  28. data/spec/models/container_container_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_push_repository_spec.rb +5 -5
  33. data/spec/models/{repository_version_spec.rb → repair_spec.rb} +7 -7
  34. metadata +50 -54
  35. data/docs/ContentSummary.md +0 -21
  36. data/docs/RepositoryVersion.md +0 -17
  37. data/lib/pulp_container_client/models/content_summary.rb +0 -246
  38. data/spec/models/content_summary_spec.rb +0 -53
@@ -15,65 +15,65 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # Serializer for Container Push Repositories.
17
17
  class ContainerContainerPushRepositoryResponse
18
+ attr_accessor :pulp_href
19
+
20
+ # An optional description.
21
+ attr_accessor :description
22
+
18
23
  attr_accessor :latest_version_href
19
24
 
25
+ # Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
26
+ attr_accessor :retain_repo_versions
27
+
20
28
  # A reference to an associated signing service.
21
29
  attr_accessor :manifest_signing_service
22
30
 
23
- attr_accessor :pulp_labels
31
+ attr_accessor :versions_href
24
32
 
25
33
  # A unique name for this repository.
26
34
  attr_accessor :name
27
35
 
28
- # Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
29
- attr_accessor :retain_repo_versions
30
-
31
- # An optional description.
32
- attr_accessor :description
33
-
34
36
  # Timestamp of creation.
35
37
  attr_accessor :pulp_created
36
38
 
37
- attr_accessor :pulp_href
38
-
39
- attr_accessor :versions_href
39
+ attr_accessor :pulp_labels
40
40
 
41
41
  # Attribute mapping from ruby-style variable name to JSON key.
42
42
  def self.attribute_map
43
43
  {
44
+ :'pulp_href' => :'pulp_href',
45
+ :'description' => :'description',
44
46
  :'latest_version_href' => :'latest_version_href',
47
+ :'retain_repo_versions' => :'retain_repo_versions',
45
48
  :'manifest_signing_service' => :'manifest_signing_service',
46
- :'pulp_labels' => :'pulp_labels',
49
+ :'versions_href' => :'versions_href',
47
50
  :'name' => :'name',
48
- :'retain_repo_versions' => :'retain_repo_versions',
49
- :'description' => :'description',
50
51
  :'pulp_created' => :'pulp_created',
51
- :'pulp_href' => :'pulp_href',
52
- :'versions_href' => :'versions_href'
52
+ :'pulp_labels' => :'pulp_labels'
53
53
  }
54
54
  end
55
55
 
56
56
  # Attribute type mapping.
57
57
  def self.openapi_types
58
58
  {
59
+ :'pulp_href' => :'String',
60
+ :'description' => :'String',
59
61
  :'latest_version_href' => :'String',
62
+ :'retain_repo_versions' => :'Integer',
60
63
  :'manifest_signing_service' => :'String',
61
- :'pulp_labels' => :'Object',
64
+ :'versions_href' => :'String',
62
65
  :'name' => :'String',
63
- :'retain_repo_versions' => :'Integer',
64
- :'description' => :'String',
65
66
  :'pulp_created' => :'DateTime',
66
- :'pulp_href' => :'String',
67
- :'versions_href' => :'String'
67
+ :'pulp_labels' => :'Object'
68
68
  }
69
69
  end
70
70
 
71
71
  # List of attributes with nullable: true
72
72
  def self.openapi_nullable
73
73
  Set.new([
74
- :'manifest_signing_service',
75
- :'retain_repo_versions',
76
74
  :'description',
75
+ :'retain_repo_versions',
76
+ :'manifest_signing_service',
77
77
  ])
78
78
  end
79
79
 
@@ -92,40 +92,40 @@ module PulpContainerClient
92
92
  h[k.to_sym] = v
93
93
  }
94
94
 
95
+ if attributes.key?(:'pulp_href')
96
+ self.pulp_href = attributes[:'pulp_href']
97
+ end
98
+
99
+ if attributes.key?(:'description')
100
+ self.description = attributes[:'description']
101
+ end
102
+
95
103
  if attributes.key?(:'latest_version_href')
96
104
  self.latest_version_href = attributes[:'latest_version_href']
97
105
  end
98
106
 
107
+ if attributes.key?(:'retain_repo_versions')
108
+ self.retain_repo_versions = attributes[:'retain_repo_versions']
109
+ end
110
+
99
111
  if attributes.key?(:'manifest_signing_service')
100
112
  self.manifest_signing_service = attributes[:'manifest_signing_service']
101
113
  end
102
114
 
103
- if attributes.key?(:'pulp_labels')
104
- self.pulp_labels = attributes[:'pulp_labels']
115
+ if attributes.key?(:'versions_href')
116
+ self.versions_href = attributes[:'versions_href']
105
117
  end
106
118
 
107
119
  if attributes.key?(:'name')
108
120
  self.name = attributes[:'name']
109
121
  end
110
122
 
111
- if attributes.key?(:'retain_repo_versions')
112
- self.retain_repo_versions = attributes[:'retain_repo_versions']
113
- end
114
-
115
- if attributes.key?(:'description')
116
- self.description = attributes[:'description']
117
- end
118
-
119
123
  if attributes.key?(:'pulp_created')
120
124
  self.pulp_created = attributes[:'pulp_created']
121
125
  end
122
126
 
123
- if attributes.key?(:'pulp_href')
124
- self.pulp_href = attributes[:'pulp_href']
125
- end
126
-
127
- if attributes.key?(:'versions_href')
128
- self.versions_href = attributes[:'versions_href']
127
+ if attributes.key?(:'pulp_labels')
128
+ self.pulp_labels = attributes[:'pulp_labels']
129
129
  end
130
130
  end
131
131
 
@@ -133,22 +133,22 @@ module PulpContainerClient
133
133
  # @return Array for valid properties with the reasons
134
134
  def list_invalid_properties
135
135
  invalid_properties = Array.new
136
- if @name.nil?
137
- invalid_properties.push('invalid value for "name", name cannot be nil.')
138
- end
139
-
140
136
  if !@retain_repo_versions.nil? && @retain_repo_versions < 1
141
137
  invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
142
138
  end
143
139
 
140
+ if @name.nil?
141
+ invalid_properties.push('invalid value for "name", name cannot be nil.')
142
+ end
143
+
144
144
  invalid_properties
145
145
  end
146
146
 
147
147
  # Check to see if the all the properties in the model are valid
148
148
  # @return true if the model is valid
149
149
  def valid?
150
- return false if @name.nil?
151
150
  return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
151
+ return false if @name.nil?
152
152
  true
153
153
  end
154
154
 
@@ -167,15 +167,15 @@ module PulpContainerClient
167
167
  def ==(o)
168
168
  return true if self.equal?(o)
169
169
  self.class == o.class &&
170
+ pulp_href == o.pulp_href &&
171
+ description == o.description &&
170
172
  latest_version_href == o.latest_version_href &&
173
+ retain_repo_versions == o.retain_repo_versions &&
171
174
  manifest_signing_service == o.manifest_signing_service &&
172
- pulp_labels == o.pulp_labels &&
175
+ versions_href == o.versions_href &&
173
176
  name == o.name &&
174
- retain_repo_versions == o.retain_repo_versions &&
175
- description == o.description &&
176
177
  pulp_created == o.pulp_created &&
177
- pulp_href == o.pulp_href &&
178
- versions_href == o.versions_href
178
+ pulp_labels == o.pulp_labels
179
179
  end
180
180
 
181
181
  # @see the `==` method
@@ -187,7 +187,7 @@ module PulpContainerClient
187
187
  # Calculates hash code according to all attributes.
188
188
  # @return [Integer] Hash code
189
189
  def hash
190
- [latest_version_href, manifest_signing_service, pulp_labels, name, retain_repo_versions, description, pulp_created, pulp_href, versions_href].hash
190
+ [pulp_href, description, latest_version_href, retain_repo_versions, manifest_signing_service, versions_href, name, pulp_created, pulp_labels].hash
191
191
  end
192
192
 
193
193
  # Builds the object from hash
@@ -15,19 +15,19 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # A serializer for ContainerDistribution.
17
17
  class PatchedcontainerContainerDistribution
18
+ # The latest RepositoryVersion for this Repository will be served.
19
+ attr_accessor :repository
20
+
21
+ # 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
+ attr_accessor :base_path
23
+
18
24
  # An optional content-guard. If none is specified, a default one will be used.
19
25
  attr_accessor :content_guard
20
26
 
21
- attr_accessor :pulp_labels
22
-
23
27
  # A unique name. Ex, `rawhide` and `stable`.
24
28
  attr_accessor :name
25
29
 
26
- # The latest RepositoryVersion for this Repository will be served.
27
- attr_accessor :repository
28
-
29
- # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
30
- attr_accessor :base_path
30
+ attr_accessor :pulp_labels
31
31
 
32
32
  # RepositoryVersion to be served
33
33
  attr_accessor :repository_version
@@ -41,11 +41,11 @@ module PulpContainerClient
41
41
  # Attribute mapping from ruby-style variable name to JSON key.
42
42
  def self.attribute_map
43
43
  {
44
- :'content_guard' => :'content_guard',
45
- :'pulp_labels' => :'pulp_labels',
46
- :'name' => :'name',
47
44
  :'repository' => :'repository',
48
45
  :'base_path' => :'base_path',
46
+ :'content_guard' => :'content_guard',
47
+ :'name' => :'name',
48
+ :'pulp_labels' => :'pulp_labels',
49
49
  :'repository_version' => :'repository_version',
50
50
  :'private' => :'private',
51
51
  :'description' => :'description'
@@ -55,11 +55,11 @@ module PulpContainerClient
55
55
  # Attribute type mapping.
56
56
  def self.openapi_types
57
57
  {
58
- :'content_guard' => :'String',
59
- :'pulp_labels' => :'Object',
60
- :'name' => :'String',
61
58
  :'repository' => :'String',
62
59
  :'base_path' => :'String',
60
+ :'content_guard' => :'String',
61
+ :'name' => :'String',
62
+ :'pulp_labels' => :'Object',
63
63
  :'repository_version' => :'String',
64
64
  :'private' => :'Boolean',
65
65
  :'description' => :'String'
@@ -90,24 +90,24 @@ module PulpContainerClient
90
90
  h[k.to_sym] = v
91
91
  }
92
92
 
93
- if attributes.key?(:'content_guard')
94
- self.content_guard = attributes[:'content_guard']
93
+ if attributes.key?(:'repository')
94
+ self.repository = attributes[:'repository']
95
95
  end
96
96
 
97
- if attributes.key?(:'pulp_labels')
98
- self.pulp_labels = attributes[:'pulp_labels']
97
+ if attributes.key?(:'base_path')
98
+ self.base_path = attributes[:'base_path']
99
99
  end
100
100
 
101
- if attributes.key?(:'name')
102
- self.name = attributes[:'name']
101
+ if attributes.key?(:'content_guard')
102
+ self.content_guard = attributes[:'content_guard']
103
103
  end
104
104
 
105
- if attributes.key?(:'repository')
106
- self.repository = attributes[:'repository']
105
+ if attributes.key?(:'name')
106
+ self.name = attributes[:'name']
107
107
  end
108
108
 
109
- if attributes.key?(:'base_path')
110
- self.base_path = attributes[:'base_path']
109
+ if attributes.key?(:'pulp_labels')
110
+ self.pulp_labels = attributes[:'pulp_labels']
111
111
  end
112
112
 
113
113
  if attributes.key?(:'repository_version')
@@ -127,14 +127,14 @@ module PulpContainerClient
127
127
  # @return Array for valid properties with the reasons
128
128
  def list_invalid_properties
129
129
  invalid_properties = Array.new
130
- if !@name.nil? && @name.to_s.length < 1
131
- invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
132
- end
133
-
134
130
  if !@base_path.nil? && @base_path.to_s.length < 1
135
131
  invalid_properties.push('invalid value for "base_path", the character length must be great than or equal to 1.')
136
132
  end
137
133
 
134
+ if !@name.nil? && @name.to_s.length < 1
135
+ invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
136
+ end
137
+
138
138
  if !@description.nil? && @description.to_s.length < 1
139
139
  invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
140
140
  end
@@ -145,22 +145,12 @@ module PulpContainerClient
145
145
  # Check to see if the all the properties in the model are valid
146
146
  # @return true if the model is valid
147
147
  def valid?
148
- return false if !@name.nil? && @name.to_s.length < 1
149
148
  return false if !@base_path.nil? && @base_path.to_s.length < 1
149
+ return false if !@name.nil? && @name.to_s.length < 1
150
150
  return false if !@description.nil? && @description.to_s.length < 1
151
151
  true
152
152
  end
153
153
 
154
- # Custom attribute writer method with validation
155
- # @param [Object] name Value to be assigned
156
- def name=(name)
157
- if !name.nil? && name.to_s.length < 1
158
- fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
159
- end
160
-
161
- @name = name
162
- end
163
-
164
154
  # Custom attribute writer method with validation
165
155
  # @param [Object] base_path Value to be assigned
166
156
  def base_path=(base_path)
@@ -171,6 +161,16 @@ module PulpContainerClient
171
161
  @base_path = base_path
172
162
  end
173
163
 
164
+ # Custom attribute writer method with validation
165
+ # @param [Object] name Value to be assigned
166
+ def name=(name)
167
+ if !name.nil? && name.to_s.length < 1
168
+ fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
169
+ end
170
+
171
+ @name = name
172
+ end
173
+
174
174
  # Custom attribute writer method with validation
175
175
  # @param [Object] description Value to be assigned
176
176
  def description=(description)
@@ -186,11 +186,11 @@ module PulpContainerClient
186
186
  def ==(o)
187
187
  return true if self.equal?(o)
188
188
  self.class == o.class &&
189
- content_guard == o.content_guard &&
190
- pulp_labels == o.pulp_labels &&
191
- name == o.name &&
192
189
  repository == o.repository &&
193
190
  base_path == o.base_path &&
191
+ content_guard == o.content_guard &&
192
+ name == o.name &&
193
+ pulp_labels == o.pulp_labels &&
194
194
  repository_version == o.repository_version &&
195
195
  private == o.private &&
196
196
  description == o.description
@@ -205,7 +205,7 @@ module PulpContainerClient
205
205
  # Calculates hash code according to all attributes.
206
206
  # @return [Integer] Hash code
207
207
  def hash
208
- [content_guard, pulp_labels, name, repository, base_path, repository_version, private, description].hash
208
+ [repository, base_path, content_guard, name, pulp_labels, repository_version, private, description].hash
209
209
  end
210
210
 
211
211
  # Builds the object from hash
@@ -15,48 +15,48 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # Serializer for Container Push Repositories.
17
17
  class PatchedcontainerContainerPushRepository
18
+ # An optional description.
19
+ attr_accessor :description
20
+
21
+ # Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
22
+ attr_accessor :retain_repo_versions
23
+
18
24
  # A reference to an associated signing service.
19
25
  attr_accessor :manifest_signing_service
20
26
 
21
- attr_accessor :pulp_labels
22
-
23
27
  # A unique name for this repository.
24
28
  attr_accessor :name
25
29
 
26
- # Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
27
- attr_accessor :retain_repo_versions
28
-
29
- # An optional description.
30
- attr_accessor :description
30
+ attr_accessor :pulp_labels
31
31
 
32
32
  # Attribute mapping from ruby-style variable name to JSON key.
33
33
  def self.attribute_map
34
34
  {
35
+ :'description' => :'description',
36
+ :'retain_repo_versions' => :'retain_repo_versions',
35
37
  :'manifest_signing_service' => :'manifest_signing_service',
36
- :'pulp_labels' => :'pulp_labels',
37
38
  :'name' => :'name',
38
- :'retain_repo_versions' => :'retain_repo_versions',
39
- :'description' => :'description'
39
+ :'pulp_labels' => :'pulp_labels'
40
40
  }
41
41
  end
42
42
 
43
43
  # Attribute type mapping.
44
44
  def self.openapi_types
45
45
  {
46
+ :'description' => :'String',
47
+ :'retain_repo_versions' => :'Integer',
46
48
  :'manifest_signing_service' => :'String',
47
- :'pulp_labels' => :'Object',
48
49
  :'name' => :'String',
49
- :'retain_repo_versions' => :'Integer',
50
- :'description' => :'String'
50
+ :'pulp_labels' => :'Object'
51
51
  }
52
52
  end
53
53
 
54
54
  # List of attributes with nullable: true
55
55
  def self.openapi_nullable
56
56
  Set.new([
57
- :'manifest_signing_service',
57
+ :'description',
58
58
  :'retain_repo_versions',
59
- :'description'
59
+ :'manifest_signing_service',
60
60
  ])
61
61
  end
62
62
 
@@ -75,24 +75,24 @@ module PulpContainerClient
75
75
  h[k.to_sym] = v
76
76
  }
77
77
 
78
- if attributes.key?(:'manifest_signing_service')
79
- self.manifest_signing_service = attributes[:'manifest_signing_service']
78
+ if attributes.key?(:'description')
79
+ self.description = attributes[:'description']
80
80
  end
81
81
 
82
- if attributes.key?(:'pulp_labels')
83
- self.pulp_labels = attributes[:'pulp_labels']
82
+ if attributes.key?(:'retain_repo_versions')
83
+ self.retain_repo_versions = attributes[:'retain_repo_versions']
84
84
  end
85
85
 
86
- if attributes.key?(:'name')
87
- self.name = attributes[:'name']
86
+ if attributes.key?(:'manifest_signing_service')
87
+ self.manifest_signing_service = attributes[:'manifest_signing_service']
88
88
  end
89
89
 
90
- if attributes.key?(:'retain_repo_versions')
91
- self.retain_repo_versions = attributes[:'retain_repo_versions']
90
+ if attributes.key?(:'name')
91
+ self.name = attributes[:'name']
92
92
  end
93
93
 
94
- if attributes.key?(:'description')
95
- self.description = attributes[:'description']
94
+ if attributes.key?(:'pulp_labels')
95
+ self.pulp_labels = attributes[:'pulp_labels']
96
96
  end
97
97
  end
98
98
 
@@ -100,16 +100,16 @@ module PulpContainerClient
100
100
  # @return Array for valid properties with the reasons
101
101
  def list_invalid_properties
102
102
  invalid_properties = Array.new
103
- if !@name.nil? && @name.to_s.length < 1
104
- invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
103
+ if !@description.nil? && @description.to_s.length < 1
104
+ invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
105
105
  end
106
106
 
107
107
  if !@retain_repo_versions.nil? && @retain_repo_versions < 1
108
108
  invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
109
109
  end
110
110
 
111
- if !@description.nil? && @description.to_s.length < 1
112
- invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
111
+ if !@name.nil? && @name.to_s.length < 1
112
+ invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
113
113
  end
114
114
 
115
115
  invalid_properties
@@ -118,20 +118,20 @@ module PulpContainerClient
118
118
  # Check to see if the all the properties in the model are valid
119
119
  # @return true if the model is valid
120
120
  def valid?
121
- return false if !@name.nil? && @name.to_s.length < 1
122
- return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
123
121
  return false if !@description.nil? && @description.to_s.length < 1
122
+ return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
123
+ return false if !@name.nil? && @name.to_s.length < 1
124
124
  true
125
125
  end
126
126
 
127
127
  # Custom attribute writer method with validation
128
- # @param [Object] name Value to be assigned
129
- def name=(name)
130
- if !name.nil? && name.to_s.length < 1
131
- fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
128
+ # @param [Object] description Value to be assigned
129
+ def description=(description)
130
+ if !description.nil? && description.to_s.length < 1
131
+ fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
132
132
  end
133
133
 
134
- @name = name
134
+ @description = description
135
135
  end
136
136
 
137
137
  # Custom attribute writer method with validation
@@ -145,13 +145,13 @@ module PulpContainerClient
145
145
  end
146
146
 
147
147
  # Custom attribute writer method with validation
148
- # @param [Object] description Value to be assigned
149
- def description=(description)
150
- if !description.nil? && description.to_s.length < 1
151
- fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
148
+ # @param [Object] name Value to be assigned
149
+ def name=(name)
150
+ if !name.nil? && name.to_s.length < 1
151
+ fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
152
152
  end
153
153
 
154
- @description = description
154
+ @name = name
155
155
  end
156
156
 
157
157
  # Checks equality by comparing each attribute.
@@ -159,11 +159,11 @@ module PulpContainerClient
159
159
  def ==(o)
160
160
  return true if self.equal?(o)
161
161
  self.class == o.class &&
162
+ description == o.description &&
163
+ retain_repo_versions == o.retain_repo_versions &&
162
164
  manifest_signing_service == o.manifest_signing_service &&
163
- pulp_labels == o.pulp_labels &&
164
165
  name == o.name &&
165
- retain_repo_versions == o.retain_repo_versions &&
166
- description == o.description
166
+ pulp_labels == o.pulp_labels
167
167
  end
168
168
 
169
169
  # @see the `==` method
@@ -175,7 +175,7 @@ module PulpContainerClient
175
175
  # Calculates hash code according to all attributes.
176
176
  # @return [Integer] Hash code
177
177
  def hash
178
- [manifest_signing_service, pulp_labels, name, retain_repo_versions, description].hash
178
+ [description, retain_repo_versions, manifest_signing_service, name, pulp_labels].hash
179
179
  end
180
180
 
181
181
  # Builds the object from hash
@@ -13,22 +13,21 @@ OpenAPI Generator version: 4.3.1
13
13
  require 'date'
14
14
 
15
15
  module PulpContainerClient
16
- # Base serializer for use with :class:`pulpcore.app.models.Model` This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the ``ref_name`` attribute in the ModelSerializers's ``Meta`` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
17
- class RepositoryVersion
18
- # A repository version whose content was used as the initial set of content for this repository version
19
- attr_accessor :base_version
16
+ class Repair
17
+ # Will verify that the checksum of all stored files matches what saved in the database. Otherwise only the existence of the files will be checked. Enabled by default
18
+ attr_accessor :verify_checksums
20
19
 
21
20
  # Attribute mapping from ruby-style variable name to JSON key.
22
21
  def self.attribute_map
23
22
  {
24
- :'base_version' => :'base_version'
23
+ :'verify_checksums' => :'verify_checksums'
25
24
  }
26
25
  end
27
26
 
28
27
  # Attribute type mapping.
29
28
  def self.openapi_types
30
29
  {
31
- :'base_version' => :'String'
30
+ :'verify_checksums' => :'Boolean'
32
31
  }
33
32
  end
34
33
 
@@ -42,19 +41,21 @@ module PulpContainerClient
42
41
  # @param [Hash] attributes Model attributes in the form of hash
43
42
  def initialize(attributes = {})
44
43
  if (!attributes.is_a?(Hash))
45
- fail ArgumentError, "The input argument (attributes) must be a hash in `PulpContainerClient::RepositoryVersion` initialize method"
44
+ fail ArgumentError, "The input argument (attributes) must be a hash in `PulpContainerClient::Repair` initialize method"
46
45
  end
47
46
 
48
47
  # check to see if the attribute exists and convert string to symbol for hash key
49
48
  attributes = attributes.each_with_object({}) { |(k, v), h|
50
49
  if (!self.class.attribute_map.key?(k.to_sym))
51
- fail ArgumentError, "`#{k}` is not a valid attribute in `PulpContainerClient::RepositoryVersion`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
50
+ fail ArgumentError, "`#{k}` is not a valid attribute in `PulpContainerClient::Repair`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
52
51
  end
53
52
  h[k.to_sym] = v
54
53
  }
55
54
 
56
- if attributes.key?(:'base_version')
57
- self.base_version = attributes[:'base_version']
55
+ if attributes.key?(:'verify_checksums')
56
+ self.verify_checksums = attributes[:'verify_checksums']
57
+ else
58
+ self.verify_checksums = true
58
59
  end
59
60
  end
60
61
 
@@ -76,7 +77,7 @@ module PulpContainerClient
76
77
  def ==(o)
77
78
  return true if self.equal?(o)
78
79
  self.class == o.class &&
79
- base_version == o.base_version
80
+ verify_checksums == o.verify_checksums
80
81
  end
81
82
 
82
83
  # @see the `==` method
@@ -88,7 +89,7 @@ module PulpContainerClient
88
89
  # Calculates hash code according to all attributes.
89
90
  # @return [Integer] Hash code
90
91
  def hash
91
- [base_version].hash
92
+ [verify_checksums].hash
92
93
  end
93
94
 
94
95
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module PulpContainerClient
14
- VERSION = '2.11.0'
14
+ VERSION = '2.11.1'
15
15
  end
@@ -33,7 +33,6 @@ require 'pulp_container_client/models/container_manifest_response'
33
33
  require 'pulp_container_client/models/container_manifest_signature_response'
34
34
  require 'pulp_container_client/models/container_repository_sync_url'
35
35
  require 'pulp_container_client/models/container_tag_response'
36
- require 'pulp_container_client/models/content_summary'
37
36
  require 'pulp_container_client/models/content_summary_response'
38
37
  require 'pulp_container_client/models/manifest_copy'
39
38
  require 'pulp_container_client/models/media_types_enum'
@@ -61,8 +60,8 @@ require 'pulp_container_client/models/recursive_manage'
61
60
  require 'pulp_container_client/models/remove_image'
62
61
  require 'pulp_container_client/models/remove_signatures'
63
62
  require 'pulp_container_client/models/remove_signatures_response'
63
+ require 'pulp_container_client/models/repair'
64
64
  require 'pulp_container_client/models/repository_sign'
65
- require 'pulp_container_client/models/repository_version'
66
65
  require 'pulp_container_client/models/repository_version_response'
67
66
  require 'pulp_container_client/models/tag_copy'
68
67
  require 'pulp_container_client/models/tag_image'
@@ -92,7 +92,7 @@ describe 'RepositoriesContainerPushVersionsApi' do
92
92
  # unit tests for repair
93
93
  # Trigger an asynchronous task to repair a repository version.
94
94
  # @param container_container_push_repository_version_href
95
- # @param repository_version
95
+ # @param repair
96
96
  # @param [Hash] opts the optional parameters
97
97
  # @return [AsyncOperationResponse]
98
98
  describe 'repair test' do