pulp_deb_client 3.9.1 → 3.11.0

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 (64) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -5
  3. data/docs/{RepositoryAddRemoveContent.md → AptRepositoryAddRemoveContent.md} +7 -3
  4. data/docs/AptRepositorySyncURL.md +1 -1
  5. data/docs/ContentInstallerPackagesApi.md +2 -2
  6. data/docs/ContentPackageReleaseComponentsApi.md +2 -2
  7. data/docs/ContentPackagesApi.md +3 -3
  8. data/docs/ContentReleaseArchitecturesApi.md +6 -2
  9. data/docs/DebAptPublication.md +2 -0
  10. data/docs/DebAptPublicationResponse.md +2 -0
  11. data/docs/DebAptRemote.md +4 -2
  12. data/docs/DebAptRemoteResponse.md +4 -2
  13. data/docs/DebAptRepository.md +9 -1
  14. data/docs/DebAptRepositoryResponse.md +9 -1
  15. data/docs/DebInstallerPackageResponse.md +5 -1
  16. data/docs/DebPackageResponse.md +5 -1
  17. data/docs/DebReleaseArchitecture.md +5 -1
  18. data/docs/DebReleaseArchitectureResponse.md +5 -1
  19. data/docs/PatcheddebAptRemote.md +4 -2
  20. data/docs/PatcheddebAptRepository.md +9 -1
  21. data/docs/RepositoriesAptApi.md +6 -6
  22. data/lib/pulp_deb_client/api/content_installer_packages_api.rb +3 -3
  23. data/lib/pulp_deb_client/api/content_package_release_components_api.rb +3 -3
  24. data/lib/pulp_deb_client/api/content_packages_api.rb +5 -5
  25. data/lib/pulp_deb_client/api/content_release_architectures_api.rb +9 -3
  26. data/lib/pulp_deb_client/api/repositories_apt_api.rb +9 -9
  27. data/lib/pulp_deb_client/models/{repository_add_remove_content.rb → apt_repository_add_remove_content.rb} +66 -8
  28. data/lib/pulp_deb_client/models/apt_repository_sync_url.rb +1 -1
  29. data/lib/pulp_deb_client/models/deb_apt_publication.rb +13 -1
  30. data/lib/pulp_deb_client/models/deb_apt_publication_response.rb +13 -1
  31. data/lib/pulp_deb_client/models/deb_apt_remote.rb +17 -5
  32. data/lib/pulp_deb_client/models/deb_apt_remote_response.rb +17 -5
  33. data/lib/pulp_deb_client/models/deb_apt_repository.rb +74 -4
  34. data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +65 -4
  35. data/lib/pulp_deb_client/models/deb_installer_package_response.rb +26 -4
  36. data/lib/pulp_deb_client/models/deb_package_response.rb +26 -4
  37. data/lib/pulp_deb_client/models/deb_release_architecture.rb +56 -4
  38. data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +26 -4
  39. data/lib/pulp_deb_client/models/nested_role.rb +1 -1
  40. data/lib/pulp_deb_client/models/nested_role_response.rb +1 -1
  41. data/lib/pulp_deb_client/models/patcheddeb_apt_remote.rb +17 -5
  42. data/lib/pulp_deb_client/models/patcheddeb_apt_repository.rb +74 -4
  43. data/lib/pulp_deb_client/models/repository_version_response.rb +1 -1
  44. data/lib/pulp_deb_client/version.rb +1 -1
  45. data/lib/pulp_deb_client.rb +1 -1
  46. data/spec/api/content_installer_packages_api_spec.rb +1 -1
  47. data/spec/api/content_package_release_components_api_spec.rb +1 -1
  48. data/spec/api/content_packages_api_spec.rb +2 -2
  49. data/spec/api/content_release_architectures_api_spec.rb +3 -1
  50. data/spec/api/repositories_apt_api_spec.rb +1 -1
  51. data/spec/models/{repository_add_remove_content_spec.rb → apt_repository_add_remove_content_spec.rb} +18 -6
  52. data/spec/models/deb_apt_publication_response_spec.rb +6 -0
  53. data/spec/models/deb_apt_publication_spec.rb +6 -0
  54. data/spec/models/deb_apt_remote_response_spec.rb +6 -0
  55. data/spec/models/deb_apt_remote_spec.rb +6 -0
  56. data/spec/models/deb_apt_repository_response_spec.rb +24 -0
  57. data/spec/models/deb_apt_repository_spec.rb +24 -0
  58. data/spec/models/deb_installer_package_response_spec.rb +12 -0
  59. data/spec/models/deb_package_response_spec.rb +12 -0
  60. data/spec/models/deb_release_architecture_response_spec.rb +12 -0
  61. data/spec/models/deb_release_architecture_spec.rb +12 -0
  62. data/spec/models/patcheddeb_apt_remote_spec.rb +6 -0
  63. data/spec/models/patcheddeb_apt_repository_spec.rb +24 -0
  64. metadata +88 -88
@@ -31,6 +31,12 @@ module PulpDebClient
31
31
  # Name of the distribution.
32
32
  attr_accessor :distribution
33
33
 
34
+ # Base architecture for an architecture variant.
35
+ attr_accessor :base_architecture
36
+
37
+ # Architecture variant name, if this architecture is a variant.
38
+ attr_accessor :variant_architecture
39
+
34
40
  # Attribute mapping from ruby-style variable name to JSON key.
35
41
  def self.attribute_map
36
42
  {
@@ -38,7 +44,9 @@ module PulpDebClient
38
44
  :'overwrite' => :'overwrite',
39
45
  :'pulp_labels' => :'pulp_labels',
40
46
  :'architecture' => :'architecture',
41
- :'distribution' => :'distribution'
47
+ :'distribution' => :'distribution',
48
+ :'base_architecture' => :'base_architecture',
49
+ :'variant_architecture' => :'variant_architecture'
42
50
  }
43
51
  end
44
52
 
@@ -54,13 +62,17 @@ module PulpDebClient
54
62
  :'overwrite' => :'Boolean',
55
63
  :'pulp_labels' => :'Hash<String, String>',
