pulpcore_client 3.61.0 → 3.63.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (208) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -4
  3. data/docs/AccessPoliciesApi.md +2 -0
  4. data/docs/AccessPolicyResponse.md +2 -0
  5. data/docs/ArtifactDistributionResponse.md +13 -11
  6. data/docs/ArtifactResponse.md +2 -0
  7. data/docs/ArtifactsApi.md +4 -2
  8. data/docs/CompositeContentGuardResponse.md +2 -0
  9. data/docs/ContentApi.md +8 -6
  10. data/docs/ContentGuardResponse.md +2 -0
  11. data/docs/ContentRedirectContentGuardResponse.md +2 -0
  12. data/docs/ContentguardsApi.md +2 -0
  13. data/docs/ContentguardsCompositeApi.md +2 -0
  14. data/docs/ContentguardsContentRedirectApi.md +2 -0
  15. data/docs/ContentguardsHeaderApi.md +2 -0
  16. data/docs/ContentguardsRbacApi.md +2 -0
  17. data/docs/DistributionResponse.md +2 -0
  18. data/docs/DistributionsApi.md +2 -0
  19. data/docs/DistributionsArtifactsApi.md +2 -0
  20. data/docs/DomainResponse.md +2 -0
  21. data/docs/DomainsApi.md +2 -0
  22. data/docs/ExportersFilesystemApi.md +2 -0
  23. data/docs/ExportersPulpApi.md +2 -0
  24. data/docs/FilesystemExportResponse.md +2 -0
  25. data/docs/FilesystemExporterResponse.md +2 -0
  26. data/docs/GroupResponse.md +2 -0
  27. data/docs/GroupRoleResponse.md +2 -0
  28. data/docs/GroupUserResponse.md +3 -1
  29. data/docs/GroupsApi.md +2 -0
  30. data/docs/GroupsRolesApi.md +2 -0
  31. data/docs/HeaderContentGuardResponse.md +2 -0
  32. data/docs/ImportResponse.md +2 -0
  33. data/docs/ImportersPulpApi.md +2 -0
  34. data/docs/MinimalTaskResponse.md +2 -0
  35. data/docs/MultipleArtifactContentResponse.md +2 -0
  36. data/docs/PatchedUpstreamPulp.md +2 -2
  37. data/docs/PublicationResponse.md +2 -0
  38. data/docs/PublicationsApi.md +10 -8
  39. data/docs/PulpExportResponse.md +2 -0
  40. data/docs/PulpExporterResponse.md +2 -0
  41. data/docs/PulpImporterResponse.md +2 -0
  42. data/docs/RBACContentGuardResponse.md +2 -0
  43. data/docs/RemoteResponse.md +2 -0
  44. data/docs/RemotesApi.md +2 -0
  45. data/docs/RepositoriesApi.md +6 -4
  46. data/docs/RepositoryResponse.md +2 -0
  47. data/docs/RepositoryVersionResponse.md +2 -0
  48. data/docs/RepositoryVersionsApi.md +6 -4
  49. data/docs/RoleResponse.md +2 -0
  50. data/docs/RolesApi.md +2 -0
  51. data/docs/SigningServiceResponse.md +2 -0
  52. data/docs/SigningServicesApi.md +2 -0
  53. data/docs/TaskGroupResponse.md +2 -0
  54. data/docs/TaskResponse.md +2 -0
  55. data/docs/TaskScheduleResponse.md +2 -0
  56. data/docs/TaskSchedulesApi.md +2 -0
  57. data/docs/TasksApi.md +2 -0
  58. data/docs/UploadDetailResponse.md +2 -0
  59. data/docs/UploadResponse.md +2 -0
  60. data/docs/UploadsApi.md +2 -0
  61. data/docs/UpstreamPulp.md +2 -2
  62. data/docs/UpstreamPulpResponse.md +4 -2
  63. data/docs/UpstreamPulpsApi.md +58 -0
  64. data/docs/UserGroupResponse.md +3 -1
  65. data/docs/UserResponse.md +2 -0
  66. data/docs/UserRoleResponse.md +2 -0
  67. data/docs/UsersApi.md +2 -0
  68. data/docs/UsersRolesApi.md +2 -0
  69. data/docs/WorkerResponse.md +2 -0
  70. data/docs/WorkersApi.md +2 -0
  71. data/lib/pulpcore_client/api/access_policies_api.rb +3 -0
  72. data/lib/pulpcore_client/api/artifacts_api.rb +5 -2
  73. data/lib/pulpcore_client/api/content_api.rb +9 -6
  74. data/lib/pulpcore_client/api/contentguards_api.rb +3 -0
  75. data/lib/pulpcore_client/api/contentguards_composite_api.rb +3 -0
  76. data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +3 -0
  77. data/lib/pulpcore_client/api/contentguards_header_api.rb +3 -0
  78. data/lib/pulpcore_client/api/contentguards_rbac_api.rb +3 -0
  79. data/lib/pulpcore_client/api/distributions_api.rb +3 -0
  80. data/lib/pulpcore_client/api/distributions_artifacts_api.rb +3 -0
  81. data/lib/pulpcore_client/api/domains_api.rb +3 -0
  82. data/lib/pulpcore_client/api/exporters_filesystem_api.rb +3 -0
  83. data/lib/pulpcore_client/api/exporters_pulp_api.rb +3 -0
  84. data/lib/pulpcore_client/api/groups_api.rb +3 -0
  85. data/lib/pulpcore_client/api/groups_roles_api.rb +3 -0
  86. data/lib/pulpcore_client/api/importers_pulp_api.rb +3 -0
  87. data/lib/pulpcore_client/api/publications_api.rb +12 -9
  88. data/lib/pulpcore_client/api/remotes_api.rb +3 -0
  89. data/lib/pulpcore_client/api/repositories_api.rb +7 -4
  90. data/lib/pulpcore_client/api/repository_versions_api.rb +8 -5
  91. data/lib/pulpcore_client/api/roles_api.rb +3 -0
  92. data/lib/pulpcore_client/api/signing_services_api.rb +3 -0
  93. data/lib/pulpcore_client/api/task_schedules_api.rb +3 -0
  94. data/lib/pulpcore_client/api/tasks_api.rb +3 -0
  95. data/lib/pulpcore_client/api/uploads_api.rb +3 -0
  96. data/lib/pulpcore_client/api/upstream_pulps_api.rb +91 -0
  97. data/lib/pulpcore_client/api/users_api.rb +3 -0
  98. data/lib/pulpcore_client/api/users_roles_api.rb +3 -0
  99. data/lib/pulpcore_client/api/workers_api.rb +3 -0
  100. data/lib/pulpcore_client/models/access_policy_response.rb +11 -1
  101. data/lib/pulpcore_client/models/artifact_distribution_response.rb +62 -52
  102. data/lib/pulpcore_client/models/artifact_response.rb +11 -1
  103. data/lib/pulpcore_client/models/composite_content_guard_response.rb +11 -1
  104. data/lib/pulpcore_client/models/content_guard_response.rb +11 -1
  105. data/lib/pulpcore_client/models/content_redirect_content_guard_response.rb +11 -1
  106. data/lib/pulpcore_client/models/distribution_response.rb +11 -1
  107. data/lib/pulpcore_client/models/domain_response.rb +11 -1
  108. data/lib/pulpcore_client/models/filesystem_export_response.rb +11 -1
  109. data/lib/pulpcore_client/models/filesystem_exporter_response.rb +11 -1
  110. data/lib/pulpcore_client/models/group_response.rb +10 -1
  111. data/lib/pulpcore_client/models/group_role_response.rb +11 -1
  112. data/lib/pulpcore_client/models/group_user_response.rb +13 -4
  113. data/lib/pulpcore_client/models/header_content_guard_response.rb +11 -1
  114. data/lib/pulpcore_client/models/import_response.rb +11 -1
  115. data/lib/pulpcore_client/models/minimal_task_response.rb +11 -1
  116. data/lib/pulpcore_client/models/multiple_artifact_content_response.rb +11 -1
  117. data/lib/pulpcore_client/models/patched_upstream_pulp.rb +9 -9
  118. data/lib/pulpcore_client/models/publication_response.rb +11 -1
  119. data/lib/pulpcore_client/models/pulp_export_response.rb +11 -1
  120. data/lib/pulpcore_client/models/pulp_exporter_response.rb +11 -1
  121. data/lib/pulpcore_client/models/pulp_importer_response.rb +11 -1
  122. data/lib/pulpcore_client/models/rbac_content_guard_response.rb +11 -1
  123. data/lib/pulpcore_client/models/remote_response.rb +11 -1
  124. data/lib/pulpcore_client/models/repository_response.rb +11 -1
  125. data/lib/pulpcore_client/models/repository_version_response.rb +11 -1
  126. data/lib/pulpcore_client/models/role_response.rb +11 -1
  127. data/lib/pulpcore_client/models/signing_service_response.rb +11 -1
  128. data/lib/pulpcore_client/models/task_group_response.rb +11 -1
  129. data/lib/pulpcore_client/models/task_response.rb +11 -1
  130. data/lib/pulpcore_client/models/task_schedule_response.rb +11 -1
  131. data/lib/pulpcore_client/models/upload_detail_response.rb +11 -1
  132. data/lib/pulpcore_client/models/upload_response.rb +11 -1
  133. data/lib/pulpcore_client/models/upstream_pulp.rb +9 -9
  134. data/lib/pulpcore_client/models/upstream_pulp_response.rb +19 -9
  135. data/lib/pulpcore_client/models/user_group_response.rb +13 -4
  136. data/lib/pulpcore_client/models/user_response.rb +10 -1
  137. data/lib/pulpcore_client/models/user_role_response.rb +11 -1
  138. data/lib/pulpcore_client/models/worker_response.rb +11 -1
  139. data/lib/pulpcore_client/version.rb +1 -1
  140. data/spec/api/access_policies_api_spec.rb +1 -0
  141. data/spec/api/artifacts_api_spec.rb +2 -1
  142. data/spec/api/content_api_spec.rb +4 -3
  143. data/spec/api/contentguards_api_spec.rb +1 -0
  144. data/spec/api/contentguards_composite_api_spec.rb +1 -0
  145. data/spec/api/contentguards_content_redirect_api_spec.rb +1 -0
  146. data/spec/api/contentguards_header_api_spec.rb +1 -0
  147. data/spec/api/contentguards_rbac_api_spec.rb +1 -0
  148. data/spec/api/distributions_api_spec.rb +1 -0
  149. data/spec/api/distributions_artifacts_api_spec.rb +1 -0
  150. data/spec/api/domains_api_spec.rb +1 -0
  151. data/spec/api/exporters_filesystem_api_spec.rb +1 -0
  152. data/spec/api/exporters_pulp_api_spec.rb +1 -0
  153. data/spec/api/groups_api_spec.rb +1 -0
  154. data/spec/api/groups_roles_api_spec.rb +1 -0
  155. data/spec/api/importers_pulp_api_spec.rb +1 -0
  156. data/spec/api/publications_api_spec.rb +5 -4
  157. data/spec/api/remotes_api_spec.rb +1 -0
  158. data/spec/api/repositories_api_spec.rb +3 -2
  159. data/spec/api/repository_versions_api_spec.rb +3 -2
  160. data/spec/api/roles_api_spec.rb +1 -0
  161. data/spec/api/signing_services_api_spec.rb +1 -0
  162. data/spec/api/task_schedules_api_spec.rb +1 -0
  163. data/spec/api/tasks_api_spec.rb +1 -0
  164. data/spec/api/uploads_api_spec.rb +1 -0
  165. data/spec/api/upstream_pulps_api_spec.rb +29 -0
  166. data/spec/api/users_api_spec.rb +1 -0
  167. data/spec/api/users_roles_api_spec.rb +1 -0
  168. data/spec/api/workers_api_spec.rb +1 -0
  169. data/spec/models/access_policy_response_spec.rb +6 -0
  170. data/spec/models/artifact_distribution_response_spec.rb +14 -8
  171. data/spec/models/artifact_response_spec.rb +6 -0
  172. data/spec/models/composite_content_guard_response_spec.rb +6 -0
  173. data/spec/models/content_guard_response_spec.rb +6 -0
  174. data/spec/models/content_redirect_content_guard_response_spec.rb +6 -0
  175. data/spec/models/distribution_response_spec.rb +6 -0
  176. data/spec/models/domain_response_spec.rb +6 -0
  177. data/spec/models/filesystem_export_response_spec.rb +6 -0
  178. data/spec/models/filesystem_exporter_response_spec.rb +6 -0
  179. data/spec/models/group_response_spec.rb +6 -0
  180. data/spec/models/group_role_response_spec.rb +6 -0
  181. data/spec/models/group_user_response_spec.rb +6 -0
  182. data/spec/models/header_content_guard_response_spec.rb +6 -0
  183. data/spec/models/import_response_spec.rb +6 -0
  184. data/spec/models/minimal_task_response_spec.rb +6 -0
  185. data/spec/models/multiple_artifact_content_response_spec.rb +6 -0
  186. data/spec/models/patched_upstream_pulp_spec.rb +1 -1
  187. data/spec/models/publication_response_spec.rb +6 -0
  188. data/spec/models/pulp_export_response_spec.rb +6 -0
  189. data/spec/models/pulp_exporter_response_spec.rb +6 -0
  190. data/spec/models/pulp_importer_response_spec.rb +6 -0
  191. data/spec/models/rbac_content_guard_response_spec.rb +6 -0
  192. data/spec/models/remote_response_spec.rb +6 -0
  193. data/spec/models/repository_response_spec.rb +6 -0
  194. data/spec/models/repository_version_response_spec.rb +6 -0
  195. data/spec/models/role_response_spec.rb +6 -0
  196. data/spec/models/signing_service_response_spec.rb +6 -0
  197. data/spec/models/task_group_response_spec.rb +6 -0
  198. data/spec/models/task_response_spec.rb +6 -0
  199. data/spec/models/task_schedule_response_spec.rb +6 -0
  200. data/spec/models/upload_detail_response_spec.rb +6 -0
  201. data/spec/models/upload_response_spec.rb +6 -0
  202. data/spec/models/upstream_pulp_response_spec.rb +7 -1
  203. data/spec/models/upstream_pulp_spec.rb +1 -1
  204. data/spec/models/user_group_response_spec.rb +6 -0
  205. data/spec/models/user_response_spec.rb +6 -0
  206. data/spec/models/user_role_response_spec.rb +6 -0
  207. data/spec/models/worker_response_spec.rb +6 -0
  208. metadata +2 -2
@@ -216,8 +216,37 @@ module PulpcoreClient
216
216
  # List upstream pulps
217
217
  # API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
218
218
  # @param [Hash] opts the optional parameters
219
+ # @option opts [String] :base_url Filter results where base_url matches value
220
+ # @option opts [String] :base_url__contains Filter results where base_url contains value
221
+ # @option opts [String] :base_url__icontains Filter results where base_url contains value
222
+ # @option opts [String] :base_url__iexact Filter results where base_url matches value
223
+ # @option opts [Array<String>] :base_url__in Filter results where base_url is in a comma-separated list of values
224
+ # @option opts [String] :base_url__iregex Filter results where base_url matches regex value
225
+ # @option opts [String] :base_url__istartswith Filter results where base_url starts with value
226
+ # @option opts [String] :base_url__regex Filter results where base_url matches regex value
227
+ # @option opts [String] :base_url__startswith Filter results where base_url starts with value
228
+ # @option opts [DateTime] :last_replication Filter results where last_replication matches value
229
+ # @option opts [DateTime] :last_replication__gt Filter results where last_replication is greater than value
230
+ # @option opts [DateTime] :last_replication__gte Filter results where last_replication is greater than or equal to value
231
+ # @option opts [DateTime] :last_replication__lt Filter results where last_replication is less than value
232
+ # @option opts [DateTime] :last_replication__lte Filter results where last_replication is less than or equal to value
233
+ # @option opts [Array<DateTime>] :last_replication__range Filter results where last_replication is between two comma separated values
219
234
  # @option opts [Integer] :limit Number of results to return per page.
