pulpcore_client 3.22.28 → 3.22.29

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 (123) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +144 -142
  3. data/docs/AccessPoliciesApi.md +26 -26
  4. data/docs/ArtifactDistributionResponse.md +8 -8
  5. data/docs/ArtifactsApi.md +21 -21
  6. data/docs/ContentApi.md +6 -6
  7. data/docs/ContentguardsApi.md +6 -6
  8. data/docs/ContentguardsContentRedirectApi.md +51 -51
  9. data/docs/ContentguardsRbacApi.md +51 -51
  10. data/docs/DistributionsApi.md +6 -6
  11. data/docs/DistributionsArtifactsApi.md +11 -11
  12. data/docs/DocsApiJsonApi.md +61 -0
  13. data/docs/DocsApiYamlApi.md +61 -0
  14. data/docs/ExportersFilesystemApi.md +31 -31
  15. data/docs/ExportersFilesystemExportsApi.md +21 -21
  16. data/docs/ExportersPulpApi.md +31 -31
  17. data/docs/ExportersPulpExportsApi.md +21 -21
  18. data/docs/GroupsApi.md +51 -51
  19. data/docs/GroupsRolesApi.md +21 -21
  20. data/docs/GroupsUsersApi.md +16 -16
  21. data/docs/ImportersPulpApi.md +31 -31
  22. data/docs/ImportersPulpImportCheckApi.md +1 -1
  23. data/docs/ImportersPulpImportsApi.md +21 -21
  24. data/docs/OrphansApi.md +6 -6
  25. data/docs/OrphansCleanupApi.md +6 -6
  26. data/docs/PublicationsApi.md +6 -6
  27. data/docs/RemoteResponseHiddenFields.md +2 -2
  28. data/docs/RemotesApi.md +6 -6
  29. data/docs/RepairApi.md +6 -6
  30. data/docs/RepositoriesApi.md +6 -6
  31. data/docs/RepositoriesReclaimSpaceApi.md +6 -6
  32. data/docs/RepositoryVersionsApi.md +6 -6
  33. data/docs/RolesApi.md +31 -31
  34. data/docs/SigningServicesApi.md +11 -11
  35. data/docs/StatusApi.md +1 -1
  36. data/docs/TaskGroupsApi.md +11 -11
  37. data/docs/TaskSchedulesApi.md +31 -31
  38. data/docs/TasksApi.md +96 -96
  39. data/docs/UploadsApi.md +51 -51
  40. data/docs/UsersApi.md +31 -31
  41. data/docs/UsersRolesApi.md +21 -21
  42. data/docs/WorkersApi.md +11 -11
  43. data/lib/pulpcore_client/api/access_policies_api.rb +31 -31
  44. data/lib/pulpcore_client/api/artifacts_api.rb +29 -29
  45. data/lib/pulpcore_client/api/content_api.rb +5 -5
  46. data/lib/pulpcore_client/api/contentguards_api.rb +5 -5
  47. data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +63 -63
  48. data/lib/pulpcore_client/api/contentguards_rbac_api.rb +63 -63
  49. data/lib/pulpcore_client/api/distributions_api.rb +5 -5
  50. data/lib/pulpcore_client/api/distributions_artifacts_api.rb +11 -11
  51. data/lib/pulpcore_client/api/docs_api_json_api.rb +89 -0
  52. data/lib/pulpcore_client/api/docs_api_yaml_api.rb +89 -0
  53. data/lib/pulpcore_client/api/exporters_filesystem_api.rb +37 -37
  54. data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +25 -25
  55. data/lib/pulpcore_client/api/exporters_pulp_api.rb +37 -37
  56. data/lib/pulpcore_client/api/exporters_pulp_exports_api.rb +25 -25
  57. data/lib/pulpcore_client/api/groups_api.rb +63 -63
  58. data/lib/pulpcore_client/api/groups_roles_api.rb +25 -25
  59. data/lib/pulpcore_client/api/groups_users_api.rb +19 -19
  60. data/lib/pulpcore_client/api/importers_pulp_api.rb +37 -37
  61. data/lib/pulpcore_client/api/importers_pulp_imports_api.rb +25 -25
  62. data/lib/pulpcore_client/api/orphans_api.rb +5 -5
  63. data/lib/pulpcore_client/api/orphans_cleanup_api.rb +6 -6
  64. data/lib/pulpcore_client/api/publications_api.rb +5 -5
  65. data/lib/pulpcore_client/api/remotes_api.rb +5 -5
  66. data/lib/pulpcore_client/api/repair_api.rb +6 -6
  67. data/lib/pulpcore_client/api/repositories_api.rb +5 -5
  68. data/lib/pulpcore_client/api/repositories_reclaim_space_api.rb +6 -6
  69. data/lib/pulpcore_client/api/repository_versions_api.rb +5 -5
  70. data/lib/pulpcore_client/api/roles_api.rb +37 -37
  71. data/lib/pulpcore_client/api/signing_services_api.rb +11 -11
  72. data/lib/pulpcore_client/api/task_groups_api.rb +11 -11
  73. data/lib/pulpcore_client/api/task_schedules_api.rb +37 -37
  74. data/lib/pulpcore_client/api/tasks_api.rb +119 -119
  75. data/lib/pulpcore_client/api/uploads_api.rb +65 -65
  76. data/lib/pulpcore_client/api/users_api.rb +37 -37
  77. data/lib/pulpcore_client/api/users_roles_api.rb +25 -25
  78. data/lib/pulpcore_client/api/workers_api.rb +11 -11
  79. data/lib/pulpcore_client/configuration.rb +3 -3
  80. data/lib/pulpcore_client/models/artifact_distribution_response.rb +37 -37
  81. data/lib/pulpcore_client/models/remote_response.rb +20 -20
  82. data/lib/pulpcore_client/models/remote_response_hidden_fields.rb +10 -0
  83. data/lib/pulpcore_client/version.rb +1 -1
  84. data/lib/pulpcore_client.rb +2 -0
  85. data/spec/api/access_policies_api_spec.rb +10 -10
  86. data/spec/api/artifacts_api_spec.rb +8 -8
  87. data/spec/api/content_api_spec.rb +2 -2
  88. data/spec/api/contentguards_api_spec.rb +2 -2
  89. data/spec/api/contentguards_content_redirect_api_spec.rb +20 -20
  90. data/spec/api/contentguards_rbac_api_spec.rb +20 -20
  91. data/spec/api/distributions_api_spec.rb +2 -2
  92. data/spec/api/distributions_artifacts_api_spec.rb +4 -4
  93. data/spec/api/docs_api_json_api_spec.rb +48 -0
  94. data/spec/api/docs_api_yaml_api_spec.rb +48 -0
  95. data/spec/api/exporters_filesystem_api_spec.rb +12 -12
  96. data/spec/api/exporters_filesystem_exports_api_spec.rb +8 -8
  97. data/spec/api/exporters_pulp_api_spec.rb +12 -12
  98. data/spec/api/exporters_pulp_exports_api_spec.rb +8 -8
  99. data/spec/api/groups_api_spec.rb +20 -20
  100. data/spec/api/groups_roles_api_spec.rb +8 -8
  101. data/spec/api/groups_users_api_spec.rb +6 -6
  102. data/spec/api/importers_pulp_api_spec.rb +12 -12
  103. data/spec/api/importers_pulp_imports_api_spec.rb +8 -8
  104. data/spec/api/orphans_api_spec.rb +2 -2
  105. data/spec/api/orphans_cleanup_api_spec.rb +2 -2
  106. data/spec/api/publications_api_spec.rb +2 -2
  107. data/spec/api/remotes_api_spec.rb +2 -2
  108. data/spec/api/repair_api_spec.rb +2 -2
  109. data/spec/api/repositories_api_spec.rb +2 -2
  110. data/spec/api/repositories_reclaim_space_api_spec.rb +2 -2
  111. data/spec/api/repository_versions_api_spec.rb +2 -2
  112. data/spec/api/roles_api_spec.rb +12 -12
  113. data/spec/api/signing_services_api_spec.rb +4 -4
  114. data/spec/api/task_groups_api_spec.rb +4 -4
  115. data/spec/api/task_schedules_api_spec.rb +12 -12
  116. data/spec/api/tasks_api_spec.rb +29 -29
  117. data/spec/api/uploads_api_spec.rb +20 -20
  118. data/spec/api/users_api_spec.rb +12 -12
  119. data/spec/api/users_roles_api_spec.rb +8 -8
  120. data/spec/api/workers_api_spec.rb +4 -4
  121. data/spec/configuration_spec.rb +3 -3
  122. data/spec/models/artifact_distribution_response_spec.rb +5 -5
  123. metadata +152 -144
