pulp_deb_client 2.21.2 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/ContentPackagesApi.md +4 -0
  4. data/docs/ContentReleaseArchitecturesApi.md +2 -6
  5. data/docs/ContentReleaseComponentsApi.md +4 -6
  6. data/docs/ContentReleasesApi.md +10 -2
  7. data/docs/DebAptPublication.md +4 -2
  8. data/docs/DebAptPublicationResponse.md +4 -2
  9. data/docs/DebAptRepository.md +7 -1
  10. data/docs/DebAptRepositoryResponse.md +7 -1
  11. data/docs/DebRelease.md +9 -1
  12. data/docs/DebReleaseArchitecture.md +1 -5
  13. data/docs/DebReleaseArchitectureResponse.md +1 -5
  14. data/docs/DebReleaseComponent.md +1 -5
  15. data/docs/DebReleaseComponentResponse.md +1 -5
  16. data/docs/DebReleaseFile.md +3 -3
  17. data/docs/DebReleaseFileResponse.md +3 -3
  18. data/docs/DebReleaseResponse.md +9 -1
  19. data/docs/PatcheddebAptRepository.md +7 -1
  20. data/lib/pulp_deb_client/api/content_packages_api.rb +6 -0
  21. data/lib/pulp_deb_client/api/content_release_architectures_api.rb +3 -9
  22. data/lib/pulp_deb_client/api/content_release_components_api.rb +6 -9
  23. data/lib/pulp_deb_client/api/content_releases_api.rb +15 -3
  24. data/lib/pulp_deb_client/models/deb_apt_publication.rb +14 -5
  25. data/lib/pulp_deb_client/models/deb_apt_publication_response.rb +14 -5
  26. data/lib/pulp_deb_client/models/deb_apt_repository.rb +38 -5
  27. data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +38 -5
  28. data/lib/pulp_deb_client/models/deb_release.rb +104 -4
  29. data/lib/pulp_deb_client/models/deb_release_architecture.rb +4 -70
  30. data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +4 -32
  31. data/lib/pulp_deb_client/models/deb_release_component.rb +4 -70
  32. data/lib/pulp_deb_client/models/deb_release_component_response.rb +4 -32
  33. data/lib/pulp_deb_client/models/deb_release_file.rb +3 -3
  34. data/lib/pulp_deb_client/models/deb_release_file_response.rb +3 -3
  35. data/lib/pulp_deb_client/models/deb_release_response.rb +44 -4
  36. data/lib/pulp_deb_client/models/patcheddeb_apt_repository.rb +38 -5
  37. data/lib/pulp_deb_client/version.rb +1 -1
  38. data/spec/api/content_packages_api_spec.rb +2 -0
  39. data/spec/api/content_release_architectures_api_spec.rb +1 -3
  40. data/spec/api/content_release_components_api_spec.rb +2 -3
  41. data/spec/api/content_releases_api_spec.rb +5 -1
  42. data/spec/models/deb_apt_publication_response_spec.rb +6 -0
  43. data/spec/models/deb_apt_publication_spec.rb +6 -0
  44. data/spec/models/deb_apt_repository_response_spec.rb +18 -0
  45. data/spec/models/deb_apt_repository_spec.rb +18 -0
  46. data/spec/models/deb_release_architecture_response_spec.rb +0 -12
  47. data/spec/models/deb_release_architecture_spec.rb +0 -12
  48. data/spec/models/deb_release_component_response_spec.rb +0 -12
  49. data/spec/models/deb_release_component_spec.rb +0 -12
  50. data/spec/models/deb_release_response_spec.rb +24 -0
  51. data/spec/models/deb_release_spec.rb +24 -0
  52. data/spec/models/patcheddeb_apt_repository_spec.rb +18 -0
  53. metadata +1 -1
@@ -24,18 +24,12 @@ module PulpDebClient
24
24
  # Name of the distribution.
25
25
  attr_accessor :distribution
26
26
 
27
- attr_accessor :codename
28
-
29
- attr_accessor :suite
30
-
31
27
  # Attribute mapping from ruby-style variable name to JSON key.
32
28
  def self.attribute_map
