pulp_deb_client 3.3.0 → 3.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -6
- data/docs/ContentGenericContentsApi.md +14 -10
- data/docs/ContentInstallerFileIndicesApi.md +11 -9
- data/docs/ContentInstallerPackagesApi.md +14 -10
- data/docs/ContentPackageIndicesApi.md +11 -9
- data/docs/ContentPackageReleaseComponentsApi.md +11 -9
- data/docs/ContentPackagesApi.md +13 -9
- data/docs/ContentReleaseArchitecturesApi.md +11 -9
- data/docs/ContentReleaseComponentsApi.md +11 -9
- data/docs/ContentReleaseFilesApi.md +11 -9
- data/docs/ContentReleasesApi.md +11 -9
- data/docs/ContentSourceIndicesApi.md +11 -9
- data/docs/ContentSourcePackagesApi.md +11 -9
- data/docs/ContentSourceReleaseComponentsApi.md +11 -9
- data/docs/DebAptDistributionResponse.md +4 -0
- data/docs/DebAptPublicationResponse.md +2 -0
- data/docs/DebAptRemoteResponse.md +2 -0
- data/docs/DebAptRepositoryResponse.md +2 -0
- data/docs/DebCopyApi.md +1 -1
- data/docs/DebGenericContent.md +3 -1
- data/docs/DebGenericContentResponse.md +2 -0
- data/docs/DebInstallerFileIndexResponse.md +2 -0
- data/docs/DebInstallerPackage.md +3 -1
- data/docs/DebInstallerPackageResponse.md +2 -0
- data/docs/DebPackage.md +2 -0
- data/docs/DebPackageIndexResponse.md +2 -0
- data/docs/DebPackageReleaseComponentResponse.md +2 -0
- data/docs/DebPackageResponse.md +2 -0
- data/docs/DebReleaseArchitectureResponse.md +2 -0
- data/docs/DebReleaseComponentResponse.md +2 -0
- data/docs/DebReleaseFileResponse.md +2 -0
- data/docs/DebReleaseResponse.md +2 -0
- data/docs/DebSourceIndexResponse.md +2 -0
- data/docs/DebSourcePackageReleaseComponentResponse.md +2 -0
- data/docs/DebSourcePackageResponse.md +2 -0
- data/docs/DebVerbatimPublicationResponse.md +2 -0
- data/docs/DistributionsAptApi.md +5 -3
- data/docs/PublicationsAptApi.md +13 -11
- data/docs/PublicationsVerbatimApi.md +13 -11
- data/docs/RemotesAptApi.md +5 -3
- data/docs/RepositoriesAptApi.md +9 -7
- data/docs/RepositoriesAptVersionsApi.md +9 -7
- data/docs/RepositoryVersionResponse.md +2 -0
- data/lib/pulp_deb_client/api/content_generic_contents_api.rb +18 -8
- data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +11 -8
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +18 -8
- data/lib/pulp_deb_client/api/content_package_indices_api.rb +11 -8
- data/lib/pulp_deb_client/api/content_package_release_components_api.rb +11 -8
- data/lib/pulp_deb_client/api/content_packages_api.rb +18 -8
- data/lib/pulp_deb_client/api/content_release_architectures_api.rb +11 -8
- data/lib/pulp_deb_client/api/content_release_components_api.rb +11 -8
- data/lib/pulp_deb_client/api/content_release_files_api.rb +11 -8
- data/lib/pulp_deb_client/api/content_releases_api.rb +11 -8
- data/lib/pulp_deb_client/api/content_source_indices_api.rb +11 -8
- data/lib/pulp_deb_client/api/content_source_packages_api.rb +11 -8
- data/lib/pulp_deb_client/api/content_source_release_components_api.rb +11 -8
- data/lib/pulp_deb_client/api/distributions_apt_api.rb +5 -2
- data/lib/pulp_deb_client/api/publications_apt_api.rb +14 -11
- data/lib/pulp_deb_client/api/publications_verbatim_api.rb +14 -11
- data/lib/pulp_deb_client/api/remotes_apt_api.rb +5 -2
- data/lib/pulp_deb_client/api/repositories_apt_api.rb +9 -6
- data/lib/pulp_deb_client/api/repositories_apt_versions_api.rb +10 -7
- data/lib/pulp_deb_client/configuration.rb +2 -2
- data/lib/pulp_deb_client/models/deb_apt_distribution_response.rb +21 -1
- data/lib/pulp_deb_client/models/deb_apt_publication_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_apt_remote.rb +20 -20
- data/lib/pulp_deb_client/models/deb_apt_remote_response.rb +31 -21
- data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_generic_content.rb +29 -4
- data/lib/pulp_deb_client/models/deb_generic_content_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_installer_file_index_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_installer_package.rb +29 -4
- data/lib/pulp_deb_client/models/deb_installer_package_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_package.rb +26 -1
- data/lib/pulp_deb_client/models/deb_package_index_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_package_release_component_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_package_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_release_component_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_release_file_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_release_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_source_index_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_source_package_release_component_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_source_package_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_verbatim_publication_response.rb +11 -1
- data/lib/pulp_deb_client/models/patcheddeb_apt_remote.rb +20 -20
- data/lib/pulp_deb_client/models/repository_add_remove_content.rb +1 -1
- data/lib/pulp_deb_client/models/repository_version_response.rb +12 -2
- data/lib/pulp_deb_client/version.rb +1 -1
- data/spec/api/content_generic_contents_api_spec.rb +6 -4
- data/spec/api/content_installer_file_indices_api_spec.rb +5 -4
- data/spec/api/content_installer_packages_api_spec.rb +6 -4
- data/spec/api/content_package_indices_api_spec.rb +5 -4
- data/spec/api/content_package_release_components_api_spec.rb +5 -4
- data/spec/api/content_packages_api_spec.rb +6 -4
- data/spec/api/content_release_architectures_api_spec.rb +5 -4
- data/spec/api/content_release_components_api_spec.rb +5 -4
- data/spec/api/content_release_files_api_spec.rb +5 -4
- data/spec/api/content_releases_api_spec.rb +5 -4
- data/spec/api/content_source_indices_api_spec.rb +5 -4
- data/spec/api/content_source_packages_api_spec.rb +5 -4
- data/spec/api/content_source_release_components_api_spec.rb +5 -4
- data/spec/api/distributions_apt_api_spec.rb +2 -1
- data/spec/api/publications_apt_api_spec.rb +6 -5
- data/spec/api/publications_verbatim_api_spec.rb +6 -5
- data/spec/api/remotes_apt_api_spec.rb +2 -1
- data/spec/api/repositories_apt_api_spec.rb +4 -3
- data/spec/api/repositories_apt_versions_api_spec.rb +4 -3
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/deb_apt_distribution_response_spec.rb +12 -0
- data/spec/models/deb_apt_publication_response_spec.rb +6 -0
- data/spec/models/deb_apt_remote_response_spec.rb +6 -0
- data/spec/models/deb_apt_repository_response_spec.rb +6 -0
- data/spec/models/deb_generic_content_response_spec.rb +6 -0
- data/spec/models/deb_generic_content_spec.rb +6 -0
- data/spec/models/deb_installer_file_index_response_spec.rb +6 -0
- data/spec/models/deb_installer_package_response_spec.rb +6 -0
- data/spec/models/deb_installer_package_spec.rb +6 -0
- data/spec/models/deb_package_index_response_spec.rb +6 -0
- data/spec/models/deb_package_release_component_response_spec.rb +6 -0
- data/spec/models/deb_package_response_spec.rb +6 -0
- data/spec/models/deb_package_spec.rb +6 -0
- data/spec/models/deb_release_architecture_response_spec.rb +6 -0
- data/spec/models/deb_release_component_response_spec.rb +6 -0
- data/spec/models/deb_release_file_response_spec.rb +6 -0
- data/spec/models/deb_release_response_spec.rb +6 -0
- data/spec/models/deb_source_index_response_spec.rb +6 -0
- data/spec/models/deb_source_package_release_component_response_spec.rb +6 -0
- data/spec/models/deb_source_package_response_spec.rb +6 -0
- data/spec/models/deb_verbatim_publication_response_spec.rb +6 -0
- data/spec/models/repository_version_response_spec.rb +6 -0
- metadata +85 -85
@@ -17,6 +17,9 @@ module PulpDebClient
|
|
17
17
|
class DebPackageReleaseComponentResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
+
# The Pulp Resource Name (PRN).
|
21
|
+
attr_accessor :prn
|
22
|
+
|
20
23
|
# Timestamp of creation.
|
21
24
|
attr_accessor :pulp_created
|
22
25
|
|
@@ -33,6 +36,7 @@ module PulpDebClient
|
|
33
36
|
def self.attribute_map
|
34
37
|
{
|
35
38
|
:'pulp_href' => :'pulp_href',
|
39
|
+
:'prn' => :'prn',
|
36
40
|
:'pulp_created' => :'pulp_created',
|
37
41
|
:'pulp_last_updated' => :'pulp_last_updated',
|
38
42
|
:'package' => :'package',
|
@@ -44,6 +48,7 @@ module PulpDebClient
|
|
44
48
|
def self.openapi_types
|
45
49
|
{
|
46
50
|
:'pulp_href' => :'String',
|
51
|
+
:'prn' => :'String',
|
47
52
|
:'pulp_created' => :'DateTime',
|
48
53
|
:'pulp_last_updated' => :'DateTime',
|
49
54
|
:'package' => :'String',
|
@@ -76,6 +81,10 @@ module PulpDebClient
|
|
76
81
|
self.pulp_href = attributes[:'pulp_href']
|
77
82
|
end
|
78
83
|
|
84
|
+
if attributes.key?(:'prn')
|
85
|
+
self.prn = attributes[:'prn']
|
86
|
+
end
|
87
|
+
|
79
88
|
if attributes.key?(:'pulp_created')
|
80
89
|
self.pulp_created = attributes[:'pulp_created']
|
81
90
|
end
|
@@ -122,6 +131,7 @@ module PulpDebClient
|
|
122
131
|
return true if self.equal?(o)
|
123
132
|
self.class == o.class &&
|
124
133
|
pulp_href == o.pulp_href &&
|
134
|
+
prn == o.prn &&
|
125
135
|
pulp_created == o.pulp_created &&
|
126
136
|
pulp_last_updated == o.pulp_last_updated &&
|
127
137
|
package == o.package &&
|
@@ -137,7 +147,7 @@ module PulpDebClient
|
|
137
147
|
# Calculates hash code according to all attributes.
|
138
148
|
# @return [Integer] Hash code
|
139
149
|
def hash
|
140
|
-
[pulp_href, pulp_created, pulp_last_updated, package, release_component].hash
|
150
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, package, release_component].hash
|
141
151
|
end
|
142
152
|
|
143
153
|
# Builds the object from hash
|
@@ -17,6 +17,9 @@ module PulpDebClient
|
|
17
17
|
class DebPackageResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
+
# The Pulp Resource Name (PRN).
|
21
|
+
attr_accessor :prn
|
22
|
+
|
20
23
|
# Timestamp of creation.
|
21
24
|
attr_accessor :pulp_created
|
22
25
|
|
@@ -115,6 +118,7 @@ module PulpDebClient
|
|
115
118
|
def self.attribute_map
|
116
119
|
{
|
117
120
|
:'pulp_href' => :'pulp_href',
|
121
|
+
:'prn' => :'prn',
|
118
122
|
:'pulp_created' => :'pulp_created',
|
119
123
|
:'pulp_last_updated' => :'pulp_last_updated',
|
120
124
|
:'artifact' => :'artifact',
|
@@ -163,6 +167,7 @@ module PulpDebClient
|
|
163
167
|
def self.openapi_types
|
164
168
|
{
|
165
169
|
:'pulp_href' => :'String',
|
170
|
+
:'prn' => :'String',
|
166
171
|
:'pulp_created' => :'DateTime',
|
167
172
|
:'pulp_last_updated' => :'DateTime',
|
168
173
|
:'artifact' => :'String',
|
@@ -232,6 +237,10 @@ module PulpDebClient
|
|
232
237
|
self.pulp_href = attributes[:'pulp_href']
|
233
238
|
end
|
234
239
|
|
240
|
+
if attributes.key?(:'prn')
|
241
|
+
self.prn = attributes[:'prn']
|
242
|
+
end
|
243
|
+
|
235
244
|
if attributes.key?(:'pulp_created')
|
236
245
|
self.pulp_created = attributes[:'pulp_created']
|
237
246
|
end
|
@@ -416,6 +425,7 @@ module PulpDebClient
|
|
416
425
|
return true if self.equal?(o)
|
417
426
|
self.class == o.class &&
|
418
427
|
pulp_href == o.pulp_href &&
|
428
|
+
prn == o.prn &&
|
419
429
|
pulp_created == o.pulp_created &&
|
420
430
|
pulp_last_updated == o.pulp_last_updated &&
|
421
431
|
artifact == o.artifact &&
|
@@ -468,7 +478,7 @@ module PulpDebClient
|
|
468
478
|
# Calculates hash code according to all attributes.
|
469
479
|
# @return [Integer] Hash code
|
470
480
|
def hash
|
471
|
-
[pulp_href, pulp_created, pulp_last_updated, artifact, relative_path, distribution, component, md5, sha1, sha224, sha256, sha384, sha512, package, source, version, architecture, section, priority, origin, tag, bugs, essential, build_essential, installed_size, maintainer, original_maintainer, description, description_md5, homepage, built_using, auto_built_package, multi_arch, breaks, conflicts, depends, recommends, suggests, enhances, pre_depends, provides, replaces].hash
|
481
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, artifact, relative_path, distribution, component, md5, sha1, sha224, sha256, sha384, sha512, package, source, version, architecture, section, priority, origin, tag, bugs, essential, build_essential, installed_size, maintainer, original_maintainer, description, description_md5, homepage, built_using, auto_built_package, multi_arch, breaks, conflicts, depends, recommends, suggests, enhances, pre_depends, provides, replaces].hash
|
472
482
|
end
|
473
483
|
|
474
484
|
# Builds the object from hash
|
@@ -17,6 +17,9 @@ module PulpDebClient
|
|
17
17
|
class DebReleaseArchitectureResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
+
# The Pulp Resource Name (PRN).
|
21
|
+
attr_accessor :prn
|
22
|
+
|
20
23
|
# Timestamp of creation.
|
21
24
|
attr_accessor :pulp_created
|
22
25
|
|
@@ -33,6 +36,7 @@ module PulpDebClient
|
|
33
36
|
def self.attribute_map
|
34
37
|
{
|
35
38
|
:'pulp_href' => :'pulp_href',
|
39
|
+
:'prn' => :'prn',
|
36
40
|
:'pulp_created' => :'pulp_created',
|
37
41
|
:'pulp_last_updated' => :'pulp_last_updated',
|
38
42
|
:'architecture' => :'architecture',
|
@@ -44,6 +48,7 @@ module PulpDebClient
|
|
44
48
|
def self.openapi_types
|
45
49
|
{
|
46
50
|
:'pulp_href' => :'String',
|
51
|
+
:'prn' => :'String',
|
47
52
|
:'pulp_created' => :'DateTime',
|
48
53
|
:'pulp_last_updated' => :'DateTime',
|
49
54
|
:'architecture' => :'String',
|
@@ -76,6 +81,10 @@ module PulpDebClient
|
|
76
81
|
self.pulp_href = attributes[:'pulp_href']
|
77
82
|
end
|
78
83
|
|
84
|
+
if attributes.key?(:'prn')
|
85
|
+
self.prn = attributes[:'prn']
|
86
|
+
end
|
87
|
+
|
79
88
|
if attributes.key?(:'pulp_created')
|
80
89
|
self.pulp_created = attributes[:'pulp_created']
|
81
90
|
end
|
@@ -122,6 +131,7 @@ module PulpDebClient
|
|
122
131
|
return true if self.equal?(o)
|
123
132
|
self.class == o.class &&
|
124
133
|
pulp_href == o.pulp_href &&
|
134
|
+
prn == o.prn &&
|
125
135
|
pulp_created == o.pulp_created &&
|
126
136
|
pulp_last_updated == o.pulp_last_updated &&
|
127
137
|
architecture == o.architecture &&
|
@@ -137,7 +147,7 @@ module PulpDebClient
|
|
137
147
|
# Calculates hash code according to all attributes.
|
138
148
|
# @return [Integer] Hash code
|
139
149
|
def hash
|
140
|
-
[pulp_href, pulp_created, pulp_last_updated, architecture, distribution].hash
|
150
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, architecture, distribution].hash
|
141
151
|
end
|
142
152
|
|
143
153
|
# Builds the object from hash
|
@@ -17,6 +17,9 @@ module PulpDebClient
|
|
17
17
|
class DebReleaseComponentResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
+
# The Pulp Resource Name (PRN).
|
21
|
+
attr_accessor :prn
|
22
|
+
|
20
23
|
# Timestamp of creation.
|
21
24
|
attr_accessor :pulp_created
|
22
25
|
|
@@ -33,6 +36,7 @@ module PulpDebClient
|
|
33
36
|
def self.attribute_map
|
34
37
|
{
|
35
38
|
:'pulp_href' => :'pulp_href',
|
39
|
+
:'prn' => :'prn',
|
36
40
|
:'pulp_created' => :'pulp_created',
|
37
41
|
:'pulp_last_updated' => :'pulp_last_updated',
|
38
42
|
:'component' => :'component',
|
@@ -44,6 +48,7 @@ module PulpDebClient
|
|
44
48
|
def self.openapi_types
|
45
49
|
{
|
46
50
|
:'pulp_href' => :'String',
|
51
|
+
:'prn' => :'String',
|
47
52
|
:'pulp_created' => :'DateTime',
|
48
53
|
:'pulp_last_updated' => :'DateTime',
|
49
54
|
:'component' => :'String',
|
@@ -76,6 +81,10 @@ module PulpDebClient
|
|
76
81
|
self.pulp_href = attributes[:'pulp_href']
|
77
82
|
end
|
78
83
|
|
84
|
+
if attributes.key?(:'prn')
|
85
|
+
self.prn = attributes[:'prn']
|
86
|
+
end
|
87
|
+
|
79
88
|
if attributes.key?(:'pulp_created')
|
80
89
|
self.pulp_created = attributes[:'pulp_created']
|
81
90
|
end
|
@@ -122,6 +131,7 @@ module PulpDebClient
|
|
122
131
|
return true if self.equal?(o)
|
123
132
|
self.class == o.class &&
|
124
133
|
pulp_href == o.pulp_href &&
|
134
|
+
prn == o.prn &&
|
125
135
|
pulp_created == o.pulp_created &&
|
126
136
|
pulp_last_updated == o.pulp_last_updated &&
|
127
137
|
component == o.component &&
|
@@ -137,7 +147,7 @@ module PulpDebClient
|
|
137
147
|
# Calculates hash code according to all attributes.
|
138
148
|
# @return [Integer] Hash code
|
139
149
|
def hash
|
140
|
-
[pulp_href, pulp_created, pulp_last_updated, component, distribution].hash
|
150
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, component, distribution].hash
|
141
151
|
end
|
142
152
|
|
143
153
|
# Builds the object from hash
|
@@ -17,6 +17,9 @@ module PulpDebClient
|
|
17
17
|
class DebReleaseFileResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
+
# The Pulp Resource Name (PRN).
|
21
|
+
attr_accessor :prn
|
22
|
+
|
20
23
|
# Timestamp of creation.
|
21
24
|
attr_accessor :pulp_created
|
22
25
|
|
@@ -42,6 +45,7 @@ module PulpDebClient
|
|
42
45
|
def self.attribute_map
|
43
46
|
{
|
44
47
|
:'pulp_href' => :'pulp_href',
|
48
|
+
:'prn' => :'prn',
|
45
49
|
:'pulp_created' => :'pulp_created',
|
46
50
|
:'pulp_last_updated' => :'pulp_last_updated',
|
47
51
|
:'artifacts' => :'artifacts',
|
@@ -56,6 +60,7 @@ module PulpDebClient
|
|
56
60
|
def self.openapi_types
|
57
61
|
{
|
58
62
|
:'pulp_href' => :'String',
|
63
|
+
:'prn' => :'String',
|
59
64
|
:'pulp_created' => :'DateTime',
|
60
65
|
:'pulp_last_updated' => :'DateTime',
|
61
66
|
:'artifacts' => :'Object',
|
@@ -91,6 +96,10 @@ module PulpDebClient
|
|
91
96
|
self.pulp_href = attributes[:'pulp_href']
|
92
97
|
end
|
93
98
|
|
99
|
+
if attributes.key?(:'prn')
|
100
|
+
self.prn = attributes[:'prn']
|
101
|
+
end
|
102
|
+
|
94
103
|
if attributes.key?(:'pulp_created')
|
95
104
|
self.pulp_created = attributes[:'pulp_created']
|
96
105
|
end
|
@@ -149,6 +158,7 @@ module PulpDebClient
|
|
149
158
|
return true if self.equal?(o)
|
150
159
|
self.class == o.class &&
|
151
160
|
pulp_href == o.pulp_href &&
|
161
|
+
prn == o.prn &&
|
152
162
|
pulp_created == o.pulp_created &&
|
153
163
|
pulp_last_updated == o.pulp_last_updated &&
|
154
164
|
artifacts == o.artifacts &&
|
@@ -167,7 +177,7 @@ module PulpDebClient
|
|
167
177
|
# Calculates hash code according to all attributes.
|
168
178
|
# @return [Integer] Hash code
|
169
179
|
def hash
|
170
|
-
[pulp_href, pulp_created, pulp_last_updated, artifacts, codename, suite, distribution, relative_path].hash
|
180
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, artifacts, codename, suite, distribution, relative_path].hash
|
171
181
|
end
|
172
182
|
|
173
183
|
# Builds the object from hash
|
@@ -17,6 +17,9 @@ module PulpDebClient
|
|
17
17
|
class DebReleaseResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
+
# The Pulp Resource Name (PRN).
|
21
|
+
attr_accessor :prn
|
22
|
+
|
20
23
|
# Timestamp of creation.
|
21
24
|
attr_accessor :pulp_created
|
22
25
|
|
@@ -45,6 +48,7 @@ module PulpDebClient
|
|
45
48
|
def self.attribute_map
|
46
49
|
{
|
47
50
|
:'pulp_href' => :'pulp_href',
|
51
|
+
:'prn' => :'prn',
|
48
52
|
:'pulp_created' => :'pulp_created',
|
49
53
|
:'pulp_last_updated' => :'pulp_last_updated',
|
50
54
|
:'codename' => :'codename',
|
@@ -63,6 +67,7 @@ module PulpDebClient
|
|
63
67
|
def self.openapi_types
|
64
68
|
{
|
65
69
|
:'pulp_href' => :'String',
|
70
|
+
:'prn' => :'String',
|
66
71
|
:'pulp_created' => :'DateTime',
|
67
72
|
:'pulp_last_updated' => :'DateTime',
|
68
73
|
:'codename' => :'String',
|
@@ -106,6 +111,10 @@ module PulpDebClient
|
|
106
111
|
self.pulp_href = attributes[:'pulp_href']
|
107
112
|
end
|
108
113
|
|
114
|
+
if attributes.key?(:'prn')
|
115
|
+
self.prn = attributes[:'prn']
|
116
|
+
end
|
117
|
+
|
109
118
|
if attributes.key?(:'pulp_created')
|
110
119
|
self.pulp_created = attributes[:'pulp_created']
|
111
120
|
end
|
@@ -189,6 +198,7 @@ module PulpDebClient
|
|
189
198
|
return true if self.equal?(o)
|
190
199
|
self.class == o.class &&
|
191
200
|
pulp_href == o.pulp_href &&
|
201
|
+
prn == o.prn &&
|
192
202
|
pulp_created == o.pulp_created &&
|
193
203
|
pulp_last_updated == o.pulp_last_updated &&
|
194
204
|
codename == o.codename &&
|
@@ -211,7 +221,7 @@ module PulpDebClient
|
|
211
221
|
# Calculates hash code according to all attributes.
|
212
222
|
# @return [Integer] Hash code
|
213
223
|
def hash
|
214
|
-
[pulp_href, pulp_created, pulp_last_updated, codename, suite, distribution, version, origin, label, description, architectures, components].hash
|
224
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, codename, suite, distribution, version, origin, label, description, architectures, components].hash
|
215
225
|
end
|
216
226
|
|
217
227
|
# Builds the object from hash
|
@@ -17,6 +17,9 @@ module PulpDebClient
|
|
17
17
|
class DebSourceIndexResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
+
# The Pulp Resource Name (PRN).
|
21
|
+
attr_accessor :prn
|
22
|
+
|
20
23
|
# Timestamp of creation.
|
21
24
|
attr_accessor :pulp_created
|
22
25
|
|
@@ -39,6 +42,7 @@ module PulpDebClient
|
|
39
42
|
def self.attribute_map
|
40
43
|
{
|
41
44
|
:'pulp_href' => :'pulp_href',
|
45
|
+
:'prn' => :'prn',
|
42
46
|
:'pulp_created' => :'pulp_created',
|
43
47
|
:'pulp_last_updated' => :'pulp_last_updated',
|
44
48
|
:'artifacts' => :'artifacts',
|
@@ -52,6 +56,7 @@ module PulpDebClient
|
|
52
56
|
def self.openapi_types
|
53
57
|
{
|
54
58
|
:'pulp_href' => :'String',
|
59
|
+
:'prn' => :'String',
|
55
60
|
:'pulp_created' => :'DateTime',
|
56
61
|
:'pulp_last_updated' => :'DateTime',
|
57
62
|
:'artifacts' => :'Object',
|
@@ -86,6 +91,10 @@ module PulpDebClient
|
|
86
91
|
self.pulp_href = attributes[:'pulp_href']
|
87
92
|
end
|
88
93
|
|
94
|
+
if attributes.key?(:'prn')
|
95
|
+
self.prn = attributes[:'prn']
|
96
|
+
end
|
97
|
+
|
89
98
|
if attributes.key?(:'pulp_created')
|
90
99
|
self.pulp_created = attributes[:'pulp_created']
|
91
100
|
end
|
@@ -145,6 +154,7 @@ module PulpDebClient
|
|
145
154
|
return true if self.equal?(o)
|
146
155
|
self.class == o.class &&
|
147
156
|
pulp_href == o.pulp_href &&
|
157
|
+
prn == o.prn &&
|
148
158
|
pulp_created == o.pulp_created &&
|
149
159
|
pulp_last_updated == o.pulp_last_updated &&
|
150
160
|
artifacts == o.artifacts &&
|
@@ -162,7 +172,7 @@ module PulpDebClient
|
|
162
172
|
# Calculates hash code according to all attributes.
|
163
173
|
# @return [Integer] Hash code
|
164
174
|
def hash
|
165
|
-
[pulp_href, pulp_created, pulp_last_updated, artifacts, release, component, relative_path].hash
|
175
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, artifacts, release, component, relative_path].hash
|
166
176
|
end
|
167
177
|
|
168
178
|
# Builds the object from hash
|
@@ -17,6 +17,9 @@ module PulpDebClient
|
|
17
17
|
class DebSourcePackageReleaseComponentResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
+
# The Pulp Resource Name (PRN).
|
21
|
+
attr_accessor :prn
|
22
|
+
|
20
23
|
# Timestamp of creation.
|
21
24
|
attr_accessor :pulp_created
|
22
25
|
|
@@ -33,6 +36,7 @@ module PulpDebClient
|
|
33
36
|
def self.attribute_map
|
34
37
|
{
|
35
38
|
:'pulp_href' => :'pulp_href',
|
39
|
+
:'prn' => :'prn',
|
36
40
|
:'pulp_created' => :'pulp_created',
|
37
41
|
:'pulp_last_updated' => :'pulp_last_updated',
|
38
42
|
:'source_package' => :'source_package',
|
@@ -44,6 +48,7 @@ module PulpDebClient
|
|
44
48
|
def self.openapi_types
|
45
49
|
{
|
46
50
|
:'pulp_href' => :'String',
|
51
|
+
:'prn' => :'String',
|
47
52
|
:'pulp_created' => :'DateTime',
|
48
53
|
:'pulp_last_updated' => :'DateTime',
|
49
54
|
:'source_package' => :'String',
|
@@ -76,6 +81,10 @@ module PulpDebClient
|
|
76
81
|
self.pulp_href = attributes[:'pulp_href']
|
77
82
|
end
|
78
83
|
|
84
|
+
if attributes.key?(:'prn')
|
85
|
+
self.prn = attributes[:'prn']
|
86
|
+
end
|
87
|
+
|
79
88
|
if attributes.key?(:'pulp_created')
|
80
89
|
self.pulp_created = attributes[:'pulp_created']
|
81
90
|
end
|
@@ -122,6 +131,7 @@ module PulpDebClient
|
|
122
131
|
return true if self.equal?(o)
|
123
132
|
self.class == o.class &&
|
124
133
|
pulp_href == o.pulp_href &&
|
134
|
+
prn == o.prn &&
|
125
135
|
pulp_created == o.pulp_created &&
|
126
136
|
pulp_last_updated == o.pulp_last_updated &&
|
127
137
|
source_package == o.source_package &&
|
@@ -137,7 +147,7 @@ module PulpDebClient
|
|
137
147
|
# Calculates hash code according to all attributes.
|
138
148
|
# @return [Integer] Hash code
|
139
149
|
def hash
|
140
|
-
[pulp_href, pulp_created, pulp_last_updated, source_package, release_component].hash
|
150
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, source_package, release_component].hash
|
141
151
|
end
|
142
152
|
|
143
153
|
# Builds the object from hash
|
@@ -17,6 +17,9 @@ module PulpDebClient
|
|
17
17
|
class DebSourcePackageResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
+
# The Pulp Resource Name (PRN).
|
21
|
+
attr_accessor :prn
|
22
|
+
|
20
23
|
# Timestamp of creation.
|
21
24
|
attr_accessor :pulp_created
|
22
25
|
|
@@ -87,6 +90,7 @@ module PulpDebClient
|
|
87
90
|
def self.attribute_map
|
88
91
|
{
|
89
92
|
:'pulp_href' => :'pulp_href',
|
93
|
+
:'prn' => :'prn',
|
90
94
|
:'pulp_created' => :'pulp_created',
|
91
95
|
:'pulp_last_updated' => :'pulp_last_updated',
|
92
96
|
:'artifacts' => :'artifacts',
|
@@ -125,6 +129,7 @@ module PulpDebClient
|
|
125
129
|
def self.openapi_types
|
126
130
|
{
|
127
131
|
:'pulp_href' => :'String',
|
132
|
+
:'prn' => :'String',
|
128
133
|
:'pulp_created' => :'DateTime',
|
129
134
|
:'pulp_last_updated' => :'DateTime',
|
130
135
|
:'artifacts' => :'Object',
|
@@ -184,6 +189,10 @@ module PulpDebClient
|
|
184
189
|
self.pulp_href = attributes[:'pulp_href']
|
185
190
|
end
|
186
191
|
|
192
|
+
if attributes.key?(:'prn')
|
193
|
+
self.prn = attributes[:'prn']
|
194
|
+
end
|
195
|
+
|
187
196
|
if attributes.key?(:'pulp_created')
|
188
197
|
self.pulp_created = attributes[:'pulp_created']
|
189
198
|
end
|
@@ -333,6 +342,7 @@ module PulpDebClient
|
|
333
342
|
return true if self.equal?(o)
|
334
343
|
self.class == o.class &&
|
335
344
|
pulp_href == o.pulp_href &&
|
345
|
+
prn == o.prn &&
|
336
346
|
pulp_created == o.pulp_created &&
|
337
347
|
pulp_last_updated == o.pulp_last_updated &&
|
338
348
|
artifacts == o.artifacts &&
|
@@ -375,7 +385,7 @@ module PulpDebClient
|
|
375
385
|
# Calculates hash code according to all attributes.
|
376
386
|
# @return [Integer] Hash code
|
377
387
|
def hash
|
378
|
-
[pulp_href, pulp_created, pulp_last_updated, artifacts, relative_path, format, source, binary, architecture, version, maintainer, uploaders, homepage, vcs_browser, vcs_arch, vcs_bzr, vcs_cvs, vcs_darcs, vcs_git, vcs_hg, vcs_mtn, vcs_snv, testsuite, dgit, standards_version, build_depends, build_depends_indep, build_depends_arch, build_conflicts, build_conflicts_indep, build_conflicts_arch, package_list].hash
|
388
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, artifacts, relative_path, format, source, binary, architecture, version, maintainer, uploaders, homepage, vcs_browser, vcs_arch, vcs_bzr, vcs_cvs, vcs_darcs, vcs_git, vcs_hg, vcs_mtn, vcs_snv, testsuite, dgit, standards_version, build_depends, build_depends_indep, build_depends_arch, build_conflicts, build_conflicts_indep, build_conflicts_arch, package_list].hash
|
379
389
|
end
|
380
390
|
|
381
391
|
# Builds the object from hash
|
@@ -17,6 +17,9 @@ module PulpDebClient
|
|
17
17
|
class DebVerbatimPublicationResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
+
# The Pulp Resource Name (PRN).
|
21
|
+
attr_accessor :prn
|
22
|
+
|
20
23
|
# Timestamp of creation.
|
21
24
|
attr_accessor :pulp_created
|
22
25
|
|
@@ -32,6 +35,7 @@ module PulpDebClient
|
|
32
35
|
def self.attribute_map
|
33
36
|
{
|
34
37
|
:'pulp_href' => :'pulp_href',
|
38
|
+
:'prn' => :'prn',
|
35
39
|
:'pulp_created' => :'pulp_created',
|
36
40
|
:'pulp_last_updated' => :'pulp_last_updated',
|
37
41
|
:'repository_version' => :'repository_version',
|
@@ -43,6 +47,7 @@ module PulpDebClient
|
|
43
47
|
def self.openapi_types
|
44
48
|
{
|
45
49
|
:'pulp_href' => :'String',
|
50
|
+
:'prn' => :'String',
|
46
51
|
:'pulp_created' => :'DateTime',
|
47
52
|
:'pulp_last_updated' => :'DateTime',
|
48
53
|
:'repository_version' => :'String',
|
@@ -75,6 +80,10 @@ module PulpDebClient
|
|
75
80
|
self.pulp_href = attributes[:'pulp_href']
|
76
81
|
end
|
77
82
|
|
83
|
+
if attributes.key?(:'prn')
|
84
|
+
self.prn = attributes[:'prn']
|
85
|
+
end
|
86
|
+
|
78
87
|
if attributes.key?(:'pulp_created')
|
79
88
|
self.pulp_created = attributes[:'pulp_created']
|
80
89
|
end
|
@@ -111,6 +120,7 @@ module PulpDebClient
|
|
111
120
|
return true if self.equal?(o)
|
112
121
|
self.class == o.class &&
|
113
122
|
pulp_href == o.pulp_href &&
|
123
|
+
prn == o.prn &&
|
114
124
|
pulp_created == o.pulp_created &&
|
115
125
|
pulp_last_updated == o.pulp_last_updated &&
|
116
126
|
repository_version == o.repository_version &&
|
@@ -126,7 +136,7 @@ module PulpDebClient
|
|
126
136
|
# Calculates hash code according to all attributes.
|
127
137
|
# @return [Integer] Hash code
|
128
138
|
def hash
|
129
|
-
[pulp_href, pulp_created, pulp_last_updated, repository_version, repository].hash
|
139
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, repository_version, repository].hash
|
130
140
|
end
|
131
141
|
|
132
142
|
# Builds the object from hash
|
@@ -379,20 +379,20 @@ module PulpDebClient
|
|
379
379
|
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
380
380
|
end
|
381
381
|
|
382
|
-
if !@total_timeout.nil? && @total_timeout < 0
|
383
|
-
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.
|
382
|
+
if !@total_timeout.nil? && @total_timeout < 0
|
383
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
|
384
384
|
end
|
385
385
|
|
386
|
-
if !@connect_timeout.nil? && @connect_timeout < 0
|
387
|
-
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.
|
386
|
+
if !@connect_timeout.nil? && @connect_timeout < 0
|
387
|
+
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
|
388
388
|
end
|
389
389
|
|
390
|
-
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
391
|
-
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.
|
390
|
+
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
391
|
+
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
|
392
392
|
end
|
393
393
|
|
394
|
-
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
395
|
-
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.
|
394
|
+
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
395
|
+
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
|
396
396
|
end
|
397
397
|
|
398
398
|
if !@distributions.nil? && @distributions.to_s.length < 1
|
@@ -428,10 +428,10 @@ module PulpDebClient
|
|
428
428
|
return false if !@username.nil? && @username.to_s.length < 1
|
429
429
|
return false if !@password.nil? && @password.to_s.length < 1
|
430
430
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
431
|
-
return false if !@total_timeout.nil? && @total_timeout < 0
|
432
|
-
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
433
|
-
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
434
|
-
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
431
|
+
return false if !@total_timeout.nil? && @total_timeout < 0
|
432
|
+
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
433
|
+
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
434
|
+
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
435
435
|
return false if !@distributions.nil? && @distributions.to_s.length < 1
|
436
436
|
return false if !@components.nil? && @components.to_s.length < 1
|
437
437
|
return false if !@architectures.nil? && @architectures.to_s.length < 1
|
@@ -552,8 +552,8 @@ module PulpDebClient
|
|
552
552
|
# Custom attribute writer method with validation
|
553
553
|
# @param [Object] total_timeout Value to be assigned
|
554
554
|
def total_timeout=(total_timeout)
|
555
|
-
if !total_timeout.nil? && total_timeout < 0
|
556
|
-
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.
|
555
|
+
if !total_timeout.nil? && total_timeout < 0
|
556
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
|
557
557
|
end
|
558
558
|
|
559
559
|
@total_timeout = total_timeout
|
@@ -562,8 +562,8 @@ module PulpDebClient
|
|
562
562
|
# Custom attribute writer method with validation
|
563
563
|
# @param [Object] connect_timeout Value to be assigned
|
564
564
|
def connect_timeout=(connect_timeout)
|
565
|
-
if !connect_timeout.nil? && connect_timeout < 0
|
566
|
-
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.
|
565
|
+
if !connect_timeout.nil? && connect_timeout < 0
|
566
|
+
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
|
567
567
|
end
|
568
568
|
|
569
569
|
@connect_timeout = connect_timeout
|
@@ -572,8 +572,8 @@ module PulpDebClient
|
|
572
572
|
# Custom attribute writer method with validation
|
573
573
|
# @param [Object] sock_connect_timeout Value to be assigned
|
574
574
|
def sock_connect_timeout=(sock_connect_timeout)
|
575
|
-
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
576
|
-
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.
|
575
|
+
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
576
|
+
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
|
577
577
|
end
|
578
578
|
|
579
579
|
@sock_connect_timeout = sock_connect_timeout
|
@@ -582,8 +582,8 @@ module PulpDebClient
|
|
582
582
|
# Custom attribute writer method with validation
|
583
583
|
# @param [Object] sock_read_timeout Value to be assigned
|
584
584
|
def sock_read_timeout=(sock_read_timeout)
|
585
|
-
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
586
|
-
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.
|
585
|
+
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
586
|
+
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
|
587
587
|
end
|
588
588
|
|
589
589
|
@sock_read_timeout = sock_read_timeout
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.3.1
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module PulpDebClient
|
16
|
-
# Base serializer for use with
|
16
|
+
# 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
17
|
class RepositoryAddRemoveContent
|
18
18
|
# A list of content units to add to a new repository version. This content is added after remove_content_units are removed.
|
19
19
|
attr_accessor :add_content_units
|