@@ -25,8 +25,8 @@ module PulpcoreClient
25
25
  # @param user_role [UserRole]
26
26
  # @param [Hash] opts the optional parameters
27
27
  # @return [UserRoleResponse]
28
- def create(auth_user_href, user_role, opts = {})
29
- data, _status_code, _headers = create_with_http_info(auth_user_href, user_role, opts)
28
+ def users_roles_create(auth_user_href, user_role, opts = {})
29
+ data, _status_code, _headers = users_roles_create_with_http_info(auth_user_href, user_role, opts)
30
30
  data
31
31
  end
32
32
 
@@ -36,17 +36,17 @@ module PulpcoreClient
36
36
  # @param user_role [UserRole]
37
37
  # @param [Hash] opts the optional parameters
38
38
  # @return [Array<(UserRoleResponse, Integer, Hash)>] UserRoleResponse data, response status code and response headers
39
- def create_with_http_info(auth_user_href, user_role, opts = {})
39
+ def users_roles_create_with_http_info(auth_user_href, user_role, opts = {})
40
40
  if @api_client.config.debugging
41
- @api_client.config.logger.debug 'Calling API: UsersRolesApi.create ...'
41
+ @api_client.config.logger.debug 'Calling API: UsersRolesApi.users_roles_create ...'
42
42
  end