33
29
  {
34
30
  :'repository' => :'repository',
35
31
  :'architecture' => :'architecture',
36
- :'distribution' => :'distribution',
37
- :'codename' => :'codename',
38
- :'suite' => :'suite'
32
+ :'distribution' => :'distribution'
39
33
  }
40
34
  end
41
35
 
@@ -44,9 +38,7 @@ module PulpDebClient
44
38
  {
45
39
  :'repository' => :'String',
46
40
  :'architecture' => :'String',
47
- :'distribution' => :'String',
48
- :'codename' => :'String',
49
- :'suite' => :'String'
41
+ :'distribution' => :'String'
50
42
  }
51
43
  end
52
44
 
@@ -82,14 +74,6 @@ module PulpDebClient
82
74
  if attributes.key?(:'distribution')
83
75
  self.distribution = attributes[:'distribution']
84
76
  end
85
-
86
- if attributes.key?(:'codename')
87
- self.codename = attributes[:'codename']
88
- end
89
-
90
- if attributes.key?(:'suite')
91
- self.suite = attributes[:'suite']
92
- end
93
77
  end
94
78
 
95
79
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -112,22 +96,6 @@ module PulpDebClient
112
96
  invalid_properties.push('invalid value for "distribution", the character length must be great than or equal to 1.')
113
97
  end
114
98
 
115
- if @codename.nil?
116
- invalid_properties.push('invalid value for "codename", codename cannot be nil.')
117
- end
118
-
119
- if @codename.to_s.length < 1
120
- invalid_properties.push('invalid value for "codename", the character length must be great than or equal to 1.')
121
- end
122
-
123
- if @suite.nil?
124
- invalid_properties.push('invalid value for "suite", suite cannot be nil.')
125
- end
126
-
127
- if @suite.to_s.length < 1
128
- invalid_properties.push('invalid value for "suite", the character length must be great than or equal to 1.')
129
- end
130
-
131
99
  invalid_properties
132
100
  end
133
101
 
@@ -138,10 +106,6 @@ module PulpDebClient
138
106
  return false if @architecture.to_s.length < 1
139
107
  return false if @distribution.nil?
140
108
  return false if @distribution.to_s.length < 1
141
- return false if @codename.nil?
142
- return false if @codename.to_s.length < 1
143
- return false if @suite.nil?
144
- return false if @suite.to_s.length < 1
145
109
  true
146
110
  end
147
111
 
@@ -173,34 +137,6 @@ module PulpDebClient
173
137
  @distribution = distribution
174
138
  end
175
139
 
176
- # Custom attribute writer method with validation
177
- # @param [Object] codename Value to be assigned
178
- def codename=(codename)
179
- if codename.nil?
180
- fail ArgumentError, 'codename cannot be nil'
181
- end
182
-
183
- if codename.to_s.length < 1
184
- fail ArgumentError, 'invalid value for "codename", the character length must be great than or equal to 1.'
185
- end
186
-
187
- @codename = codename
188
- end
189
-
190
- # Custom attribute writer method with validation
191
- # @param [Object] suite Value to be assigned
192
- def suite=(suite)
193
- if suite.nil?
194
- fail ArgumentError, 'suite cannot be nil'
195
- end
196
-
197
- if suite.to_s.length < 1
198
- fail ArgumentError, 'invalid value for "suite", the character length must be great than or equal to 1.'
199
- end
200
-
201
- @suite = suite
202
- end
203
-
204
140
  # Checks equality by comparing each attribute.
205
141
  # @param [Object] Object to be compared
206
142
  def ==(o)
@@ -208,9 +144,7 @@ module PulpDebClient
208
144
  self.class == o.class &&
209
145
  repository == o.repository &&
210
146
  architecture == o.architecture &&
211
- distribution == o.distribution &&
212
- codename == o.codename &&
213
- suite == o.suite
147
+ distribution == o.distribution
214
148
  end
215
149
 
216
150
  # @see the `==` method
@@ -222,7 +156,7 @@ module PulpDebClient
222
156
  # Calculates hash code according to all attributes.
223
157
  # @return [Integer] Hash code
224
158
  def hash
225
- [repository, architecture, distribution, codename, suite].hash
159
+ [repository, architecture, distribution].hash
226
160
  end