56
64
  :'architecture' => :'String',
57
- :'distribution' => :'String'
65
+ :'distribution' => :'String',
66
+ :'base_architecture' => :'String',
67
+ :'variant_architecture' => :'String'
58
68
  }
59
69
  end
60
70
 
61
71
  # List of attributes with nullable: true
62
72
  def self.openapi_nullable
63
73
  Set.new([
74
+ :'base_architecture',
75
+ :'variant_architecture'
64
76
  ])
65
77
  end
66
78
 
@@ -104,6 +116,14 @@ module PulpDebClient
104
116
  else
105
117
  self.distribution = nil
106
118
  end
119
+
120
+ if attributes.key?(:'base_architecture')
121
+ self.base_architecture = attributes[:'base_architecture']
122
+ end
123
+
124
+ if attributes.key?(:'variant_architecture')
125
+ self.variant_architecture = attributes[:'variant_architecture']
126
+ end
107
127
  end
108
128
 
109
129
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -127,6 +147,14 @@ module PulpDebClient
127
147
  invalid_properties.push('invalid value for "distribution", the character length must be great than or equal to 1.')
128
148
  end
129
149
 
150
+ if !@base_architecture.nil? && @base_architecture.to_s.length < 1
151
+ invalid_properties.push('invalid value for "base_architecture", the character length must be great than or equal to 1.')
152
+ end
153
+
154
+ if !@variant_architecture.nil? && @variant_architecture.to_s.length < 1
155
+ invalid_properties.push('invalid value for "variant_architecture", the character length must be great than or equal to 1.')
156
+ end
157
+
130
158
  invalid_properties
131
159
  end
132
160
 
@@ -138,6 +166,8 @@ module PulpDebClient
138
166
  return false if @architecture.to_s.length < 1
139
167
  return false if @distribution.nil?
140
168
  return false if @distribution.to_s.length < 1
169
+ return false if !@base_architecture.nil? && @base_architecture.to_s.length < 1
170
+ return false if !@variant_architecture.nil? && @variant_architecture.to_s.length < 1
141
171
  true
142
172
  end
143
173
 
@@ -169,6 +199,26 @@ module PulpDebClient
169
199
  @distribution = distribution
170
200
  end
171
201
 
202
+ # Custom attribute writer method with validation
203
+ # @param [Object] base_architecture Value to be assigned
204
+ def base_architecture=(base_architecture)
205
+ if !base_architecture.nil? && base_architecture.to_s.length < 1
206
+ fail ArgumentError, 'invalid value for "base_architecture", the character length must be great than or equal to 1.'
207
+ end
208
+
209
+ @base_architecture = base_architecture
210
+ end
211
+
212
+ # Custom attribute writer method with validation
213
+ # @param [Object] variant_architecture Value to be assigned
214
+ def variant_architecture=(variant_architecture)
215
+ if !variant_architecture.nil? && variant_architecture.to_s.length < 1
216
+ fail ArgumentError, 'invalid value for "variant_architecture", the character length must be great than or equal to 1.'
217
+ end
218
+
219
+ @variant_architecture = variant_architecture
220
+ end
221
+
172
222
  # Checks equality by comparing each attribute.
173
223
  # @param [Object] Object to be compared
174
224
  def ==(o)
@@ -178,7 +228,9 @@ module PulpDebClient
178
228
  overwrite == o.overwrite &&
179
229
  pulp_labels == o.pulp_labels &&
180
230
  architecture == o.architecture &&
181
- distribution == o.distribution
231
+ distribution == o.distribution &&
232
+ base_architecture == o.base_architecture &&
233
+ variant_architecture == o.variant_architecture
182
234
  end
183
235
 
184
236
  # @see the `==` method
@@ -190,7 +242,7 @@ module PulpDebClient
190
242
  # Calculates hash code according to all attributes.
191
243
  # @return [Integer] Hash code
192
244
  def hash
193
- [repository, overwrite, pulp_labels, architecture, distribution].hash
245
+ [repository, overwrite, pulp_labels, architecture, distribution, base_architecture, variant_architecture].hash
194
246
  end
195
247
 
196
248
  # Builds the object from hash
@@ -38,6 +38,12 @@ module PulpDebClient
38
38
  # Name of the distribution.
39
39
  attr_accessor :distribution
40
40
 
41
+ # Base architecture for an architecture variant.
42
+ attr_accessor :base_architecture
43
+
44
+ # Architecture variant name, if this architecture is a variant.
45
+ attr_accessor :variant_architecture
46
+
41
47
  # Attribute mapping from ruby-style variable name to JSON key.
42
48
  def self.attribute_map
43
49
  {
@@ -48,7 +54,9 @@ module PulpDebClient
48
54
  :'pulp_labels' => :'pulp_labels',
49
55
  :'vuln_report' => :'vuln_report',
50
56
  :'architecture' => :'architecture',
51
- :'distribution' => :'distribution'
57
+ :'distribution' => :'distribution',
58
+ :'base_architecture' => :'base_architecture',
59
+ :'variant_architecture' => :'variant_architecture'
52
60
  }
53
61
  end
54
62
 
@@ -67,13 +75,17 @@ module PulpDebClient
67
75
  :'pulp_labels' => :'Hash<String, String>',
68
76
  :'vuln_report' => :'String',
69
77
  :'architecture' => :'String',
70
- :'distribution' => :'String'
78
+ :'distribution' => :'String',
79
+ :'base_architecture' => :'String',
80
+ :'variant_architecture' => :'String'
71
81
  }
72
82
  end
73
83
 
74
84
  # List of attributes with nullable: true
75
85
  def self.openapi_nullable
76
86
  Set.new([
87
+ :'base_architecture',
88
+ :'variant_architecture'
77
89
  ])
78
90
  end
79
91
 
@@ -129,6 +141,14 @@ module PulpDebClient
129
141
  else
130
142
  self.distribution = nil
131
143
  end
144
+
145
+ if attributes.key?(:'base_architecture')
146
+ self.base_architecture = attributes[:'base_architecture']
147
+ end
148
+
149
+ if attributes.key?(:'variant_architecture')
150
+ self.variant_architecture = attributes[:'variant_architecture']
151
+ end
132
152
  end