235
+ # @option opts [String] :name Filter results where name matches value
236
+ # @option opts [String] :name__contains Filter results where name contains value
237
+ # @option opts [String] :name__icontains Filter results where name contains value
238
+ # @option opts [String] :name__iexact Filter results where name matches value
239
+ # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
240
+ # @option opts [String] :name__iregex Filter results where name matches regex value
241
+ # @option opts [String] :name__istartswith Filter results where name starts with value
242
+ # @option opts [String] :name__regex Filter results where name matches regex value
243
+ # @option opts [String] :name__startswith Filter results where name starts with value
220
244
  # @option opts [Integer] :offset The initial index from which to return the results.
245
+ # @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;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;base_url&#x60; - Base url * &#x60;-base_url&#x60; - Base url (descending) * &#x60;api_root&#x60; - Api root * &#x60;-api_root&#x60; - Api root (descending) * &#x60;domain&#x60; - Domain * &#x60;-domain&#x60; - Domain (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;pulp_label_select&#x60; - Pulp label select * &#x60;-pulp_label_select&#x60; - Pulp label select (descending) * &#x60;q_select&#x60; - Q select * &#x60;-q_select&#x60; - Q select (descending) * &#x60;last_replication&#x60; - Last replication * &#x60;-last_replication&#x60; - Last replication (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
246
+ # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
247
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
248
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
249
+ # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
221
250
  # @option opts [Array<String>] :fields A list of fields to include in the response.
222
251
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
223
252
  # @return [PaginatedUpstreamPulpResponseList]
@@ -229,8 +258,37 @@ module PulpcoreClient
229
258
  # List upstream pulps
230
259
  # API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
231
260
  # @param [Hash] opts the optional parameters
261
+ # @option opts [String] :base_url Filter results where base_url matches value
262
+ # @option opts [String] :base_url__contains Filter results where base_url contains value
263
+ # @option opts [String] :base_url__icontains Filter results where base_url contains value
264
+ # @option opts [String] :base_url__iexact Filter results where base_url matches value
265
+ # @option opts [Array<String>] :base_url__in Filter results where base_url is in a comma-separated list of values
266
+ # @option opts [String] :base_url__iregex Filter results where base_url matches regex value
267
+ # @option opts [String] :base_url__istartswith Filter results where base_url starts with value
268
+ # @option opts [String] :base_url__regex Filter results where base_url matches regex value
269
+ # @option opts [String] :base_url__startswith Filter results where base_url starts with value
270
+ # @option opts [DateTime] :last_replication Filter results where last_replication matches value
271
+ # @option opts [DateTime] :last_replication__gt Filter results where last_replication is greater than value
272
+ # @option opts [DateTime] :last_replication__gte Filter results where last_replication is greater than or equal to value
273
+ # @option opts [DateTime] :last_replication__lt Filter results where last_replication is less than value
274
+ # @option opts [DateTime] :last_replication__lte Filter results where last_replication is less than or equal to value
275
+ # @option opts [Array<DateTime>] :last_replication__range Filter results where last_replication is between two comma separated values
232
276
  # @option opts [Integer] :limit Number of results to return per page.
277
+ # @option opts [String] :name Filter results where name matches value
278
+ # @option opts [String] :name__contains Filter results where name contains value
279
+ # @option opts [String] :name__icontains Filter results where name contains value
280
+ # @option opts [String] :name__iexact Filter results where name matches value
281
+ # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
282
+ # @option opts [String] :name__iregex Filter results where name matches regex value
283
+ # @option opts [String] :name__istartswith Filter results where name starts with value
284
+ # @option opts [String] :name__regex Filter results where name matches regex value
285
+ # @option opts [String] :name__startswith Filter results where name starts with value
233
286
  # @option opts [Integer] :offset The initial index from which to return the results.
287
+ # @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;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;base_url&#x60; - Base url * &#x60;-base_url&#x60; - Base url (descending) * &#x60;api_root&#x60; - Api root * &#x60;-api_root&#x60; - Api root (descending) * &#x60;domain&#x60; - Domain * &#x60;-domain&#x60; - Domain (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;pulp_label_select&#x60; - Pulp label select * &#x60;-pulp_label_select&#x60; - Pulp label select (descending) * &#x60;q_select&#x60; - Q select * &#x60;-q_select&#x60; - Q select (descending) * &#x60;last_replication&#x60; - Last replication * &#x60;-last_replication&#x60; - Last replication (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
288
+ # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
289
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
290
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
291
+ # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
234
292
  # @option opts [Array<String>] :fields A list of fields to include in the response.
235
293
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
236
294
  # @return [Array<(PaginatedUpstreamPulpResponseList, Integer, Hash)>] PaginatedUpstreamPulpResponseList data, response status code and response headers
@@ -238,13 +296,46 @@ module PulpcoreClient
238
296
  if @api_client.config.debugging
239
297
  @api_client.config.logger.debug 'Calling API: UpstreamPulpsApi.list ...'
240
298
  end
299
+ allowable_values = ["-api_root", "-base_url", "-ca_cert", "-client_cert", "-client_key", "-domain", "-last_replication", "-name", "-password", "-pk", "-pulp_created", "-pulp_id", "-pulp_label_select", "-pulp_last_updated", "-q_select", "-tls_validation", "-username", "api_root", "base_url", "ca_cert", "client_cert", "client_key", "domain", "last_replication", "name", "password", "pk", "pulp_created", "pulp_id", "pulp_label_select", "pulp_last_updated", "q_select", "tls_validation", "username"]
300
+ if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
301
+ fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
302
+ end
241
303
  # resource path
242
304
  local_var_path = '/pulp/api/v3/upstream-pulps/'
243
305
 
244
306
  # query parameters
245
307
  query_params = opts[:query_params] || {}
308
+ query_params[:'base_url'] = opts[:'base_url'] if !opts[:'base_url'].nil?
309
+ query_params[:'base_url__contains'] = opts[:'base_url__contains'] if !opts[:'base_url__contains'].nil?
310
+ query_params[:'base_url__icontains'] = opts[:'base_url__icontains'] if !opts[:'base_url__icontains'].nil?
311
+ query_params[:'base_url__iexact'] = opts[:'base_url__iexact'] if !opts[:'base_url__iexact'].nil?
312
+ query_params[:'base_url__in'] = @api_client.build_collection_param(opts[:'base_url__in'], :csv) if !opts[:'base_url__in'].nil?
313
+ query_params[:'base_url__iregex'] = opts[:'base_url__iregex'] if !opts[:'base_url__iregex'].nil?
314
+ query_params[:'base_url__istartswith'] = opts[:'base_url__istartswith'] if !opts[:'base_url__istartswith'].nil?
315
+ query_params[:'base_url__regex'] = opts[:'base_url__regex'] if !opts[:'base_url__regex'].nil?
316
+ query_params[:'base_url__startswith'] = opts[:'base_url__startswith'] if !opts[:'base_url__startswith'].nil?
317
+ query_params[:'last_replication'] = opts[:'last_replication'] if !opts[:'last_replication'].nil?
318
+ query_params[:'last_replication__gt'] = opts[:'last_replication__gt'] if !opts[:'last_replication__gt'].nil?
319
+ query_params[:'last_replication__gte'] = opts[:'last_replication__gte'] if !opts[:'last_replication__gte'].nil?
320
+ query_params[:'last_replication__lt'] = opts[:'last_replication__lt'] if !opts[:'last_replication__lt'].nil?
321
+ query_params[:'last_replication__lte'] = opts[:'last_replication__lte'] if !opts[:'last_replication__lte'].nil?
322
+ query_params[:'last_replication__range'] = @api_client.build_collection_param(opts[:'last_replication__range'], :csv) if !opts[:'last_replication__range'].nil?
246
323
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
324
+ query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
325
+ query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
326
+ query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
327
+ query_params[:'name__iexact'] = opts[:'name__iexact'] if !opts[:'name__iexact'].nil?
328
+ query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
329
+ query_params[:'name__iregex'] = opts[:'name__iregex'] if !opts[:'name__iregex'].nil?
330
+ query_params[:'name__istartswith'] = opts[:'name__istartswith'] if !opts[:'name__istartswith'].nil?
331
+ query_params[:'name__regex'] = opts[:'name__regex'] if !opts[:'name__regex'].nil?
332
+ query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
247
333
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
334
+ query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
335
+ query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
336
+ query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
337
+ query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
338
+ query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
248
339
  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
249
340
  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
250
341
 
@@ -166,6 +166,7 @@ module PulpcoreClient
166
166
  # @option opts [Integer] :limit Number of results to return per page.
167
167
  # @option opts [Integer] :offset The initial index from which to return the results.
168
168
  # @option opts [Array<String>] :ordering Ordering * &#x60;id&#x60; - Id * &#x60;-id&#x60; - Id (descending) * &#x60;password&#x60; - Password * &#x60;-password&#x60; - Password (descending) * &#x60;last_login&#x60; - Last login * &#x60;-last_login&#x60; - Last login (descending) * &#x60;is_superuser&#x60; - Is superuser * &#x60;-is_superuser&#x60; - Is superuser (descending) * &#x60;username&#x60; - Username * &#x60;-username&#x60; - Username (descending) * &#x60;first_name&#x60; - First name * &#x60;-first_name&#x60; - First name (descending) * &#x60;last_name&#x60; - Last name * &#x60;-last_name&#x60; - Last name (descending) * &#x60;email&#x60; - Email * &#x60;-email&#x60; - Email (descending) * &#x60;is_staff&#x60; - Is staff * &#x60;-is_staff&#x60; - Is staff (descending) * &#x60;is_active&#x60; - Is active * &#x60;-is_active&#x60; - Is active (descending) * &#x60;date_joined&#x60; - Date joined * &#x60;-date_joined&#x60; - Date joined (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
169
+ # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
169
170
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
170
171
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
171
172
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
@@ -205,6 +206,7 @@ module PulpcoreClient
205
206
  # @option opts [Integer] :limit Number of results to return per page.
206
207
  # @option opts [Integer] :offset The initial index from which to return the results.
207
208
  # @option opts [Array<String>] :ordering Ordering * &#x60;id&#x60; - Id * &#x60;-id&#x60; - Id (descending) * &#x60;password&#x60; - Password * &#x60;-password&#x60; - Password (descending) * &#x60;last_login&#x60; - Last login * &#x60;-last_login&#x60; - Last login (descending) * &#x60;is_superuser&#x60; - Is superuser * &#x60;-is_superuser&#x60; - Is superuser (descending) * &#x60;username&#x60; - Username * &#x60;-username&#x60; - Username (descending) * &#x60;first_name&#x60; - First name * &#x60;-first_name&#x60; - First name (descending) * &#x60;last_name&#x60; - Last name * &#x60;-last_name&#x60; - Last name (descending) * &#x60;email&#x60; - Email * &#x60;-email&#x60; - Email (descending) * &#x60;is_staff&#x60; - Is staff * &#x60;-is_staff&#x60; - Is staff (descending) * &#x60;is_active&#x60; - Is active * &#x60;-is_active&#x60; - Is active (descending) * &#x60;date_joined&#x60; - Date joined * &#x60;-date_joined&#x60; - Date joined (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
209
+ # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
208
210
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
209
211
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
210
212
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
@@ -249,6 +251,7 @@ module PulpcoreClient
249
251
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
250
252
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
251
253
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
254
+ query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
252
255
  query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
253
256
  query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
254
257
  query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
@@ -158,6 +158,7 @@ module PulpcoreClient
158
158
  # @option opts [Integer] :limit Number of results to return per page.
159
159
  # @option opts [Integer] :offset The initial index from which to return the results.
160
160
  # @option opts [Array<String>] :ordering Ordering * &#x60;role&#x60; - Role * &#x60;-role&#x60; - Role (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
161
+ # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
161
162
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
162
163
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
163
164
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
@@ -183,6 +184,7 @@ module PulpcoreClient
183
184
  # @option opts [Integer] :limit Number of results to return per page.
184
185
  # @option opts [Integer] :offset The initial index from which to return the results.
185
186
  # @option opts [Array<String>] :ordering Ordering * &#x60;role&#x60; - Role * &#x60;-role&#x60; - Role (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
187
+ # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
186
188
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
187
189
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
188
190
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
@@ -216,6 +218,7 @@ module PulpcoreClient
216
218
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
217
219
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
218
220
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
221
+ query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
219
222
  query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
220
223
  query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
221
224
  query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
@@ -42,6 +42,7 @@ module PulpcoreClient
42
42
  # @option opts [Integer] :offset The initial index from which to return the results.
43
43
  # @option opts [Boolean] :online
44
44
  # @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;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;last_heartbeat&#x60; - Last heartbeat * &#x60;-last_heartbeat&#x60; - Last heartbeat (descending) * &#x60;versions&#x60; - Versions * &#x60;-versions&#x60; - Versions (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
45
+ # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
45
46
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
46
47
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
47
48
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
@@ -76,6 +77,7 @@ module PulpcoreClient
76
77
  # @option opts [Integer] :offset The initial index from which to return the results.
77
78
  # @option opts [Boolean] :online
78
79
  # @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;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;last_heartbeat&#x60; - Last heartbeat * &#x60;-last_heartbeat&#x60; - Last heartbeat (descending) * &#x60;versions&#x60; - Versions * &#x60;-versions&#x60; - Versions (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
80
+ # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
79
81
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
80
82
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
81
83
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
@@ -115,6 +117,7 @@ module PulpcoreClient
115
117
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
116
118
  query_params[:'online'] = opts[:'online'] if !opts[:'online'].nil?
117
119
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
120
+ query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
118
121
  query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
119
122
  query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
120
123
  query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
@@ -17,6 +17,9 @@ module PulpcoreClient
17
17
  class AccessPolicyResponse
18
18
  attr_accessor :pulp_href
19
19
 
20
+ # The Pulp Resource Name (PRN).
21
+ attr_accessor :prn
22
+
20
23
  # Timestamp of creation.
21
24
  attr_accessor :pulp_created
22
25
 
@@ -45,6 +48,7 @@ module PulpcoreClient
45
48
  def self.attribute_map
46
49
  {
47
50
  :'pulp_href' => :'pulp_href',
51
+ :'prn' => :'prn',
48
52
  :'pulp_created' => :'pulp_created',
49
53
  :'pulp_last_updated' => :'pulp_last_updated',
50
54
  :'permissions_assignment' => :'permissions_assignment',
@@ -60,6 +64,7 @@ module PulpcoreClient
60
64
  def self.openapi_types
61
65
  {
62
66
  :'pulp_href' => :'String',
67
+ :'prn' => :'String',
63
68
  :'pulp_created' => :'DateTime',
64
69
  :'pulp_last_updated' => :'DateTime',
65
70
  :'permissions_assignment' => :'Array<Object>',
@@ -96,6 +101,10 @@ module PulpcoreClient
96
101
  self.pulp_href = attributes[:'pulp_href']
97
102
  end
98
103
 
104
+ if attributes.key?(:'prn')
105
+ self.prn = attributes[:'prn']
106
+ end
107
+
99
108
  if attributes.key?(:'pulp_created')
100
109
  self.pulp_created = attributes[:'pulp_created']
101
110
  end
@@ -159,6 +168,7 @@ module PulpcoreClient
159
168
  return true if self.equal?(o)
160
169
  self.class == o.class &&
161
170
  pulp_href == o.pulp_href &&
171
+ prn == o.prn &&
162
172
  pulp_created == o.pulp_created &&
163
173
  pulp_last_updated == o.pulp_last_updated &&
164
174
  permissions_assignment == o.permissions_assignment &&
@@ -178,7 +188,7 @@ module PulpcoreClient
178
188
  # Calculates hash code according to all attributes.
179
189
  # @return [Integer] Hash code
180
190
  def hash
181
- [pulp_href, pulp_created, pulp_last_updated, permissions_assignment, creation_hooks, statements, viewset_name, customized, queryset_scoping].hash
191
+ [pulp_href, prn, pulp_created, pulp_last_updated, permissions_assignment, creation_hooks, statements, viewset_name, customized, queryset_scoping].hash
182
192
  end
183
193
 
184
194
  # Builds the object from hash
@@ -17,45 +17,49 @@ module PulpcoreClient
17
17
  class ArtifactDistributionResponse
18
18
  attr_accessor :pulp_labels
19
19
 
20
+ # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
21
+ attr_accessor :base_path
22
+
20
23
  # A unique name. Ex, `rawhide` and `stable`.
21
24
  attr_accessor :name
22
25
 
23
- # An optional content-guard.
24
- attr_accessor :content_guard
26
+ # The URL for accessing the publication as defined by this distribution.
27
+ attr_accessor :base_url
25
28
 
26
- # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
27
- attr_accessor :base_path
29
+ # Whether this distribution should be shown in the content app.
30
+ attr_accessor :hidden
31
+
32
+ # The Pulp Resource Name (PRN).
33
+ attr_accessor :prn
34
+
35
+ # Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
36
+ attr_accessor :no_content_change_since
28
37
 
29
38
  # 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.
30
39
  attr_accessor :pulp_last_updated
31
40
 
32
41
  attr_accessor :pulp_href
33
42
 
34
- # Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
35
- attr_accessor :no_content_change_since
36
-
37
- # Whether this distribution should be shown in the content app.
38
- attr_accessor :hidden
43
+ # An optional content-guard.
44
+ attr_accessor :content_guard
39
45
 
40
46
  # Timestamp of creation.
41
47
  attr_accessor :pulp_created
42
48
 
43
- # The URL for accessing the publication as defined by this distribution.
44
- attr_accessor :base_url
45
-
46
49
  # Attribute mapping from ruby-style variable name to JSON key.
47
50
  def self.attribute_map
48
51
  {
49
52
  :'pulp_labels' => :'pulp_labels',
50
- :'name' => :'name',
51
- :'content_guard' => :'content_guard',
52
53
  :'base_path' => :'base_path',
54
+ :'name' => :'name',
55
+ :'base_url' => :'base_url',
56
+ :'hidden' => :'hidden',
57
+ :'prn' => :'prn',
58
+ :'no_content_change_since' => :'no_content_change_since',
53
59
  :'pulp_last_updated' => :'pulp_last_updated',
54
60
  :'pulp_href' => :'pulp_href',
55
- :'no_content_change_since' => :'no_content_change_since',
56
- :'hidden' => :'hidden',
57
- :'pulp_created' => :'pulp_created',
58
- :'base_url' => :'base_url'
61
+ :'content_guard' => :'content_guard',
62
+ :'pulp_created' => :'pulp_created'
59
63
  }
60
64
  end
61
65
 
@@ -63,15 +67,16 @@ module PulpcoreClient
63
67
  def self.openapi_types
64
68
  {
65
69
  :'pulp_labels' => :'Hash<String, String>',
66
- :'name' => :'String',
67
- :'content_guard' => :'String',
68
70
  :'base_path' => :'String',
71
+ :'name' => :'String',
72
+ :'base_url' => :'String',
73
+ :'hidden' => :'Boolean',
74
+ :'prn' => :'String',
75
+ :'no_content_change_since' => :'String',
69
76
  :'pulp_last_updated' => :'DateTime',
70
77
  :'pulp_href' => :'String',
71
- :'no_content_change_since' => :'String',
72
- :'hidden' => :'Boolean',
73
- :'pulp_created' => :'DateTime',
74
- :'base_url' => :'String'
78
+ :'content_guard' => :'String',
79
+ :'pulp_created' => :'DateTime'
75
80
  }
76
81
  end
77
82
 
@@ -103,16 +108,30 @@ module PulpcoreClient
103
108
  end
104
109
  end
105
110
 
111
+ if attributes.key?(:'base_path')
112
+ self.base_path = attributes[:'base_path']
113
+ end
114
+
106
115
  if attributes.key?(:'name')
107
116
  self.name = attributes[:'name']
108
117
  end
109
118
 
110
- if attributes.key?(:'content_guard')
111
- self.content_guard = attributes[:'content_guard']
119
+ if attributes.key?(:'base_url')
120
+ self.base_url = attributes[:'base_url']
112
121
  end
113
122
 
114
- if attributes.key?(:'base_path')
115
- self.base_path = attributes[:'base_path']
123
+ if attributes.key?(:'hidden')
124
+ self.hidden = attributes[:'hidden']
125
+ else
126
+ self.hidden = false
127
+ end
128
+
129
+ if attributes.key?(:'prn')
130
+ self.prn = attributes[:'prn']
131
+ end
132
+
133
+ if attributes.key?(:'no_content_change_since')
134
+ self.no_content_change_since = attributes[:'no_content_change_since']
116
135
  end
117
136
 
118
137
  if attributes.key?(:'pulp_last_updated')
@@ -123,45 +142,35 @@ module PulpcoreClient
123
142
  self.pulp_href = attributes[:'pulp_href']
124
143
  end
125
144
 
126
- if attributes.key?(:'no_content_change_since')
127
- self.no_content_change_since = attributes[:'no_content_change_since']
128
- end
129
-
130
- if attributes.key?(:'hidden')
131
- self.hidden = attributes[:'hidden']
132
- else
133
- self.hidden = false
145
+ if attributes.key?(:'content_guard')
146
+ self.content_guard = attributes[:'content_guard']
134
147
  end
135
148
 
136
149
  if attributes.key?(:'pulp_created')
137
150
  self.pulp_created = attributes[:'pulp_created']
138
151
  end
139
-
140
- if attributes.key?(:'base_url')
141
- self.base_url = attributes[:'base_url']
142
- end
143
152
  end
144
153
 
145
154
  # Show invalid properties with the reasons. Usually used together with valid?
146
155
  # @return Array for valid properties with the reasons
147
156
  def list_invalid_properties
148
157
  invalid_properties = Array.new
149
- if @name.nil?
150
- invalid_properties.push('invalid value for "name", name cannot be nil.')
151
- end
152
-
153
158
  if @base_path.nil?
154
159
  invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
155
160
  end
156
161
 
162
+ if @name.nil?
163
+ invalid_properties.push('invalid value for "name", name cannot be nil.')
164
+ end
165
+
157
166
  invalid_properties
158
167
  end
159
168
 
160
169
  # Check to see if the all the properties in the model are valid
161
170
  # @return true if the model is valid
162
171
  def valid?
163
- return false if @name.nil?
164
172
  return false if @base_path.nil?
173
+ return false if @name.nil?
165
174
  true
166
175
  end
167
176
 
@@ -171,15 +180,16 @@ module PulpcoreClient
171
180
  return true if self.equal?(o)
172
181
  self.class == o.class &&
173
182
  pulp_labels == o.pulp_labels &&
174
- name == o.name &&
175
- content_guard == o.content_guard &&
176
183
  base_path == o.base_path &&
184
+ name == o.name &&
185
+ base_url == o.base_url &&
186
+ hidden == o.hidden &&
187
+ prn == o.prn &&
188
+ no_content_change_since == o.no_content_change_since &&
177
189
  pulp_last_updated == o.pulp_last_updated &&
178
190
  pulp_href == o.pulp_href &&
179
- no_content_change_since == o.no_content_change_since &&
180
- hidden == o.hidden &&
181
- pulp_created == o.pulp_created &&
182
- base_url == o.base_url
191
+ content_guard == o.content_guard &&
192
+ pulp_created == o.pulp_created
183
193
  end
184
194
 
185
195
  # @see the `==` method
@@ -191,7 +201,7 @@ module PulpcoreClient
191
201
  # Calculates hash code according to all attributes.
192
202
  # @return [Integer] Hash code
193
203
  def hash
194
- [pulp_labels, name, content_guard, base_path, pulp_last_updated, pulp_href, no_content_change_since, hidden, pulp_created, base_url].hash
204
+ [pulp_labels, base_path, name, base_url, hidden, prn, no_content_change_since, pulp_last_updated, pulp_href, content_guard, pulp_created].hash
195
205
  end
196
206
 
197
207
  # Builds the object from hash
@@ -17,6 +17,9 @@ module PulpcoreClient
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 PulpcoreClient
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 PulpcoreClient
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 PulpcoreClient
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 PulpcoreClient
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 PulpcoreClient
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
@@ -17,6 +17,9 @@ module PulpcoreClient
17
17
  class CompositeContentGuardResponse
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
 
@@ -36,6 +39,7 @@ module PulpcoreClient
36
39
  def self.attribute_map
37
40
  {
38
41
  :'pulp_href' => :'pulp_href',
42
+ :'prn' => :'prn',
39
43
  :'pulp_created' => :'pulp_created',
40
44
  :'pulp_last_updated' => :'pulp_last_updated',
41
45
  :'name' => :'name',
@@ -48,6 +52,7 @@ module PulpcoreClient
48
52
  def self.openapi_types
49
53
  {
50
54
  :'pulp_href' => :'String',
55
+ :'prn' => :'String',
51
56
  :'pulp_created' => :'DateTime',
52
57
  :'pulp_last_updated' => :'DateTime',
53
58
  :'name' => :'String',
@@ -82,6 +87,10 @@ module PulpcoreClient
82
87
  self.pulp_href = attributes[:'pulp_href']
83
88
  end
84
89
 
90
+ if attributes.key?(:'prn')
91
+ self.prn = attributes[:'prn']
92
+ end
93
+
85
94
  if attributes.key?(:'pulp_created')
86
95
  self.pulp_created = attributes[:'pulp_created']
87
96
  end
@@ -129,6 +138,7 @@ module PulpcoreClient
129
138
  return true if self.equal?(o)
130
139
  self.class == o.class &&
131
140
  pulp_href == o.pulp_href &&
141
+ prn == o.prn &&
132
142
  pulp_created == o.pulp_created &&
133
143
  pulp_last_updated == o.pulp_last_updated &&
134
144
  name == o.name &&
@@ -145,7 +155,7 @@ module PulpcoreClient
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, name, description, guards].hash
158
+ [pulp_href, prn, pulp_created, pulp_last_updated, name, description, guards].hash
149
159
  end
150
160
 
151
161
  # Builds the object from hash
@@ -17,6 +17,9 @@ module PulpcoreClient
17
17
  class ContentGuardResponse
18
18
  attr_accessor :pulp_href
19
19
 
20
+ # The Pulp Resource Name (PRN).
21
+ attr_accessor :prn
22
+
20
23
  # Timestamp of creation.
21
24
  attr_accessor :pulp_created
22
25
 
@@ -33,6 +36,7 @@ module PulpcoreClient
33
36
  def self.attribute_map
34
37
  {
35
38
  :'pulp_href' => :'pulp_href',
39
+ :'prn' => :'prn',
36
40
  :'pulp_created' => :'pulp_created',
37
41
  :'pulp_last_updated' => :'pulp_last_updated',
38
42
  :'name' => :'name',
@@ -44,6 +48,7 @@ module PulpcoreClient
44
48
  def self.openapi_types
45
49
  {
46
50
  :'pulp_href' => :'String',
51
+ :'prn' => :'String',
47
52
  :'pulp_created' => :'DateTime',
48
53
  :'pulp_last_updated' => :'DateTime',
49
54
  :'name' => :'String',
@@ -77,6 +82,10 @@ module PulpcoreClient
77
82
  self.pulp_href = attributes[:'pulp_href']
78
83
  end
79
84
 
85
+ if attributes.key?(:'prn')
86
+ self.prn = attributes[:'prn']
87
+ end
88
+
80
89
  if attributes.key?(:'pulp_created')
81
90
  self.pulp_created = attributes[:'pulp_created']
82
91
  end
@@ -118,6 +127,7 @@ module PulpcoreClient
118
127
  return true if self.equal?(o)
119
128
  self.class == o.class &&
120
129
  pulp_href == o.pulp_href &&
130
+ prn == o.prn &&
121
131
  pulp_created == o.pulp_created &&
122
132
  pulp_last_updated == o.pulp_last_updated &&
123
133
  name == o.name &&
@@ -133,7 +143,7 @@ module PulpcoreClient
133
143
  # Calculates hash code according to all attributes.
134
144
  # @return [Integer] Hash code
135
145
  def hash
136
- [pulp_href, pulp_created, pulp_last_updated, name, description].hash
146
+ [pulp_href, prn, pulp_created, pulp_last_updated, name, description].hash
137
147
  end
138
148
 
139
149
  # Builds the object from hash