227
161
 
228
162
  # Builds the object from hash
@@ -26,19 +26,13 @@ module PulpDebClient
26
26
  # Name of the distribution.
27
27
  attr_accessor :distribution
28
28
 
29
- attr_accessor :codename
30
-
31
- attr_accessor :suite
32
-
33
29
  # Attribute mapping from ruby-style variable name to JSON key.
34
30
  def self.attribute_map
35
31
  {
36
32
  :'pulp_href' => :'pulp_href',
37
33
  :'pulp_created' => :'pulp_created',
38
34
  :'architecture' => :'architecture',
39
- :'distribution' => :'distribution',
40
- :'codename' => :'codename',
41
- :'suite' => :'suite'
35
+ :'distribution' => :'distribution'
42
36
  }
43
37
  end
44
38
 
@@ -48,9 +42,7 @@ module PulpDebClient
48
42
  :'pulp_href' => :'String',
49
43
  :'pulp_created' => :'DateTime',
50
44
  :'architecture' => :'String',
51
- :'distribution' => :'String',
52
- :'codename' => :'String',
53
- :'suite' => :'String'
45
+ :'distribution' => :'String'
54
46
  }
55
47
  end
56
48
 
@@ -90,14 +82,6 @@ module PulpDebClient
90
82
  if attributes.key?(:'distribution')
91
83
  self.distribution = attributes[:'distribution']
92
84
  end
93
-
94
- if attributes.key?(:'codename')
95
- self.codename = attributes[:'codename']
96
- end
97
-
98
- if attributes.key?(:'suite')
99
- self.suite = attributes[:'suite']
100
- end
101
85
  end
102
86
 
103
87
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -112,14 +96,6 @@ module PulpDebClient
112
96
  invalid_properties.push('invalid value for "distribution", distribution cannot be nil.')
113
97
  end
114
98
 
115
- if @codename.nil?
116
- invalid_properties.push('invalid value for "codename", codename cannot be nil.')
117
- end
118
-
119
- if @suite.nil?
120
- invalid_properties.push('invalid value for "suite", suite cannot be nil.')
121
- end
122
-
123
99
  invalid_properties
124
100
  end
125
101
 
@@ -128,8 +104,6 @@ module PulpDebClient
128
104
  def valid?
129
105
  return false if @architecture.nil?
130
106
  return false if @distribution.nil?
131
- return false if @codename.nil?
132
- return false if @suite.nil?
133
107
  true
134
108
  end
135
109
 
@@ -141,9 +115,7 @@ module PulpDebClient
141
115
  pulp_href == o.pulp_href &&
142
116
  pulp_created == o.pulp_created &&
143
117
  architecture == o.architecture &&
144
- distribution == o.distribution &&
145
- codename == o.codename &&
146
- suite == o.suite
118
+ distribution == o.distribution
147
119
  end
148
120
 
149
121
  # @see the `==` method
@@ -155,7 +127,7 @@ module PulpDebClient
155
127
  # Calculates hash code according to all attributes.
156
128
  # @return [Integer] Hash code
157
129
  def hash
158
- [pulp_href, pulp_created, architecture, distribution, codename, suite].hash
130
+ [pulp_href, pulp_created, architecture, distribution].hash
159
131
  end
160
132
 
161
133
  # Builds the object from hash
@@ -24,18 +24,12 @@ module PulpDebClient
24
24
  # Name of the distribution.
25
25
  attr_accessor :distribution
26
26
 
27
- attr_accessor :codename
28
-
29
- attr_accessor :suite
30
-
31
27
  # Attribute mapping from ruby-style variable name to JSON key.
32
28
  def self.attribute_map
33
29
  {
34
30
  :'repository' => :'repository',
35
31
  :'component' => :'component',
36
- :'distribution' => :'distribution',
37
- :'codename' => :'codename',
38
- :'suite' => :'suite'
32
+ :'distribution' => :'distribution'
39
33
  }
40
34
  end
41
35
 
@@ -44,9 +38,7 @@ module PulpDebClient
44
38
  {
45
39
  :'repository' => :'String',
46
40
  :'component' => :'String',
47
- :'distribution' => :'String',
48
- :'codename' => :'String',
49
- :'suite' => :'String'
41
+ :'distribution' => :'String'
50
42
  }