133
153
 
134
154
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -168,7 +188,9 @@ module PulpDebClient
168
188
  pulp_labels == o.pulp_labels &&
169
189
  vuln_report == o.vuln_report &&
170
190
  architecture == o.architecture &&
171
- distribution == o.distribution
191
+ distribution == o.distribution &&
192
+ base_architecture == o.base_architecture &&
193
+ variant_architecture == o.variant_architecture
172
194
  end
173
195
 
174
196
  # @see the `==` method
@@ -180,7 +202,7 @@ module PulpDebClient
180
202
  # Calculates hash code according to all attributes.
181
203
  # @return [Integer] Hash code
182
204
  def hash
183
- [pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, vuln_report, architecture, distribution].hash
205
+ [pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, vuln_report, architecture, distribution, base_architecture, variant_architecture].hash
184
206
  end
185
207
 
186
208
  # Builds the object from hash
@@ -14,7 +14,7 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module PulpDebClient
17
- # Serializer to add/remove object roles to/from users/groups. This is used in conjunction with ``pulpcore.app.viewsets.base.RolesMixin`` and requires the underlying object to be passed as ``content_object`` in the context.
17
+ # Serializer to add/remove object roles to/from users/groups. This is used in conjunction with `pulpcore.app.viewsets.base.RolesMixin` and requires the underlying object to be passed as `content_object` in the context.
18
18
  class NestedRole
19
19
  attr_accessor :users
20
20
 
@@ -14,7 +14,7 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module PulpDebClient
17
- # Serializer to add/remove object roles to/from users/groups. This is used in conjunction with ``pulpcore.app.viewsets.base.RolesMixin`` and requires the underlying object to be passed as ``content_object`` in the context.
17
+ # Serializer to add/remove object roles to/from users/groups. This is used in conjunction with `pulpcore.app.viewsets.base.RolesMixin` and requires the underlying object to be passed as `content_object` in the context.
18
18
  class NestedRoleResponse
19
19
  attr_accessor :users
20
20
 
@@ -84,7 +84,7 @@ module PulpDebClient
84
84
  # Whitespace separatet list of components to sync. If none are supplied, all that are available will be synchronized. Leave blank for repositores using \"flat repository format\".
85
85
  attr_accessor :components
86
86
 
87
- # Whitespace separated list of architectures to sync If none are supplied, all that are available will be synchronized. A list of valid architecture specification strings can be found by running \"dpkg-architecture -L\". A sync will download the intersection of the list of architectures provided via this field and those provided by the relevant \"Release\" file. Architecture=\"all\" is always synchronized and does not need to be provided here.
87
+ # Whitespace separated list of architectures to sync. If none are supplied, all that are available will be synchronized. A sync will download the intersection of the architectures provided via this field and those provided by the relevant Release file. Architecture variants should be specified as they appear in the Release file, for example \"amd64v3\". Architecture=\"all\" is always synchronized and does not need to be provided here.
88
88
  attr_accessor :architectures
89
89
 
90
90
  # Sync source packages
@@ -102,6 +102,9 @@ module PulpDebClient
102
102
  # By default, upstream repositories that declare architectures and corresponding package indices in their Release files without actually publishing them, will fail to synchronize. Set this flag to True to allow the synchronization of such \"partial mirrors\" instead. Alternatively, you could make your remote filter by architectures for which the upstream repository does have indices.
103
103
  attr_accessor :ignore_missing_package_indices
104
104
 
105
+ # Package metadata field names to drop while syncing package indices. Only custom package metadata fields are affected. Core fields such as Package, Version, Architecture, Filename, checksums, and Size are never filtered. Matching is case-insensitive. Example: ['Phased-Update-Percentage'].
106
+ attr_accessor :excluded_package_metadata_fields
107
+
105
108
  class EnumAttributeValidator
106
109
  attr_reader :datatype
107
110
  attr_reader :allowable_values
@@ -155,7 +158,8 @@ module PulpDebClient
155
158
  :'sync_udebs' => :'sync_udebs',
156
159
  :'sync_installer' => :'sync_installer',
157
160
  :'gpgkey' => :'gpgkey',
158
- :'ignore_missing_package_indices' => :'ignore_missing_package_indices'
161
+ :'ignore_missing_package_indices' => :'ignore_missing_package_indices',
162
+ :'excluded_package_metadata_fields' => :'excluded_package_metadata_fields'
159
163
  }
160
164
  end
161
165
 
@@ -195,7 +199,8 @@ module PulpDebClient
195
199
  :'sync_udebs' => :'Boolean',
196
200
  :'sync_installer' => :'Boolean',
197
201
  :'gpgkey' => :'String',
198
- :'ignore_missing_package_indices' => :'Boolean'
202
+ :'ignore_missing_package_indices' => :'Boolean',
203
+ :'excluded_package_metadata_fields' => :'Array<String>'
199
204
  }
200
205
  end
201
206
 
@@ -357,6 +362,12 @@ module PulpDebClient
357
362
  if attributes.key?(:'ignore_missing_package_indices')
358
363
  self.ignore_missing_package_indices = attributes[:'ignore_missing_package_indices']
359
364
  end
365
+
366
+ if attributes.key?(:'excluded_package_metadata_fields')
367
+ if (value = attributes[:'excluded_package_metadata_fields']).is_a?(Array)
368
+ self.excluded_package_metadata_fields = value
369
+ end
370
+ end
360
371
  end
361
372
 
362
373
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -704,7 +715,8 @@ module PulpDebClient
704
715
  sync_udebs == o.sync_udebs &&
705
716
  sync_installer == o.sync_installer &&
706
717
  gpgkey == o.gpgkey &&
707
- ignore_missing_package_indices == o.ignore_missing_package_indices
718
+ ignore_missing_package_indices == o.ignore_missing_package_indices &&
719
+ excluded_package_metadata_fields == o.excluded_package_metadata_fields
708
720
  end
709
721
 
710
722
  # @see the `==` method
@@ -716,7 +728,7 @@ module PulpDebClient
716
728
  # Calculates hash code according to all attributes.