43
43
  # verify the required parameter 'auth_user_href' is set
44
44
  if @api_client.config.client_side_validation && auth_user_href.nil?
45
- fail ArgumentError, "Missing the required parameter 'auth_user_href' when calling UsersRolesApi.create"
45
+ fail ArgumentError, "Missing the required parameter 'auth_user_href' when calling UsersRolesApi.users_roles_create"
46
46
  end
47
47
  # verify the required parameter 'user_role' is set
48
48
  if @api_client.config.client_side_validation && user_role.nil?
49
- fail ArgumentError, "Missing the required parameter 'user_role' when calling UsersRolesApi.create"
49
+ fail ArgumentError, "Missing the required parameter 'user_role' when calling UsersRolesApi.users_roles_create"
50
50
  end
51
51
  # resource path
52
52
  local_var_path = '{auth_user_href}roles/'.sub('{' + 'auth_user_href' + '}', CGI.escape(auth_user_href.to_s).gsub('%2F', '/'))
@@ -84,7 +84,7 @@ module PulpcoreClient
84
84
 
85
85
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
86
86
  if @api_client.config.debugging
87
- @api_client.config.logger.debug "API called: UsersRolesApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
87
+ @api_client.config.logger.debug "API called: UsersRolesApi#users_roles_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
88
88
  end
89
89
  return data, status_code, headers
90
90
  end
@@ -94,8 +94,8 @@ module PulpcoreClient
94
94
  # @param auth_users_user_role_href [String]
95
95
  # @param [Hash] opts the optional parameters
96
96
  # @return [nil]
97
- def delete(auth_users_user_role_href, opts = {})
98
- delete_with_http_info(auth_users_user_role_href, opts)
97
+ def users_roles_delete(auth_users_user_role_href, opts = {})
98
+ users_roles_delete_with_http_info(auth_users_user_role_href, opts)
99
99
  nil
100
100
  end
101
101
 
@@ -104,13 +104,13 @@ module PulpcoreClient
104
104
  # @param auth_users_user_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
107
- def delete_with_http_info(auth_users_user_role_href, opts = {})
107
+ def users_roles_delete_with_http_info(auth_users_user_role_href, opts = {})
108
108
  if @api_client.config.debugging
109
- @api_client.config.logger.debug 'Calling API: UsersRolesApi.delete ...'
109
+ @api_client.config.logger.debug 'Calling API: UsersRolesApi.users_roles_delete ...'
110
110
  end
111
111
  # verify the required parameter 'auth_users_user_role_href' is set
112
112
  if @api_client.config.client_side_validation && auth_users_user_role_href.nil?
113
- fail ArgumentError, "Missing the required parameter 'auth_users_user_role_href' when calling UsersRolesApi.delete"
113
+ fail ArgumentError, "Missing the required parameter 'auth_users_user_role_href' when calling UsersRolesApi.users_roles_delete"
114
114
  end
115
115
  # resource path
116
116
  local_var_path = '{auth_users_user_role_href}'.sub('{' + 'auth_users_user_role_href' + '}', CGI.escape(auth_users_user_role_href.to_s).gsub('%2F', '/'))
@@ -144,7 +144,7 @@ module PulpcoreClient
144
144
 
145
145
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
146
146
  if @api_client.config.debugging
147
- @api_client.config.logger.debug "API called: UsersRolesApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
147
+ @api_client.config.logger.debug "API called: UsersRolesApi#users_roles_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
148
148
  end
149
149
  return data, status_code, headers
150
150
  end
@@ -165,8 +165,8 @@ module PulpcoreClient
165
165
  # @option opts [Array<String>] :fields A list of fields to include in the response.
166
166
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
167
167
  # @return [PaginatedUserRoleResponseList]