51
43
  end
52
44
 
@@ -82,14 +74,6 @@ module PulpDebClient
82
74
  if attributes.key?(:'distribution')
83
75
  self.distribution = attributes[:'distribution']
84
76
  end
85
-
86
- if attributes.key?(:'codename')
87
- self.codename = attributes[:'codename']
88
- end
89
-
90
- if attributes.key?(:'suite')
91
- self.suite = attributes[:'suite']
92
- end
93
77
  end
94
78
 
95
79
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -112,22 +96,6 @@ module PulpDebClient
112
96
  invalid_properties.push('invalid value for "distribution", the character length must be great than or equal to 1.')
113
97
  end
114
98
 
115
- if @codename.nil?
116
- invalid_properties.push('invalid value for "codename", codename cannot be nil.')
117
- end
118
-
119
- if @codename.to_s.length < 1
120
- invalid_properties.push('invalid value for "codename", the character length must be great than or equal to 1.')
121
- end
122
-
123
- if @suite.nil?
124
- invalid_properties.push('invalid value for "suite", suite cannot be nil.')
125
- end
126
-
127
- if @suite.to_s.length < 1
128
- invalid_properties.push('invalid value for "suite", the character length must be great than or equal to 1.')
129
- end
130
-
131
99
  invalid_properties
132
100
  end
133
101
 
@@ -138,10 +106,6 @@ module PulpDebClient
138
106
  return false if @component.to_s.length < 1
139
107
  return false if @distribution.nil?
140
108
  return false if @distribution.to_s.length < 1
141
- return false if @codename.nil?
142
- return false if @codename.to_s.length < 1
143
- return false if @suite.nil?
144
- return false if @suite.to_s.length < 1
145
109
  true
146
110
  end
147
111
 
@@ -173,34 +137,6 @@ module PulpDebClient
173
137
  @distribution = distribution
174
138
  end
175
139
 
176
- # Custom attribute writer method with validation
177
- # @param [Object] codename Value to be assigned
178
- def codename=(codename)
179
- if codename.nil?
180
- fail ArgumentError, 'codename cannot be nil'
181
- end
182
-
183
- if codename.to_s.length < 1
184
- fail ArgumentError, 'invalid value for "codename", the character length must be great than or equal to 1.'
185
- end
186
-
187
- @codename = codename
188
- end
189
-
190
- # Custom attribute writer method with validation
191
- # @param [Object] suite Value to be assigned
192
- def suite=(suite)
193
- if suite.nil?
194
- fail ArgumentError, 'suite cannot be nil'
195
- end
196
-
197
- if suite.to_s.length < 1
198
- fail ArgumentError, 'invalid value for "suite", the character length must be great than or equal to 1.'
199
- end
200
-
201
- @suite = suite
202
- end
203
-
204
140
  # Checks equality by comparing each attribute.
205
141
  # @param [Object] Object to be compared
206
142
  def ==(o)
@@ -208,9 +144,7 @@ module PulpDebClient
208
144
  self.class == o.class &&
209
145
  repository == o.repository &&
210
146
  component == o.component &&
211
- distribution == o.distribution &&
212
- codename == o.codename &&
213
- suite == o.suite
147
+ distribution == o.distribution
214
148
  end
215
149
 
216
150
  # @see the `==` method
@@ -222,7 +156,7 @@ module PulpDebClient
222
156
  # Calculates hash code according to all attributes.
223
157
  # @return [Integer] Hash code
224
158
  def hash
225
- [repository, component, distribution, codename, suite].hash
159
+ [repository, component, distribution].hash
226
160
  end
227
161
 
228
162
  # Builds the object from hash
@@ -26,19 +26,13 @@ module PulpDebClient
26
26
  # Name of the distribution.
27
27
  attr_accessor :distribution
28
28
 
29
- attr_accessor :codename
30
-
31
- attr_accessor :suite
32
-
33
29
  # Attribute mapping from ruby-style variable name to JSON key.
34
30
  def self.attribute_map
35
31
  {
36
32
  :'pulp_href' => :'pulp_href',
37
33
  :'pulp_created' => :'pulp_created',
38
34
  :'component' => :'component',
39
- :'distribution' => :'distribution',
40
- :'codename' => :'codename',
41
- :'suite' => :'suite'
35
+ :'distribution' => :'distribution'
42
36
  }
43
37
  end
44
38
 
@@ -48,9 +42,7 @@ module PulpDebClient
48
42
  :'pulp_href' => :'String',
49
43
  :'pulp_created' => :'DateTime',
50
44
  :'component' => :'String',
51
- :'distribution' => :'String',
52
- :'codename' => :'String',
53
- :'suite' => :'String'
45
+ :'distribution' => :'String'
54
46
  }
55
47
  end
56
48
 
@@ -90,14 +82,6 @@ module PulpDebClient
90
82
  if attributes.key?(:'distribution')
91
83
  self.distribution = attributes[:'distribution']
92
84
  end
93
-
94
- if attributes.key?(:'codename')
95
- self.codename = attributes[:'codename']
96
- end
97
-
98
- if attributes.key?(:'suite')
99
- self.suite = attributes[:'suite']
100
- end
101
85
  end
102
86
 
103
87
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -112,14 +96,6 @@ module PulpDebClient
112
96
  invalid_properties.push('invalid value for "distribution", distribution cannot be nil.')
113
97
  end
114
98
 
115
- if @codename.nil?
116
- invalid_properties.push('invalid value for "codename", codename cannot be nil.')
117
- end
118
-
119
- if @suite.nil?
120
- invalid_properties.push('invalid value for "suite", suite cannot be nil.')
121
- end
122
-
123
99
  invalid_properties
124
100
  end
125
101
 
@@ -128,8 +104,6 @@ module PulpDebClient
128
104
  def valid?
129
105
  return false if @component.nil?
130
106
  return false if @distribution.nil?
131
- return false if @codename.nil?
132
- return false if @suite.nil?
133
107
  true
134
108
  end
135
109
 
@@ -141,9 +115,7 @@ module PulpDebClient
141
115
  pulp_href == o.pulp_href &&
142
116
  pulp_created == o.pulp_created &&
143
117
  component == o.component &&
144
- distribution == o.distribution &&
145
- codename == o.codename &&
146
- suite == o.suite
118
+ distribution == o.distribution
147
119
  end
148
120
 
149
121
  # @see the `==` method
@@ -155,7 +127,7 @@ module PulpDebClient
155
127
  # Calculates hash code according to all attributes.
156
128
  # @return [Integer] Hash code
157
129
  def hash
158
- [pulp_href, pulp_created, component, distribution, codename, suite].hash
130
+ [pulp_href, pulp_created, component, distribution].hash
159
131
  end
160
132
 
161
133
  # Builds the object from hash
@@ -21,13 +21,13 @@ module PulpDebClient
21
21
  # A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/'
22
22
  attr_accessor :artifacts
23
23
 
24
- # Codename of the release, i.e. \"buster\".
24
+ # Codename of the release, e.g. \"buster\".
25
25
  attr_accessor :codename
26
26
 
27
- # Suite of the release, i.e. \"stable\".
27
+ # Suite of the release, e.g. \"stable\".
28
28
  attr_accessor :suite
29
29
 
30
- # Distribution of the release, i.e. \"stable/updates\".
30
+ # Distribution of the release, e.g. \"stable/updates\".
31
31
  attr_accessor :distribution
32
32
 
33
33
  # Path of file relative to url.
@@ -23,13 +23,13 @@ module PulpDebClient
23
23
  # A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/'
24
24
  attr_accessor :artifacts
25
25
 
26
- # Codename of the release, i.e. \"buster\".
26
+ # Codename of the release, e.g. \"buster\".
27
27
  attr_accessor :codename
28
28
 
29
- # Suite of the release, i.e. \"stable\".
29
+ # Suite of the release, e.g. \"stable\".
30
30
  attr_accessor :suite
31
31
 
32
- # Distribution of the release, i.e. \"stable/updates\".
32
+ # Distribution of the release, e.g. \"stable/updates\".
33
33
  attr_accessor :distribution
