pulp_rpm_client 3.26.1 → 3.26.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (143) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -5
  3. data/docs/AcsRpmApi.md +5 -3
  4. data/docs/ArtifactResponse.md +2 -0
  5. data/docs/ContentAdvisoriesApi.md +14 -10
  6. data/docs/ContentDistributionTreesApi.md +11 -9
  7. data/docs/ContentModulemdDefaultsApi.md +11 -9
  8. data/docs/ContentModulemdObsoletesApi.md +11 -9
  9. data/docs/ContentModulemdsApi.md +11 -9
  10. data/docs/ContentPackagecategoriesApi.md +11 -9
  11. data/docs/ContentPackageenvironmentsApi.md +11 -9
  12. data/docs/ContentPackagegroupsApi.md +11 -9
  13. data/docs/ContentPackagelangpacksApi.md +11 -9
  14. data/docs/ContentPackagesApi.md +14 -10
  15. data/docs/ContentRepoMetadataFilesApi.md +11 -9
  16. data/docs/Copy.md +1 -1
  17. data/docs/DistributionsRpmApi.md +5 -3
  18. data/docs/PatchedrpmRpmRepository.md +1 -1
  19. data/docs/PublicationsRpmApi.md +13 -11
  20. data/docs/RemotesRpmApi.md +5 -3
  21. data/docs/RemotesUlnApi.md +5 -3
  22. data/docs/RepositoriesRpmApi.md +9 -7
  23. data/docs/RepositoriesRpmVersionsApi.md +9 -7
  24. data/docs/RepositoryVersionResponse.md +2 -0
  25. data/docs/RpmCompsApi.md +1 -1
  26. data/docs/RpmCopyApi.md +1 -1
  27. data/docs/RpmModulemd.md +3 -3
  28. data/docs/RpmModulemdDefaults.md +1 -1
  29. data/docs/RpmModulemdDefaultsResponse.md +3 -1
  30. data/docs/RpmModulemdObsoleteResponse.md +2 -0
  31. data/docs/RpmModulemdResponse.md +5 -3
  32. data/docs/RpmPackage.md +3 -1
  33. data/docs/RpmPackageCategoryResponse.md +5 -3
  34. data/docs/RpmPackageEnvironmentResponse.md +6 -4
  35. data/docs/RpmPackageGroupResponse.md +5 -3
  36. data/docs/RpmPackageLangpacksResponse.md +3 -1
  37. data/docs/RpmPackageResponse.md +12 -10
  38. data/docs/RpmRepoMetadataFileResponse.md +2 -0
  39. data/docs/RpmRpmAlternateContentSourceResponse.md +2 -0
  40. data/docs/RpmRpmDistributionResponse.md +4 -0
  41. data/docs/RpmRpmPublication.md +1 -1
  42. data/docs/RpmRpmPublicationResponse.md +3 -1
  43. data/docs/RpmRpmRemoteResponse.md +2 -0
  44. data/docs/RpmRpmRepository.md +1 -1
  45. data/docs/RpmRpmRepositoryResponse.md +3 -1
  46. data/docs/RpmUlnRemoteResponse.md +2 -0
  47. data/docs/RpmUpdateCollection.md +1 -1
  48. data/docs/RpmUpdateCollectionResponse.md +1 -1
  49. data/docs/RpmUpdateRecord.md +3 -1
  50. data/docs/RpmUpdateRecordResponse.md +2 -0
  51. data/lib/pulp_rpm_client/api/acs_rpm_api.rb +5 -2
  52. data/lib/pulp_rpm_client/api/content_advisories_api.rb +18 -8
  53. data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +11 -8
  54. data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +11 -8
  55. data/lib/pulp_rpm_client/api/content_modulemd_obsoletes_api.rb +11 -8
  56. data/lib/pulp_rpm_client/api/content_modulemds_api.rb +11 -8
  57. data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +11 -8
  58. data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +11 -8
  59. data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +11 -8
  60. data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +11 -8
  61. data/lib/pulp_rpm_client/api/content_packages_api.rb +18 -8
  62. data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +11 -8
  63. data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +5 -2
  64. data/lib/pulp_rpm_client/api/publications_rpm_api.rb +14 -11
  65. data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +5 -2
  66. data/lib/pulp_rpm_client/api/remotes_uln_api.rb +5 -2
  67. data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +9 -6
  68. data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +10 -7
  69. data/lib/pulp_rpm_client/configuration.rb +2 -2
  70. data/lib/pulp_rpm_client/models/artifact_response.rb +12 -2
  71. data/lib/pulp_rpm_client/models/copy.rb +1 -1
  72. data/lib/pulp_rpm_client/models/patchedrpm_rpm_remote.rb +20 -20
  73. data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +1 -1
  74. data/lib/pulp_rpm_client/models/patchedrpm_uln_remote.rb +20 -20
  75. data/lib/pulp_rpm_client/models/repository_add_remove_content.rb +1 -1
  76. data/lib/pulp_rpm_client/models/repository_version_response.rb +12 -2
  77. data/lib/pulp_rpm_client/models/rpm_modulemd.rb +3 -3
  78. data/lib/pulp_rpm_client/models/rpm_modulemd_defaults.rb +1 -1
  79. data/lib/pulp_rpm_client/models/rpm_modulemd_defaults_response.rb +12 -2
  80. data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete_response.rb +11 -1
  81. data/lib/pulp_rpm_client/models/rpm_modulemd_response.rb +14 -4
  82. data/lib/pulp_rpm_client/models/rpm_package.rb +29 -4
  83. data/lib/pulp_rpm_client/models/rpm_package_category_response.rb +14 -4
  84. data/lib/pulp_rpm_client/models/rpm_package_environment_response.rb +15 -5
  85. data/lib/pulp_rpm_client/models/rpm_package_group_response.rb +14 -4
  86. data/lib/pulp_rpm_client/models/rpm_package_langpacks_response.rb +12 -2
  87. data/lib/pulp_rpm_client/models/rpm_package_response.rb +21 -11
  88. data/lib/pulp_rpm_client/models/rpm_repo_metadata_file_response.rb +11 -1
  89. data/lib/pulp_rpm_client/models/rpm_rpm_alternate_content_source_response.rb +11 -1
  90. data/lib/pulp_rpm_client/models/rpm_rpm_distribution_response.rb +21 -1
  91. data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +1 -1
  92. data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +12 -2
  93. data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +20 -20
  94. data/lib/pulp_rpm_client/models/rpm_rpm_remote_response.rb +31 -21
  95. data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +1 -1
  96. data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +12 -2
  97. data/lib/pulp_rpm_client/models/rpm_uln_remote.rb +20 -20
  98. data/lib/pulp_rpm_client/models/rpm_uln_remote_response.rb +31 -21
  99. data/lib/pulp_rpm_client/models/rpm_update_collection.rb +1 -1
  100. data/lib/pulp_rpm_client/models/rpm_update_collection_response.rb +1 -1
  101. data/lib/pulp_rpm_client/models/rpm_update_record.rb +29 -4
  102. data/lib/pulp_rpm_client/models/rpm_update_record_response.rb +11 -1
  103. data/lib/pulp_rpm_client/version.rb +1 -1
  104. data/spec/api/acs_rpm_api_spec.rb +2 -1
  105. data/spec/api/content_advisories_api_spec.rb +6 -4
  106. data/spec/api/content_distribution_trees_api_spec.rb +5 -4
  107. data/spec/api/content_modulemd_defaults_api_spec.rb +5 -4
  108. data/spec/api/content_modulemd_obsoletes_api_spec.rb +5 -4
  109. data/spec/api/content_modulemds_api_spec.rb +5 -4
  110. data/spec/api/content_packagecategories_api_spec.rb +5 -4
  111. data/spec/api/content_packageenvironments_api_spec.rb +5 -4
  112. data/spec/api/content_packagegroups_api_spec.rb +5 -4
  113. data/spec/api/content_packagelangpacks_api_spec.rb +5 -4
  114. data/spec/api/content_packages_api_spec.rb +6 -4
  115. data/spec/api/content_repo_metadata_files_api_spec.rb +5 -4
  116. data/spec/api/distributions_rpm_api_spec.rb +2 -1
  117. data/spec/api/publications_rpm_api_spec.rb +6 -5
  118. data/spec/api/remotes_rpm_api_spec.rb +2 -1
  119. data/spec/api/remotes_uln_api_spec.rb +2 -1
  120. data/spec/api/repositories_rpm_api_spec.rb +4 -3
  121. data/spec/api/repositories_rpm_versions_api_spec.rb +4 -3
  122. data/spec/configuration_spec.rb +3 -3
  123. data/spec/models/artifact_response_spec.rb +6 -0
  124. data/spec/models/repository_version_response_spec.rb +6 -0
  125. data/spec/models/rpm_modulemd_defaults_response_spec.rb +6 -0
  126. data/spec/models/rpm_modulemd_obsolete_response_spec.rb +6 -0
  127. data/spec/models/rpm_modulemd_response_spec.rb +6 -0
  128. data/spec/models/rpm_package_category_response_spec.rb +6 -0
  129. data/spec/models/rpm_package_environment_response_spec.rb +6 -0
  130. data/spec/models/rpm_package_group_response_spec.rb +6 -0
  131. data/spec/models/rpm_package_langpacks_response_spec.rb +6 -0
  132. data/spec/models/rpm_package_response_spec.rb +6 -0
  133. data/spec/models/rpm_package_spec.rb +6 -0
  134. data/spec/models/rpm_repo_metadata_file_response_spec.rb +6 -0
  135. data/spec/models/rpm_rpm_alternate_content_source_response_spec.rb +6 -0
  136. data/spec/models/rpm_rpm_distribution_response_spec.rb +12 -0
  137. data/spec/models/rpm_rpm_publication_response_spec.rb +6 -0
  138. data/spec/models/rpm_rpm_remote_response_spec.rb +6 -0
  139. data/spec/models/rpm_rpm_repository_response_spec.rb +6 -0
  140. data/spec/models/rpm_uln_remote_response_spec.rb +6 -0
  141. data/spec/models/rpm_update_record_response_spec.rb +6 -0
  142. data/spec/models/rpm_update_record_spec.rb +6 -0
  143. metadata +96 -96