717
729
  # @return [Integer] Hash code
718
730
  def hash
719
- [name, url, pulp_labels, policy, ca_cert, client_cert, client_key, tls_validation, proxy_url, proxy_username, proxy_password, username, password, max_retries, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, download_concurrency, rate_limit, distributions, components, architectures, sync_sources, sync_udebs, sync_installer, gpgkey, ignore_missing_package_indices].hash
731
+ [name, url, pulp_labels, policy, ca_cert, client_cert, client_key, tls_validation, proxy_url, proxy_username, proxy_password, username, password, max_retries, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, download_concurrency, rate_limit, distributions, components, architectures, sync_sources, sync_udebs, sync_installer, gpgkey, ignore_missing_package_indices, excluded_package_metadata_fields].hash
720
732
  end
721
733
 
722
734
  # Builds the object from hash
@@ -45,6 +45,18 @@ module PulpDebClient
45
45
  # A dictionary of Release distributions and the Signing Service URLs they should use.Example: {\"bionic\": \"/pulp/api/v3/signing-services/433a1f70-c589-4413-a803-c50b842ea9b5/\"}
46
46
  attr_accessor :signing_service_release_overrides
47
47
 
48
+ # A dictionary of Release distributions and the Package Signing Fingerprints they should use. Example: {\"bionic\": \"v4:7FC42CD5F3D8EEC37FC42CD5F3D8EEC3DEADBEEF\"}
49
+ attr_accessor :package_signing_fingerprint_release_overrides
50
+
51
+ # A reference to an associated package signing service.
52
+ attr_accessor :package_signing_service
53
+
54
+ # The pubkey fingerprint to be passed to the package signing service. Format: 'v<N>:<hex-fingerprint>' or 'keyid:<16-hex-char>'. Example: 'v4:ABCDEF1234567890ABCDEF1234567890ABCDEF12'. The signing service will use that on signing operations related to this repository.
55
+ attr_accessor :package_signing_fingerprint
56
+
57
+ # Default package metadata field names to omit from generated Packages indices. This repository level setting is used when a publication does not specify its own excluded_package_metadata_fields. Only custom package metadata fields are affected. Core fields are never filtered. Matching is case-insensitive. Example: ['Phased-Update-Percentage'].
58
+ attr_accessor :excluded_package_metadata_fields
59
+
48
60
  # Attribute mapping from ruby-style variable name to JSON key.
49
61
  def self.attribute_map
50
62
  {
@@ -57,7 +69,11 @@ module PulpDebClient
57
69
  :'autopublish' => :'autopublish',
58
70
  :'publish_upstream_release_fields' => :'publish_upstream_release_fields',
59
71
  :'signing_service' => :'signing_service',
60
- :'signing_service_release_overrides' => :'signing_service_release_overrides'
72
+ :'signing_service_release_overrides' => :'signing_service_release_overrides',
73
+ :'package_signing_fingerprint_release_overrides' => :'package_signing_fingerprint_release_overrides',
74
+ :'package_signing_service' => :'package_signing_service',
75
+ :'package_signing_fingerprint' => :'package_signing_fingerprint',
76
+ :'excluded_package_metadata_fields' => :'excluded_package_metadata_fields'
61
77
  }
62
78
  end
63
79
 
@@ -78,7 +94,11 @@ module PulpDebClient
78
94
  :'autopublish' => :'Boolean',
79
95
  :'publish_upstream_release_fields' => :'Boolean',
80
96
  :'signing_service' => :'String',
81
- :'signing_service_release_overrides' => :'Hash<String, String>'
97
+ :'signing_service_release_overrides' => :'Hash<String, String>',
98
+ :'package_signing_fingerprint_release_overrides' => :'Hash<String, String>',
99
+ :'package_signing_service' => :'String',
100
+ :'package_signing_fingerprint' => :'String',
101
+ :'excluded_package_metadata_fields' => :'Array<String>'
82
102
  }
83
103
  end
84
104
 
@@ -90,6 +110,8 @@ module PulpDebClient
90
110
  :'retain_checkpoints',
91
111
  :'remote',
92
112
  :'signing_service',
113
+ :'package_signing_service',
114
+ :'package_signing_fingerprint',
93
115
  ])
94
116
  end
95
117
 
@@ -153,6 +175,26 @@ module PulpDebClient
153
175
  self.signing_service_release_overrides = value
154
176
  end
155
177
  end
178
+
179
+ if attributes.key?(:'package_signing_fingerprint_release_overrides')
180
+ if (value = attributes[:'package_signing_fingerprint_release_overrides']).is_a?(Hash)
181
+ self.package_signing_fingerprint_release_overrides = value
182
+ end
183
+ end
184
+
185
+ if attributes.key?(:'package_signing_service')
186
+ self.package_signing_service = attributes[:'package_signing_service']
187
+ end
188
+
189
+ if attributes.key?(:'package_signing_fingerprint')
190
+ self.package_signing_fingerprint = attributes[:'package_signing_fingerprint']
191
+ end
192
+
193
+ if attributes.key?(:'excluded_package_metadata_fields')
194
+ if (value = attributes[:'excluded_package_metadata_fields']).is_a?(Array)
195
+ self.excluded_package_metadata_fields = value
196
+ end
197
+ end
156
198
  end
157
199
 
158
200
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -176,6 +218,14 @@ module PulpDebClient
176
218
  invalid_properties.push('invalid value for "retain_checkpoints", must be greater than or equal to 1.')
177
219
  end
178
220
 
221
+ if !@package_signing_fingerprint.nil? && @package_signing_fingerprint.to_s.length > 68
222
+ invalid_properties.push('invalid value for "package_signing_fingerprint", the character length must be smaller than or equal to 68.')
223
+ end
224
+
225
+ if !@package_signing_fingerprint.nil? && @package_signing_fingerprint.to_s.length < 1
226
+ invalid_properties.push('invalid value for "package_signing_fingerprint", the character length must be great than or equal to 1.')
227
+ end
228
+
179
229
  invalid_properties
180
230
  end
181
231
 
