pulp_rpm_client 3.25.3 → 3.26.2
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/AcsRpmApi.md +5 -3
- data/docs/ArtifactResponse.md +4 -0
- data/docs/ContentAdvisoriesApi.md +14 -10
- data/docs/ContentDistributionTreesApi.md +11 -9
- data/docs/ContentModulemdDefaultsApi.md +11 -9
- data/docs/ContentModulemdObsoletesApi.md +11 -9
- data/docs/ContentModulemdsApi.md +11 -9
- data/docs/ContentPackagecategoriesApi.md +11 -9
- data/docs/ContentPackageenvironmentsApi.md +11 -9
- data/docs/ContentPackagegroupsApi.md +11 -9
- data/docs/ContentPackagelangpacksApi.md +11 -9
- data/docs/ContentPackagesApi.md +14 -10
- data/docs/ContentRepoMetadataFilesApi.md +11 -9
- data/docs/Copy.md +1 -1
- data/docs/DistributionsRpmApi.md +5 -3
- data/docs/PaginatedRepositoryVersionResponseList.md +2 -2
- data/docs/PaginatedrpmDistributionTreeResponseList.md +2 -2
- data/docs/PaginatedrpmModulemdDefaultsResponseList.md +2 -2
- data/docs/PaginatedrpmModulemdObsoleteResponseList.md +2 -2
- data/docs/PaginatedrpmModulemdResponseList.md +2 -2
- data/docs/PaginatedrpmPackageCategoryResponseList.md +2 -2
- data/docs/PaginatedrpmPackageEnvironmentResponseList.md +2 -2
- data/docs/PaginatedrpmPackageGroupResponseList.md +2 -2
- data/docs/PaginatedrpmPackageLangpacksResponseList.md +2 -2
- data/docs/PaginatedrpmPackageResponseList.md +2 -2
- data/docs/PaginatedrpmRepoMetadataFileResponseList.md +2 -2
- data/docs/PaginatedrpmRpmAlternateContentSourceResponseList.md +2 -2
- data/docs/PaginatedrpmRpmDistributionResponseList.md +2 -2
- data/docs/PaginatedrpmRpmPublicationResponseList.md +2 -2
- data/docs/PaginatedrpmRpmRemoteResponseList.md +2 -2
- data/docs/PaginatedrpmRpmRepositoryResponseList.md +2 -2
- data/docs/PaginatedrpmUlnRemoteResponseList.md +2 -2
- data/docs/PaginatedrpmUpdateRecordResponseList.md +2 -2
- data/docs/PatchedrpmRpmRepository.md +1 -1
- data/docs/PublicationsRpmApi.md +13 -11
- data/docs/RemotesRpmApi.md +5 -3
- data/docs/RemotesUlnApi.md +5 -3
- data/docs/RepositoriesRpmApi.md +9 -7
- data/docs/RepositoriesRpmVersionsApi.md +9 -7
- data/docs/RepositoryVersionResponse.md +4 -0
- data/docs/RpmCompsApi.md +1 -1
- data/docs/RpmCopyApi.md +1 -1
- data/docs/RpmModulemd.md +3 -3
- data/docs/RpmModulemdDefaults.md +1 -1
- data/docs/RpmModulemdDefaultsResponse.md +5 -1
- data/docs/RpmModulemdObsoleteResponse.md +4 -0
- data/docs/RpmModulemdResponse.md +7 -3
- data/docs/RpmPackage.md +3 -1
- data/docs/RpmPackageCategoryResponse.md +7 -3
- data/docs/RpmPackageEnvironmentResponse.md +8 -4
- data/docs/RpmPackageGroupResponse.md +7 -3
- data/docs/RpmPackageLangpacksResponse.md +5 -1
- data/docs/RpmPackageResponse.md +14 -10
- data/docs/RpmRepoMetadataFileResponse.md +4 -0
- data/docs/RpmRpmAlternateContentSourceResponse.md +4 -0
- data/docs/RpmRpmDistributionResponse.md +6 -0
- data/docs/RpmRpmPublication.md +1 -1
- data/docs/RpmRpmPublicationResponse.md +5 -1
- data/docs/RpmRpmRemoteResponse.md +4 -2
- data/docs/RpmRpmRemoteResponseHiddenFields.md +2 -2
- data/docs/RpmRpmRepository.md +1 -1
- data/docs/RpmRpmRepositoryResponse.md +5 -1
- data/docs/RpmUlnRemoteResponse.md +4 -2
- data/docs/RpmUpdateCollection.md +1 -1
- data/docs/RpmUpdateCollectionResponse.md +1 -1
- data/docs/RpmUpdateRecord.md +3 -1
- data/docs/RpmUpdateRecordResponse.md +4 -0
- data/lib/pulp_rpm_client/api/acs_rpm_api.rb +5 -2
- data/lib/pulp_rpm_client/api/content_advisories_api.rb +18 -8
- data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +11 -8
- data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +11 -8
- data/lib/pulp_rpm_client/api/content_modulemd_obsoletes_api.rb +11 -8
- data/lib/pulp_rpm_client/api/content_modulemds_api.rb +11 -8
- data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +11 -8
- data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +11 -8
- data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +11 -8
- data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +11 -8
- data/lib/pulp_rpm_client/api/content_packages_api.rb +18 -8
- data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +11 -8
- data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +5 -2
- data/lib/pulp_rpm_client/api/publications_rpm_api.rb +14 -11
- data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +5 -2
- data/lib/pulp_rpm_client/api/remotes_uln_api.rb +5 -2
- data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +9 -6
- data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +10 -7
- data/lib/pulp_rpm_client/configuration.rb +2 -2
- data/lib/pulp_rpm_client/models/artifact_response.rb +22 -2
- data/lib/pulp_rpm_client/models/copy.rb +1 -1
- data/lib/pulp_rpm_client/models/paginated_repository_version_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_distribution_tree_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_modulemd_defaults_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_modulemd_obsolete_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_modulemd_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_package_category_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_package_environment_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_package_group_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_package_langpacks_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_package_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_repo_metadata_file_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_rpm_alternate_content_source_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_rpm_distribution_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_rpm_publication_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_rpm_remote_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_rpm_repository_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_uln_remote_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_update_record_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_remote.rb +20 -20
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +1 -1
- data/lib/pulp_rpm_client/models/patchedrpm_uln_remote.rb +20 -20
- data/lib/pulp_rpm_client/models/repository_add_remove_content.rb +1 -1
- data/lib/pulp_rpm_client/models/repository_version_response.rb +22 -2
- data/lib/pulp_rpm_client/models/rpm_modulemd.rb +3 -3
- data/lib/pulp_rpm_client/models/rpm_modulemd_defaults.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_modulemd_defaults_response.rb +22 -2
- data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete_response.rb +21 -1
- data/lib/pulp_rpm_client/models/rpm_modulemd_response.rb +24 -4
- data/lib/pulp_rpm_client/models/rpm_package.rb +29 -4
- data/lib/pulp_rpm_client/models/rpm_package_category_response.rb +24 -4
- data/lib/pulp_rpm_client/models/rpm_package_environment_response.rb +25 -5
- data/lib/pulp_rpm_client/models/rpm_package_group_response.rb +24 -4
- data/lib/pulp_rpm_client/models/rpm_package_langpacks_response.rb +22 -2
- data/lib/pulp_rpm_client/models/rpm_package_response.rb +31 -11
- data/lib/pulp_rpm_client/models/rpm_repo_metadata_file_response.rb +21 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_alternate_content_source_response.rb +21 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_distribution_response.rb +31 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +22 -2
- data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +20 -20
- data/lib/pulp_rpm_client/models/rpm_rpm_remote_response.rb +41 -31
- data/lib/pulp_rpm_client/models/rpm_rpm_remote_response_hidden_fields.rb +10 -0
- data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +22 -2
- data/lib/pulp_rpm_client/models/rpm_uln_remote.rb +20 -20
- data/lib/pulp_rpm_client/models/rpm_uln_remote_response.rb +41 -31
- data/lib/pulp_rpm_client/models/rpm_update_collection.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_update_collection_response.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_update_record.rb +29 -4
- data/lib/pulp_rpm_client/models/rpm_update_record_response.rb +21 -1
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/spec/api/acs_rpm_api_spec.rb +2 -1
- data/spec/api/content_advisories_api_spec.rb +6 -4
- data/spec/api/content_distribution_trees_api_spec.rb +5 -4
- data/spec/api/content_modulemd_defaults_api_spec.rb +5 -4
- data/spec/api/content_modulemd_obsoletes_api_spec.rb +5 -4
- data/spec/api/content_modulemds_api_spec.rb +5 -4
- data/spec/api/content_packagecategories_api_spec.rb +5 -4
- data/spec/api/content_packageenvironments_api_spec.rb +5 -4
- data/spec/api/content_packagegroups_api_spec.rb +5 -4
- data/spec/api/content_packagelangpacks_api_spec.rb +5 -4
- data/spec/api/content_packages_api_spec.rb +6 -4
- data/spec/api/content_repo_metadata_files_api_spec.rb +5 -4
- data/spec/api/distributions_rpm_api_spec.rb +2 -1
- data/spec/api/publications_rpm_api_spec.rb +6 -5
- data/spec/api/remotes_rpm_api_spec.rb +2 -1
- data/spec/api/remotes_uln_api_spec.rb +2 -1
- data/spec/api/repositories_rpm_api_spec.rb +4 -3
- data/spec/api/repositories_rpm_versions_api_spec.rb +4 -3
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/artifact_response_spec.rb +12 -0
- data/spec/models/repository_version_response_spec.rb +12 -0
- data/spec/models/rpm_modulemd_defaults_response_spec.rb +12 -0
- data/spec/models/rpm_modulemd_obsolete_response_spec.rb +12 -0
- data/spec/models/rpm_modulemd_response_spec.rb +12 -0
- data/spec/models/rpm_package_category_response_spec.rb +12 -0
- data/spec/models/rpm_package_environment_response_spec.rb +12 -0
- data/spec/models/rpm_package_group_response_spec.rb +12 -0
- data/spec/models/rpm_package_langpacks_response_spec.rb +12 -0
- data/spec/models/rpm_package_response_spec.rb +12 -0
- data/spec/models/rpm_package_spec.rb +6 -0
- data/spec/models/rpm_repo_metadata_file_response_spec.rb +12 -0
- data/spec/models/rpm_rpm_alternate_content_source_response_spec.rb +12 -0
- data/spec/models/rpm_rpm_distribution_response_spec.rb +18 -0
- data/spec/models/rpm_rpm_publication_response_spec.rb +12 -0
- data/spec/models/rpm_rpm_remote_response_spec.rb +12 -6
- data/spec/models/rpm_rpm_repository_response_spec.rb +12 -0
- data/spec/models/rpm_uln_remote_response_spec.rb +12 -6
- data/spec/models/rpm_update_record_response_spec.rb +12 -0
- data/spec/models/rpm_update_record_spec.rb +6 -0
- metadata +94 -94
|
@@ -17,9 +17,15 @@ module PulpRpmClient
|
|
|
17
17
|
class RpmUlnRemoteResponse
|
|
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
|
|
|
26
|
+
# Timestamp of the most recent update of the remote.
|
|
27
|
+
attr_accessor :pulp_last_updated
|
|
28
|
+
|
|
23
29
|
# A unique name for this remote.
|
|
24
30
|
attr_accessor :name
|
|
25
31
|
|
|
@@ -40,9 +46,6 @@ module PulpRpmClient
|
|
|
40
46
|
|
|
41
47
|
attr_accessor :pulp_labels
|
|
42
48
|
|
|
43
|
-
# Timestamp of the most recent update of the remote.
|
|
44
|
-
attr_accessor :pulp_last_updated
|
|
45
|
-
|
|
46
49
|
# Total number of simultaneous connections. If not set then the default value will be used.
|
|
47
50
|
attr_accessor :download_concurrency
|
|
48
51
|
|
|
@@ -80,7 +83,9 @@ module PulpRpmClient
|
|
|
80
83
|
def self.attribute_map
|
|
81
84
|
{
|
|
82
85
|
:'pulp_href' => :'pulp_href',
|
|
86
|
+
:'prn' => :'prn',
|
|
83
87
|
:'pulp_created' => :'pulp_created',
|
|
88
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
84
89
|
:'name' => :'name',
|
|
85
90
|
:'url' => :'url',
|
|
86
91
|
:'ca_cert' => :'ca_cert',
|
|
@@ -88,7 +93,6 @@ module PulpRpmClient
|
|
|
88
93
|
:'tls_validation' => :'tls_validation',
|
|
89
94
|
:'proxy_url' => :'proxy_url',
|
|
90
95
|
:'pulp_labels' => :'pulp_labels',
|
|
91
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
|
92
96
|
:'download_concurrency' => :'download_concurrency',
|
|
93
97
|
:'max_retries' => :'max_retries',
|
|
94
98
|
:'policy' => :'policy',
|
|
@@ -107,7 +111,9 @@ module PulpRpmClient
|
|
|
107
111
|
def self.openapi_types
|
|
108
112
|
{
|
|
109
113
|
:'pulp_href' => :'String',
|
|
114
|
+
:'prn' => :'String',
|
|
110
115
|
:'pulp_created' => :'DateTime',
|
|
116
|
+
:'pulp_last_updated' => :'DateTime',
|
|
111
117
|
:'name' => :'String',
|
|
112
118
|
:'url' => :'String',
|
|
113
119
|
:'ca_cert' => :'String',
|
|
@@ -115,7 +121,6 @@ module PulpRpmClient
|
|
|
115
121
|
:'tls_validation' => :'Boolean',
|
|
116
122
|
:'proxy_url' => :'String',
|
|
117
123
|
:'pulp_labels' => :'Hash<String, String>',
|
|
118
|
-
:'pulp_last_updated' => :'DateTime',
|
|
119
124
|
:'download_concurrency' => :'Integer',
|
|
120
125
|
:'max_retries' => :'Integer',
|
|
121
126
|
:'policy' => :'PolicyEnum',
|
|
@@ -166,10 +171,18 @@ module PulpRpmClient
|
|
|
166
171
|
self.pulp_href = attributes[:'pulp_href']
|
|
167
172
|
end
|
|
168
173
|
|
|
174
|
+
if attributes.key?(:'prn')
|
|
175
|
+
self.prn = attributes[:'prn']
|
|
176
|
+
end
|
|
177
|
+
|
|
169
178
|
if attributes.key?(:'pulp_created')
|
|
170
179
|
self.pulp_created = attributes[:'pulp_created']
|
|
171
180
|
end
|
|
172
181
|
|
|
182
|
+
if attributes.key?(:'pulp_last_updated')
|
|
183
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
184
|
+
end
|
|
185
|
+
|
|
173
186
|
if attributes.key?(:'name')
|
|
174
187
|
self.name = attributes[:'name']
|
|
175
188
|
end
|
|
@@ -200,10 +213,6 @@ module PulpRpmClient
|
|
|
200
213
|
end
|
|
201
214
|
end
|
|
202
215
|
|
|
203
|
-
if attributes.key?(:'pulp_last_updated')
|
|
204
|
-
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
205
|
-
end
|
|
206
|
-
|
|
207
216
|
if attributes.key?(:'download_concurrency')
|
|
208
217
|
self.download_concurrency = attributes[:'download_concurrency']
|
|
209
218
|
end
|
|
@@ -269,20 +278,20 @@ module PulpRpmClient
|
|
|
269
278
|
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
|
270
279
|
end
|
|
271
280
|
|
|
272
|
-
if !@total_timeout.nil? && @total_timeout < 0
|
|
273
|
-
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.
|
|
281
|
+
if !@total_timeout.nil? && @total_timeout < 0
|
|
282
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
|
|
274
283
|
end
|
|
275
284
|
|
|
276
|
-
if !@connect_timeout.nil? && @connect_timeout < 0
|
|
277
|
-
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.
|
|
285
|
+
if !@connect_timeout.nil? && @connect_timeout < 0
|
|
286
|
+
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
|
|
278
287
|
end
|
|
279
288
|
|
|
280
|
-
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
|
281
|
-
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.
|
|
289
|
+
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
|
290
|
+
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
|
|
282
291
|
end
|
|
283
292
|
|
|
284
|
-
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
|
285
|
-
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.
|
|
293
|
+
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
|
294
|
+
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
|
|
286
295
|
end
|
|
287
296
|
|
|
288
297
|
invalid_properties
|
|
@@ -294,10 +303,10 @@ module PulpRpmClient
|
|
|
294
303
|
return false if @name.nil?
|
|
295
304
|
return false if @url.nil?
|
|
296
305
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
|
297
|
-
return false if !@total_timeout.nil? && @total_timeout < 0
|
|
298
|
-
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
|
299
|
-
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
|
300
|
-
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
|
306
|
+
return false if !@total_timeout.nil? && @total_timeout < 0
|
|
307
|
+
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
|
308
|
+
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
|
309
|
+
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
|
301
310
|
true
|
|
302
311
|
end
|
|
303
312
|
|
|
@@ -314,8 +323,8 @@ module PulpRpmClient
|
|
|
314
323
|
# Custom attribute writer method with validation
|
|
315
324
|
# @param [Object] total_timeout Value to be assigned
|
|
316
325
|
def total_timeout=(total_timeout)
|
|
317
|
-
if !total_timeout.nil? && total_timeout < 0
|
|
318
|
-
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.
|
|
326
|
+
if !total_timeout.nil? && total_timeout < 0
|
|
327
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
|
|
319
328
|
end
|
|
320
329
|
|
|
321
330
|
@total_timeout = total_timeout
|
|
@@ -324,8 +333,8 @@ module PulpRpmClient
|
|
|
324
333
|
# Custom attribute writer method with validation
|
|
325
334
|
# @param [Object] connect_timeout Value to be assigned
|
|
326
335
|
def connect_timeout=(connect_timeout)
|
|
327
|
-
if !connect_timeout.nil? && connect_timeout < 0
|
|
328
|
-
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.
|
|
336
|
+
if !connect_timeout.nil? && connect_timeout < 0
|
|
337
|
+
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
|
|
329
338
|
end
|
|
330
339
|
|
|
331
340
|
@connect_timeout = connect_timeout
|
|
@@ -334,8 +343,8 @@ module PulpRpmClient
|
|
|
334
343
|
# Custom attribute writer method with validation
|
|
335
344
|
# @param [Object] sock_connect_timeout Value to be assigned
|
|
336
345
|
def sock_connect_timeout=(sock_connect_timeout)
|
|
337
|
-
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
|
338
|
-
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.
|
|
346
|
+
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
|
347
|
+
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
|
|
339
348
|
end
|
|
340
349
|
|
|
341
350
|
@sock_connect_timeout = sock_connect_timeout
|
|
@@ -344,8 +353,8 @@ module PulpRpmClient
|
|
|
344
353
|
# Custom attribute writer method with validation
|
|
345
354
|
# @param [Object] sock_read_timeout Value to be assigned
|
|
346
355
|
def sock_read_timeout=(sock_read_timeout)
|
|
347
|
-
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
|
348
|
-
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.
|
|
356
|
+
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
|
357
|
+
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
|
|
349
358
|
end
|
|
350
359
|
|
|
351
360
|
@sock_read_timeout = sock_read_timeout
|
|
@@ -357,7 +366,9 @@ module PulpRpmClient
|
|
|
357
366
|
return true if self.equal?(o)
|
|
358
367
|
self.class == o.class &&
|
|
359
368
|
pulp_href == o.pulp_href &&
|
|
369
|
+
prn == o.prn &&
|
|
360
370
|
pulp_created == o.pulp_created &&
|
|
371
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
361
372
|
name == o.name &&
|
|
362
373
|
url == o.url &&
|
|
363
374
|
ca_cert == o.ca_cert &&
|
|
@@ -365,7 +376,6 @@ module PulpRpmClient
|
|
|
365
376
|
tls_validation == o.tls_validation &&
|
|
366
377
|
proxy_url == o.proxy_url &&
|
|
367
378
|
pulp_labels == o.pulp_labels &&
|
|
368
|
-
pulp_last_updated == o.pulp_last_updated &&
|
|
369
379
|
download_concurrency == o.download_concurrency &&
|
|
370
380
|
max_retries == o.max_retries &&
|
|
371
381
|
policy == o.policy &&
|
|
@@ -388,7 +398,7 @@ module PulpRpmClient
|
|
|
388
398
|
# Calculates hash code according to all attributes.
|
|
389
399
|
# @return [Integer] Hash code
|
|
390
400
|
def hash
|
|
391
|
-
[pulp_href, pulp_created, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels,
|
|
401
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, hidden_fields, uln_server_base_url].hash
|
|
392
402
|
end
|
|
393
403
|
|
|
394
404
|
# Builds the object from hash
|
|
@@ -24,12 +24,16 @@ module PulpRpmClient
|
|
|
24
24
|
# An uncommitted upload that may be turned into the content unit.
|
|
25
25
|
attr_accessor :upload
|
|
26
26
|
|
|
27
|
+
# A url that Pulp can download and turn into the content unit.
|
|
28
|
+
attr_accessor :file_url
|
|
29
|
+
|
|
27
30
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
28
31
|
def self.attribute_map
|
|
29
32
|
{
|
|
30
33
|
:'repository' => :'repository',
|
|
31
34
|
:'file' => :'file',
|
|
32
|
-
:'upload' => :'upload'
|
|
35
|
+
:'upload' => :'upload',
|
|
36
|
+
:'file_url' => :'file_url'
|
|
33
37
|
}
|
|
34
38
|
end
|
|
35
39
|
|
|
@@ -38,7 +42,8 @@ module PulpRpmClient
|
|
|
38
42
|
{
|
|
39
43
|
:'repository' => :'String',
|
|
40
44
|
:'file' => :'File',
|
|
41
|
-
:'upload' => :'String'
|
|
45
|
+
:'upload' => :'String',
|
|
46
|
+
:'file_url' => :'String'
|
|
42
47
|
}
|
|
43
48
|
end
|
|
44
49
|
|
|
@@ -74,21 +79,40 @@ module PulpRpmClient
|
|
|
74
79
|
if attributes.key?(:'upload')
|
|
75
80
|
self.upload = attributes[:'upload']
|
|
76
81
|
end
|
|
82
|
+
|
|
83
|
+
if attributes.key?(:'file_url')
|
|
84
|
+
self.file_url = attributes[:'file_url']
|
|
85
|
+
end
|
|
77
86
|
end
|
|
78
87
|
|
|
79
88
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
80
89
|
# @return Array for valid properties with the reasons
|
|
81
90
|
def list_invalid_properties
|
|
82
91
|
invalid_properties = Array.new
|
|
92
|
+
if !@file_url.nil? && @file_url.to_s.length < 1
|
|
93
|
+
invalid_properties.push('invalid value for "file_url", the character length must be great than or equal to 1.')
|
|
94
|
+
end
|
|
95
|
+
|
|
83
96
|
invalid_properties
|
|
84
97
|
end
|
|
85
98
|
|
|
86
99
|
# Check to see if the all the properties in the model are valid
|
|
87
100
|
# @return true if the model is valid
|
|
88
101
|
def valid?
|
|
102
|
+
return false if !@file_url.nil? && @file_url.to_s.length < 1
|
|
89
103
|
true
|
|
90
104
|
end
|
|
91
105
|
|
|
106
|
+
# Custom attribute writer method with validation
|
|
107
|
+
# @param [Object] file_url Value to be assigned
|
|
108
|
+
def file_url=(file_url)
|
|
109
|
+
if !file_url.nil? && file_url.to_s.length < 1
|
|
110
|
+
fail ArgumentError, 'invalid value for "file_url", the character length must be great than or equal to 1.'
|
|
111
|
+
end
|
|
112
|
+
|
|
113
|
+
@file_url = file_url
|
|
114
|
+
end
|
|
115
|
+
|
|
92
116
|
# Checks equality by comparing each attribute.
|
|
93
117
|
# @param [Object] Object to be compared
|
|
94
118
|
def ==(o)
|
|
@@ -96,7 +120,8 @@ module PulpRpmClient
|
|
|
96
120
|
self.class == o.class &&
|
|
97
121
|
repository == o.repository &&
|
|
98
122
|
file == o.file &&
|
|
99
|
-
upload == o.upload
|
|
123
|
+
upload == o.upload &&
|
|
124
|
+
file_url == o.file_url
|
|
100
125
|
end
|
|
101
126
|
|
|
102
127
|
# @see the `==` method
|
|
@@ -108,7 +133,7 @@ module PulpRpmClient
|
|
|
108
133
|
# Calculates hash code according to all attributes.
|
|
109
134
|
# @return [Integer] Hash code
|
|
110
135
|
def hash
|
|
111
|
-
[repository, file, upload].hash
|
|
136
|
+
[repository, file, upload, file_url].hash
|
|
112
137
|
end
|
|
113
138
|
|
|
114
139
|
# Builds the object from hash
|
|
@@ -17,9 +17,15 @@ module PulpRpmClient
|
|
|
17
17
|
class RpmUpdateRecordResponse
|
|
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
|
|
|
26
|
+
# Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
|
|
27
|
+
attr_accessor :pulp_last_updated
|
|
28
|
+
|
|
23
29
|
# Update id (short update name, e.g. RHEA-2013:1777)
|
|
24
30
|
attr_accessor :id
|
|
25
31
|
|
|
@@ -78,7 +84,9 @@ module PulpRpmClient
|
|
|
78
84
|
def self.attribute_map
|
|
79
85
|
{
|
|
80
86
|
:'pulp_href' => :'pulp_href',
|
|
87
|
+
:'prn' => :'prn',
|
|
81
88
|
:'pulp_created' => :'pulp_created',
|
|
89
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
82
90
|
:'id' => :'id',
|
|
83
91
|
:'updated_date' => :'updated_date',
|
|
84
92
|
:'description' => :'description',
|
|
@@ -104,7 +112,9 @@ module PulpRpmClient
|
|
|
104
112
|
def self.openapi_types
|
|
105
113
|
{
|
|
106
114
|
:'pulp_href' => :'String',
|
|
115
|
+
:'prn' => :'String',
|
|
107
116
|
:'pulp_created' => :'DateTime',
|
|
117
|
+
:'pulp_last_updated' => :'DateTime',
|
|
108
118
|
:'id' => :'String',
|
|
109
119
|
:'updated_date' => :'String',
|
|
110
120
|
:'description' => :'String',
|
|
@@ -151,10 +161,18 @@ module PulpRpmClient
|
|
|
151
161
|
self.pulp_href = attributes[:'pulp_href']
|
|
152
162
|
end
|
|
153
163
|
|
|
164
|
+
if attributes.key?(:'prn')
|
|
165
|
+
self.prn = attributes[:'prn']
|
|
166
|
+
end
|
|
167
|
+
|
|
154
168
|
if attributes.key?(:'pulp_created')
|
|
155
169
|
self.pulp_created = attributes[:'pulp_created']
|
|
156
170
|
end
|
|
157
171
|
|
|
172
|
+
if attributes.key?(:'pulp_last_updated')
|
|
173
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
174
|
+
end
|
|
175
|
+
|
|
158
176
|
if attributes.key?(:'id')
|
|
159
177
|
self.id = attributes[:'id']
|
|
160
178
|
end
|
|
@@ -251,7 +269,9 @@ module PulpRpmClient
|
|
|
251
269
|
return true if self.equal?(o)
|
|
252
270
|
self.class == o.class &&
|
|
253
271
|
pulp_href == o.pulp_href &&
|
|
272
|
+
prn == o.prn &&
|
|
254
273
|
pulp_created == o.pulp_created &&
|
|
274
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
255
275
|
id == o.id &&
|
|
256
276
|
updated_date == o.updated_date &&
|
|
257
277
|
description == o.description &&
|
|
@@ -281,7 +301,7 @@ module PulpRpmClient
|
|
|
281
301
|
# Calculates hash code according to all attributes.
|
|
282
302
|
# @return [Integer] Hash code
|
|
283
303
|
def hash
|
|
284
|
-
[pulp_href, pulp_created, id, updated_date, description, issued_date, fromstr, status, title, summary, version, type, severity, solution, release, rights, pushcount, pkglist, references, reboot_suggested].hash
|
|
304
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, id, updated_date, description, issued_date, fromstr, status, title, summary, version, type, severity, solution, release, rights, pushcount, pkglist, references, reboot_suggested].hash
|
|
285
305
|
end
|
|
286
306
|
|
|
287
307
|
# Builds the object from hash
|
|
@@ -85,9 +85,10 @@ describe 'AcsRpmApi' do
|
|
|
85
85
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
86
86
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
87
87
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `last_refreshed` - Last refreshed * `-last_refreshed` - Last refreshed (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
88
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
88
89
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
89
90
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
90
|
-
# @option opts [String] :q
|
|
91
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
91
92
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
92
93
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
93
94
|
# @return [PaginatedrpmRpmAlternateContentSourceResponseList]
|
|
@@ -39,6 +39,7 @@ describe 'ContentAdvisoriesApi' do
|
|
|
39
39
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
40
40
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
41
41
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
42
|
+
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
|
42
43
|
# @return [AsyncOperationResponse]
|
|
43
44
|
describe 'create test' do
|
|
44
45
|
it 'should work' do
|
|
@@ -56,12 +57,13 @@ describe 'ContentAdvisoriesApi' do
|
|
|
56
57
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
57
58
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `id` - Id * `-id` - Id (descending) * `updated_date` - Updated date * `-updated_date` - Updated date (descending) * `description` - Description * `-description` - Description (descending) * `issued_date` - Issued date * `-issued_date` - Issued date (descending) * `fromstr` - Fromstr * `-fromstr` - Fromstr (descending) * `status` - Status * `-status` - Status (descending) * `title` - Title * `-title` - Title (descending) * `summary` - Summary * `-summary` - Summary (descending) * `version` - Version * `-version` - Version (descending) * `type` - Type * `-type` - Type (descending) * `severity` - Severity * `-severity` - Severity (descending) * `solution` - Solution * `-solution` - Solution (descending) * `release` - Release * `-release` - Release (descending) * `rights` - Rights * `-rights` - Rights (descending) * `reboot_suggested` - Reboot suggested * `-reboot_suggested` - Reboot suggested (descending) * `pushcount` - Pushcount * `-pushcount` - Pushcount (descending) * `digest` - Digest * `-digest` - Digest (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
58
59
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
60
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
59
61
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
60
62
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
61
|
-
# @option opts [String] :q
|
|
62
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
63
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
|
64
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
|
63
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
64
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
|
65
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
|
66
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF/PRN
|
|
65
67
|
# @option opts [String] :severity Filter results where severity matches value
|
|
66
68
|
# @option opts [Array<String>] :severity__in Filter results where severity is in a comma-separated list of values
|
|
67
69
|
# @option opts [String] :severity__ne Filter results where severity not equal to value
|
|
@@ -40,12 +40,13 @@ describe 'ContentDistributionTreesApi' do
|
|
|
40
40
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
41
41
|
# @option opts [Array<String>] :ordering Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
|
42
42
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
43
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
43
44
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
44
45
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
45
|
-
# @option opts [String] :q
|
|
46
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
47
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
|
48
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
|
46
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
47
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
|
48
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
|
49
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF/PRN
|
|
49
50
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
50
51
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
51
52
|
# @return [PaginatedrpmDistributionTreeResponseList]
|
|
@@ -54,12 +54,13 @@ describe 'ContentModulemdDefaultsApi' do
|
|
|
54
54
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
55
55
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `module` - Module * `-module` - Module (descending) * `stream` - Stream * `-stream` - Stream (descending) * `profiles` - Profiles * `-profiles` - Profiles (descending) * `digest` - Digest * `-digest` - Digest (descending) * `snippet` - Snippet * `-snippet` - Snippet (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
56
56
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
57
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
57
58
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
58
59
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
59
|
-
# @option opts [String] :q
|
|
60
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
61
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
|
62
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
|
60
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
61
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
|
62
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
|
63
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF/PRN
|
|
63
64
|
# @option opts [String] :sha256
|
|
64
65
|
# @option opts [String] :stream Filter results where stream matches value
|
|
65
66
|
# @option opts [Array<String>] :stream__in Filter results where stream is in a comma-separated list of values
|
|
@@ -52,12 +52,13 @@ describe 'ContentModulemdObsoletesApi' do
|
|
|
52
52
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
53
53
|
# @option opts [Array<String>] :ordering Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
|
54
54
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
55
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
55
56
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
56
57
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
57
|
-
# @option opts [String] :q
|
|
58
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
59
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
|
60
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
|
58
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
59
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
|
60
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
|
61
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF/PRN
|
|
61
62
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
62
63
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
63
64
|
# @return [PaginatedrpmModulemdObsoleteResponseList]
|
|
@@ -58,12 +58,13 @@ describe 'ContentModulemdsApi' do
|
|
|
58
58
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
59
59
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `stream` - Stream * `-stream` - Stream (descending) * `version` - Version * `-version` - Version (descending) * `context` - Context * `-context` - Context (descending) * `arch` - Arch * `-arch` - Arch (descending) * `static_context` - Static context * `-static_context` - Static context (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `artifacts` - Artifacts * `-artifacts` - Artifacts (descending) * `profiles` - Profiles * `-profiles` - Profiles (descending) * `description` - Description * `-description` - Description (descending) * `digest` - Digest * `-digest` - Digest (descending) * `snippet` - Snippet * `-snippet` - Snippet (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
60
60
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
61
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
61
62
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
62
63
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
63
|
-
# @option opts [String] :q
|
|
64
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
65
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
|
66
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
|
64
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
65
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
|
66
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
|
67
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF/PRN
|
|
67
68
|
# @option opts [String] :sha256
|
|
68
69
|
# @option opts [String] :stream Filter results where stream matches value
|
|
69
70
|
# @option opts [Array<String>] :stream__in Filter results where stream is in a comma-separated list of values
|
|
@@ -40,12 +40,13 @@ describe 'ContentPackagecategoriesApi' do
|
|
|
40
40
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
41
41
|
# @option opts [Array<String>] :ordering Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
|
42
42
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
43
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
43
44
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
44
45
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
45
|
-
# @option opts [String] :q
|
|
46
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
47
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
|
48
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
|
46
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
47
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
|
48
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
|
49
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF/PRN
|
|
49
50
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
50
51
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
51
52
|
# @return [PaginatedrpmPackageCategoryResponseList]
|
|
@@ -40,12 +40,13 @@ describe 'ContentPackageenvironmentsApi' do
|
|
|
40
40
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
41
41
|
# @option opts [Array<String>] :ordering Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
|
42
42
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
43
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
43
44
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
44
45
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
45
|
-
# @option opts [String] :q
|
|
46
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
47
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
|
48
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
|
46
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
47
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
|
48
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
|
49
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF/PRN
|
|
49
50
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
50
51
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
51
52
|
# @return [PaginatedrpmPackageEnvironmentResponseList]
|
|
@@ -40,12 +40,13 @@ describe 'ContentPackagegroupsApi' do
|
|
|
40
40
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
41
41
|
# @option opts [Array<String>] :ordering Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
|
42
42
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
43
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
43
44
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
44
45
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
45
|
-
# @option opts [String] :q
|
|
46
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
47
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
|
48
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
|
46
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
47
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
|
48
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
|
49
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF/PRN
|
|
49
50
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
50
51
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
51
52
|
# @return [PaginatedrpmPackageGroupResponseList]
|
|
@@ -40,12 +40,13 @@ describe 'ContentPackagelangpacksApi' do
|
|
|
40
40
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
41
41
|
# @option opts [Array<String>] :ordering Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
|
42
42
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
43
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
43
44
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
44
45
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
45
|
-
# @option opts [String] :q
|
|
46
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
47
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
|
48
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
|
46
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
47
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
|
48
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
|
49
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF/PRN
|
|
49
50
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
50
51
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
51
52
|
# @return [PaginatedrpmPackageLangpacksResponseList]
|
|
@@ -41,6 +41,7 @@ describe 'ContentPackagesApi' do
|
|
|
41
41
|
# @option opts [String] :relative_path Path where the artifact is located relative to distributions base_path
|
|
42
42
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
43
43
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
44
|
+
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
|
44
45
|
# @return [AsyncOperationResponse]
|
|
45
46
|
describe 'create test' do
|
|
46
47
|
it 'should work' do
|
|
@@ -75,17 +76,18 @@ describe 'ContentPackagesApi' do
|
|
|
75
76
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
76
77
|
# @option opts [String] :pkg_id Filter results where pkgId matches value
|
|
77
78
|
# @option opts [Array<String>] :pkg_id__in Filter results where pkgId is in a comma-separated list of values
|
|
79
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
78
80
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
79
81
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
80
|
-
# @option opts [String] :q
|
|
82
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
81
83
|
# @option opts [String] :release Filter results where release matches value
|
|
82
84
|
# @option opts [String] :release__contains Filter results where release contains value
|
|
83
85
|
# @option opts [Array<String>] :release__in Filter results where release is in a comma-separated list of values
|
|
84
86
|
# @option opts [String] :release__ne Filter results where release not equal to value
|
|
85
87
|
# @option opts [String] :release__startswith Filter results where release starts with value
|
|
86
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
87
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
|
88
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
|
88
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
|
89
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
|
90
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF/PRN
|
|
89
91
|
# @option opts [String] :sha256
|
|
90
92
|
# @option opts [String] :version Filter results where version matches value
|
|
91
93
|
# @option opts [Array<String>] :version__in Filter results where version is in a comma-separated list of values
|