@@ -230,6 +230,7 @@ module PulpRpmClient
230
230
  # @option opts [String] :name__startswith Filter results where name starts with value
231
231
  # @option opts [Integer] :offset The initial index from which to return the results.
232
232
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;url&#x60; - Url * &#x60;-url&#x60; - Url (descending) * &#x60;ca_cert&#x60; - Ca cert * &#x60;-ca_cert&#x60; - Ca cert (descending) * &#x60;client_cert&#x60; - Client cert * &#x60;-client_cert&#x60; - Client cert (descending) * &#x60;client_key&#x60; - Client key * &#x60;-client_key&#x60; - Client key (descending) * &#x60;tls_validation&#x60; - Tls validation * &#x60;-tls_validation&#x60; - Tls validation (descending) * &#x60;username&#x60; - Username * &#x60;-username&#x60; - Username (descending) * &#x60;password&#x60; - Password * &#x60;-password&#x60; - Password (descending) * &#x60;proxy_url&#x60; - Proxy url * &#x60;-proxy_url&#x60; - Proxy url (descending) * &#x60;proxy_username&#x60; - Proxy username * &#x60;-proxy_username&#x60; - Proxy username (descending) * &#x60;proxy_password&#x60; - Proxy password * &#x60;-proxy_password&#x60; - Proxy password (descending) * &#x60;download_concurrency&#x60; - Download concurrency * &#x60;-download_concurrency&#x60; - Download concurrency (descending) * &#x60;max_retries&#x60; - Max retries * &#x60;-max_retries&#x60; - Max retries (descending) * &#x60;policy&#x60; - Policy * &#x60;-policy&#x60; - Policy (descending) * &#x60;total_timeout&#x60; - Total timeout * &#x60;-total_timeout&#x60; - Total timeout (descending) * &#x60;connect_timeout&#x60; - Connect timeout * &#x60;-connect_timeout&#x60; - Connect timeout (descending) * &#x60;sock_connect_timeout&#x60; - Sock connect timeout * &#x60;-sock_connect_timeout&#x60; - Sock connect timeout (descending) * &#x60;sock_read_timeout&#x60; - Sock read timeout * &#x60;-sock_read_timeout&#x60; - Sock read timeout (descending) * &#x60;headers&#x60; - Headers * &#x60;-headers&#x60; - Headers (descending) * &#x60;rate_limit&#x60; - Rate limit * &#x60;-rate_limit&#x60; - Rate limit (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
233
+ # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
233
234
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
234
235
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
235
236
  # @option opts [String] :pulp_label_select Filter labels by search string