@@ -187,6 +237,8 @@ module PulpDebClient
187
237
  return false if !@description.nil? && @description.to_s.length < 1
188
238
  return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
189
239
  return false if !@retain_checkpoints.nil? && @retain_checkpoints < 1
240
+ return false if !@package_signing_fingerprint.nil? && @package_signing_fingerprint.to_s.length > 68
241
+ return false if !@package_signing_fingerprint.nil? && @package_signing_fingerprint.to_s.length < 1
190
242
  true
191
243
  end
192
244
 
@@ -234,6 +286,20 @@ module PulpDebClient
234
286
  @retain_checkpoints = retain_checkpoints
235
287
  end
236
288
 
289
+ # Custom attribute writer method with validation
290
+ # @param [Object] package_signing_fingerprint Value to be assigned
291
+ def package_signing_fingerprint=(package_signing_fingerprint)
292
+ if !package_signing_fingerprint.nil? && package_signing_fingerprint.to_s.length > 68
293
+ fail ArgumentError, 'invalid value for "package_signing_fingerprint", the character length must be smaller than or equal to 68.'
294
+ end
295
+
296
+ if !package_signing_fingerprint.nil? && package_signing_fingerprint.to_s.length < 1
297
+ fail ArgumentError, 'invalid value for "package_signing_fingerprint", the character length must be great than or equal to 1.'
298
+ end
299
+
300
+ @package_signing_fingerprint = package_signing_fingerprint
301
+ end
302
+
237
303
  # Checks equality by comparing each attribute.
238
304
  # @param [Object] Object to be compared
239
305
  def ==(o)
@@ -248,7 +314,11 @@ module PulpDebClient
248
314
  autopublish == o.autopublish &&
249
315
  publish_upstream_release_fields == o.publish_upstream_release_fields &&
250
316
  signing_service == o.signing_service &&
251
- signing_service_release_overrides == o.signing_service_release_overrides
317
+ signing_service_release_overrides == o.signing_service_release_overrides &&
318
+ package_signing_fingerprint_release_overrides == o.package_signing_fingerprint_release_overrides &&
319
+ package_signing_service == o.package_signing_service &&
320
+ package_signing_fingerprint == o.package_signing_fingerprint &&
321
+ excluded_package_metadata_fields == o.excluded_package_metadata_fields
252
322
  end
253
323
 
254
324
  # @see the `==` method
@@ -260,7 +330,7 @@ module PulpDebClient
260
330
  # Calculates hash code according to all attributes.
261
331
  # @return [Integer] Hash code
262
332
  def hash
263
- [pulp_labels, name, description, retain_repo_versions, retain_checkpoints, remote, autopublish, publish_upstream_release_fields, signing_service, signing_service_release_overrides].hash
333
+ [pulp_labels, name, description, retain_repo_versions, retain_checkpoints, remote, autopublish, publish_upstream_release_fields, signing_service, signing_service_release_overrides, package_signing_fingerprint_release_overrides, package_signing_service, package_signing_fingerprint, excluded_package_metadata_fields].hash
264
334
  end
265
335
 
266
336
  # Builds the object from hash
@@ -14,7 +14,7 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module PulpDebClient
17
- # Base serializer for use with [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
+ # Base serializer for use with [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.
18
18
  class RepositoryVersionResponse
19
19
  attr_accessor :pulp_href
20
20
 
@@ -11,5 +11,5 @@ Generator version: 7.10.0
11
11
  =end
12
12
 
13
13
  module PulpDebClient
14
- VERSION = '3.9.1'
14
+ VERSION = '3.11.0'
15
15
  end
@@ -17,6 +17,7 @@ require 'pulp_deb_client/version'
17
17
  require 'pulp_deb_client/configuration'
18
18
 
19
19
  # Models
20
+ require 'pulp_deb_client/models/apt_repository_add_remove_content'
20
21
  require 'pulp_deb_client/models/apt_repository_sync_url'
21
22
  require 'pulp_deb_client/models/async_operation_response'
22
23
  require 'pulp_deb_client/models/content_summary_response'
@@ -90,7 +91,6 @@ require 'pulp_deb_client/models/policy_enum'
90
91
  require 'pulp_deb_client/models/remote_network_config'
91
92
  require 'pulp_deb_client/models/remote_network_config_response'
92
93
  require 'pulp_deb_client/models/repair'
93
- require 'pulp_deb_client/models/repository_add_remove_content'
94
94
  require 'pulp_deb_client/models/repository_version_response'
95
95
  require 'pulp_deb_client/models/set_label'
96
96
  require 'pulp_deb_client/models/set_label_response'
@@ -68,7 +68,7 @@ describe 'ContentInstallerPackagesApi' do
68
68
  # @option opts [String] :maintainer Filter results where maintainer matches value
69
69
  # @option opts [String] :multi_arch Filter results where multi_arch matches value * &#x60;no&#x60; - no * &#x60;same&#x60; - same * &#x60;foreign&#x60; - foreign * &#x60;allowed&#x60; - allowed
70
70
  # @option opts [Integer] :offset The initial index from which to return the results.
71
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;package&#x60; - Package * &#x60;-package&#x60; - Package (descending) * &#x60;source&#x60; - Source * &#x60;-source&#x60; - Source (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;architecture&#x60; - Architecture * &#x60;-architecture&#x60; - Architecture (descending) * &#x60;section&#x60; - Section * &#x60;-section&#x60; - Section (descending) * &#x60;priority&#x60; - Priority * &#x60;-priority&#x60; - Priority (descending) * &#x60;origin&#x60; - Origin * &#x60;-origin&#x60; - Origin (descending) * &#x60;tag&#x60; - Tag * &#x60;-tag&#x60; - Tag (descending) * &#x60;bugs&#x60; - Bugs * &#x60;-bugs&#x60; - Bugs (descending) * &#x60;essential&#x60; - Essential * &#x60;-essential&#x60; - Essential (descending) * &#x60;build_essential&#x60; - Build essential * &#x60;-build_essential&#x60; - Build essential (descending) * &#x60;installed_size&#x60; - Installed size * &#x60;-installed_size&#x60; - Installed size (descending) * &#x60;maintainer&#x60; - Maintainer * &#x60;-maintainer&#x60; - Maintainer (descending) * &#x60;original_maintainer&#x60; - Original maintainer * &#x60;-original_maintainer&#x60; - Original maintainer (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;description_md5&#x60; - Description md5 * &#x60;-description_md5&#x60; - Description md5 (descending) * &#x60;homepage&#x60; - Homepage * &#x60;-homepage&#x60; - Homepage (descending) * &#x60;built_using&#x60; - Built using * &#x60;-built_using&#x60; - Built using (descending) * &#x60;auto_built_package&#x60; - Auto built package * &#x60;-auto_built_package&#x60; - Auto built package (descending) * &#x60;multi_arch&#x60; - Multi arch * &#x60;-multi_arch&#x60; - Multi arch (descending) * &#x60;breaks&#x60; - Breaks * &#x60;-breaks&#x60; - Breaks (descending) * &#x60;conflicts&#x60; - Conflicts * &#x60;-conflicts&#x60; - Conflicts (descending) * &#x60;depends&#x60; - Depends * &#x60;-depends&#x60; - Depends (descending) * &#x60;recommends&#x60; - Recommends * &#x60;-recommends&#x60; - Recommends (descending) * &#x60;suggests&#x60; - Suggests * &#x60;-suggests&#x60; - Suggests (descending) * &#x60;enhances&#x60; - Enhances * &#x60;-enhances&#x60; - Enhances (descending) * &#x60;pre_depends&#x60; - Pre depends * &#x60;-pre_depends&#x60; - Pre depends (descending) * &#x60;provides&#x60; - Provides * &#x60;-provides&#x60; - Provides (descending) * &#x60;replaces&#x60; - Replaces * &#x60;-replaces&#x60; - Replaces (descending) * &#x60;relative_path&#x60; - Relative path * &#x60;-relative_path&#x60; - Relative path (descending) * &#x60;sha256&#x60; - Sha256 * &#x60;-sha256&#x60; - Sha256 (descending) * &#x60;custom_fields&#x60; - Custom fields * &#x60;-custom_fields&#x60; - Custom fields (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
71
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;package&#x60; - Package * &#x60;-package&#x60; - Package (descending) * &#x60;source&#x60; - Source * &#x60;-source&#x60; - Source (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;architecture&#x60; - Architecture * &#x60;-architecture&#x60; - Architecture (descending) * &#x60;architecture_variant&#x60; - Architecture variant * &#x60;-architecture_variant&#x60; - Architecture variant (descending) * &#x60;section&#x60; - Section * &#x60;-section&#x60; - Section (descending) * &#x60;priority&#x60; - Priority * &#x60;-priority&#x60; - Priority (descending) * &#x60;origin&#x60; - Origin * &#x60;-origin&#x60; - Origin (descending) * &#x60;tag&#x60; - Tag * &#x60;-tag&#x60; - Tag (descending) * &#x60;bugs&#x60; - Bugs * &#x60;-bugs&#x60; - Bugs (descending) * &#x60;essential&#x60; - Essential * &#x60;-essential&#x60; - Essential (descending) * &#x60;build_essential&#x60; - Build essential * &#x60;-build_essential&#x60; - Build essential (descending) * &#x60;installed_size&#x60; - Installed size * &#x60;-installed_size&#x60; - Installed size (descending) * &#x60;maintainer&#x60; - Maintainer * &#x60;-maintainer&#x60; - Maintainer (descending) * &#x60;original_maintainer&#x60; - Original maintainer * &#x60;-original_maintainer&#x60; - Original maintainer (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;description_md5&#x60; - Description md5 * &#x60;-description_md5&#x60; - Description md5 (descending) * &#x60;homepage&#x60; - Homepage * &#x60;-homepage&#x60; - Homepage (descending) * &#x60;built_using&#x60; - Built using * &#x60;-built_using&#x60; - Built using (descending) * &#x60;auto_built_package&#x60; - Auto built package * &#x60;-auto_built_package&#x60; - Auto built package (descending) * &#x60;multi_arch&#x60; - Multi arch * &#x60;-multi_arch&#x60; - Multi arch (descending) * &#x60;breaks&#x60; - Breaks * &#x60;-breaks&#x60; - Breaks (descending) * &#x60;conflicts&#x60; - Conflicts * &#x60;-conflicts&#x60; - Conflicts (descending) * &#x60;depends&#x60; - Depends * &#x60;-depends&#x60; - Depends (descending) * &#x60;recommends&#x60; - Recommends * &#x60;-recommends&#x60; - Recommends (descending) * &#x60;suggests&#x60; - Suggests * &#x60;-suggests&#x60; - Suggests (descending) * &#x60;enhances&#x60; - Enhances * &#x60;-enhances&#x60; - Enhances (descending) * &#x60;pre_depends&#x60; - Pre depends * &#x60;-pre_depends&#x60; - Pre depends (descending) * &#x60;provides&#x60; - Provides * &#x60;-provides&#x60; - Provides (descending) * &#x60;replaces&#x60; - Replaces * &#x60;-replaces&#x60; - Replaces (descending) * &#x60;relative_path&#x60; - Relative path * &#x60;-relative_path&#x60; - Relative path (descending) * &#x60;sha256&#x60; - Sha256 * &#x60;-sha256&#x60; - Sha256 (descending) * &#x60;metadata_sha256&#x60; - Metadata sha256 * &#x60;-metadata_sha256&#x60; - Metadata sha256 (descending) * &#x60;signing_keys&#x60; - Signing keys * &#x60;-signing_keys&#x60; - Signing keys (descending) * &#x60;custom_fields&#x60; - Custom fields * &#x60;-custom_fields&#x60; - Custom fields (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
72
72
  # @option opts [String] :origin Filter results where origin matches value
73
73
  # @option opts [String] :original_maintainer Filter results where original_maintainer matches value
74
74
  # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
@@ -52,7 +52,7 @@ describe 'ContentPackageReleaseComponentsApi' do
52
52
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
53
53
  # @option opts [Integer] :limit Number of results to return per page.
54
54
  # @option opts [Integer] :offset The initial index from which to return the results.
55
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
55
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;index_architecture&#x60; - Index architecture * &#x60;-index_architecture&#x60; - Index architecture (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
56
56
  # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
57
57
  # @option opts [String] :package
58
58
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
@@ -34,7 +34,7 @@ describe 'ContentPackagesApi' do
34
34
 
35
35
  # unit tests for create
36
36
  # Create a package
37
- # Trigger an asynchronous task to create content,optionally create new repository version.
37
+ # Trigger an asynchronous task to create an DEB package,optionally create new repository version.
38
38
  # @param [Hash] opts the optional parameters
39
39
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
40
40
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
@@ -70,7 +70,7 @@ describe 'ContentPackagesApi' do
70
70
  # @option opts [String] :maintainer Filter results where maintainer matches value
71
71
  # @option opts [String] :multi_arch Filter results where multi_arch matches value * &#x60;no&#x60; - no * &#x60;same&#x60; - same * &#x60;foreign&#x60; - foreign * &#x60;allowed&#x60; - allowed
72
72
  # @option opts [Integer] :offset The initial index from which to return the results.
73
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;package&#x60; - Package * &#x60;-package&#x60; - Package (descending) * &#x60;source&#x60; - Source * &#x60;-source&#x60; - Source (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;architecture&#x60; - Architecture * &#x60;-architecture&#x60; - Architecture (descending) * &#x60;section&#x60; - Section * &#x60;-section&#x60; - Section (descending) * &#x60;priority&#x60; - Priority * &#x60;-priority&#x60; - Priority (descending) * &#x60;origin&#x60; - Origin * &#x60;-origin&#x60; - Origin (descending) * &#x60;tag&#x60; - Tag * &#x60;-tag&#x60; - Tag (descending) * &#x60;bugs&#x60; - Bugs * &#x60;-bugs&#x60; - Bugs (descending) * &#x60;essential&#x60; - Essential * &#x60;-essential&#x60; - Essential (descending) * &#x60;build_essential&#x60; - Build essential * &#x60;-build_essential&#x60; - Build essential (descending) * &#x60;installed_size&#x60; - Installed size * &#x60;-installed_size&#x60; - Installed size (descending) * &#x60;maintainer&#x60; - Maintainer * &#x60;-maintainer&#x60; - Maintainer (descending) * &#x60;original_maintainer&#x60; - Original maintainer * &#x60;-original_maintainer&#x60; - Original maintainer (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;description_md5&#x60; - Description md5 * &#x60;-description_md5&#x60; - Description md5 (descending) * &#x60;homepage&#x60; - Homepage * &#x60;-homepage&#x60; - Homepage (descending) * &#x60;built_using&#x60; - Built using * &#x60;-built_using&#x60; - Built using (descending) * &#x60;auto_built_package&#x60; - Auto built package * &#x60;-auto_built_package&#x60; - Auto built package (descending) * &#x60;multi_arch&#x60; - Multi arch * &#x60;-multi_arch&#x60; - Multi arch (descending) * &#x60;breaks&#x60; - Breaks * &#x60;-breaks&#x60; - Breaks (descending) * &#x60;conflicts&#x60; - Conflicts * &#x60;-conflicts&#x60; - Conflicts (descending) * &#x60;depends&#x60; - Depends * &#x60;-depends&#x60; - Depends (descending) * &#x60;recommends&#x60; - Recommends * &#x60;-recommends&#x60; - Recommends (descending) * &#x60;suggests&#x60; - Suggests * &#x60;-suggests&#x60; - Suggests (descending) * &#x60;enhances&#x60; - Enhances * &#x60;-enhances&#x60; - Enhances (descending) * &#x60;pre_depends&#x60; - Pre depends * &#x60;-pre_depends&#x60; - Pre depends (descending) * &#x60;provides&#x60; - Provides * &#x60;-provides&#x60; - Provides (descending) * &#x60;replaces&#x60; - Replaces * &#x60;-replaces&#x60; - Replaces (descending) * &#x60;relative_path&#x60; - Relative path * &#x60;-relative_path&#x60; - Relative path (descending) * &#x60;sha256&#x60; - Sha256 * &#x60;-sha256&#x60; - Sha256 (descending) * &#x60;custom_fields&#x60; - Custom fields * &#x60;-custom_fields&#x60; - Custom fields (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
73
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;package&#x60; - Package * &#x60;-package&#x60; - Package (descending) * &#x60;source&#x60; - Source * &#x60;-source&#x60; - Source (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;architecture&#x60; - Architecture * &#x60;-architecture&#x60; - Architecture (descending) * &#x60;architecture_variant&#x60; - Architecture variant * &#x60;-architecture_variant&#x60; - Architecture variant (descending) * &#x60;section&#x60; - Section * &#x60;-section&#x60; - Section (descending) * &#x60;priority&#x60; - Priority * &#x60;-priority&#x60; - Priority (descending) * &#x60;origin&#x60; - Origin * &#x60;-origin&#x60; - Origin (descending) * &#x60;tag&#x60; - Tag * &#x60;-tag&#x60; - Tag (descending) * &#x60;bugs&#x60; - Bugs * &#x60;-bugs&#x60; - Bugs (descending) * &#x60;essential&#x60; - Essential * &#x60;-essential&#x60; - Essential (descending) * &#x60;build_essential&#x60; - Build essential * &#x60;-build_essential&#x60; - Build essential (descending) * &#x60;installed_size&#x60; - Installed size * &#x60;-installed_size&#x60; - Installed size (descending) * &#x60;maintainer&#x60; - Maintainer * &#x60;-maintainer&#x60; - Maintainer (descending) * &#x60;original_maintainer&#x60; - Original maintainer * &#x60;-original_maintainer&#x60; - Original maintainer (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;description_md5&#x60; - Description md5 * &#x60;-description_md5&#x60; - Description md5 (descending) * &#x60;homepage&#x60; - Homepage * &#x60;-homepage&#x60; - Homepage (descending) * &#x60;built_using&#x60; - Built using * &#x60;-built_using&#x60; - Built using (descending) * &#x60;auto_built_package&#x60; - Auto built package * &#x60;-auto_built_package&#x60; - Auto built package (descending) * &#x60;multi_arch&#x60; - Multi arch * &#x60;-multi_arch&#x60; - Multi arch (descending) * &#x60;breaks&#x60; - Breaks * &#x60;-breaks&#x60; - Breaks (descending) * &#x60;conflicts&#x60; - Conflicts * &#x60;-conflicts&#x60; - Conflicts (descending) * &#x60;depends&#x60; - Depends * &#x60;-depends&#x60; - Depends (descending) * &#x60;recommends&#x60; - Recommends * &#x60;-recommends&#x60; - Recommends (descending) * &#x60;suggests&#x60; - Suggests * &#x60;-suggests&#x60; - Suggests (descending) * &#x60;enhances&#x60; - Enhances * &#x60;-enhances&#x60; - Enhances (descending) * &#x60;pre_depends&#x60; - Pre depends * &#x60;-pre_depends&#x60; - Pre depends (descending) * &#x60;provides&#x60; - Provides * &#x60;-provides&#x60; - Provides (descending) * &#x60;replaces&#x60; - Replaces * &#x60;-replaces&#x60; - Replaces (descending) * &#x60;relative_path&#x60; - Relative path * &#x60;-relative_path&#x60; - Relative path (descending) * &#x60;sha256&#x60; - Sha256 * &#x60;-sha256&#x60; - Sha256 (descending) * &#x60;metadata_sha256&#x60; - Metadata sha256 * &#x60;-metadata_sha256&#x60; - Metadata sha256 (descending) * &#x60;signing_keys&#x60; - Signing keys * &#x60;-signing_keys&#x60; - Signing keys (descending) * &#x60;custom_fields&#x60; - Custom fields * &#x60;-custom_fields&#x60; - Custom fields (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
74
74
  # @option opts [String] :origin Filter results where origin matches value
75
75
  # @option opts [String] :original_maintainer Filter results where original_maintainer matches value
76
76
  # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
@@ -51,10 +51,11 @@ describe 'ContentReleaseArchitecturesApi' do
51
51
  # @param [Hash] opts the optional parameters
52
52
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
53
53
  # @option opts [String] :architecture Filter results where architecture matches value
54
+ # @option opts [String] :base_architecture Filter results where base_architecture matches value
54
55
  # @option opts [String] :distribution Filter results where distribution matches value
55
56
  # @option opts [Integer] :limit Number of results to return per page.
56
57
  # @option opts [Integer] :offset The initial index from which to return the results.
57
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;distribution&#x60; - Distribution * &#x60;-distribution&#x60; - Distribution (descending) * &#x60;architecture&#x60; - Architecture * &#x60;-architecture&#x60; - Architecture (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
58
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;distribution&#x60; - Distribution * &#x60;-distribution&#x60; - Distribution (descending) * &#x60;architecture&#x60; - Architecture * &#x60;-architecture&#x60; - Architecture (descending) * &#x60;base_architecture&#x60; - Base architecture * &#x60;-base_architecture&#x60; - Base architecture (descending) * &#x60;variant_architecture&#x60; - Variant architecture * &#x60;-variant_architecture&#x60; - Variant architecture (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
58
59
  # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
59
60
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
60
61
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
@@ -64,6 +65,7 @@ describe 'ContentReleaseArchitecturesApi' do
64
65
  # @option opts [String] :repository_version
65
66
  # @option opts [String] :repository_version_added
66
67
  # @option opts [String] :repository_version_removed
68
+ # @option opts [String] :variant_architecture Filter results where variant_architecture matches value
67
69
  # @option opts [Array<String>] :fields A list of fields to include in the response.
68
70
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
69
71
  # @return [PaginateddebReleaseArchitectureResponseList]
@@ -141,7 +141,7 @@ describe 'RepositoriesAptApi' do
141
141
  # Modify Repository Content
142
142
  # Trigger an asynchronous task to create a new repository version.
143
143
  # @param deb_apt_repository_href
144
- # @param repository_add_remove_content
144
+ # @param apt_repository_add_remove_content
145
145
  # @param [Hash] opts the optional parameters
146
146
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
147
147
  # @return [AsyncOperationResponse]
@@ -14,16 +14,16 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for PulpDebClient::RepositoryAddRemoveContent
17
+ # Unit tests for PulpDebClient::AptRepositoryAddRemoveContent
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe PulpDebClient::RepositoryAddRemoveContent do
21
- let(:instance) { PulpDebClient::RepositoryAddRemoveContent.new }
20
+ describe PulpDebClient::AptRepositoryAddRemoveContent do
21
+ let(:instance) { PulpDebClient::AptRepositoryAddRemoveContent.new }
22
22
 
23
- describe 'test an instance of RepositoryAddRemoveContent' do
24
- it 'should create an instance of RepositoryAddRemoveContent' do
23
+ describe 'test an instance of AptRepositoryAddRemoveContent' do
24
+ it 'should create an instance of AptRepositoryAddRemoveContent' do
25
25
  # uncomment below to test the instance creation
26
- #expect(instance).to be_instance_of(PulpDebClient::RepositoryAddRemoveContent)
26
+ #expect(instance).to be_instance_of(PulpDebClient::AptRepositoryAddRemoveContent)
27
27
  end
28
28
  end
29
29
 
@@ -51,4 +51,16 @@ describe PulpDebClient::RepositoryAddRemoveContent do
51
51
  end
52
52
  end
53
53
 
54
+ describe 'test attribute "distribution"' do
55
+ it 'should work' do
56
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
57
+ end
58
+ end
59
+
60
+ describe 'test attribute "component"' do
61
+ it 'should work' do
62
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
63
+ end
64
+ end
65
+
54
66
  end
@@ -99,6 +99,12 @@ describe PulpDebClient::DebAptPublicationResponse do
99
99
  end
100
100
  end
101
101
 
102
+ describe 'test attribute "excluded_package_metadata_fields"' do
103
+ it 'should work' do
104
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
105
+ end
106
+ end
107
+
102
108
  describe 'test attribute "layout"' do
103
109
  it 'should work' do
104
110
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/