pulp_deb_client 2.21.0 → 2.21.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +5 -5
- data/docs/ContentGenericContentsApi.md +2 -2
- data/docs/ContentInstallerPackagesApi.md +2 -2
- data/docs/ContentPackagesApi.md +2 -2
- data/docs/DebAptDistribution.md +2 -0
- data/docs/DebAptDistributionResponse.md +2 -0
- data/docs/DebGenericContent.md +3 -3
- data/docs/DebInstallerFileIndex.md +3 -1
- data/docs/DebInstallerPackage.md +3 -3
- data/docs/DebPackage.md +3 -3
- data/docs/DebPackageIndex.md +3 -1
- data/docs/DebPackageReleaseComponent.md +3 -1
- data/docs/DebRelease.md +3 -1
- data/docs/DebReleaseArchitecture.md +3 -1
- data/docs/DebReleaseComponent.md +3 -1
- data/docs/DebReleaseFile.md +3 -1
- data/docs/DistributionsAptApi.md +2 -2
- data/docs/PatcheddebAptDistribution.md +2 -0
- data/lib/pulp_deb_client/api/content_generic_contents_api.rb +3 -3
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +3 -3
- data/lib/pulp_deb_client/api/content_packages_api.rb +3 -3
- data/lib/pulp_deb_client/api/distributions_apt_api.rb +3 -3
- data/lib/pulp_deb_client/models/deb_apt_distribution.rb +13 -1
- data/lib/pulp_deb_client/models/deb_apt_distribution_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_generic_content.rb +11 -11
- data/lib/pulp_deb_client/models/deb_installer_file_index.rb +11 -1
- data/lib/pulp_deb_client/models/deb_installer_package.rb +11 -11
- data/lib/pulp_deb_client/models/deb_package.rb +11 -11
- data/lib/pulp_deb_client/models/deb_package_index.rb +11 -1
- data/lib/pulp_deb_client/models/deb_package_release_component.rb +11 -1
- data/lib/pulp_deb_client/models/deb_release.rb +11 -1
- data/lib/pulp_deb_client/models/deb_release_architecture.rb +11 -1
- data/lib/pulp_deb_client/models/deb_release_component.rb +11 -1
- data/lib/pulp_deb_client/models/deb_release_file.rb +11 -1
- data/lib/pulp_deb_client/models/patcheddeb_apt_distribution.rb +13 -1
- data/lib/pulp_deb_client/version.rb +1 -1
- data/spec/api/content_generic_contents_api_spec.rb +1 -1
- data/spec/api/content_installer_packages_api_spec.rb +1 -1
- data/spec/api/content_packages_api_spec.rb +1 -1
- data/spec/api/distributions_apt_api_spec.rb +1 -1
- data/spec/models/deb_apt_distribution_response_spec.rb +6 -0
- data/spec/models/deb_apt_distribution_spec.rb +6 -0
- data/spec/models/deb_generic_content_spec.rb +4 -4
- data/spec/models/deb_installer_file_index_spec.rb +6 -0
- data/spec/models/deb_installer_package_spec.rb +4 -4
- data/spec/models/deb_package_index_spec.rb +6 -0
- data/spec/models/deb_package_release_component_spec.rb +6 -0
- data/spec/models/deb_package_spec.rb +4 -4
- data/spec/models/deb_release_architecture_spec.rb +6 -0
- data/spec/models/deb_release_component_spec.rb +6 -0
- data/spec/models/deb_release_file_spec.rb +6 -0
- data/spec/models/deb_release_spec.rb +6 -0
- data/spec/models/patcheddeb_apt_distribution_spec.rb +6 -0
- metadata +59 -59
@@ -29,6 +29,9 @@ module PulpDebClient
|
|
29
29
|
# An optional content-guard.
|
30
30
|
attr_accessor :content_guard
|
31
31
|
|
32
|
+
# Whether this distribution should be shown in the content app.
|
33
|
+
attr_accessor :hidden
|
34
|
+
|
32
35
|
attr_accessor :pulp_labels
|
33
36
|
|
34
37
|
# A unique name. Ex, `rawhide` and `stable`.
|
@@ -48,6 +51,7 @@ module PulpDebClient
|
|
48
51
|
:'base_path' => :'base_path',
|
49
52
|
:'base_url' => :'base_url',
|
50
53
|
:'content_guard' => :'content_guard',
|
54
|
+
:'hidden' => :'hidden',
|
51
55
|
:'pulp_labels' => :'pulp_labels',
|
52
56
|
:'name' => :'name',
|
53
57
|
:'repository' => :'repository',
|
@@ -63,6 +67,7 @@ module PulpDebClient
|
|
63
67
|
:'base_path' => :'String',
|
64
68
|
:'base_url' => :'String',
|
65
69
|
:'content_guard' => :'String',
|
70
|
+
:'hidden' => :'Boolean',
|
66
71
|
:'pulp_labels' => :'Hash<String, String>',
|
67
72
|
:'name' => :'String',
|
68
73
|
:'repository' => :'String',
|
@@ -114,6 +119,12 @@ module PulpDebClient
|
|
114
119
|
self.content_guard = attributes[:'content_guard']
|
115
120
|
end
|
116
121
|
|
122
|
+
if attributes.key?(:'hidden')
|
123
|
+
self.hidden = attributes[:'hidden']
|
124
|
+
else
|
125
|
+
self.hidden = false
|
126
|
+
end
|
127
|
+
|
117
128
|
if attributes.key?(:'pulp_labels')
|
118
129
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
119
130
|
self.pulp_labels = value
|
@@ -166,6 +177,7 @@ module PulpDebClient
|
|
166
177
|
base_path == o.base_path &&
|
167
178
|
base_url == o.base_url &&
|
168
179
|
content_guard == o.content_guard &&
|
180
|
+
hidden == o.hidden &&
|
169
181
|
pulp_labels == o.pulp_labels &&
|
170
182
|
name == o.name &&
|
171
183
|
repository == o.repository &&
|
@@ -181,7 +193,7 @@ module PulpDebClient
|
|
181
193
|
# Calculates hash code according to all attributes.
|
182
194
|
# @return [Integer] Hash code
|
183
195
|
def hash
|
184
|
-
[pulp_href, pulp_created, base_path, base_url, content_guard, pulp_labels, name, repository, publication].hash
|
196
|
+
[pulp_href, pulp_created, base_path, base_url, content_guard, hidden, pulp_labels, name, repository, publication].hash
|
185
197
|
end
|
186
198
|
|
187
199
|
# Builds the object from hash
|
@@ -15,6 +15,9 @@ require 'date'
|
|
15
15
|
module PulpDebClient
|
16
16
|
# A serializer for GenericContent.
|
17
17
|
class DebGenericContent
|
18
|
+
# A URI of a repository the new content unit should be associated with.
|
19
|
+
attr_accessor :repository
|
20
|
+
|
18
21
|
# Artifact file representing the physical content
|
19
22
|
attr_accessor :artifact
|
20
23
|
|
@@ -24,19 +27,16 @@ module PulpDebClient
|
|
24
27
|
# An uploaded file that may be turned into the artifact of the content unit.
|
25
28
|
attr_accessor :file
|
26
29
|
|
27
|
-
# A URI of a repository the new content unit should be associated with.
|
28
|
-
attr_accessor :repository
|
29
|
-
|
30
30
|
# An uncommitted upload that may be turned into the artifact of the content unit.
|
31
31
|
attr_accessor :upload
|
32
32
|
|
33
33
|
# Attribute mapping from ruby-style variable name to JSON key.
|
34
34
|
def self.attribute_map
|
35
35
|
{
|
36
|
+
:'repository' => :'repository',
|
36
37
|
:'artifact' => :'artifact',
|
37
38
|
:'relative_path' => :'relative_path',
|
38
39
|
:'file' => :'file',
|
39
|
-
:'repository' => :'repository',
|
40
40
|
:'upload' => :'upload'
|
41
41
|
}
|
42
42
|
end
|
@@ -44,10 +44,10 @@ module PulpDebClient
|
|
44
44
|
# Attribute type mapping.
|
45
45
|
def self.openapi_types
|
46
46
|
{
|
47
|
+
:'repository' => :'String',
|
47
48
|
:'artifact' => :'String',
|
48
49
|
:'relative_path' => :'String',
|
49
50
|
:'file' => :'File',
|
50
|
-
:'repository' => :'String',
|
51
51
|
:'upload' => :'String'
|
52
52
|
}
|
53
53
|
end
|
@@ -73,6 +73,10 @@ module PulpDebClient
|
|
73
73
|
h[k.to_sym] = v
|
74
74
|
}
|
75
75
|
|
76
|
+
if attributes.key?(:'repository')
|
77
|
+
self.repository = attributes[:'repository']
|
78
|
+
end
|
79
|
+
|
76
80
|
if attributes.key?(:'artifact')
|
77
81
|
self.artifact = attributes[:'artifact']
|
78
82
|
end
|
@@ -85,10 +89,6 @@ module PulpDebClient
|
|
85
89
|
self.file = attributes[:'file']
|
86
90
|
end
|
87
91
|
|
88
|
-
if attributes.key?(:'repository')
|
89
|
-
self.repository = attributes[:'repository']
|
90
|
-
end
|
91
|
-
|
92
92
|
if attributes.key?(:'upload')
|
93
93
|
self.upload = attributes[:'upload']
|
94
94
|
end
|
@@ -136,10 +136,10 @@ module PulpDebClient
|
|
136
136
|
def ==(o)
|
137
137
|
return true if self.equal?(o)
|
138
138
|
self.class == o.class &&
|
139
|
+
repository == o.repository &&
|
139
140
|
artifact == o.artifact &&
|
140
141
|
relative_path == o.relative_path &&
|
141
142
|
file == o.file &&
|
142
|
-
repository == o.repository &&
|
143
143
|
upload == o.upload
|
144
144
|
end
|
145
145
|
|
@@ -152,7 +152,7 @@ module PulpDebClient
|
|
152
152
|
# Calculates hash code according to all attributes.
|
153
153
|
# @return [Integer] Hash code
|
154
154
|
def hash
|
155
|
-
[artifact, relative_path, file,
|
155
|
+
[repository, artifact, relative_path, file, upload].hash
|
156
156
|
end
|
157
157
|
|
158
158
|
# Builds the object from hash
|
@@ -15,6 +15,9 @@ require 'date'
|
|
15
15
|
module PulpDebClient
|
16
16
|
# A serializer for InstallerFileIndex.
|
17
17
|
class DebInstallerFileIndex
|
18
|
+
# A URI of a repository the new content unit should be associated with.
|
19
|
+
attr_accessor :repository
|
20
|
+
|
18
21
|
# A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/'
|
19
22
|
attr_accessor :artifacts
|
20
23
|
|
@@ -30,6 +33,7 @@ module PulpDebClient
|
|
30
33
|
# Attribute mapping from ruby-style variable name to JSON key.
|
31
34
|
def self.attribute_map
|
32
35
|
{
|
36
|
+
:'repository' => :'repository',
|
33
37
|
:'artifacts' => :'artifacts',
|
34
38
|
:'component' => :'component',
|
35
39
|
:'architecture' => :'architecture',
|
@@ -40,6 +44,7 @@ module PulpDebClient
|
|
40
44
|
# Attribute type mapping.
|
41
45
|
def self.openapi_types
|
42
46
|
{
|
47
|
+
:'repository' => :'String',
|
43
48
|
:'artifacts' => :'Object',
|
44
49
|
:'component' => :'String',
|
45
50
|
:'architecture' => :'String',
|
@@ -68,6 +73,10 @@ module PulpDebClient
|
|
68
73
|
h[k.to_sym] = v
|
69
74
|
}
|
70
75
|
|
76
|
+
if attributes.key?(:'repository')
|
77
|
+
self.repository = attributes[:'repository']
|
78
|
+
end
|
79
|
+
|
71
80
|
if attributes.key?(:'artifacts')
|
72
81
|
self.artifacts = attributes[:'artifacts']
|
73
82
|
end
|
@@ -171,6 +180,7 @@ module PulpDebClient
|
|
171
180
|
def ==(o)
|
172
181
|
return true if self.equal?(o)
|
173
182
|
self.class == o.class &&
|
183
|
+
repository == o.repository &&
|
174
184
|
artifacts == o.artifacts &&
|
175
185
|
component == o.component &&
|
176
186
|
architecture == o.architecture &&
|
@@ -186,7 +196,7 @@ module PulpDebClient
|
|
186
196
|
# Calculates hash code according to all attributes.
|
187
197
|
# @return [Integer] Hash code
|
188
198
|
def hash
|
189
|
-
[artifacts, component, architecture, relative_path].hash
|
199
|
+
[repository, artifacts, component, architecture, relative_path].hash
|
190
200
|
end
|
191
201
|
|
192
202
|
# Builds the object from hash
|
@@ -15,6 +15,9 @@ require 'date'
|
|
15
15
|
module PulpDebClient
|
16
16
|
# A Serializer for InstallerPackage.
|
17
17
|
class DebInstallerPackage
|
18
|
+
# A URI of a repository the new content unit should be associated with.
|
19
|
+
attr_accessor :repository
|
20
|
+
|
18
21
|
# Artifact file representing the physical content
|
19
22
|
attr_accessor :artifact
|
20
23
|
|
@@ -24,19 +27,16 @@ module PulpDebClient
|
|
24
27
|
# An uploaded file that may be turned into the artifact of the content unit.
|
25
28
|
attr_accessor :file
|
26
29
|
|
27
|
-
# A URI of a repository the new content unit should be associated with.
|
28
|
-
attr_accessor :repository
|
29
|
-
|
30
30
|
# An uncommitted upload that may be turned into the artifact of the content unit.
|
31
31
|
attr_accessor :upload
|
32
32
|
|
33
33
|
# Attribute mapping from ruby-style variable name to JSON key.
|
34
34
|
def self.attribute_map
|
35
35
|
{
|
36
|
+
:'repository' => :'repository',
|
36
37
|
:'artifact' => :'artifact',
|
37
38
|
:'relative_path' => :'relative_path',
|
38
39
|
:'file' => :'file',
|
39
|
-
:'repository' => :'repository',
|
40
40
|
:'upload' => :'upload'
|
41
41
|
}
|
42
42
|
end
|
@@ -44,10 +44,10 @@ module PulpDebClient
|
|
44
44
|
# Attribute type mapping.
|
45
45
|
def self.openapi_types
|
46
46
|
{
|
47
|
+
:'repository' => :'String',
|
47
48
|
:'artifact' => :'String',
|
48
49
|
:'relative_path' => :'String',
|
49
50
|
:'file' => :'File',
|
50
|
-
:'repository' => :'String',
|
51
51
|
:'upload' => :'String'
|
52
52
|
}
|
53
53
|
end
|
@@ -73,6 +73,10 @@ module PulpDebClient
|
|
73
73
|
h[k.to_sym] = v
|
74
74
|
}
|
75
75
|
|
76
|
+
if attributes.key?(:'repository')
|
77
|
+
self.repository = attributes[:'repository']
|
78
|
+
end
|
79
|
+
|
76
80
|
if attributes.key?(:'artifact')
|
77
81
|
self.artifact = attributes[:'artifact']
|
78
82
|
end
|
@@ -85,10 +89,6 @@ module PulpDebClient
|
|
85
89
|
self.file = attributes[:'file']
|
86
90
|
end
|
87
91
|
|
88
|
-
if attributes.key?(:'repository')
|
89
|
-
self.repository = attributes[:'repository']
|
90
|
-
end
|
91
|
-
|
92
92
|
if attributes.key?(:'upload')
|
93
93
|
self.upload = attributes[:'upload']
|
94
94
|
end
|
@@ -127,10 +127,10 @@ module PulpDebClient
|
|
127
127
|
def ==(o)
|
128
128
|
return true if self.equal?(o)
|
129
129
|
self.class == o.class &&
|
130
|
+
repository == o.repository &&
|
130
131
|
artifact == o.artifact &&
|
131
132
|
relative_path == o.relative_path &&
|
132
133
|
file == o.file &&
|
133
|
-
repository == o.repository &&
|
134
134
|
upload == o.upload
|
135
135
|
end
|
136
136
|
|
@@ -143,7 +143,7 @@ module PulpDebClient
|
|
143
143
|
# Calculates hash code according to all attributes.
|
144
144
|
# @return [Integer] Hash code
|
145
145
|
def hash
|
146
|
-
[artifact, relative_path, file,
|
146
|
+
[repository, artifact, relative_path, file, upload].hash
|
147
147
|
end
|
148
148
|
|
149
149
|
# Builds the object from hash
|
@@ -15,6 +15,9 @@ require 'date'
|
|
15
15
|
module PulpDebClient
|
16
16
|
# A Serializer for Package.
|
17
17
|
class DebPackage
|
18
|
+
# A URI of a repository the new content unit should be associated with.
|
19
|
+
attr_accessor :repository
|
20
|
+
|
18
21
|
# Artifact file representing the physical content
|
19
22
|
attr_accessor :artifact
|
20
23
|
|
@@ -24,9 +27,6 @@ module PulpDebClient
|
|
24
27
|
# An uploaded file that may be turned into the artifact of the content unit.
|
25
28
|
attr_accessor :file
|
26
29
|
|
27
|
-
# A URI of a repository the new content unit should be associated with.
|
28
|
-
attr_accessor :repository
|
29
|
-
|
30
30
|
# An uncommitted upload that may be turned into the artifact of the content unit.
|
31
31
|
attr_accessor :upload
|
32
32
|
|
@@ -39,10 +39,10 @@ module PulpDebClient
|
|
39
39
|
# Attribute mapping from ruby-style variable name to JSON key.
|
40
40
|
def self.attribute_map
|
41
41
|
{
|
42
|
+
:'repository' => :'repository',
|
42
43
|
:'artifact' => :'artifact',
|
43
44
|
:'relative_path' => :'relative_path',
|
44
45
|
:'file' => :'file',
|
45
|
-
:'repository' => :'repository',
|
46
46
|
:'upload' => :'upload',
|
47
47
|
:'distribution' => :'distribution',
|
48
48
|
:'component' => :'component'
|
@@ -52,10 +52,10 @@ module PulpDebClient
|
|
52
52
|
# Attribute type mapping.
|
53
53
|
def self.openapi_types
|
54
54
|
{
|
55
|
+
:'repository' => :'String',
|
55
56
|
:'artifact' => :'String',
|
56
57
|
:'relative_path' => :'String',
|
57
58
|
:'file' => :'File',
|
58
|
-
:'repository' => :'String',
|
59
59
|
:'upload' => :'String',
|
60
60
|
:'distribution' => :'String',
|
61
61
|
:'component' => :'String'
|
@@ -83,6 +83,10 @@ module PulpDebClient
|
|
83
83
|
h[k.to_sym] = v
|
84
84
|
}
|
85
85
|
|
86
|
+
if attributes.key?(:'repository')
|
87
|
+
self.repository = attributes[:'repository']
|
88
|
+
end
|
89
|
+
|
86
90
|
if attributes.key?(:'artifact')
|
87
91
|
self.artifact = attributes[:'artifact']
|
88
92
|
end
|
@@ -95,10 +99,6 @@ module PulpDebClient
|
|
95
99
|
self.file = attributes[:'file']
|
96
100
|
end
|
97
101
|
|
98
|
-
if attributes.key?(:'repository')
|
99
|
-
self.repository = attributes[:'repository']
|
100
|
-
end
|
101
|
-
|
102
102
|
if attributes.key?(:'upload')
|
103
103
|
self.upload = attributes[:'upload']
|
104
104
|
end
|
@@ -175,10 +175,10 @@ module PulpDebClient
|
|
175
175
|
def ==(o)
|
176
176
|
return true if self.equal?(o)
|
177
177
|
self.class == o.class &&
|
178
|
+
repository == o.repository &&
|
178
179
|
artifact == o.artifact &&
|
179
180
|
relative_path == o.relative_path &&
|
180
181
|
file == o.file &&
|
181
|
-
repository == o.repository &&
|
182
182
|
upload == o.upload &&
|
183
183
|
distribution == o.distribution &&
|
184
184
|
component == o.component
|
@@ -193,7 +193,7 @@ module PulpDebClient
|
|
193
193
|
# Calculates hash code according to all attributes.
|
194
194
|
# @return [Integer] Hash code
|
195
195
|
def hash
|
196
|
-
[artifact, relative_path, file,
|
196
|
+
[repository, artifact, relative_path, file, upload, distribution, component].hash
|
197
197
|
end
|
198
198
|
|
199
199
|
# Builds the object from hash
|
@@ -15,6 +15,9 @@ require 'date'
|
|
15
15
|
module PulpDebClient
|
16
16
|
# A serializer for PackageIndex.
|
17
17
|
class DebPackageIndex
|
18
|
+
# A URI of a repository the new content unit should be associated with.
|
19
|
+
attr_accessor :repository
|
20
|
+
|
18
21
|
# A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/'
|
19
22
|
attr_accessor :artifacts
|
20
23
|
|
@@ -30,6 +33,7 @@ module PulpDebClient
|
|
30
33
|
# Attribute mapping from ruby-style variable name to JSON key.
|
31
34
|
def self.attribute_map
|
32
35
|
{
|
36
|
+
:'repository' => :'repository',
|
33
37
|
:'artifacts' => :'artifacts',
|
34
38
|
:'component' => :'component',
|
35
39
|
:'architecture' => :'architecture',
|
@@ -40,6 +44,7 @@ module PulpDebClient
|
|
40
44
|
# Attribute type mapping.
|
41
45
|
def self.openapi_types
|
42
46
|
{
|
47
|
+
:'repository' => :'String',
|
43
48
|
:'artifacts' => :'Object',
|
44
49
|
:'component' => :'String',
|
45
50
|
:'architecture' => :'String',
|
@@ -68,6 +73,10 @@ module PulpDebClient
|
|
68
73
|
h[k.to_sym] = v
|
69
74
|
}
|
70
75
|
|
76
|
+
if attributes.key?(:'repository')
|
77
|
+
self.repository = attributes[:'repository']
|
78
|
+
end
|
79
|
+
|
71
80
|
if attributes.key?(:'artifacts')
|
72
81
|
self.artifacts = attributes[:'artifacts']
|
73
82
|
end
|
@@ -153,6 +162,7 @@ module PulpDebClient
|
|
153
162
|
def ==(o)
|
154
163
|
return true if self.equal?(o)
|
155
164
|
self.class == o.class &&
|
165
|
+
repository == o.repository &&
|
156
166
|
artifacts == o.artifacts &&
|
157
167
|
component == o.component &&
|
158
168
|
architecture == o.architecture &&
|
@@ -168,7 +178,7 @@ module PulpDebClient
|
|
168
178
|
# Calculates hash code according to all attributes.
|
169
179
|
# @return [Integer] Hash code
|
170
180
|
def hash
|
171
|
-
[artifacts, component, architecture, relative_path].hash
|
181
|
+
[repository, artifacts, component, architecture, relative_path].hash
|
172
182
|
end
|
173
183
|
|
174
184
|
# Builds the object from hash
|
@@ -15,6 +15,9 @@ require 'date'
|
|
15
15
|
module PulpDebClient
|
16
16
|
# A Serializer for PackageReleaseComponent.
|
17
17
|
class DebPackageReleaseComponent
|
18
|
+
# A URI of a repository the new content unit should be associated with.
|
19
|
+
attr_accessor :repository
|
20
|
+
|
18
21
|
# Package that is contained in release_comonent.
|
19
22
|
attr_accessor :package
|
20
23
|
|
@@ -24,6 +27,7 @@ module PulpDebClient
|
|
24
27
|
# Attribute mapping from ruby-style variable name to JSON key.
|
25
28
|
def self.attribute_map
|
26
29
|
{
|
30
|
+
:'repository' => :'repository',
|
27
31
|
:'package' => :'package',
|
28
32
|
:'release_component' => :'release_component'
|
29
33
|
}
|
@@ -32,6 +36,7 @@ module PulpDebClient
|
|
32
36
|
# Attribute type mapping.
|
33
37
|
def self.openapi_types
|
34
38
|
{
|
39
|
+
:'repository' => :'String',
|
35
40
|
:'package' => :'String',
|
36
41
|
:'release_component' => :'String'
|
37
42
|
}
|
@@ -58,6 +63,10 @@ module PulpDebClient
|
|
58
63
|
h[k.to_sym] = v
|
59
64
|
}
|
60
65
|
|
66
|
+
if attributes.key?(:'repository')
|
67
|
+
self.repository = attributes[:'repository']
|
68
|
+
end
|
69
|
+
|
61
70
|
if attributes.key?(:'package')
|
62
71
|
self.package = attributes[:'package']
|
63
72
|
end
|
@@ -95,6 +104,7 @@ module PulpDebClient
|
|
95
104
|
def ==(o)
|
96
105
|
return true if self.equal?(o)
|
97
106
|
self.class == o.class &&
|
107
|
+
repository == o.repository &&
|
98
108
|
package == o.package &&
|
99
109
|
release_component == o.release_component
|
100
110
|
end
|
@@ -108,7 +118,7 @@ module PulpDebClient
|
|
108
118
|
# Calculates hash code according to all attributes.
|
109
119
|
# @return [Integer] Hash code
|
110
120
|
def hash
|
111
|
-
[package, release_component].hash
|
121
|
+
[repository, package, release_component].hash
|
112
122
|
end
|
113
123
|
|
114
124
|
# Builds the object from hash
|
@@ -15,6 +15,9 @@ require 'date'
|
|
15
15
|
module PulpDebClient
|
16
16
|
# A Serializer for Release.
|
17
17
|
class DebRelease
|
18
|
+
# A URI of a repository the new content unit should be associated with.
|
19
|
+
attr_accessor :repository
|
20
|
+
|
18
21
|
attr_accessor :codename
|
19
22
|
|
20
23
|
attr_accessor :suite
|
@@ -24,6 +27,7 @@ module PulpDebClient
|
|
24
27
|
# Attribute mapping from ruby-style variable name to JSON key.
|
25
28
|
def self.attribute_map
|
26
29
|
{
|
30
|
+
:'repository' => :'repository',
|
27
31
|
:'codename' => :'codename',
|
28
32
|
:'suite' => :'suite',
|
29
33
|
:'distribution' => :'distribution'
|
@@ -33,6 +37,7 @@ module PulpDebClient
|
|
33
37
|
# Attribute type mapping.
|
34
38
|
def self.openapi_types
|
35
39
|
{
|
40
|
+
:'repository' => :'String',
|
36
41
|
:'codename' => :'String',
|
37
42
|
:'suite' => :'String',
|
38
43
|
:'distribution' => :'String'
|
@@ -60,6 +65,10 @@ module PulpDebClient
|
|
60
65
|
h[k.to_sym] = v
|
61
66
|
}
|
62
67
|
|
68
|
+
if attributes.key?(:'repository')
|
69
|
+
self.repository = attributes[:'repository']
|
70
|
+
end
|
71
|
+
|
63
72
|
if attributes.key?(:'codename')
|
64
73
|
self.codename = attributes[:'codename']
|
65
74
|
end
|
@@ -163,6 +172,7 @@ module PulpDebClient
|
|
163
172
|
def ==(o)
|
164
173
|
return true if self.equal?(o)
|
165
174
|
self.class == o.class &&
|
175
|
+
repository == o.repository &&
|
166
176
|
codename == o.codename &&
|
167
177
|
suite == o.suite &&
|
168
178
|
distribution == o.distribution
|
@@ -177,7 +187,7 @@ module PulpDebClient
|
|
177
187
|
# Calculates hash code according to all attributes.
|
178
188
|
# @return [Integer] Hash code
|
179
189
|
def hash
|
180
|
-
[codename, suite, distribution].hash
|
190
|
+
[repository, codename, suite, distribution].hash
|
181
191
|
end
|
182
192
|
|
183
193
|
# Builds the object from hash
|
@@ -15,6 +15,9 @@ require 'date'
|
|
15
15
|
module PulpDebClient
|
16
16
|
# A Serializer for ReleaseArchitecture.
|
17
17
|
class DebReleaseArchitecture
|
18
|
+
# A URI of a repository the new content unit should be associated with.
|
19
|
+
attr_accessor :repository
|
20
|
+
|
18
21
|
# Name of the architecture.
|
19
22
|
attr_accessor :architecture
|
20
23
|
|
@@ -28,6 +31,7 @@ module PulpDebClient
|
|
28
31
|
# Attribute mapping from ruby-style variable name to JSON key.
|
29
32
|
def self.attribute_map
|
30
33
|
{
|
34
|
+
:'repository' => :'repository',
|
31
35
|
:'architecture' => :'architecture',
|
32
36
|
:'distribution' => :'distribution',
|
33
37
|
:'codename' => :'codename',
|
@@ -38,6 +42,7 @@ module PulpDebClient
|
|
38
42
|
# Attribute type mapping.
|
39
43
|
def self.openapi_types
|
40
44
|
{
|
45
|
+
:'repository' => :'String',
|
41
46
|
:'architecture' => :'String',
|
42
47
|
:'distribution' => :'String',
|
43
48
|
:'codename' => :'String',
|
@@ -66,6 +71,10 @@ module PulpDebClient
|
|
66
71
|
h[k.to_sym] = v
|
67
72
|
}
|
68
73
|
|
74
|
+
if attributes.key?(:'repository')
|
75
|
+
self.repository = attributes[:'repository']
|
76
|
+
end
|
77
|
+
|
69
78
|
if attributes.key?(:'architecture')
|
70
79
|
self.architecture = attributes[:'architecture']
|
71
80
|
end
|
@@ -197,6 +206,7 @@ module PulpDebClient
|
|
197
206
|
def ==(o)
|
198
207
|
return true if self.equal?(o)
|
199
208
|
self.class == o.class &&
|
209
|
+
repository == o.repository &&
|
200
210
|
architecture == o.architecture &&
|
201
211
|
distribution == o.distribution &&
|
202
212
|
codename == o.codename &&
|
@@ -212,7 +222,7 @@ module PulpDebClient
|
|
212
222
|
# Calculates hash code according to all attributes.
|
213
223
|
# @return [Integer] Hash code
|
214
224
|
def hash
|
215
|
-
[architecture, distribution, codename, suite].hash
|
225
|
+
[repository, architecture, distribution, codename, suite].hash
|
216
226
|
end
|
217
227
|
|
218
228
|
# Builds the object from hash
|
@@ -15,6 +15,9 @@ require 'date'
|
|
15
15
|
module PulpDebClient
|
16
16
|
# A Serializer for ReleaseComponent.
|
17
17
|
class DebReleaseComponent
|
18
|
+
# A URI of a repository the new content unit should be associated with.
|
19
|
+
attr_accessor :repository
|
20
|
+
|
18
21
|
# Name of the component.
|
19
22
|
attr_accessor :component
|
20
23
|
|
@@ -28,6 +31,7 @@ module PulpDebClient
|
|
28
31
|
# Attribute mapping from ruby-style variable name to JSON key.
|
29
32
|
def self.attribute_map
|
30
33
|
{
|
34
|
+
:'repository' => :'repository',
|
31
35
|
:'component' => :'component',
|
32
36
|
:'distribution' => :'distribution',
|
33
37
|
:'codename' => :'codename',
|
@@ -38,6 +42,7 @@ module PulpDebClient
|
|
38
42
|
# Attribute type mapping.
|
39
43
|
def self.openapi_types
|
40
44
|
{
|
45
|
+
:'repository' => :'String',
|
41
46
|
:'component' => :'String',
|
42
47
|
:'distribution' => :'String',
|
43
48
|
:'codename' => :'String',
|
@@ -66,6 +71,10 @@ module PulpDebClient
|
|
66
71
|
h[k.to_sym] = v
|
67
72
|
}
|
68
73
|
|
74
|
+
if attributes.key?(:'repository')
|
75
|
+
self.repository = attributes[:'repository']
|
76
|
+
end
|
77
|
+
|
69
78
|
if attributes.key?(:'component')
|
70
79
|
self.component = attributes[:'component']
|
71
80
|
end
|
@@ -197,6 +206,7 @@ module PulpDebClient
|
|
197
206
|
def ==(o)
|
198
207
|
return true if self.equal?(o)
|
199
208
|
self.class == o.class &&
|
209
|
+
repository == o.repository &&
|
200
210
|
component == o.component &&
|
201
211
|
distribution == o.distribution &&
|
202
212
|
codename == o.codename &&
|
@@ -212,7 +222,7 @@ module PulpDebClient
|
|
212
222
|
# Calculates hash code according to all attributes.
|
213
223
|
# @return [Integer] Hash code
|
214
224
|
def hash
|
215
|
-
[component, distribution, codename, suite].hash
|
225
|
+
[repository, component, distribution, codename, suite].hash
|
216
226
|
end
|
217
227
|
|
218
228
|
# Builds the object from hash
|
@@ -15,6 +15,9 @@ require 'date'
|
|
15
15
|
module PulpDebClient
|
16
16
|
# A serializer for ReleaseFile.
|
17
17
|
class DebReleaseFile
|
18
|
+
# A URI of a repository the new content unit should be associated with.
|
19
|
+
attr_accessor :repository
|
20
|
+
|
18
21
|
# A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/'
|
19
22
|
attr_accessor :artifacts
|
20
23
|
|
@@ -33,6 +36,7 @@ module PulpDebClient
|
|
33
36
|
# Attribute mapping from ruby-style variable name to JSON key.
|
34
37
|
def self.attribute_map
|
35
38
|
{
|
39
|
+
:'repository' => :'repository',
|
36
40
|
:'artifacts' => :'artifacts',
|
37
41
|
:'codename' => :'codename',
|
38
42
|
:'suite' => :'suite',
|
@@ -44,6 +48,7 @@ module PulpDebClient
|
|
44
48
|
# Attribute type mapping.
|
45
49
|
def self.openapi_types
|
46
50
|
{
|
51
|
+
:'repository' => :'String',
|
47
52
|
:'artifacts' => :'Object',
|
48
53
|
:'codename' => :'String',
|
49
54
|
:'suite' => :'String',
|
@@ -73,6 +78,10 @@ module PulpDebClient
|
|
73
78
|
h[k.to_sym] = v
|
74
79
|
}
|
75
80
|
|
81
|
+
if attributes.key?(:'repository')
|
82
|
+
self.repository = attributes[:'repository']
|
83
|
+
end
|
84
|
+
|
76
85
|
if attributes.key?(:'artifacts')
|
77
86
|
self.artifacts = attributes[:'artifacts']
|
78
87
|
end
|
@@ -186,6 +195,7 @@ module PulpDebClient
|
|
186
195
|
def ==(o)
|
187
196
|
return true if self.equal?(o)
|
188
197
|
self.class == o.class &&
|
198
|
+
repository == o.repository &&
|
189
199
|
artifacts == o.artifacts &&
|
190
200
|
codename == o.codename &&
|
191
201
|
suite == o.suite &&
|
@@ -202,7 +212,7 @@ module PulpDebClient
|
|
202
212
|
# Calculates hash code according to all attributes.
|
203
213
|
# @return [Integer] Hash code
|
204
214
|
def hash
|
205
|
-
[artifacts, codename, suite, distribution, relative_path].hash
|
215
|
+
[repository, artifacts, codename, suite, distribution, relative_path].hash
|
206
216
|
end
|
207
217
|
|
208
218
|
# Builds the object from hash
|