34
34
 
35
35
  # Path of file relative to url.
@@ -26,6 +26,14 @@ module PulpDebClient
26
26
 
27
27
  attr_accessor :distribution
28
28
 
29
+ attr_accessor :version
30
+
31
+ attr_accessor :origin
32
+
33
+ attr_accessor :label
34
+
35
+ attr_accessor :description
36
+
29
37
  # Attribute mapping from ruby-style variable name to JSON key.
30
38
  def self.attribute_map
31
39
  {
@@ -33,7 +41,11 @@ module PulpDebClient
33
41
  :'pulp_created' => :'pulp_created',
34
42
  :'codename' => :'codename',
35
43
  :'suite' => :'suite',
36
- :'distribution' => :'distribution'
44
+ :'distribution' => :'distribution',
45
+ :'version' => :'version',
46
+ :'origin' => :'origin',
47
+ :'label' => :'label',
48
+ :'description' => :'description'
37
49
  }
38
50
  end
39
51
 
@@ -44,13 +56,21 @@ module PulpDebClient
44
56
  :'pulp_created' => :'DateTime',
45
57
  :'codename' => :'String',
46
58
  :'suite' => :'String',
47
- :'distribution' => :'String'
59
+ :'distribution' => :'String',
60
+ :'version' => :'String',
61
+ :'origin' => :'String',
62
+ :'label' => :'String',
63
+ :'description' => :'String'
48
64
  }
49
65
  end
50
66
 
51
67
  # List of attributes with nullable: true
52
68
  def self.openapi_nullable
53
69
  Set.new([
70
+ :'version',
71
+ :'origin',
72
+ :'label',
73
+ :'description'
54
74
  ])
55
75
  end
56
76
 
@@ -88,6 +108,22 @@ module PulpDebClient
88
108
  if attributes.key?(:'distribution')
89
109
  self.distribution = attributes[:'distribution']
90
110
  end
111
+
112
+ if attributes.key?(:'version')
113
+ self.version = attributes[:'version']
114
+ end
115
+
116
+ if attributes.key?(:'origin')
117
+ self.origin = attributes[:'origin']
118
+ end
119
+
120
+ if attributes.key?(:'label')
121
+ self.label = attributes[:'label']
122
+ end
123
+
124
+ if attributes.key?(:'description')
125
+ self.description = attributes[:'description']
126
+ end
91
127
  end
92
128
 
93
129
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -127,7 +163,11 @@ module PulpDebClient
127
163
  pulp_created == o.pulp_created &&
128
164
  codename == o.codename &&
129
165
  suite == o.suite &&
130
- distribution == o.distribution
166
+ distribution == o.distribution &&
167
+ version == o.version &&
168
+ origin == o.origin &&
169
+ label == o.label &&
170
+ description == o.description
131
171
  end
132
172
 
133
173
  # @see the `==` method
@@ -139,7 +179,7 @@ module PulpDebClient
139
179
  # Calculates hash code according to all attributes.
140
180
  # @return [Integer] Hash code
141
181
  def hash
142
- [pulp_href, pulp_created, codename, suite, distribution].hash
182
+ [pulp_href, pulp_created, codename, suite, distribution, version, origin, label, description].hash
143
183
  end
144
184
 
145
185
  # Builds the object from hash
@@ -29,6 +29,15 @@ module PulpDebClient
29
29
  # An optional remote to use by default when syncing.
30
30
  attr_accessor :remote
31
31
 
32
+ # Previously, pulp_deb only synced the Release file fields codename and suite, now version, origin, label, and description are also synced. Setting this setting to False will make Pulp revert to the old behaviour of using it's own internal values for the new fields during publish. This is primarily intended to avoid a sudden change in behaviour for existing Pulp repositories, since many Release file field changes need to be accepted by hosts consuming the published repository. The default for new repositories is True.
33
+ attr_accessor :publish_upstream_release_fields
34
+
35
+ # A reference to an associated signing service. Used if AptPublication.signing_service is not set
36
+ attr_accessor :signing_service
37
+
38
+ # 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/\"}
39
+ attr_accessor :signing_service_release_overrides
40
+
32
41
  # Attribute mapping from ruby-style variable name to JSON key.