168
- def list(auth_user_href, opts = {})
169
- data, _status_code, _headers = list_with_http_info(auth_user_href, opts)
168
+ def users_roles_list(auth_user_href, opts = {})
169
+ data, _status_code, _headers = users_roles_list_with_http_info(auth_user_href, opts)
170
170
  data
171
171
  end
172
172
 
@@ -186,13 +186,13 @@ module PulpcoreClient
186
186
  # @option opts [Array<String>] :fields A list of fields to include in the response.
187
187
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
188
188
  # @return [Array<(PaginatedUserRoleResponseList, Integer, Hash)>] PaginatedUserRoleResponseList data, response status code and response headers
189
- def list_with_http_info(auth_user_href, opts = {})
189
+ def users_roles_list_with_http_info(auth_user_href, opts = {})
190
190
  if @api_client.config.debugging
191
- @api_client.config.logger.debug 'Calling API: UsersRolesApi.list ...'
191
+ @api_client.config.logger.debug 'Calling API: UsersRolesApi.users_roles_list ...'
192
192
  end
193
193
  # verify the required parameter 'auth_user_href' is set
194
194
  if @api_client.config.client_side_validation && auth_user_href.nil?
195
- fail ArgumentError, "Missing the required parameter 'auth_user_href' when calling UsersRolesApi.list"
195
+ fail ArgumentError, "Missing the required parameter 'auth_user_href' when calling UsersRolesApi.users_roles_list"
196
196
  end
197
197
  allowable_values = ["-description", "-pk", "-pulp_created", "-role", "description", "pk", "pulp_created", "role"]
198
198
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
@@ -243,7 +243,7 @@ module PulpcoreClient
243
243
 
244
244
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
245
245
  if @api_client.config.debugging
246
- @api_client.config.logger.debug "API called: UsersRolesApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
246
+ @api_client.config.logger.debug "API called: UsersRolesApi#users_roles_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
247
247
  end
248
248
  return data, status_code, headers
249
249
  end
@@ -255,8 +255,8 @@ module PulpcoreClient
255
255
  # @option opts [Array<String>] :fields A list of fields to include in the response.
256
256
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
257
257
  # @return [UserRoleResponse]
258
- def read(auth_users_user_role_href, opts = {})
259
- data, _status_code, _headers = read_with_http_info(auth_users_user_role_href, opts)
258
+ def users_roles_read(auth_users_user_role_href, opts = {})
259
+ data, _status_code, _headers = users_roles_read_with_http_info(auth_users_user_role_href, opts)
260
260
  data
261
261
  end
262
262
 
@@ -267,13 +267,13 @@ module PulpcoreClient
267
267
  # @option opts [Array<String>] :fields A list of fields to include in the response.
268
268
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
269
269
  # @return [Array<(UserRoleResponse, Integer, Hash)>] UserRoleResponse data, response status code and response headers
270
- def read_with_http_info(auth_users_user_role_href, opts = {})
270
+ def users_roles_read_with_http_info(auth_users_user_role_href, opts = {})
271
271
  if @api_client.config.debugging
272
- @api_client.config.logger.debug 'Calling API: UsersRolesApi.read ...'
272
+ @api_client.config.logger.debug 'Calling API: UsersRolesApi.users_roles_read ...'
273
273
  end
274
274
  # verify the required parameter 'auth_users_user_role_href' is set
275
275
  if @api_client.config.client_side_validation && auth_users_user_role_href.nil?
276
- fail ArgumentError, "Missing the required parameter 'auth_users_user_role_href' when calling UsersRolesApi.read"
276
+ fail ArgumentError, "Missing the required parameter 'auth_users_user_role_href' when calling UsersRolesApi.users_roles_read"
277
277
  end
278
278
  # resource path
279
279
  local_var_path = '{auth_users_user_role_href}'.sub('{' + 'auth_users_user_role_href' + '}', CGI.escape(auth_users_user_role_href.to_s).gsub('%2F', '/'))
@@ -311,7 +311,7 @@ module PulpcoreClient
311
311
 
312
312
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
313
313
  if @api_client.config.debugging
314
- @api_client.config.logger.debug "API called: UsersRolesApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
314
+ @api_client.config.logger.debug "API called: UsersRolesApi#users_roles_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
315
315
  end
316
316
  return data, status_code, headers
317
317
  end
@@ -41,8 +41,8 @@ module PulpcoreClient
41
41
  # @option opts [Array<String>] :fields A list of fields to include in the response.
42
42
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
43
43
  # @return [PaginatedWorkerResponseList]
44
- def list(opts = {})
45
- data, _status_code, _headers = list_with_http_info(opts)
44
+ def workers_list(opts = {})
45
+ data, _status_code, _headers = workers_list_with_http_info(opts)
46
46
  data
47
47
  end
48
48
 
@@ -68,9 +68,9 @@ module PulpcoreClient
68
68
  # @option opts [Array<String>] :fields A list of fields to include in the response.
69
69
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
70
70
  # @return [Array<(PaginatedWorkerResponseList, Integer, Hash)>] PaginatedWorkerResponseList data, response status code and response headers
71
- def list_with_http_info(opts = {})
71
+ def workers_list_with_http_info(opts = {})
72
72
  if @api_client.config.debugging
73
- @api_client.config.logger.debug 'Calling API: WorkersApi.list ...'
73
+ @api_client.config.logger.debug 'Calling API: WorkersApi.workers_list ...'
74
74
  end
75
75
  allowable_values = ["-last_heartbeat", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "last_heartbeat", "name", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
76
76
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
@@ -128,7 +128,7 @@ module PulpcoreClient
128
128
 
129
129
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
130
130
  if @api_client.config.debugging
131
- @api_client.config.logger.debug "API called: WorkersApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
131
+ @api_client.config.logger.debug "API called: WorkersApi#workers_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
132
132
  end
133
133
  return data, status_code, headers
134
134
  end
@@ -140,8 +140,8 @@ module PulpcoreClient
140
140
  # @option opts [Array<String>] :fields A list of fields to include in the response.
141
141
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
142
142
  # @return [WorkerResponse]
143
- def read(worker_href, opts = {})
144
- data, _status_code, _headers = read_with_http_info(worker_href, opts)
143
+ def workers_read(worker_href, opts = {})
144
+ data, _status_code, _headers = workers_read_with_http_info(worker_href, opts)
145
145
  data
146
146
  end
147
147
 
@@ -152,13 +152,13 @@ module PulpcoreClient
152
152
  # @option opts [Array<String>] :fields A list of fields to include in the response.
153
153
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
154
154
  # @return [Array<(WorkerResponse, Integer, Hash)>] WorkerResponse data, response status code and response headers
155
- def read_with_http_info(worker_href, opts = {})
155
+ def workers_read_with_http_info(worker_href, opts = {})
156
156
  if @api_client.config.debugging
157
- @api_client.config.logger.debug 'Calling API: WorkersApi.read ...'
157
+ @api_client.config.logger.debug 'Calling API: WorkersApi.workers_read ...'
158
158
  end
159
159
  # verify the required parameter 'worker_href' is set
160
160
  if @api_client.config.client_side_validation && worker_href.nil?
161
- fail ArgumentError, "Missing the required parameter 'worker_href' when calling WorkersApi.read"
161
+ fail ArgumentError, "Missing the required parameter 'worker_href' when calling WorkersApi.workers_read"
162
162
  end
163
163
  # resource path
164
164
  local_var_path = '{worker_href}'.sub('{' + 'worker_href' + '}', CGI.escape(worker_href.to_s).gsub('%2F', '/'))
@@ -196,7 +196,7 @@ module PulpcoreClient
196
196
 
197
197
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
198
198
  if @api_client.config.debugging
199
- @api_client.config.logger.debug "API called: WorkersApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
199
+ @api_client.config.logger.debug "API called: WorkersApi#workers_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
200
200
  end
201
201
  return data, status_code, headers
202
202
  end
@@ -127,8 +127,8 @@ module PulpcoreClient
127
127
  attr_accessor :force_ending_format
128
128
 
129
129
  def initialize
130
- @scheme = 'https'
131
- @host = 'pulp'
130
+ @scheme = 'http'
131
+ @host = 'localhost'
132
132
  @base_path = ''
133
133
  @api_key = {}
134
134
  @api_key_prefix = {}
@@ -210,7 +210,7 @@ module PulpcoreClient
210
210
  def server_settings
211
211
  [
212
212
  {
213
- url: "https://pulp/",
213
+ url: "http://localhost:24817/",
214
214
  description: "No description provided",
215
215
  }
216
216
  ]
@@ -15,55 +15,55 @@ require 'date'
15
15
  module PulpcoreClient
16
16
  # A serializer for ArtifactDistribution.
17
17
  class ArtifactDistributionResponse
18
- attr_accessor :pulp_href
18
+ # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
19
+ attr_accessor :base_path
19
20
 
20
21
  # The URL for accessing the publication as defined by this distribution.
21
22
  attr_accessor :base_url
22
23
 
23
24
  attr_accessor :pulp_labels
24
25
 
25
- # Timestamp of creation.
26
- attr_accessor :pulp_created
26
+ attr_accessor :pulp_href
27
+
28
+ # An optional content-guard.
29
+ attr_accessor :content_guard
27
30
 
28
31
  # A unique name. Ex, `rawhide` and `stable`.
29
32
  attr_accessor :name
30
33
 
31
- # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
32
- attr_accessor :base_path
33
-
34
- # An optional content-guard.
35
- attr_accessor :content_guard
34
+ # Timestamp of creation.
35
+ attr_accessor :pulp_created
36
36
 
37
37
  # Attribute mapping from ruby-style variable name to JSON key.
38
38
  def self.attribute_map
39
39
  {
40
- :'pulp_href' => :'pulp_href',
40
+ :'base_path' => :'base_path',
41
41
  :'base_url' => :'base_url',
42
42
  :'pulp_labels' => :'pulp_labels',
43
- :'pulp_created' => :'pulp_created',
43
+ :'pulp_href' => :'pulp_href',
44
+ :'content_guard' => :'content_guard',
44
45
  :'name' => :'name',
45
- :'base_path' => :'base_path',
46
- :'content_guard' => :'content_guard'
46
+ :'pulp_created' => :'pulp_created'
47
47
  }
48
48
  end
49
49
 
50
50
  # Attribute type mapping.
51
51
  def self.openapi_types
52
52
  {
53
- :'pulp_href' => :'String',
53
+ :'base_path' => :'String',
54
54
  :'base_url' => :'String',
55
55
  :'pulp_labels' => :'Hash<String, String>',
56
- :'pulp_created' => :'DateTime',
56
+ :'pulp_href' => :'String',
57
+ :'content_guard' => :'String',
57
58
  :'name' => :'String',
58
- :'base_path' => :'String',
59
- :'content_guard' => :'String'
59
+ :'pulp_created' => :'DateTime'
60
60
  }
61
61
  end
62
62
 
63
63
  # List of attributes with nullable: true
64
64
  def self.openapi_nullable
65
65
  Set.new([
66
- :'content_guard'
66
+ :'content_guard',
67
67
  ])
68
68
  end
69
69
 
@@ -82,8 +82,8 @@ module PulpcoreClient
82
82
  h[k.to_sym] = v
83
83
  }