@@ -239,7 +240,7 @@ module PulpRpmClient
239
240
  # @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
240
241
  # @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
241
242
  # @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
242
- # @option opts [String] :q
243
+ # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
243
244
  # @option opts [Array<String>] :fields A list of fields to include in the response.
244
245
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
245
246
  # @return [PaginatedrpmRpmRemoteResponseList]
@@ -263,6 +264,7 @@ module PulpRpmClient
263
264
  # @option opts [String] :name__startswith Filter results where name starts with value
264
265
  # @option opts [Integer] :offset The initial index from which to return the results.
265
266
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;url&#x60; - Url * &#x60;-url&#x60; - Url (descending) * &#x60;ca_cert&#x60; - Ca cert * &#x60;-ca_cert&#x60; - Ca cert (descending) * &#x60;client_cert&#x60; - Client cert * &#x60;-client_cert&#x60; - Client cert (descending) * &#x60;client_key&#x60; - Client key * &#x60;-client_key&#x60; - Client key (descending) * &#x60;tls_validation&#x60; - Tls validation * &#x60;-tls_validation&#x60; - Tls validation (descending) * &#x60;username&#x60; - Username * &#x60;-username&#x60; - Username (descending) * &#x60;password&#x60; - Password * &#x60;-password&#x60; - Password (descending) * &#x60;proxy_url&#x60; - Proxy url * &#x60;-proxy_url&#x60; - Proxy url (descending) * &#x60;proxy_username&#x60; - Proxy username * &#x60;-proxy_username&#x60; - Proxy username (descending) * &#x60;proxy_password&#x60; - Proxy password * &#x60;-proxy_password&#x60; - Proxy password (descending) * &#x60;download_concurrency&#x60; - Download concurrency * &#x60;-download_concurrency&#x60; - Download concurrency (descending) * &#x60;max_retries&#x60; - Max retries * &#x60;-max_retries&#x60; - Max retries (descending) * &#x60;policy&#x60; - Policy * &#x60;-policy&#x60; - Policy (descending) * &#x60;total_timeout&#x60; - Total timeout * &#x60;-total_timeout&#x60; - Total timeout (descending) * &#x60;connect_timeout&#x60; - Connect timeout * &#x60;-connect_timeout&#x60; - Connect timeout (descending) * &#x60;sock_connect_timeout&#x60; - Sock connect timeout * &#x60;-sock_connect_timeout&#x60; - Sock connect timeout (descending) * &#x60;sock_read_timeout&#x60; - Sock read timeout * &#x60;-sock_read_timeout&#x60; - Sock read timeout (descending) * &#x60;headers&#x60; - Headers * &#x60;-headers&#x60; - Headers (descending) * &#x60;rate_limit&#x60; - Rate limit * &#x60;-rate_limit&#x60; - Rate limit (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
267
+ # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
266
268
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
267
269
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
268
270
  # @option opts [String] :pulp_label_select Filter labels by search string
@@ -272,7 +274,7 @@ module PulpRpmClient
272
274
  # @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
273
275
  # @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
274
276
  # @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
275
- # @option opts [String] :q
277
+ # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
276
278
  # @option opts [Array<String>] :fields A list of fields to include in the response.
277
279
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
278
280
  # @return [Array<(PaginatedrpmRpmRemoteResponseList, Integer, Hash)>] PaginatedrpmRpmRemoteResponseList data, response status code and response headers
@@ -301,6 +303,7 @@ module PulpRpmClient
301
303
  query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
302
304
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
303
305
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
306
+ query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
304
307
  query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
305
308
  query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
306
309
  query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
@@ -230,6 +230,7 @@ module PulpRpmClient
230
230
  # @option opts [String] :name__startswith Filter results where name starts with value
231
231
  # @option opts [Integer] :offset The initial index from which to return the results.
232
232
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;url&#x60; - Url * &#x60;-url&#x60; - Url (descending) * &#x60;ca_cert&#x60; - Ca cert * &#x60;-ca_cert&#x60; - Ca cert (descending) * &#x60;client_cert&#x60; - Client cert * &#x60;-client_cert&#x60; - Client cert (descending) * &#x60;client_key&#x60; - Client key * &#x60;-client_key&#x60; - Client key (descending) * &#x60;tls_validation&#x60; - Tls validation * &#x60;-tls_validation&#x60; - Tls validation (descending) * &#x60;username&#x60; - Username * &#x60;-username&#x60; - Username (descending) * &#x60;password&#x60; - Password * &#x60;-password&#x60; - Password (descending) * &#x60;proxy_url&#x60; - Proxy url * &#x60;-proxy_url&#x60; - Proxy url (descending) * &#x60;proxy_username&#x60; - Proxy username * &#x60;-proxy_username&#x60; - Proxy username (descending) * &#x60;proxy_password&#x60; - Proxy password * &#x60;-proxy_password&#x60; - Proxy password (descending) * &#x60;download_concurrency&#x60; - Download concurrency * &#x60;-download_concurrency&#x60; - Download concurrency (descending) * &#x60;max_retries&#x60; - Max retries * &#x60;-max_retries&#x60; - Max retries (descending) * &#x60;policy&#x60; - Policy * &#x60;-policy&#x60; - Policy (descending) * &#x60;total_timeout&#x60; - Total timeout * &#x60;-total_timeout&#x60; - Total timeout (descending) * &#x60;connect_timeout&#x60; - Connect timeout * &#x60;-connect_timeout&#x60; - Connect timeout (descending) * &#x60;sock_connect_timeout&#x60; - Sock connect timeout * &#x60;-sock_connect_timeout&#x60; - Sock connect timeout (descending) * &#x60;sock_read_timeout&#x60; - Sock read timeout * &#x60;-sock_read_timeout&#x60; - Sock read timeout (descending) * &#x60;headers&#x60; - Headers * &#x60;-headers&#x60; - Headers (descending) * &#x60;rate_limit&#x60; - Rate limit * &#x60;-rate_limit&#x60; - Rate limit (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
233
+ # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
233
234
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
234
235
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
235
236
  # @option opts [String] :pulp_label_select Filter labels by search string
@@ -239,7 +240,7 @@ module PulpRpmClient
239
240
  # @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
240
241
  # @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
241
242
  # @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
242
- # @option opts [String] :q
243
+ # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
243
244
  # @option opts [Array<String>] :fields A list of fields to include in the response.
244
245
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
245
246
  # @return [PaginatedrpmUlnRemoteResponseList]
@@ -263,6 +264,7 @@ module PulpRpmClient
263
264
  # @option opts [String] :name__startswith Filter results where name starts with value
264
265
  # @option opts [Integer] :offset The initial index from which to return the results.
265
266
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;url&#x60; - Url * &#x60;-url&#x60; - Url (descending) * &#x60;ca_cert&#x60; - Ca cert * &#x60;-ca_cert&#x60; - Ca cert (descending) * &#x60;client_cert&#x60; - Client cert * &#x60;-client_cert&#x60; - Client cert (descending) * &#x60;client_key&#x60; - Client key * &#x60;-client_key&#x60; - Client key (descending) * &#x60;tls_validation&#x60; - Tls validation * &#x60;-tls_validation&#x60; - Tls validation (descending) * &#x60;username&#x60; - Username * &#x60;-username&#x60; - Username (descending) * &#x60;password&#x60; - Password * &#x60;-password&#x60; - Password (descending) * &#x60;proxy_url&#x60; - Proxy url * &#x60;-proxy_url&#x60; - Proxy url (descending) * &#x60;proxy_username&#x60; - Proxy username * &#x60;-proxy_username&#x60; - Proxy username (descending) * &#x60;proxy_password&#x60; - Proxy password * &#x60;-proxy_password&#x60; - Proxy password (descending) * &#x60;download_concurrency&#x60; - Download concurrency * &#x60;-download_concurrency&#x60; - Download concurrency (descending) * &#x60;max_retries&#x60; - Max retries * &#x60;-max_retries&#x60; - Max retries (descending) * &#x60;policy&#x60; - Policy * &#x60;-policy&#x60; - Policy (descending) * &#x60;total_timeout&#x60; - Total timeout * &#x60;-total_timeout&#x60; - Total timeout (descending) * &#x60;connect_timeout&#x60; - Connect timeout * &#x60;-connect_timeout&#x60; - Connect timeout (descending) * &#x60;sock_connect_timeout&#x60; - Sock connect timeout * &#x60;-sock_connect_timeout&#x60; - Sock connect timeout (descending) * &#x60;sock_read_timeout&#x60; - Sock read timeout * &#x60;-sock_read_timeout&#x60; - Sock read timeout (descending) * &#x60;headers&#x60; - Headers * &#x60;-headers&#x60; - Headers (descending) * &#x60;rate_limit&#x60; - Rate limit * &#x60;-rate_limit&#x60; - Rate limit (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
267
+ # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
266
268
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
267
269
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
268
270
  # @option opts [String] :pulp_label_select Filter labels by search string
@@ -272,7 +274,7 @@ module PulpRpmClient
272
274
  # @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
273
275
  # @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
274
276
  # @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
275
- # @option opts [String] :q
277
+ # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
276
278
  # @option opts [Array<String>] :fields A list of fields to include in the response.
277
279
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
278
280
  # @return [Array<(PaginatedrpmUlnRemoteResponseList, Integer, Hash)>] PaginatedrpmUlnRemoteResponseList data, response status code and response headers
@@ -301,6 +303,7 @@ module PulpRpmClient
301
303
  query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
302
304
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
303
305
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
306
+ query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
304
307
  query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
305
308
  query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
306
309
  query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
@@ -218,7 +218,7 @@ module PulpRpmClient
218
218
  # List rpm repositorys
219
219
  # A ViewSet for RpmRepository.
220
220
  # @param [Hash] opts the optional parameters
221
- # @option opts [String] :latest_with_content Content Unit referenced by HREF
221
+ # @option opts [String] :latest_with_content Content Unit referenced by HREF/PRN
222
222
  # @option opts [Integer] :limit Number of results to return per page.
223
223
  # @option opts [String] :name Filter results where name matches value
224
224
  # @option opts [String] :name__contains Filter results where name contains value
@@ -231,10 +231,11 @@ module PulpRpmClient
231
231
  # @option opts [String] :name__startswith Filter results where name starts with value
232
232
  # @option opts [Integer] :offset The initial index from which to return the results.
233
233
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;next_version&#x60; - Next version * &#x60;-next_version&#x60; - Next version (descending) * &#x60;retain_repo_versions&#x60; - Retain repo versions * &#x60;-retain_repo_versions&#x60; - Retain repo versions (descending) * &#x60;user_hidden&#x60; - User hidden * &#x60;-user_hidden&#x60; - User hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
234
+ # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
234
235
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
235
236
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
236
237
  # @option opts [String] :pulp_label_select Filter labels by search string
237
- # @option opts [String] :q
238
+ # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
238
239
  # @option opts [String] :remote Foreign Key referenced by HREF
239
240
  # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
240
241
  # @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
@@ -244,7 +245,7 @@ module PulpRpmClient
244
245
  # @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
245
246
  # @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
246
247
  # @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
247
- # @option opts [String] :with_content Content Unit referenced by HREF
248
+ # @option opts [String] :with_content Content Unit referenced by HREF/PRN
248
249
  # @option opts [Array<String>] :fields A list of fields to include in the response.
249
250
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
250
251
  # @return [PaginatedrpmRpmRepositoryResponseList]
@@ -256,7 +257,7 @@ module PulpRpmClient
256
257
  # List rpm repositorys
257
258
  # A ViewSet for RpmRepository.
258
259
  # @param [Hash] opts the optional parameters
259
- # @option opts [String] :latest_with_content Content Unit referenced by HREF
260
+ # @option opts [String] :latest_with_content Content Unit referenced by HREF/PRN
260
261
  # @option opts [Integer] :limit Number of results to return per page.
261
262
  # @option opts [String] :name Filter results where name matches value
262
263
  # @option opts [String] :name__contains Filter results where name contains value
@@ -269,10 +270,11 @@ module PulpRpmClient
269
270
  # @option opts [String] :name__startswith Filter results where name starts with value
270
271
  # @option opts [Integer] :offset The initial index from which to return the results.
271
272
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;next_version&#x60; - Next version * &#x60;-next_version&#x60; - Next version (descending) * &#x60;retain_repo_versions&#x60; - Retain repo versions * &#x60;-retain_repo_versions&#x60; - Retain repo versions (descending) * &#x60;user_hidden&#x60; - User hidden * &#x60;-user_hidden&#x60; - User hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
273
+ # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
272
274
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
273
275
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
274
276
  # @option opts [String] :pulp_label_select Filter labels by search string
275
- # @option opts [String] :q
277
+ # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
276
278
  # @option opts [String] :remote Foreign Key referenced by HREF
277
279
  # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
278
280
  # @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
@@ -282,7 +284,7 @@ module PulpRpmClient
282
284
  # @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
283
285
  # @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
284
286
  # @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
285
- # @option opts [String] :with_content Content Unit referenced by HREF
287
+ # @option opts [String] :with_content Content Unit referenced by HREF/PRN
286
288
  # @option opts [Array<String>] :fields A list of fields to include in the response.
287
289
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
288
290
  # @return [Array<(PaginatedrpmRpmRepositoryResponseList, Integer, Hash)>] PaginatedrpmRpmRepositoryResponseList data, response status code and response headers
@@ -312,6 +314,7 @@ module PulpRpmClient
312
314
  query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
313
315
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
314
316
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
317
+ query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
315
318
  query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
316
319
  query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
317
320
  query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
@@ -85,8 +85,8 @@ module PulpRpmClient
85
85
  # RpmRepositoryVersion represents a single rpm repository version.
86
86
  # @param rpm_rpm_repository_href [String]
87
87
  # @param [Hash] opts the optional parameters
88
- # @option opts [String] :content Content Unit referenced by HREF
89
- # @option opts [String] :content__in Content Unit referenced by HREF
88
+ # @option opts [String] :content Content Unit referenced by HREF/PRN
89
+ # @option opts [Array<String>] :content__in Multiple values may be separated by commas.
90
90
  # @option opts [Integer] :limit Number of results to return per page.
91
91
  # @option opts [Integer] :number Filter results where number matches value
92
92
  # @option opts [Integer] :number__gt Filter results where number is greater than value
@@ -96,6 +96,7 @@ module PulpRpmClient
96
96
  # @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
97
97
  # @option opts [Integer] :offset The initial index from which to return the results.
98
98
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;number&#x60; - Number * &#x60;-number&#x60; - Number (descending) * &#x60;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;info&#x60; - Info * &#x60;-info&#x60; - Info (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
99
+ # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
99
100
  # @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
100
101
  # @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
101
102
  # @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
@@ -103,7 +104,7 @@ module PulpRpmClient
103
104
  # @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
104
105
  # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
105
106
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
106
- # @option opts [String] :q
107
+ # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
107
108
  # @option opts [Array<String>] :fields A list of fields to include in the response.
108
109
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
109
110
  # @return [PaginatedRepositoryVersionResponseList]
@@ -116,8 +117,8 @@ module PulpRpmClient
116
117
  # RpmRepositoryVersion represents a single rpm repository version.
117
118
  # @param rpm_rpm_repository_href [String]
118
119
  # @param [Hash] opts the optional parameters
119
- # @option opts [String] :content Content Unit referenced by HREF
120
- # @option opts [String] :content__in Content Unit referenced by HREF
120
+ # @option opts [String] :content Content Unit referenced by HREF/PRN
121
+ # @option opts [Array<String>] :content__in Multiple values may be separated by commas.
121
122
  # @option opts [Integer] :limit Number of results to return per page.
122
123
  # @option opts [Integer] :number Filter results where number matches value
123
124
  # @option opts [Integer] :number__gt Filter results where number is greater than value
@@ -127,6 +128,7 @@ module PulpRpmClient
127
128
  # @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
128
129
  # @option opts [Integer] :offset The initial index from which to return the results.
129
130
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;number&#x60; - Number * &#x60;-number&#x60; - Number (descending) * &#x60;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;info&#x60; - Info * &#x60;-info&#x60; - Info (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
131
+ # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
130
132
  # @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
131
133
  # @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
132
134
  # @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
@@ -134,7 +136,7 @@ module PulpRpmClient
134
136
  # @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
135
137
  # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
136
138
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
137
- # @option opts [String] :q
139
+ # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
138
140
  # @option opts [Array<String>] :fields A list of fields to include in the response.
139
141
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
140
142
  # @return [Array<(PaginatedRepositoryVersionResponseList, Integer, Hash)>] PaginatedRepositoryVersionResponseList data, response status code and response headers
@@ -156,7 +158,7 @@ module PulpRpmClient
156
158
  # query parameters
157
159
  query_params = opts[:query_params] || {}
158
160
  query_params[:'content'] = opts[:'content'] if !opts[:'content'].nil?
159
- query_params[:'content__in'] = opts[:'content__in'] if !opts[:'content__in'].nil?
161
+ query_params[:'content__in'] = @api_client.build_collection_param(opts[:'content__in'], :csv) if !opts[:'content__in'].nil?
160
162
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
161
163
  query_params[:'number'] = opts[:'number'] if !opts[:'number'].nil?
162
164
  query_params[:'number__gt'] = opts[:'number__gt'] if !opts[:'number__gt'].nil?
@@ -166,6 +168,7 @@ module PulpRpmClient
166
168
  query_params[:'number__range'] = @api_client.build_collection_param(opts[:'number__range'], :csv) if !opts[:'number__range'].nil?
167
169
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
168
170
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
171
+ query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
169
172
  query_params[:'pulp_created'] = opts[:'pulp_created'] if !opts[:'pulp_created'].nil?
170
173
  query_params[:'pulp_created__gt'] = opts[:'pulp_created__gt'] if !opts[:'pulp_created__gt'].nil?
171
174
  query_params[:'pulp_created__gte'] = opts[:'pulp_created__gte'] if !opts[:'pulp_created__gte'].nil?
@@ -128,7 +128,7 @@ module PulpRpmClient
128
128
 
129
129
  def initialize
130
130
  @scheme = 'http'
131
- @host = 'pulp'
131
+ @host = 'localhost'
132
132
  @base_path = ''
133
133
  @api_key = {}
134
134
  @api_key_prefix = {}
@@ -210,7 +210,7 @@ module PulpRpmClient
210
210
  def server_settings
211
211
  [
212
212
  {
213
- url: "http://pulp/",
213
+ url: "http://localhost:24817/",
214
214
  description: "No description provided",
215
215
  }
216
216
  ]
@@ -13,10 +13,13 @@ OpenAPI Generator version: 4.3.1
13
13
  require 'date'
14
14
 
15
15
  module PulpRpmClient
16
- # Base serializer for use with :class:`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.
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 ArtifactResponse
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
 
@@ -51,6 +54,7 @@ module PulpRpmClient
51
54
  def self.attribute_map
52
55
  {
53
56
  :'pulp_href' => :'pulp_href',
57
+ :'prn' => :'prn',
54
58
  :'pulp_created' => :'pulp_created',
55
59
  :'pulp_last_updated' => :'pulp_last_updated',
56
60
  :'file' => :'file',
@@ -68,6 +72,7 @@ module PulpRpmClient
68
72
  def self.openapi_types
69
73
  {
70
74
  :'pulp_href' => :'String',
75
+ :'prn' => :'String',
71
76
  :'pulp_created' => :'DateTime',
72
77
  :'pulp_last_updated' => :'DateTime',
73
78
  :'file' => :'String',
@@ -112,6 +117,10 @@ module PulpRpmClient
112
117
  self.pulp_href = attributes[:'pulp_href']
113
118
  end
114
119
 
120
+ if attributes.key?(:'prn')
121
+ self.prn = attributes[:'prn']
122
+ end
123
+
115
124
  if attributes.key?(:'pulp_created')
116
125
  self.pulp_created = attributes[:'pulp_created']
117
126
  end
@@ -177,6 +186,7 @@ module PulpRpmClient
177
186
  return true if self.equal?(o)
178
187
  self.class == o.class &&
179
188
  pulp_href == o.pulp_href &&
189
+ prn == o.prn &&
180
190
  pulp_created == o.pulp_created &&
181
191
  pulp_last_updated == o.pulp_last_updated &&
182
192
  file == o.file &&
@@ -198,7 +208,7 @@ module PulpRpmClient
198
208
  # Calculates hash code according to all attributes.
199
209
  # @return [Integer] Hash code
200
210
  def hash
201
- [pulp_href, pulp_created, pulp_last_updated, file, size, md5, sha1, sha224, sha256, sha384, sha512].hash
211
+ [pulp_href, prn, pulp_created, pulp_last_updated, file, size, md5, sha1, sha224, sha256, sha384, sha512].hash
202
212
  end
203
213
 
204
214
  # Builds the object from hash
@@ -32,7 +32,7 @@ module PulpRpmClient
32
32
  # Attribute type mapping.
33
33
  def self.openapi_types
34
34
  {
35
- :'config' => :'Object',
35
+ :'config' => :'AnyType',
36
36
  :'dependency_solving' => :'Boolean'
37
37
  }
38
38
  end
@@ -314,20 +314,20 @@ module PulpRpmClient
314
314
  invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
315
315
  end
316
316
 
317
- if !@total_timeout.nil? && @total_timeout < 0.0
318
- invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
317
+ if !@total_timeout.nil? && @total_timeout < 0
318
+ invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
319
319
  end
320
320
 
321
- if !@connect_timeout.nil? && @connect_timeout < 0.0
322
- invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
321
+ if !@connect_timeout.nil? && @connect_timeout < 0
322
+ invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
323
323
  end
324
324
 
325
- if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
326
- invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
325
+ if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
326
+ invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
327
327
  end
328
328
 
329
- if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
330
- invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
329
+ if !@sock_read_timeout.nil? && @sock_read_timeout < 0
330
+ invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
331
331
  end
332
332
 
333
333
  if !@sles_auth_token.nil? && @sles_auth_token.to_s.length < 1
@@ -351,10 +351,10 @@ module PulpRpmClient
351
351
  return false if !@username.nil? && @username.to_s.length < 1
352
352
  return false if !@password.nil? && @password.to_s.length < 1
353
353
  return false if !@download_concurrency.nil? && @download_concurrency < 1
354
- return false if !@total_timeout.nil? && @total_timeout < 0.0
355
- return false if !@connect_timeout.nil? && @connect_timeout < 0.0
356
- return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
357
- return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
354
+ return false if !@total_timeout.nil? && @total_timeout < 0
355
+ return false if !@connect_timeout.nil? && @connect_timeout < 0
356
+ return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
357
+ return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
358
358
  return false if !@sles_auth_token.nil? && @sles_auth_token.to_s.length < 1
359
359
  true
360
360
  end
@@ -472,8 +472,8 @@ module PulpRpmClient
472
472
  # Custom attribute writer method with validation
473
473
  # @param [Object] total_timeout Value to be assigned
474
474
  def total_timeout=(total_timeout)
475
- if !total_timeout.nil? && total_timeout < 0.0
476
- fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
475
+ if !total_timeout.nil? && total_timeout < 0
476
+ fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
477
477
  end
478
478
 
479
479
  @total_timeout = total_timeout
@@ -482,8 +482,8 @@ module PulpRpmClient
482
482
  # Custom attribute writer method with validation
483
483
  # @param [Object] connect_timeout Value to be assigned
484
484
  def connect_timeout=(connect_timeout)
485
- if !connect_timeout.nil? && connect_timeout < 0.0
486
- fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
485
+ if !connect_timeout.nil? && connect_timeout < 0
486
+ fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
487
487
  end
488
488
 
489
489
  @connect_timeout = connect_timeout
@@ -492,8 +492,8 @@ module PulpRpmClient
492
492
  # Custom attribute writer method with validation
493
493
  # @param [Object] sock_connect_timeout Value to be assigned
494
494
  def sock_connect_timeout=(sock_connect_timeout)
495
- if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
496
- fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
495
+ if !sock_connect_timeout.nil? && sock_connect_timeout < 0
496
+ fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
497
497
  end
498
498
 
499
499
  @sock_connect_timeout = sock_connect_timeout
@@ -502,8 +502,8 @@ module PulpRpmClient
502
502
  # Custom attribute writer method with validation
503
503
  # @param [Object] sock_read_timeout Value to be assigned
504
504
  def sock_read_timeout=(sock_read_timeout)
505
- if !sock_read_timeout.nil? && sock_read_timeout < 0.0
506
- fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
505
+ if !sock_read_timeout.nil? && sock_read_timeout < 0
506
+ fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
507
507
  end
508
508
 
509
509
  @sock_read_timeout = sock_read_timeout
@@ -96,7 +96,7 @@ module PulpRpmClient
96
96
  :'package_checksum_type' => :'PackageChecksumTypeEnum',
97
97
  :'gpgcheck' => :'Integer',
98
98
  :'repo_gpgcheck' => :'Integer',
99
- :'repo_config' => :'Object',
99
+ :'repo_config' => :'AnyType',
100
100
  :'compression_type' => :'CompressionTypeEnum'
101
101
  }
102
102
  end
@@ -312,20 +312,20 @@ module PulpRpmClient
312
312
  invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
313
313
  end
314
314
 
315
- if !@total_timeout.nil? && @total_timeout < 0.0
316
- invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
315
+ if !@total_timeout.nil? && @total_timeout < 0
316
+ invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
317
317
  end
318
318
 
319
- if !@connect_timeout.nil? && @connect_timeout < 0.0
320
- invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
319
+ if !@connect_timeout.nil? && @connect_timeout < 0
320
+ invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
321
321
  end
322
322
 
323
- if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
324
- invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
323
+ if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
324
+ invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
325
325
  end
326
326
 
327
- if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
328
- invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
327
+ if !@sock_read_timeout.nil? && @sock_read_timeout < 0
328
+ invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
329
329
  end
330
330
 
331
331
  if !@uln_server_base_url.nil? && @uln_server_base_url.to_s.length < 1
@@ -349,10 +349,10 @@ module PulpRpmClient
349
349
  return false if !@username.nil? && @username.to_s.length < 1
350
350
  return false if !@password.nil? && @password.to_s.length < 1
351
351
  return false if !@download_concurrency.nil? && @download_concurrency < 1
352
- return false if !@total_timeout.nil? && @total_timeout < 0.0
353
- return false if !@connect_timeout.nil? && @connect_timeout < 0.0
354
- return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
355
- return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
352
+ return false if !@total_timeout.nil? && @total_timeout < 0
353
+ return false if !@connect_timeout.nil? && @connect_timeout < 0
354
+ return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
355
+ return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
356
356
  return false if !@uln_server_base_url.nil? && @uln_server_base_url.to_s.length < 1
357
357
  true
358
358
  end
@@ -470,8 +470,8 @@ module PulpRpmClient
470
470
  # Custom attribute writer method with validation
471
471
  # @param [Object] total_timeout Value to be assigned
472
472
  def total_timeout=(total_timeout)
473
- if !total_timeout.nil? && total_timeout < 0.0
474
- fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
473
+ if !total_timeout.nil? && total_timeout < 0
474
+ fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
475
475
  end
476
476
 
477
477
  @total_timeout = total_timeout
@@ -480,8 +480,8 @@ module PulpRpmClient
480
480
  # Custom attribute writer method with validation
481
481
  # @param [Object] connect_timeout Value to be assigned
482
482
  def connect_timeout=(connect_timeout)
483
- if !connect_timeout.nil? && connect_timeout < 0.0
484
- fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
483
+ if !connect_timeout.nil? && connect_timeout < 0
484
+ fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
485
485
  end
486
486
 
487
487
  @connect_timeout = connect_timeout
@@ -490,8 +490,8 @@ module PulpRpmClient
490
490
  # Custom attribute writer method with validation
491
491
  # @param [Object] sock_connect_timeout Value to be assigned
492
492
  def sock_connect_timeout=(sock_connect_timeout)
493
- if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
494
- fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
493
+ if !sock_connect_timeout.nil? && sock_connect_timeout < 0
494
+ fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
495
495
  end
496
496
 
497
497
  @sock_connect_timeout = sock_connect_timeout
@@ -500,8 +500,8 @@ module PulpRpmClient
500
500
  # Custom attribute writer method with validation
501
501
  # @param [Object] sock_read_timeout Value to be assigned
502
502
  def sock_read_timeout=(sock_read_timeout)
503
- if !sock_read_timeout.nil? && sock_read_timeout < 0.0
504
- fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
503
+ if !sock_read_timeout.nil? && sock_read_timeout < 0
504
+ fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
505
505
  end
506
506
 
507
507
  @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 PulpRpmClient
16
- # Base serializer for use with :class:`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.
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
@@ -13,10 +13,13 @@ OpenAPI Generator version: 4.3.1
13
13
  require 'date'
14
14
 
15
15
  module PulpRpmClient
16
- # Base serializer for use with :class:`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.
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 RepositoryVersionResponse
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
 
@@ -37,6 +40,7 @@ module PulpRpmClient
37
40
  def self.attribute_map
38
41
  {
39
42
  :'pulp_href' => :'pulp_href',
43
+ :'prn' => :'prn',
40
44
  :'pulp_created' => :'pulp_created',
41
45
  :'pulp_last_updated' => :'pulp_last_updated',
42
46
  :'number' => :'number',
@@ -50,6 +54,7 @@ module PulpRpmClient
50
54
  def self.openapi_types
51
55
  {
52
56
  :'pulp_href' => :'String',
57
+ :'prn' => :'String',
53
58
  :'pulp_created' => :'DateTime',
54
59
  :'pulp_last_updated' => :'DateTime',
55
60
  :'number' => :'Integer',
@@ -84,6 +89,10 @@ module PulpRpmClient
84
89
  self.pulp_href = attributes[:'pulp_href']
85
90
  end
86
91
 
92
+ if attributes.key?(:'prn')
93
+ self.prn = attributes[:'prn']
94
+ end
95
+
87
96
  if attributes.key?(:'pulp_created')
88
97
  self.pulp_created = attributes[:'pulp_created']
89
98
  end
@@ -128,6 +137,7 @@ module PulpRpmClient
128
137
  return true if self.equal?(o)
129
138
  self.class == o.class &&
130
139
  pulp_href == o.pulp_href &&
140
+ prn == o.prn &&
131
141
  pulp_created == o.pulp_created &&
132
142
  pulp_last_updated == o.pulp_last_updated &&
133
143
  number == o.number &&
@@ -145,7 +155,7 @@ module PulpRpmClient
145
155
  # Calculates hash code according to all attributes.
146
156
  # @return [Integer] Hash code
147
157
  def hash
148
- [pulp_href, pulp_created, pulp_last_updated, number, repository, base_version, content_summary].hash
158
+ [pulp_href, prn, pulp_created, pulp_last_updated, number, repository, base_version, content_summary].hash
149
159
  end
150
160
 
151
161
  # Builds the object from hash
@@ -83,11 +83,11 @@ module PulpRpmClient
83
83
  :'static_context' => :'Boolean',
84
84
  :'context' => :'String',
85
85
  :'arch' => :'String',
86
- :'artifacts' => :'Object',
87
- :'dependencies' => :'Object',
86
+ :'artifacts' => :'AnyType',
87
+ :'dependencies' => :'AnyType',
88
88
  :'packages' => :'Array<String>',
89
89
  :'snippet' => :'String',
90
- :'profiles' => :'Object',
90
+ :'profiles' => :'AnyType',
91
91
  :'description' => :'String'
92
92
  }
93
93
  end
@@ -47,7 +47,7 @@ module PulpRpmClient
47
47
  :'repository' => :'String',
48
48
  :'_module' => :'String',
49
49
  :'stream' => :'String',
50
- :'profiles' => :'Object',
50
+ :'profiles' => :'AnyType',
51
51
  :'snippet' => :'String'
52
52
  }
53
53
  end