33
42
  def self.attribute_map
34
43
  {
@@ -36,7 +45,10 @@ module PulpDebClient
36
45
  :'name' => :'name',
37
46
  :'description' => :'description',
38
47
  :'retain_repo_versions' => :'retain_repo_versions',
39
- :'remote' => :'remote'
48
+ :'remote' => :'remote',
49
+ :'publish_upstream_release_fields' => :'publish_upstream_release_fields',
50
+ :'signing_service' => :'signing_service',
51
+ :'signing_service_release_overrides' => :'signing_service_release_overrides'
40
52
  }
41
53
  end
42
54
 
@@ -47,7 +59,10 @@ module PulpDebClient
47
59
  :'name' => :'String',
48
60
  :'description' => :'String',
49
61
  :'retain_repo_versions' => :'Integer',
50
- :'remote' => :'String'
62
+ :'remote' => :'String',
63
+ :'publish_upstream_release_fields' => :'Boolean',
64
+ :'signing_service' => :'String',
65
+ :'signing_service_release_overrides' => :'Hash<String, String>'
51
66
  }
52
67
  end
53
68
 
@@ -56,7 +71,8 @@ module PulpDebClient
56
71
  Set.new([
57
72
  :'description',
58
73
  :'retain_repo_versions',
59
- :'remote'
74
+ :'remote',
75
+ :'signing_service',
60
76
  ])
61
77
  end
62
78
 
@@ -96,6 +112,20 @@ module PulpDebClient
96
112
  if attributes.key?(:'remote')
97
113
  self.remote = attributes[:'remote']
98
114
  end
115
+
116
+ if attributes.key?(:'publish_upstream_release_fields')
117
+ self.publish_upstream_release_fields = attributes[:'publish_upstream_release_fields']
118
+ end
119
+
120
+ if attributes.key?(:'signing_service')
121
+ self.signing_service = attributes[:'signing_service']
122
+ end
123
+
124
+ if attributes.key?(:'signing_service_release_overrides')
125
+ if (value = attributes[:'signing_service_release_overrides']).is_a?(Hash)
126
+ self.signing_service_release_overrides = value
127
+ end
128
+ end
99
129
  end
100
130
 
101
131
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -165,7 +195,10 @@ module PulpDebClient
165
195
  name == o.name &&
166
196
  description == o.description &&
167
197
  retain_repo_versions == o.retain_repo_versions &&
168
- remote == o.remote
198
+ remote == o.remote &&
199
+ publish_upstream_release_fields == o.publish_upstream_release_fields &&
200
+ signing_service == o.signing_service &&
201
+ signing_service_release_overrides == o.signing_service_release_overrides
169
202
  end
170
203
 
171
204
  # @see the `==` method
@@ -177,7 +210,7 @@ module PulpDebClient
177
210
  # Calculates hash code according to all attributes.
178
211
  # @return [Integer] Hash code
179
212
  def hash
180
- [pulp_labels, name, description, retain_repo_versions, remote].hash
213
+ [pulp_labels, name, description, retain_repo_versions, remote, publish_upstream_release_fields, signing_service, signing_service_release_overrides].hash
181
214
  end
182
215
 
183
216
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module PulpDebClient
14
- VERSION = '2.21.2'
14
+ VERSION = '3.0.0'
15
15
  end
@@ -72,6 +72,8 @@ describe 'ContentPackagesApi' do
72
72
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
73
73
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
74
74
  # @option opts [String] :relative_path Filter results where relative_path matches value
75
+ # @option opts [String] :release Must be a comma-separated string: \&quot;release_href,repository_or_repository_version_href\&quot; release_href: Filter results where Package in Release repository_or_repository_version_href: The RepositoryVersion href to filter by, or Repository href (assume latest version)
76
+ # @option opts [String] :release_component Must be a comma-separated string: \&quot;release_component_href,repository_or_repository_version_href\&quot; release_component_href: Filter results where Package in ReleaseComponent repository_or_repository_version_href: The RepositoryVersion href to filter by, or Repository href (assume latest version)
75
77
  # @option opts [String] :repository_version Repository Version referenced by HREF
76
78
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
77
79
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF