pulpcore_client 3.22.25 → 3.23.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (99) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +26 -4
  3. data/docs/ArtifactDistributionResponse.md +9 -9
  4. data/docs/DistributionsApi.md +4 -0
  5. data/docs/DistributionsArtifactsApi.md +4 -0
  6. data/docs/Domain.md +27 -0
  7. data/docs/DomainResponse.md +31 -0
  8. data/docs/DomainsApi.md +362 -0
  9. data/docs/ExportersFilesystemApi.md +3 -3
  10. data/docs/ExportersFilesystemExportsApi.md +3 -3
  11. data/docs/GroupRole.md +3 -1
  12. data/docs/GroupRoleResponse.md +3 -1
  13. data/docs/GroupsApi.md +6 -6
  14. data/docs/GroupsRolesApi.md +6 -4
  15. data/docs/PaginatedDomainResponseList.md +23 -0
  16. data/docs/PaginatedUpstreamPulpResponseList.md +23 -0
  17. data/docs/PatchedDomain.md +27 -0
  18. data/docs/PatchedUpstreamPulp.md +37 -0
  19. data/docs/RepositoriesApi.md +16 -0
  20. data/docs/RepositoryResponse.md +1 -1
  21. data/docs/RolesApi.md +6 -6
  22. data/docs/StatusResponse.md +3 -1
  23. data/docs/StorageClassEnum.md +16 -0
  24. data/docs/TaskSchedulesApi.md +2 -2
  25. data/docs/TasksApi.md +1 -1
  26. data/docs/UpstreamPulp.md +37 -0
  27. data/docs/UpstreamPulpResponse.md +39 -0
  28. data/docs/UpstreamPulpsApi.md +405 -0
  29. data/docs/UserRole.md +4 -2
  30. data/docs/UserRoleResponse.md +4 -2
  31. data/docs/UsersApi.md +6 -6
  32. data/docs/UsersRolesApi.md +6 -4
  33. data/docs/VersionResponse.md +3 -1
  34. data/lib/pulpcore_client/api/distributions_api.rb +6 -0
  35. data/lib/pulpcore_client/api/distributions_artifacts_api.rb +6 -0
  36. data/lib/pulpcore_client/api/domains_api.rb +446 -0
  37. data/lib/pulpcore_client/api/exporters_filesystem_api.rb +6 -6
  38. data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +6 -6
  39. data/lib/pulpcore_client/api/groups_api.rb +12 -12
  40. data/lib/pulpcore_client/api/groups_roles_api.rb +11 -8
  41. data/lib/pulpcore_client/api/repositories_api.rb +24 -0
  42. data/lib/pulpcore_client/api/roles_api.rb +12 -12
  43. data/lib/pulpcore_client/api/task_schedules_api.rb +4 -4
  44. data/lib/pulpcore_client/api/tasks_api.rb +2 -2
  45. data/lib/pulpcore_client/api/upstream_pulps_api.rb +492 -0
  46. data/lib/pulpcore_client/api/users_api.rb +12 -12
  47. data/lib/pulpcore_client/api/users_roles_api.rb +11 -8
  48. data/lib/pulpcore_client/api/workers_api.rb +1 -1
  49. data/lib/pulpcore_client/models/artifact_distribution_response.rb +38 -38
  50. data/lib/pulpcore_client/models/domain.rb +323 -0
  51. data/lib/pulpcore_client/models/domain_response.rb +318 -0
  52. data/lib/pulpcore_client/models/group_role.rb +16 -5
  53. data/lib/pulpcore_client/models/group_role_response.rb +15 -4
  54. data/lib/pulpcore_client/models/nested_role.rb +19 -0
  55. data/lib/pulpcore_client/models/paginated_domain_response_list.rb +237 -0
  56. data/lib/pulpcore_client/models/paginated_upstream_pulp_response_list.rb +237 -0
  57. data/lib/pulpcore_client/models/patched_domain.rb +304 -0
  58. data/lib/pulpcore_client/models/patched_upstream_pulp.rb +450 -0
  59. data/lib/pulpcore_client/models/repository_response.rb +1 -1
  60. data/lib/pulpcore_client/models/status_response.rb +19 -4
  61. data/lib/pulpcore_client/models/storage_class_enum.rb +37 -0
  62. data/lib/pulpcore_client/models/upstream_pulp.rb +477 -0
  63. data/lib/pulpcore_client/models/upstream_pulp_response.rb +338 -0
  64. data/lib/pulpcore_client/models/user_role.rb +17 -6
  65. data/lib/pulpcore_client/models/user_role_response.rb +16 -5
  66. data/lib/pulpcore_client/models/version_response.rb +19 -4
  67. data/lib/pulpcore_client/version.rb +1 -1
  68. data/lib/pulpcore_client.rb +11 -0
  69. data/spec/api/distributions_api_spec.rb +2 -0
  70. data/spec/api/distributions_artifacts_api_spec.rb +2 -0
  71. data/spec/api/domains_api_spec.rb +120 -0
  72. data/spec/api/exporters_filesystem_api_spec.rb +3 -3
  73. data/spec/api/exporters_filesystem_exports_api_spec.rb +3 -3
  74. data/spec/api/groups_api_spec.rb +6 -6
  75. data/spec/api/groups_roles_api_spec.rb +5 -4
  76. data/spec/api/repositories_api_spec.rb +8 -0
  77. data/spec/api/roles_api_spec.rb +6 -6
  78. data/spec/api/task_schedules_api_spec.rb +2 -2
  79. data/spec/api/tasks_api_spec.rb +1 -1
  80. data/spec/api/upstream_pulps_api_spec.rb +127 -0
  81. data/spec/api/users_api_spec.rb +6 -6
  82. data/spec/api/users_roles_api_spec.rb +5 -4
  83. data/spec/models/artifact_distribution_response_spec.rb +6 -6
  84. data/spec/models/domain_response_spec.rb +83 -0
  85. data/spec/models/domain_spec.rb +71 -0
  86. data/spec/models/group_role_response_spec.rb +6 -0
  87. data/spec/models/group_role_spec.rb +6 -0
  88. data/spec/models/paginated_domain_response_list_spec.rb +59 -0
  89. data/spec/models/paginated_upstream_pulp_response_list_spec.rb +59 -0
  90. data/spec/models/patched_domain_spec.rb +71 -0
  91. data/spec/models/patched_upstream_pulp_spec.rb +101 -0
  92. data/spec/models/status_response_spec.rb +6 -0
  93. data/spec/models/storage_class_enum_spec.rb +35 -0
  94. data/spec/models/upstream_pulp_response_spec.rb +107 -0
  95. data/spec/models/upstream_pulp_spec.rb +101 -0
  96. data/spec/models/user_role_response_spec.rb +6 -0
  97. data/spec/models/user_role_spec.rb +6 -0
  98. data/spec/models/version_response_spec.rb +6 -0
  99. metadata +173 -129
@@ -20,7 +20,7 @@ module PulpcoreClient
20
20
  @api_client = api_client
21
21
  end
22
22
  # Create a group role
23
- # ViewSet for GroupRole. NOTE: This API endpoint is in \"tech preview\" and subject to change
23
+ # ViewSet for GroupRole.
24
24
  # @param group_href [String]
25
25
  # @param group_role [GroupRole]
26
26
  # @param [Hash] opts the optional parameters
@@ -31,7 +31,7 @@ module PulpcoreClient
31
31
  end
32
32
 
33
33
  # Create a group role
34
- # ViewSet for GroupRole. NOTE: This API endpoint is in \"tech preview\" and subject to change
34
+ # ViewSet for GroupRole.
35
35
  # @param group_href [String]
36
36
  # @param group_role [GroupRole]
37
37
  # @param [Hash] opts the optional parameters
@@ -90,7 +90,7 @@ module PulpcoreClient
90
90
  end
91
91
 
92
92
  # Delete a group role
93
- # ViewSet for GroupRole. NOTE: This API endpoint is in \"tech preview\" and subject to change
93
+ # ViewSet for GroupRole.
94
94
  # @param groups_group_role_href [String]
95
95
  # @param [Hash] opts the optional parameters
96
96
  # @return [nil]
@@ -100,7 +100,7 @@ module PulpcoreClient
100
100
  end
101
101
 
102
102
  # Delete a group role
103
- # ViewSet for GroupRole. NOTE: This API endpoint is in \"tech preview\" and subject to change
103
+ # ViewSet for GroupRole.
104
104
  # @param groups_group_role_href [String]
105
105
  # @param [Hash] opts the optional parameters
106
106
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
@@ -150,10 +150,11 @@ module PulpcoreClient
150
150
  end
151
151
 
152
152
  # List group roles
153
- # ViewSet for GroupRole. NOTE: This API endpoint is in \"tech preview\" and subject to change
153
+ # ViewSet for GroupRole.
154
154
  # @param group_href [String]
155
155
  # @param [Hash] opts the optional parameters
