pulp_deb_client 2.20.4 → 2.21.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.
- checksums.yaml +4 -4
- data/README.md +10 -7
- data/docs/ContentInstallerPackagesApi.md +4 -4
- data/docs/ContentPackagesApi.md +9 -5
- data/docs/ContentReleaseArchitecturesApi.md +8 -4
- data/docs/ContentReleaseComponentsApi.md +11 -7
- data/docs/ContentReleasesApi.md +3 -3
- data/docs/{DebBasePackage.md → DebInstallerPackage.md} +2 -2
- data/docs/{DebBasePackageResponse.md → DebInstallerPackageResponse.md} +2 -2
- data/docs/DebPackage.md +29 -0
- data/docs/DebPackageResponse.md +97 -0
- data/docs/DebReleaseArchitecture.md +6 -2
- data/docs/DebReleaseArchitectureResponse.md +6 -2
- data/docs/DebReleaseComponent.md +6 -2
- data/docs/DebReleaseComponentResponse.md +6 -2
- data/docs/PaginateddebInstallerPackageResponseList.md +23 -0
- data/docs/{PaginateddebBasePackageResponseList.md → PaginateddebPackageResponseList.md} +3 -3
- data/docs/RepositoriesAptApi.md +4 -0
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +6 -6
- data/lib/pulp_deb_client/api/content_packages_api.rb +20 -6
- data/lib/pulp_deb_client/api/content_release_architectures_api.rb +12 -6
- data/lib/pulp_deb_client/api/content_release_components_api.rb +18 -12
- data/lib/pulp_deb_client/api/content_releases_api.rb +6 -6
- data/lib/pulp_deb_client/api/repositories_apt_api.rb +6 -0
- data/lib/pulp_deb_client/models/{deb_base_package.rb → deb_installer_package.rb} +3 -3
- data/lib/pulp_deb_client/models/{deb_base_package_response.rb → deb_installer_package_response.rb} +3 -3
- data/lib/pulp_deb_client/models/deb_package.rb +313 -0
- data/lib/pulp_deb_client/models/deb_package_response.rb +578 -0
- data/lib/pulp_deb_client/models/deb_release_architecture.rb +96 -11
- data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +39 -11
- data/lib/pulp_deb_client/models/deb_release_component.rb +96 -11
- data/lib/pulp_deb_client/models/deb_release_component_response.rb +39 -11
- data/lib/pulp_deb_client/models/paginateddeb_installer_package_response_list.rb +237 -0
- data/lib/pulp_deb_client/models/{paginateddeb_base_package_response_list.rb → paginateddeb_package_response_list.rb} +4 -4
- data/lib/pulp_deb_client/version.rb +1 -1
- data/lib/pulp_deb_client.rb +6 -3
- data/spec/api/content_installer_packages_api_spec.rb +2 -2
- data/spec/api/content_packages_api_spec.rb +4 -2
- data/spec/api/content_release_architectures_api_spec.rb +4 -2
- data/spec/api/content_release_components_api_spec.rb +7 -5
- data/spec/api/content_releases_api_spec.rb +3 -3
- data/spec/api/repositories_apt_api_spec.rb +2 -0
- data/spec/models/{deb_base_package_response_spec.rb → deb_installer_package_response_spec.rb} +6 -6
- data/spec/models/{deb_base_package_spec.rb → deb_installer_package_spec.rb} +6 -6
- data/spec/models/deb_package_response_spec.rb +281 -0
- data/spec/models/deb_package_spec.rb +77 -0
- data/spec/models/deb_release_architecture_response_spec.rb +13 -1
- data/spec/models/deb_release_architecture_spec.rb +13 -1
- data/spec/models/deb_release_component_response_spec.rb +13 -1
- data/spec/models/deb_release_component_spec.rb +13 -1
- data/spec/models/paginateddeb_installer_package_response_list_spec.rb +59 -0
- data/spec/models/{paginateddeb_base_package_response_list_spec.rb → paginateddeb_package_response_list_spec.rb} +6 -6
- metadata +80 -68
@@ -18,14 +18,20 @@ module PulpDebClient
|
|
18
18
|
# Name of the architecture.
|
19
19
|
attr_accessor :architecture
|
20
20
|
|
21
|
-
#
|
22
|
-
attr_accessor :
|
21
|
+
# Name of the distribution.
|
22
|
+
attr_accessor :distribution
|
23
|
+
|
24
|
+
attr_accessor :codename
|
25
|
+
|
26
|
+
attr_accessor :suite
|
23
27
|
|
24
28
|
# Attribute mapping from ruby-style variable name to JSON key.
|
25
29
|
def self.attribute_map
|
26
30
|
{
|
27
31
|
:'architecture' => :'architecture',
|
28
|
-
:'
|
32
|
+
:'distribution' => :'distribution',
|
33
|
+
:'codename' => :'codename',
|
34
|
+
:'suite' => :'suite'
|
29
35
|
}
|
30
36
|
end
|
31
37
|
|
@@ -33,7 +39,9 @@ module PulpDebClient
|
|
33
39
|
def self.openapi_types
|
34
40
|
{
|
35
41
|
:'architecture' => :'String',
|
36
|
-
:'
|
42
|
+
:'distribution' => :'String',
|
43
|
+
:'codename' => :'String',
|
44
|
+
:'suite' => :'String'
|
37
45
|
}
|
38
46
|
end
|
39
47
|
|
@@ -62,8 +70,16 @@ module PulpDebClient
|
|
62
70
|
self.architecture = attributes[:'architecture']
|
63
71
|
end
|
64
72
|
|
65
|
-
if attributes.key?(:'
|
66
|
-
self.
|
73
|
+
if attributes.key?(:'distribution')
|
74
|
+
self.distribution = attributes[:'distribution']
|
75
|
+
end
|
76
|
+
|
77
|
+
if attributes.key?(:'codename')
|
78
|
+
self.codename = attributes[:'codename']
|
79
|
+
end
|
80
|
+
|
81
|
+
if attributes.key?(:'suite')
|
82
|
+
self.suite = attributes[:'suite']
|
67
83
|
end
|
68
84
|
end
|
69
85
|
|
@@ -79,8 +95,28 @@ module PulpDebClient
|
|
79
95
|
invalid_properties.push('invalid value for "architecture", the character length must be great than or equal to 1.')
|
80
96
|
end
|
81
97
|
|
82
|
-
if @
|
83
|
-
invalid_properties.push('invalid value for "
|
98
|
+
if @distribution.nil?
|
99
|
+
invalid_properties.push('invalid value for "distribution", distribution cannot be nil.')
|
100
|
+
end
|
101
|
+
|
102
|
+
if @distribution.to_s.length < 1
|
103
|
+
invalid_properties.push('invalid value for "distribution", the character length must be great than or equal to 1.')
|
104
|
+
end
|
105
|
+
|
106
|
+
if @codename.nil?
|
107
|
+
invalid_properties.push('invalid value for "codename", codename cannot be nil.')
|
108
|
+
end
|
109
|
+
|
110
|
+
if @codename.to_s.length < 1
|
111
|
+
invalid_properties.push('invalid value for "codename", the character length must be great than or equal to 1.')
|
112
|
+
end
|
113
|
+
|
114
|
+
if @suite.nil?
|
115
|
+
invalid_properties.push('invalid value for "suite", suite cannot be nil.')
|
116
|
+
end
|
117
|
+
|
118
|
+
if @suite.to_s.length < 1
|
119
|
+
invalid_properties.push('invalid value for "suite", the character length must be great than or equal to 1.')
|
84
120
|
end
|
85
121
|
|
86
122
|
invalid_properties
|
@@ -91,7 +127,12 @@ module PulpDebClient
|
|
91
127
|
def valid?
|
92
128
|
return false if @architecture.nil?
|
93
129
|
return false if @architecture.to_s.length < 1
|
94
|
-
return false if @
|
130
|
+
return false if @distribution.nil?
|
131
|
+
return false if @distribution.to_s.length < 1
|
132
|
+
return false if @codename.nil?
|
133
|
+
return false if @codename.to_s.length < 1
|
134
|
+
return false if @suite.nil?
|
135
|
+
return false if @suite.to_s.length < 1
|
95
136
|
true
|
96
137
|
end
|
97
138
|
|
@@ -109,13 +150,57 @@ module PulpDebClient
|
|
109
150
|
@architecture = architecture
|
110
151
|
end
|
111
152
|
|
153
|
+
# Custom attribute writer method with validation
|
154
|
+
# @param [Object] distribution Value to be assigned
|
155
|
+
def distribution=(distribution)
|
156
|
+
if distribution.nil?
|
157
|
+
fail ArgumentError, 'distribution cannot be nil'
|
158
|
+
end
|
159
|
+
|
160
|
+
if distribution.to_s.length < 1
|
161
|
+
fail ArgumentError, 'invalid value for "distribution", the character length must be great than or equal to 1.'
|
162
|
+
end
|
163
|
+
|
164
|
+
@distribution = distribution
|
165
|
+
end
|
166
|
+
|
167
|
+
# Custom attribute writer method with validation
|
168
|
+
# @param [Object] codename Value to be assigned
|
169
|
+
def codename=(codename)
|
170
|
+
if codename.nil?
|
171
|
+
fail ArgumentError, 'codename cannot be nil'
|
172
|
+
end
|
173
|
+
|
174
|
+
if codename.to_s.length < 1
|
175
|
+
fail ArgumentError, 'invalid value for "codename", the character length must be great than or equal to 1.'
|
176
|
+
end
|
177
|
+
|
178
|
+
@codename = codename
|
179
|
+
end
|
180
|
+
|
181
|
+
# Custom attribute writer method with validation
|
182
|
+
# @param [Object] suite Value to be assigned
|
183
|
+
def suite=(suite)
|
184
|
+
if suite.nil?
|
185
|
+
fail ArgumentError, 'suite cannot be nil'
|
186
|
+
end
|
187
|
+
|
188
|
+
if suite.to_s.length < 1
|
189
|
+
fail ArgumentError, 'invalid value for "suite", the character length must be great than or equal to 1.'
|
190
|
+
end
|
191
|
+
|
192
|
+
@suite = suite
|
193
|
+
end
|
194
|
+
|
112
195
|
# Checks equality by comparing each attribute.
|
113
196
|
# @param [Object] Object to be compared
|
114
197
|
def ==(o)
|
115
198
|
return true if self.equal?(o)
|
116
199
|
self.class == o.class &&
|
117
200
|
architecture == o.architecture &&
|
118
|
-
|
201
|
+
distribution == o.distribution &&
|
202
|
+
codename == o.codename &&
|
203
|
+
suite == o.suite
|
119
204
|
end
|
120
205
|
|
121
206
|
# @see the `==` method
|
@@ -127,7 +212,7 @@ module PulpDebClient
|
|
127
212
|
# Calculates hash code according to all attributes.
|
128
213
|
# @return [Integer] Hash code
|
129
214
|
def hash
|
130
|
-
[architecture,
|
215
|
+
[architecture, distribution, codename, suite].hash
|
131
216
|
end
|
132
217
|
|
133
218
|
# Builds the object from hash
|
@@ -23,8 +23,12 @@ module PulpDebClient
|
|
23
23
|
# Name of the architecture.
|
24
24
|
attr_accessor :architecture
|
25
25
|
|
26
|
-
#
|
27
|
-
attr_accessor :
|
26
|
+
# Name of the distribution.
|
27
|
+
attr_accessor :distribution
|
28
|
+
|
29
|
+
attr_accessor :codename
|
30
|
+
|
31
|
+
attr_accessor :suite
|
28
32
|
|
29
33
|
# Attribute mapping from ruby-style variable name to JSON key.
|
30
34
|
def self.attribute_map
|
@@ -32,7 +36,9 @@ module PulpDebClient
|
|
32
36
|
:'pulp_href' => :'pulp_href',
|
33
37
|
:'pulp_created' => :'pulp_created',
|
34
38
|
:'architecture' => :'architecture',
|
35
|
-
:'
|
39
|
+
:'distribution' => :'distribution',
|
40
|
+
:'codename' => :'codename',
|
41
|
+
:'suite' => :'suite'
|
36
42
|
}
|
37
43
|
end
|
38
44
|
|
@@ -42,7 +48,9 @@ module PulpDebClient
|
|
42
48
|
:'pulp_href' => :'String',
|
43
49
|
:'pulp_created' => :'DateTime',
|
44
50
|
:'architecture' => :'String',
|
45
|
-
:'
|
51
|
+
:'distribution' => :'String',
|
52
|
+
:'codename' => :'String',
|
53
|
+
:'suite' => :'String'
|
46
54
|
}
|
47
55
|
end
|
48
56
|
|
@@ -79,8 +87,16 @@ module PulpDebClient
|
|
79
87
|
self.architecture = attributes[:'architecture']
|
80
88
|
end
|
81
89
|
|
82
|
-
if attributes.key?(:'
|
83
|
-
self.
|
90
|
+
if attributes.key?(:'distribution')
|
91
|
+
self.distribution = attributes[:'distribution']
|
92
|
+
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']
|
84
100
|
end
|
85
101
|
end
|
86
102
|
|
@@ -92,8 +108,16 @@ module PulpDebClient
|
|
92
108
|
invalid_properties.push('invalid value for "architecture", architecture cannot be nil.')
|
93
109
|
end
|
94
110
|
|
95
|
-
if @
|
96
|
-
invalid_properties.push('invalid value for "
|
111
|
+
if @distribution.nil?
|
112
|
+
invalid_properties.push('invalid value for "distribution", distribution cannot be nil.')
|
113
|
+
end
|
114
|
+
|
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.')
|
97
121
|
end
|
98
122
|
|
99
123
|
invalid_properties
|
@@ -103,7 +127,9 @@ module PulpDebClient
|
|
103
127
|
# @return true if the model is valid
|
104
128
|
def valid?
|
105
129
|
return false if @architecture.nil?
|
106
|
-
return false if @
|
130
|
+
return false if @distribution.nil?
|
131
|
+
return false if @codename.nil?
|
132
|
+
return false if @suite.nil?
|
107
133
|
true
|
108
134
|
end
|
109
135
|
|
@@ -115,7 +141,9 @@ module PulpDebClient
|
|
115
141
|
pulp_href == o.pulp_href &&
|
116
142
|
pulp_created == o.pulp_created &&
|
117
143
|
architecture == o.architecture &&
|
118
|
-
|
144
|
+
distribution == o.distribution &&
|
145
|
+
codename == o.codename &&
|
146
|
+
suite == o.suite
|
119
147
|
end
|
120
148
|
|
121
149
|
# @see the `==` method
|
@@ -127,7 +155,7 @@ module PulpDebClient
|
|
127
155
|
# Calculates hash code according to all attributes.
|
128
156
|
# @return [Integer] Hash code
|
129
157
|
def hash
|
130
|
-
[pulp_href, pulp_created, architecture,
|
158
|
+
[pulp_href, pulp_created, architecture, distribution, codename, suite].hash
|
131
159
|
end
|
132
160
|
|
133
161
|
# Builds the object from hash
|
@@ -18,14 +18,20 @@ module PulpDebClient
|
|
18
18
|
# Name of the component.
|
19
19
|
attr_accessor :component
|
20
20
|
|
21
|
-
#
|
22
|
-
attr_accessor :
|
21
|
+
# Name of the distribution.
|
22
|
+
attr_accessor :distribution
|
23
|
+
|
24
|
+
attr_accessor :codename
|
25
|
+
|
26
|
+
attr_accessor :suite
|
23
27
|
|
24
28
|
# Attribute mapping from ruby-style variable name to JSON key.
|
25
29
|
def self.attribute_map
|
26
30
|
{
|
27
31
|
:'component' => :'component',
|
28
|
-
:'
|
32
|
+
:'distribution' => :'distribution',
|
33
|
+
:'codename' => :'codename',
|
34
|
+
:'suite' => :'suite'
|
29
35
|
}
|
30
36
|
end
|
31
37
|
|
@@ -33,7 +39,9 @@ module PulpDebClient
|
|
33
39
|
def self.openapi_types
|
34
40
|
{
|
35
41
|
:'component' => :'String',
|
36
|
-
:'
|
42
|
+
:'distribution' => :'String',
|
43
|
+
:'codename' => :'String',
|
44
|
+
:'suite' => :'String'
|
37
45
|
}
|
38
46
|
end
|
39
47
|
|
@@ -62,8 +70,16 @@ module PulpDebClient
|
|
62
70
|
self.component = attributes[:'component']
|
63
71
|
end
|
64
72
|
|
65
|
-
if attributes.key?(:'
|
66
|
-
self.
|
73
|
+
if attributes.key?(:'distribution')
|
74
|
+
self.distribution = attributes[:'distribution']
|
75
|
+
end
|
76
|
+
|
77
|
+
if attributes.key?(:'codename')
|
78
|
+
self.codename = attributes[:'codename']
|
79
|
+
end
|
80
|
+
|
81
|
+
if attributes.key?(:'suite')
|
82
|
+
self.suite = attributes[:'suite']
|
67
83
|
end
|
68
84
|
end
|
69
85
|
|
@@ -79,8 +95,28 @@ module PulpDebClient
|
|
79
95
|
invalid_properties.push('invalid value for "component", the character length must be great than or equal to 1.')
|
80
96
|
end
|
81
97
|
|
82
|
-
if @
|
83
|
-
invalid_properties.push('invalid value for "
|
98
|
+
if @distribution.nil?
|
99
|
+
invalid_properties.push('invalid value for "distribution", distribution cannot be nil.')
|
100
|
+
end
|
101
|
+
|
102
|
+
if @distribution.to_s.length < 1
|
103
|
+
invalid_properties.push('invalid value for "distribution", the character length must be great than or equal to 1.')
|
104
|
+
end
|
105
|
+
|
106
|
+
if @codename.nil?
|
107
|
+
invalid_properties.push('invalid value for "codename", codename cannot be nil.')
|
108
|
+
end
|
109
|
+
|
110
|
+
if @codename.to_s.length < 1
|
111
|
+
invalid_properties.push('invalid value for "codename", the character length must be great than or equal to 1.')
|
112
|
+
end
|
113
|
+
|
114
|
+
if @suite.nil?
|
115
|
+
invalid_properties.push('invalid value for "suite", suite cannot be nil.')
|
116
|
+
end
|
117
|
+
|
118
|
+
if @suite.to_s.length < 1
|
119
|
+
invalid_properties.push('invalid value for "suite", the character length must be great than or equal to 1.')
|
84
120
|
end
|
85
121
|
|
86
122
|
invalid_properties
|
@@ -91,7 +127,12 @@ module PulpDebClient
|
|
91
127
|
def valid?
|
92
128
|
return false if @component.nil?
|
93
129
|
return false if @component.to_s.length < 1
|
94
|
-
return false if @
|
130
|
+
return false if @distribution.nil?
|
131
|
+
return false if @distribution.to_s.length < 1
|
132
|
+
return false if @codename.nil?
|
133
|
+
return false if @codename.to_s.length < 1
|
134
|
+
return false if @suite.nil?
|
135
|
+
return false if @suite.to_s.length < 1
|
95
136
|
true
|
96
137
|
end
|
97
138
|
|
@@ -109,13 +150,57 @@ module PulpDebClient
|
|
109
150
|
@component = component
|
110
151
|
end
|
111
152
|
|
153
|
+
# Custom attribute writer method with validation
|
154
|
+
# @param [Object] distribution Value to be assigned
|
155
|
+
def distribution=(distribution)
|
156
|
+
if distribution.nil?
|
157
|
+
fail ArgumentError, 'distribution cannot be nil'
|
158
|
+
end
|
159
|
+
|
160
|
+
if distribution.to_s.length < 1
|
161
|
+
fail ArgumentError, 'invalid value for "distribution", the character length must be great than or equal to 1.'
|
162
|
+
end
|
163
|
+
|
164
|
+
@distribution = distribution
|
165
|
+
end
|
166
|
+
|
167
|
+
# Custom attribute writer method with validation
|
168
|
+
# @param [Object] codename Value to be assigned
|
169
|
+
def codename=(codename)
|
170
|
+
if codename.nil?
|
171
|
+
fail ArgumentError, 'codename cannot be nil'
|
172
|
+
end
|
173
|
+
|
174
|
+
if codename.to_s.length < 1
|
175
|
+
fail ArgumentError, 'invalid value for "codename", the character length must be great than or equal to 1.'
|
176
|
+
end
|
177
|
+
|
178
|
+
@codename = codename
|
179
|
+
end
|
180
|
+
|
181
|
+
# Custom attribute writer method with validation
|
182
|
+
# @param [Object] suite Value to be assigned
|
183
|
+
def suite=(suite)
|
184
|
+
if suite.nil?
|
185
|
+
fail ArgumentError, 'suite cannot be nil'
|
186
|
+
end
|
187
|
+
|
188
|
+
if suite.to_s.length < 1
|
189
|
+
fail ArgumentError, 'invalid value for "suite", the character length must be great than or equal to 1.'
|
190
|
+
end
|
191
|
+
|
192
|
+
@suite = suite
|
193
|
+
end
|
194
|
+
|
112
195
|
# Checks equality by comparing each attribute.
|
113
196
|
# @param [Object] Object to be compared
|
114
197
|
def ==(o)
|
115
198
|
return true if self.equal?(o)
|
116
199
|
self.class == o.class &&
|
117
200
|
component == o.component &&
|
118
|
-
|
201
|
+
distribution == o.distribution &&
|
202
|
+
codename == o.codename &&
|
203
|
+
suite == o.suite
|
119
204
|
end
|
120
205
|
|
121
206
|
# @see the `==` method
|
@@ -127,7 +212,7 @@ module PulpDebClient
|
|
127
212
|
# Calculates hash code according to all attributes.
|
128
213
|
# @return [Integer] Hash code
|
129
214
|
def hash
|
130
|
-
[component,
|
215
|
+
[component, distribution, codename, suite].hash
|
131
216
|
end
|
132
217
|
|
133
218
|
# Builds the object from hash
|
@@ -23,8 +23,12 @@ module PulpDebClient
|
|
23
23
|
# Name of the component.
|
24
24
|
attr_accessor :component
|
25
25
|
|
26
|
-
#
|
27
|
-
attr_accessor :
|
26
|
+
# Name of the distribution.
|
27
|
+
attr_accessor :distribution
|
28
|
+
|
29
|
+
attr_accessor :codename
|
30
|
+
|
31
|
+
attr_accessor :suite
|
28
32
|
|
29
33
|
# Attribute mapping from ruby-style variable name to JSON key.
|
30
34
|
def self.attribute_map
|
@@ -32,7 +36,9 @@ module PulpDebClient
|
|
32
36
|
:'pulp_href' => :'pulp_href',
|
33
37
|
:'pulp_created' => :'pulp_created',
|
34
38
|
:'component' => :'component',
|
35
|
-
:'
|
39
|
+
:'distribution' => :'distribution',
|
40
|
+
:'codename' => :'codename',
|
41
|
+
:'suite' => :'suite'
|
36
42
|
}
|
37
43
|
end
|
38
44
|
|
@@ -42,7 +48,9 @@ module PulpDebClient
|
|
42
48
|
:'pulp_href' => :'String',
|
43
49
|
:'pulp_created' => :'DateTime',
|
44
50
|
:'component' => :'String',
|
45
|
-
:'
|
51
|
+
:'distribution' => :'String',
|
52
|
+
:'codename' => :'String',
|
53
|
+
:'suite' => :'String'
|
46
54
|
}
|
47
55
|
end
|
48
56
|
|
@@ -79,8 +87,16 @@ module PulpDebClient
|
|
79
87
|
self.component = attributes[:'component']
|
80
88
|
end
|
81
89
|
|
82
|
-
if attributes.key?(:'
|
83
|
-
self.
|
90
|
+
if attributes.key?(:'distribution')
|
91
|
+
self.distribution = attributes[:'distribution']
|
92
|
+
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']
|
84
100
|
end
|
85
101
|
end
|
86
102
|
|
@@ -92,8 +108,16 @@ module PulpDebClient
|
|
92
108
|
invalid_properties.push('invalid value for "component", component cannot be nil.')
|
93
109
|
end
|
94
110
|
|
95
|
-
if @
|
96
|
-
invalid_properties.push('invalid value for "
|
111
|
+
if @distribution.nil?
|
112
|
+
invalid_properties.push('invalid value for "distribution", distribution cannot be nil.')
|
113
|
+
end
|
114
|
+
|
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.')
|
97
121
|
end
|
98
122
|
|
99
123
|
invalid_properties
|
@@ -103,7 +127,9 @@ module PulpDebClient
|
|
103
127
|
# @return true if the model is valid
|
104
128
|
def valid?
|
105
129
|
return false if @component.nil?
|
106
|
-
return false if @
|
130
|
+
return false if @distribution.nil?
|
131
|
+
return false if @codename.nil?
|
132
|
+
return false if @suite.nil?
|
107
133
|
true
|
108
134
|
end
|
109
135
|
|
@@ -115,7 +141,9 @@ module PulpDebClient
|
|
115
141
|
pulp_href == o.pulp_href &&
|
116
142
|
pulp_created == o.pulp_created &&
|
117
143
|
component == o.component &&
|
118
|
-
|
144
|
+
distribution == o.distribution &&
|
145
|
+
codename == o.codename &&
|
146
|
+
suite == o.suite
|
119
147
|
end
|
120
148
|
|
121
149
|
# @see the `==` method
|
@@ -127,7 +155,7 @@ module PulpDebClient
|
|
127
155
|
# Calculates hash code according to all attributes.
|
128
156
|
# @return [Integer] Hash code
|
129
157
|
def hash
|
130
|
-
[pulp_href, pulp_created, component,
|
158
|
+
[pulp_href, pulp_created, component, distribution, codename, suite].hash
|
131
159
|
end
|
132
160
|
|
133
161
|
# Builds the object from hash
|