84
84
 
85
- if attributes.key?(:'pulp_href')
86
- self.pulp_href = attributes[:'pulp_href']
85
+ if attributes.key?(:'base_path')
86
+ self.base_path = attributes[:'base_path']
87
87
  end
88
88
 
89
89
  if attributes.key?(:'base_url')
@@ -96,20 +96,20 @@ module PulpcoreClient
96
96
  end
97
97
  end
98
98
 
99
- if attributes.key?(:'pulp_created')
100
- self.pulp_created = attributes[:'pulp_created']
99
+ if attributes.key?(:'pulp_href')
100
+ self.pulp_href = attributes[:'pulp_href']
101
101
  end
102
102
 
103
- if attributes.key?(:'name')
104
- self.name = attributes[:'name']
103
+ if attributes.key?(:'content_guard')
104
+ self.content_guard = attributes[:'content_guard']
105
105
  end
106
106
 
107
- if attributes.key?(:'base_path')
108
- self.base_path = attributes[:'base_path']
107
+ if attributes.key?(:'name')
108
+ self.name = attributes[:'name']
109
109
  end
110
110
 
111
- if attributes.key?(:'content_guard')
112
- self.content_guard = attributes[:'content_guard']
111
+ if attributes.key?(:'pulp_created')
112
+ self.pulp_created = attributes[:'pulp_created']
113
113
  end
114
114
  end
115
115
 
@@ -117,22 +117,22 @@ module PulpcoreClient
117
117
  # @return Array for valid properties with the reasons
118
118
  def list_invalid_properties
119
119
  invalid_properties = Array.new
120
- if @name.nil?
121
- invalid_properties.push('invalid value for "name", name cannot be nil.')
122
- end
123
-
124
120
  if @base_path.nil?
125
121
  invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
126
122
  end
127
123
 
124
+ if @name.nil?
125
+ invalid_properties.push('invalid value for "name", name cannot be nil.')
126
+ end
127
+
128
128
  invalid_properties
129
129
  end
130
130
 
131
131
  # Check to see if the all the properties in the model are valid
132
132
  # @return true if the model is valid
133
133
  def valid?
134
- return false if @name.nil?
135
134
  return false if @base_path.nil?
135
+ return false if @name.nil?
136
136
  true
137
137
  end
138
138
 
@@ -141,13 +141,13 @@ module PulpcoreClient
141
141
  def ==(o)
142
142
  return true if self.equal?(o)
143
143
  self.class == o.class &&
144
- pulp_href == o.pulp_href &&
144
+ base_path == o.base_path &&
145
145
  base_url == o.base_url &&
146
146
  pulp_labels == o.pulp_labels &&
147
- pulp_created == o.pulp_created &&
147
+ pulp_href == o.pulp_href &&
148
+ content_guard == o.content_guard &&
148
149
  name == o.name &&
149
- base_path == o.base_path &&
150
- content_guard == o.content_guard
150
+ pulp_created == o.pulp_created
151
151
  end
152
152
 
153
153
  # @see the `==` method
@@ -159,7 +159,7 @@ module PulpcoreClient
159
159
  # Calculates hash code according to all attributes.
160
160
  # @return [Integer] Hash code
161
161
  def hash
162
- [pulp_href, base_url, pulp_labels, pulp_created, name, base_path, content_guard].hash
162
+ [base_path, base_url, pulp_labels, pulp_href, content_guard, name, pulp_created].hash
163
163
  end
164
164
 
165
165
  # Builds the object from hash
@@ -259,20 +259,20 @@ module PulpcoreClient
259
259
  invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
260
260
  end
261
261
 
262
- if !@total_timeout.nil? && @total_timeout < 0.0
263
- invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
262
+ if !@total_timeout.nil? && @total_timeout < 0
263
+ invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
264
264
  end
265
265
 
266
- if !@connect_timeout.nil? && @connect_timeout < 0.0
267
- invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
266
+ if !@connect_timeout.nil? && @connect_timeout < 0
267
+ invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
268
268
  end
269
269
 
270
- if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
271
- invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
270
+ if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
271
+ invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
272
272
  end
273
273
 
274
- if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
275
- invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
274
+ if !@sock_read_timeout.nil? && @sock_read_timeout < 0
275
+ invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
276
276
  end
277
277
 
278
278
  invalid_properties
@@ -284,10 +284,10 @@ module PulpcoreClient
284
284
  return false if @name.nil?
285
285
  return false if @url.nil?
286
286
  return false if !@download_concurrency.nil? && @download_concurrency < 1
287
- return false if !@total_timeout.nil? && @total_timeout < 0.0
288
- return false if !@connect_timeout.nil? && @connect_timeout < 0.0
289
- return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
290
- return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
287
+ return false if !@total_timeout.nil? && @total_timeout < 0
288
+ return false if !@connect_timeout.nil? && @connect_timeout < 0
289
+ return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
290
+ return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
291
291
  true
292
292
  end
293
293
 
@@ -304,8 +304,8 @@ module PulpcoreClient
304
304
  # Custom attribute writer method with validation
305
305
  # @param [Object] total_timeout Value to be assigned
306
306
  def total_timeout=(total_timeout)
307
- if !total_timeout.nil? && total_timeout < 0.0
308
- fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
307
+ if !total_timeout.nil? && total_timeout < 0
308
+ fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
309
309
  end
310
310
 
311
311
  @total_timeout = total_timeout
@@ -314,8 +314,8 @@ module PulpcoreClient
314
314
  # Custom attribute writer method with validation
315
315
  # @param [Object] connect_timeout Value to be assigned
316
316
  def connect_timeout=(connect_timeout)
317
- if !connect_timeout.nil? && connect_timeout < 0.0
318
- fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
317
+ if !connect_timeout.nil? && connect_timeout < 0
318
+ fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
319
319
  end
320
320
 
321
321
  @connect_timeout = connect_timeout
@@ -324,8 +324,8 @@ module PulpcoreClient
324
324
  # Custom attribute writer method with validation
325
325
  # @param [Object] sock_connect_timeout Value to be assigned
326
326
  def sock_connect_timeout=(sock_connect_timeout)
327
- if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
328
- fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
327
+ if !sock_connect_timeout.nil? && sock_connect_timeout < 0
328
+ fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
329
329
  end
330
330
 
331
331
  @sock_connect_timeout = sock_connect_timeout
@@ -334,8 +334,8 @@ module PulpcoreClient
334
334
  # Custom attribute writer method with validation
335
335
  # @param [Object] sock_read_timeout Value to be assigned
336
336
  def sock_read_timeout=(sock_read_timeout)
337
- if !sock_read_timeout.nil? && sock_read_timeout < 0.0
338
- fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
337
+ if !sock_read_timeout.nil? && sock_read_timeout < 0
338
+ fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
339
339
  end
340
340
 
341
341
  @sock_read_timeout = sock_read_timeout
@@ -68,12 +68,22 @@ module PulpcoreClient
68
68
  # @return Array for valid properties with the reasons
69
69
  def list_invalid_properties
70
70
  invalid_properties = Array.new
71
+ if @name.nil?
72
+ invalid_properties.push('invalid value for "name", name cannot be nil.')
73
+ end
74
+
75
+ if @is_set.nil?
76
+ invalid_properties.push('invalid value for "is_set", is_set cannot be nil.')
77
+ end
78
+
71
79
  invalid_properties
72
80
  end
73
81
 
74
82
  # Check to see if the all the properties in the model are valid
75
83
  # @return true if the model is valid
76
84
  def valid?
85
+ return false if @name.nil?
86
+ return false if @is_set.nil?
77
87
  true
78
88
  end
79
89
 
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module PulpcoreClient
14
- VERSION = '3.22.28'
14
+ VERSION = '3.22.29'
15
15
  end
@@ -148,6 +148,8 @@ require 'pulpcore_client/api/contentguards_content_redirect_api'
148
148
  require 'pulpcore_client/api/contentguards_rbac_api'
149
149
  require 'pulpcore_client/api/distributions_api'
150
150
  require 'pulpcore_client/api/distributions_artifacts_api'
151
+ require 'pulpcore_client/api/docs_api_json_api'
152
+ require 'pulpcore_client/api/docs_api_yaml_api'
151
153
  require 'pulpcore_client/api/exporters_filesystem_api'
152
154
  require 'pulpcore_client/api/exporters_filesystem_exports_api'
153
155
  require 'pulpcore_client/api/exporters_pulp_api'
@@ -32,7 +32,7 @@ describe 'AccessPoliciesApi' do
32
32
  end
33
33
  end
34
34
 
35
- # unit tests for list
35
+ # unit tests for access_policies_list
36
36
  # List access policys
37
37
  # ViewSet for AccessPolicy. NOTE: This API endpoint is in \&quot;tech preview\&quot; and subject to change
38
38
  # @param [Hash] opts the optional parameters
@@ -48,26 +48,26 @@ describe 'AccessPoliciesApi' do
48
48
  # @option opts [Array<String>] :fields A list of fields to include in the response.
49
49
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
50
50
  # @return [PaginatedAccessPolicyResponseList]
51
- describe 'list test' do
51
+ describe 'access_policies_list test' do
52
52
  it 'should work' do
53
53
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
54
54
  end
55
55
  end
56
56
 
57
- # unit tests for partial_update
57
+ # unit tests for access_policies_partial_update
58
58
  # Update an access policy
59
59
  # ViewSet for AccessPolicy. NOTE: This API endpoint is in \&quot;tech preview\&quot; and subject to change
60
60
  # @param access_policy_href
61
61
  # @param patched_access_policy
62
62
  # @param [Hash] opts the optional parameters
63
63
  # @return [AccessPolicyResponse]
64
- describe 'partial_update test' do
64
+ describe 'access_policies_partial_update test' do
65
65
  it 'should work' do
66
66
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
67
67
  end
68
68
  end
69
69
 
70
- # unit tests for read
70
+ # unit tests for access_policies_read
71
71
  # Inspect an access policy
72
72
  # ViewSet for AccessPolicy. NOTE: This API endpoint is in \&quot;tech preview\&quot; and subject to change
73
73
  # @param access_policy_href
@@ -75,31 +75,31 @@ describe 'AccessPoliciesApi' do
75
75
  # @option opts [Array<String>] :fields A list of fields to include in the response.
76
76
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
77
77
  # @return [AccessPolicyResponse]
78
- describe 'read test' do
78
+ describe 'access_policies_read test' do
79
79
  it 'should work' do
80
80
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
81
81
  end
82
82
  end
83
83
 
84
- # unit tests for reset
84
+ # unit tests for access_policies_reset
85
85
  # Reset the access policy to its uncustomized default value.
86
86
  # @param access_policy_href
87
87
  # @param [Hash] opts the optional parameters
88
88
  # @return [AccessPolicyResponse]
89
- describe 'reset test' do
89
+ describe 'access_policies_reset test' do
90
90
  it 'should work' do
91
91
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
92
92
  end
93
93
  end
94
94
 
95
- # unit tests for update
95
+ # unit tests for access_policies_update
96
96
  # Update an access policy
97
97
  # ViewSet for AccessPolicy. NOTE: This API endpoint is in \&quot;tech preview\&quot; and subject to change
98
98
  # @param access_policy_href
99
99
  # @param access_policy
100
100
  # @param [Hash] opts the optional parameters
101
101
  # @return [AccessPolicyResponse]
102
- describe 'update test' do
102
+ describe 'access_policies_update test' do
103
103
  it 'should work' do
104
104
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
105
105
  end