156
156
  # @option opts [String] :content_object content_object
157
+ # @option opts [String] :domain Foreign Key referenced by HREF
157
158
  # @option opts [Integer] :limit Number of results to return per page.
158
159
  # @option opts [Integer] :offset The initial index from which to return the results.
159
160
  # @option opts [Array<String>] :ordering Ordering
@@ -171,10 +172,11 @@ module PulpcoreClient
171
172
  end
172
173
 
173
174
  # List group roles
174
- # ViewSet for GroupRole. NOTE: This API endpoint is in \&quot;tech preview\&quot; and subject to change
175
+ # ViewSet for GroupRole.
175
176
  # @param group_href [String]
176
177
  # @param [Hash] opts the optional parameters
177
178
  # @option opts [String] :content_object content_object
179
+ # @option opts [String] :domain Foreign Key referenced by HREF
178
180
  # @option opts [Integer] :limit Number of results to return per page.
179
181
  # @option opts [Integer] :offset The initial index from which to return the results.
180
182
  # @option opts [Array<String>] :ordering Ordering
@@ -204,6 +206,7 @@ module PulpcoreClient
204
206
  # query parameters
205
207
  query_params = opts[:query_params] || {}
206
208
  query_params[:'content_object'] = opts[:'content_object'] if !opts[:'content_object'].nil?
209
+ query_params[:'domain'] = opts[:'domain'] if !opts[:'domain'].nil?
207
210
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
208
211
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
209
212
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
@@ -249,7 +252,7 @@ module PulpcoreClient
249
252
  end
250
253
 
251
254
  # Inspect a group role
252
- # ViewSet for GroupRole. NOTE: This API endpoint is in \"tech preview\" and subject to change
255
+ # ViewSet for GroupRole.
253
256
  # @param groups_group_role_href [String]
254
257
  # @param [Hash] opts the optional parameters
255
258
  # @option opts [Array<String>] :fields A list of fields to include in the response.
@@ -261,7 +264,7 @@ module PulpcoreClient
261
264
  end
262
265
 
263
266
  # Inspect a group role
264
- # ViewSet for GroupRole. NOTE: This API endpoint is in \&quot;tech preview\&quot; and subject to change
267
+ # ViewSet for GroupRole.
265
268
  # @param groups_group_role_href [String]
266
269
  # @param [Hash] opts the optional parameters
267
270
  # @option opts [Array<String>] :fields A list of fields to include in the response.
@@ -32,6 +32,14 @@ module PulpcoreClient
32
32
  # @option opts [Array<String>] :ordering Ordering
33
33
  # @option opts [String] :pulp_label_select Filter labels by search string
34
34
  # @option opts [String] :remote Foreign Key referenced by HREF
35
+ # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
36
+ # @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
37
+ # @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
38
+ # @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
39
+ # @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
40
+ # @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
41
+ # @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
42
+ # @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
35
43
  # @option opts [Array<String>] :fields A list of fields to include in the response.
36
44
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
37
45
  # @return [PaginatedRepositoryResponseList]
@@ -53,6 +61,14 @@ module PulpcoreClient
53
61
  # @option opts [Array<String>] :ordering Ordering
54
62
  # @option opts [String] :pulp_label_select Filter labels by search string
55
63
  # @option opts [String] :remote Foreign Key referenced by HREF
64
+ # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
65
+ # @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
66
+ # @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
67
+ # @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
68
+ # @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
69
+ # @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
70
+ # @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
71
+ # @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
56
72
  # @option opts [Array<String>] :fields A list of fields to include in the response.
57
73
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
58
74
  # @return [Array<(PaginatedRepositoryResponseList, Integer, Hash)>] PaginatedRepositoryResponseList data, response status code and response headers
@@ -79,6 +95,14 @@ module PulpcoreClient
79
95
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
80
96
  query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
81
97
  query_params[:'remote'] = opts[:'remote'] if !opts[:'remote'].nil?
98
+ query_params[:'retain_repo_versions'] = opts[:'retain_repo_versions'] if !opts[:'retain_repo_versions'].nil?
99
+ query_params[:'retain_repo_versions__gt'] = opts[:'retain_repo_versions__gt'] if !opts[:'retain_repo_versions__gt'].nil?
100
+ query_params[:'retain_repo_versions__gte'] = opts[:'retain_repo_versions__gte'] if !opts[:'retain_repo_versions__gte'].nil?
101
+ query_params[:'retain_repo_versions__isnull'] = opts[:'retain_repo_versions__isnull'] if !opts[:'retain_repo_versions__isnull'].nil?
102
+ query_params[:'retain_repo_versions__lt'] = opts[:'retain_repo_versions__lt'] if !opts[:'retain_repo_versions__lt'].nil?
103
+ query_params[:'retain_repo_versions__lte'] = opts[:'retain_repo_versions__lte'] if !opts[:'retain_repo_versions__lte'].nil?
104
+ query_params[:'retain_repo_versions__ne'] = opts[:'retain_repo_versions__ne'] if !opts[:'retain_repo_versions__ne'].nil?
105
+ query_params[:'retain_repo_versions__range'] = @api_client.build_collection_param(opts[:'retain_repo_versions__range'], :csv) if !opts[:'retain_repo_versions__range'].nil?
82
106
  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
83
107
  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
84
108
 
@@ -20,7 +20,7 @@ module PulpcoreClient
20
20
  @api_client = api_client
21
21
  end
22
22
  # Create a role
23
- # ViewSet for Role. NOTE: This API endpoint is in \"tech preview\" and subject to change
23
+ # ViewSet for Role.
24
24
  # @param role [Role]
25
25
  # @param [Hash] opts the optional parameters
26
26
  # @return [RoleResponse]
@@ -30,7 +30,7 @@ module PulpcoreClient
30
30
  end
31
31
 
32
32
  # Create a role
33
- # ViewSet for Role. NOTE: This API endpoint is in \&quot;tech preview\&quot; and subject to change
33
+ # ViewSet for Role.
34
34
  # @param role [Role]
35
35
  # @param [Hash] opts the optional parameters
36
36
  # @return [Array<(RoleResponse, Integer, Hash)>] RoleResponse data, response status code and response headers
@@ -84,7 +84,7 @@ module PulpcoreClient
84
84
  end
85
85
 
86
86
  # Delete a role
87
- # ViewSet for Role. NOTE: This API endpoint is in \"tech preview\" and subject to change
87
+ # ViewSet for Role.
88
88
  # @param role_href [String]
89
89
  # @param [Hash] opts the optional parameters
90
90
  # @return [nil]
@@ -94,7 +94,7 @@ module PulpcoreClient
94
94
  end
95
95
 
96
96
  # Delete a role
97
- # ViewSet for Role. NOTE: This API endpoint is in \&quot;tech preview\&quot; and subject to change
97
+ # ViewSet for Role.
98
98
  # @param role_href [String]
99
99
  # @param [Hash] opts the optional parameters
100
100
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
@@ -144,7 +144,7 @@ module PulpcoreClient
144
144
  end
145
145
 
146
146
  # List roles
147
- # ViewSet for Role. NOTE: This API endpoint is in \"tech preview\" and subject to change
147
+ # ViewSet for Role.
148
148
  # @param [Hash] opts the optional parameters
149
149
  # @option opts [Array<String>] :contains_permission Filter roles that have any of the permissions in the list.
150
150
  # @option opts [String] :description Filter results where description matches value
@@ -170,7 +170,7 @@ module PulpcoreClient
170
170
  end
171
171
 
172
172
  # List roles
173
- # ViewSet for Role. NOTE: This API endpoint is in \&quot;tech preview\&quot; and subject to change
173
+ # ViewSet for Role.
174
174
  # @param [Hash] opts the optional parameters
175
175
  # @option opts [Array<String>] :contains_permission Filter roles that have any of the permissions in the list.
176
176
  # @option opts [String] :description Filter results where description matches value
@@ -255,7 +255,7 @@ module PulpcoreClient
255
255
  end
256
256
 
257
257
  # Update a role
258
- # ViewSet for Role. NOTE: This API endpoint is in \"tech preview\" and subject to change
258
+ # ViewSet for Role.
259
259
  # @param role_href [String]
260
260
  # @param patched_role [PatchedRole]
261
261
  # @param [Hash] opts the optional parameters
@@ -266,7 +266,7 @@ module PulpcoreClient
266
266
  end
267
267
 
268
268
  # Update a role
269
- # ViewSet for Role. NOTE: This API endpoint is in \&quot;tech preview\&quot; and subject to change
269
+ # ViewSet for Role.
270
270
  # @param role_href [String]
271
271
  # @param patched_role [PatchedRole]
272
272
  # @param [Hash] opts the optional parameters
@@ -325,7 +325,7 @@ module PulpcoreClient
325
325
  end
326
326
 
327
327
  # Inspect a role
328
- # ViewSet for Role. NOTE: This API endpoint is in \"tech preview\" and subject to change
328
+ # ViewSet for Role.
329
329
  # @param role_href [String]
330
330
  # @param [Hash] opts the optional parameters
331
331
  # @option opts [Array<String>] :fields A list of fields to include in the response.
@@ -337,7 +337,7 @@ module PulpcoreClient
337
337
  end
338
338
 
339
339
  # Inspect a role
340
- # ViewSet for Role. NOTE: This API endpoint is in \&quot;tech preview\&quot; and subject to change
340
+ # ViewSet for Role.
341
341
  # @param role_href [String]
342
342
  # @param [Hash] opts the optional parameters
343
343
  # @option opts [Array<String>] :fields A list of fields to include in the response.
@@ -393,7 +393,7 @@ module PulpcoreClient
393
393
  end
394
394
 
395
395
  # Update a role
396
- # ViewSet for Role. NOTE: This API endpoint is in \"tech preview\" and subject to change
396
+ # ViewSet for Role.
397
397
  # @param role_href [String]
398
398
  # @param role [Role]
399
399
  # @param [Hash] opts the optional parameters
@@ -404,7 +404,7 @@ module PulpcoreClient
404
404
  end
405
405
 
406
406
  # Update a role
407
- # ViewSet for Role. NOTE: This API endpoint is in \&quot;tech preview\&quot; and subject to change
407
+ # ViewSet for Role.
408
408
  # @param role_href [String]
409
409
  # @param role [Role]
410
410
  # @param [Hash] opts the optional parameters
@@ -88,7 +88,7 @@ module PulpcoreClient
88
88
  end
89
89
 
90
90
  # List task schedules
91
- # ViewSet to monitor task schedules. NOTE: This feature is in tech-preview and may change in backwards incompatible ways.
91
+ # ViewSet to monitor task schedules.
92
92
  # @param [Hash] opts the optional parameters
93
93
  # @option opts [Integer] :limit Number of results to return per page.
94
94
  # @option opts [String] :name Filter results where name matches value
@@ -106,7 +106,7 @@ module PulpcoreClient
106
106
  end
107
107
 
108
108
  # List task schedules
109
- # ViewSet to monitor task schedules. NOTE: This feature is in tech-preview and may change in backwards incompatible ways.
109
+ # ViewSet to monitor task schedules.
110
110
  # @param [Hash] opts the optional parameters
111
111
  # @option opts [Integer] :limit Number of results to return per page.
112
112
  # @option opts [String] :name Filter results where name matches value
@@ -307,7 +307,7 @@ module PulpcoreClient
307
307
  end
308
308
 
309
309
  # Inspect a task schedule
310
- # ViewSet to monitor task schedules. NOTE: This feature is in tech-preview and may change in backwards incompatible ways.
310
+ # ViewSet to monitor task schedules.
311
311
  # @param task_schedule_href [String]
312
312
  # @param [Hash] opts the optional parameters
313
313
  # @option opts [Array<String>] :fields A list of fields to include in the response.
@@ -319,7 +319,7 @@ module PulpcoreClient
319
319
  end
320
320
 
321
321
  # Inspect a task schedule
322
- # ViewSet to monitor task schedules. NOTE: This feature is in tech-preview and may change in backwards incompatible ways.
322
+ # ViewSet to monitor task schedules.
323
323
  # @param task_schedule_href [String]
324
324
  # @param [Hash] opts the optional parameters
325
325
  # @option opts [Array<String>] :fields A list of fields to include in the response.
@@ -455,7 +455,7 @@ module PulpcoreClient
455
455
  end
456
456
 
457
457
  # Purge Completed Tasks
458
- # Trigger an asynchronous task that deletes completed tasks that finished prior to a specified timestamp (tech-preview, may change in the future).
458
+ # Trigger an asynchronous task that deletes completed tasks that finished prior to a specified timestamp.
459
459
  # @param purge [Purge]
460
460
  # @param [Hash] opts the optional parameters
461
461
  # @return [AsyncOperationResponse]
@@ -465,7 +465,7 @@ module PulpcoreClient
465
465
  end
466
466
 
467
467
  # Purge Completed Tasks
468
- # Trigger an asynchronous task that deletes completed tasks that finished prior to a specified timestamp (tech-preview, may change in the future).
468
+ # Trigger an asynchronous task that deletes completed tasks that finished prior to a specified timestamp.
469
469
  # @param purge [Purge]
470
470
  # @param [Hash] opts the optional parameters
471
471
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers