pulpcore_client 3.19.1 → 3.20.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (219) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +93 -16
  3. data/docs/AccessPoliciesApi.md +2 -2
  4. data/docs/AccessPolicy.md +3 -1
  5. data/docs/AccessPolicyResponse.md +3 -1
  6. data/docs/AcsApi.md +417 -0
  7. data/docs/AlternateContentSource.md +23 -0
  8. data/docs/AlternateContentSourceResponse.md +27 -0
  9. data/docs/ArtifactsApi.md +2 -2
  10. data/docs/ContentApi.md +117 -3
  11. data/docs/ContentGuard.md +19 -0
  12. data/docs/ContentguardsApi.md +282 -3
  13. data/docs/ContentguardsContentRedirectApi.md +230 -2
  14. data/docs/ContentguardsRbacApi.md +2 -2
  15. data/docs/Distribution.md +25 -0
  16. data/docs/DistributionsApi.md +283 -3
  17. data/docs/Export.md +17 -0
  18. data/docs/ExportResponse.md +25 -0
  19. data/docs/Exporter.md +17 -0
  20. data/docs/ExporterResponse.md +21 -0
  21. data/docs/ExportersApi.md +362 -0
  22. data/docs/{GroupsModelPermissionsApi.md → ExportersExportsApi.md} +46 -48
  23. data/docs/ExportersFilesystemApi.md +2 -2
  24. data/docs/ExportersFilesystemExportsApi.md +0 -2
  25. data/docs/ExportersPulpApi.md +2 -2
  26. data/docs/ExportersPulpExportsApi.md +0 -2
  27. data/docs/GroupRole.md +1 -1
  28. data/docs/GroupRoleResponse.md +6 -2
  29. data/docs/GroupsApi.md +2 -2
  30. data/docs/GroupsRolesApi.md +2 -2
  31. data/docs/GroupsUsersApi.md +0 -2
  32. data/docs/Import.md +19 -0
  33. data/docs/Importer.md +17 -0
  34. data/docs/ImporterResponse.md +21 -0
  35. data/docs/ImportersApi.md +361 -0
  36. data/docs/{GroupsObjectPermissionsApi.md → ImportersImportsApi.md} +46 -48
  37. data/docs/ImportersPulpApi.md +2 -2
  38. data/docs/ImportersPulpImportsApi.md +0 -2
  39. data/docs/MultipleArtifactContent.md +17 -0
  40. data/docs/OrphansCleanup.md +1 -1
  41. data/docs/PaginatedAlternateContentSourceResponseList.md +23 -0
  42. data/docs/{PaginatedPermissionResponseList.md → PaginatedExportResponseList.md} +3 -3
  43. data/docs/PaginatedExporterResponseList.md +23 -0
  44. data/docs/PaginatedImporterResponseList.md +23 -0
  45. data/docs/PaginatedRemoteResponseList.md +23 -0
  46. data/docs/PatchedAccessPolicy.md +3 -1
  47. data/docs/PatchedAlternateContentSource.md +23 -0
  48. data/docs/PatchedContentGuard.md +19 -0
  49. data/docs/PatchedDistribution.md +25 -0
  50. data/docs/PatchedExporter.md +17 -0
  51. data/docs/PatchedImporter.md +17 -0
  52. data/docs/PatchedRemote.md +57 -0
  53. data/docs/PatchedRepository.md +25 -0
  54. data/docs/PolicyEnum.md +16 -0
  55. data/docs/PublicationsApi.md +117 -2
  56. data/docs/Remote.md +57 -0
  57. data/docs/RemoteResponse.md +53 -0
  58. data/docs/RemotesApi.md +376 -0
  59. data/docs/RepositoriesApi.md +283 -3
  60. data/docs/RepositoriesVersionsApi.md +271 -0
  61. data/docs/Repository.md +25 -0
  62. data/docs/RepositoryVersionsApi.md +2 -0
  63. data/docs/RolesApi.md +6 -2
  64. data/docs/SigningServicesApi.md +0 -2
  65. data/docs/TaskGroupsApi.md +2 -2
  66. data/docs/TaskSchedulesApi.md +2 -2
  67. data/docs/TasksApi.md +2 -2
  68. data/docs/UploadsApi.md +0 -2
  69. data/docs/UserRole.md +1 -1
  70. data/docs/UserRoleResponse.md +6 -2
  71. data/docs/UsersApi.md +2 -61
  72. data/docs/UsersRolesApi.md +2 -2
  73. data/docs/VersionResponse.md +3 -1
  74. data/docs/WorkersApi.md +2 -2
  75. data/lib/pulpcore_client/api/access_policies_api.rb +7 -3
  76. data/lib/pulpcore_client/api/acs_api.rb +514 -0
  77. data/lib/pulpcore_client/api/artifacts_api.rb +7 -3
  78. data/lib/pulpcore_client/api/content_api.rb +141 -5
  79. data/lib/pulpcore_client/api/contentguards_api.rb +341 -5
  80. data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +275 -3
  81. data/lib/pulpcore_client/api/contentguards_rbac_api.rb +7 -3
  82. data/lib/pulpcore_client/api/distributions_api.rb +343 -5
  83. data/lib/pulpcore_client/api/exporters_api.rb +446 -0
  84. data/lib/pulpcore_client/api/{groups_model_permissions_api.rb → exporters_exports_api.rb} +76 -79
  85. data/lib/pulpcore_client/api/exporters_filesystem_api.rb +7 -3
  86. data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +0 -3
  87. data/lib/pulpcore_client/api/exporters_pulp_api.rb +7 -3
  88. data/lib/pulpcore_client/api/exporters_pulp_exports_api.rb +0 -3
  89. data/lib/pulpcore_client/api/groups_api.rb +7 -3
  90. data/lib/pulpcore_client/api/groups_roles_api.rb +7 -3
  91. data/lib/pulpcore_client/api/groups_users_api.rb +0 -3
  92. data/lib/pulpcore_client/api/importers_api.rb +444 -0
  93. data/lib/pulpcore_client/api/{groups_object_permissions_api.rb → importers_imports_api.rb} +76 -79
  94. data/lib/pulpcore_client/api/importers_pulp_api.rb +7 -3
  95. data/lib/pulpcore_client/api/importers_pulp_imports_api.rb +0 -3
  96. data/lib/pulpcore_client/api/publications_api.rb +138 -3
  97. data/lib/pulpcore_client/api/remotes_api.rb +467 -0
  98. data/lib/pulpcore_client/api/repositories_api.rb +343 -5
  99. data/lib/pulpcore_client/api/repositories_versions_api.rb +343 -0
  100. data/lib/pulpcore_client/api/repository_versions_api.rb +7 -0
  101. data/lib/pulpcore_client/api/roles_api.rb +13 -3
  102. data/lib/pulpcore_client/api/signing_services_api.rb +0 -3
  103. data/lib/pulpcore_client/api/task_groups_api.rb +7 -3
  104. data/lib/pulpcore_client/api/task_schedules_api.rb +7 -3
  105. data/lib/pulpcore_client/api/tasks_api.rb +7 -3
  106. data/lib/pulpcore_client/api/uploads_api.rb +0 -3
  107. data/lib/pulpcore_client/api/users_api.rb +7 -69
  108. data/lib/pulpcore_client/api/users_roles_api.rb +7 -3
  109. data/lib/pulpcore_client/api/workers_api.rb +7 -3
  110. data/lib/pulpcore_client/models/access_policy.rb +14 -4
  111. data/lib/pulpcore_client/models/access_policy_response.rb +14 -4
  112. data/lib/pulpcore_client/models/alternate_content_source.rb +270 -0
  113. data/lib/pulpcore_client/models/alternate_content_source_response.rb +270 -0
  114. data/lib/pulpcore_client/models/content_guard.rb +258 -0
  115. data/lib/pulpcore_client/models/distribution.rb +297 -0
  116. data/lib/pulpcore_client/models/export.rb +209 -0
  117. data/lib/pulpcore_client/models/export_response.rb +250 -0
  118. data/lib/pulpcore_client/models/exporter.rb +232 -0
  119. data/lib/pulpcore_client/models/{permission_response.rb → exporter_response.rb} +24 -27
  120. data/lib/pulpcore_client/models/group_role.rb +1 -1
  121. data/lib/pulpcore_client/models/group_role_response.rb +26 -6
  122. data/lib/pulpcore_client/models/import.rb +228 -0
  123. data/lib/pulpcore_client/models/importer.rb +232 -0
  124. data/lib/pulpcore_client/models/importer_response.rb +232 -0
  125. data/lib/pulpcore_client/models/multiple_artifact_content.rb +213 -0
  126. data/lib/pulpcore_client/models/orphans_cleanup.rb +0 -2
  127. data/lib/pulpcore_client/models/paginated_alternate_content_source_response_list.rb +237 -0
  128. data/lib/pulpcore_client/models/{paginated_permission_response_list.rb → paginated_export_response_list.rb} +4 -4
  129. data/lib/pulpcore_client/models/paginated_exporter_response_list.rb +237 -0
  130. data/lib/pulpcore_client/models/paginated_importer_response_list.rb +237 -0
  131. data/lib/pulpcore_client/models/paginated_remote_response_list.rb +237 -0
  132. data/lib/pulpcore_client/models/patched_access_policy.rb +14 -4
  133. data/lib/pulpcore_client/models/patched_alternate_content_source.rb +256 -0
  134. data/lib/pulpcore_client/models/patched_content_guard.rb +249 -0
  135. data/lib/pulpcore_client/models/patched_distribution.rb +279 -0
  136. data/lib/pulpcore_client/models/patched_exporter.rb +223 -0
  137. data/lib/pulpcore_client/models/patched_importer.rb +223 -0
  138. data/lib/pulpcore_client/models/patched_remote.rb +649 -0
  139. data/lib/pulpcore_client/models/patched_repository.rb +295 -0
  140. data/lib/pulpcore_client/models/policy_enum.rb +36 -0
  141. data/lib/pulpcore_client/models/remote.rb +667 -0
  142. data/lib/pulpcore_client/models/remote_response.rb +483 -0
  143. data/lib/pulpcore_client/models/repository.rb +304 -0
  144. data/lib/pulpcore_client/models/user_role.rb +1 -1
  145. data/lib/pulpcore_client/models/user_role_response.rb +26 -6
  146. data/lib/pulpcore_client/models/version_response.rb +19 -4
  147. data/lib/pulpcore_client/version.rb +1 -1
  148. data/lib/pulpcore_client.rb +35 -4
  149. data/spec/api/access_policies_api_spec.rb +1 -1
  150. data/spec/api/acs_api_spec.rb +132 -0
  151. data/spec/api/artifacts_api_spec.rb +1 -1
  152. data/spec/api/content_api_spec.rb +28 -2
  153. data/spec/api/contentguards_api_spec.rb +66 -2
  154. data/spec/api/contentguards_content_redirect_api_spec.rb +51 -1
  155. data/spec/api/contentguards_rbac_api_spec.rb +1 -1
  156. data/spec/api/distributions_api_spec.rb +66 -2
  157. data/spec/api/exporters_api_spec.rb +120 -0
  158. data/spec/api/{groups_model_permissions_api_spec.rb → exporters_exports_api_spec.rb} +22 -23
  159. data/spec/api/exporters_filesystem_api_spec.rb +1 -1
  160. data/spec/api/exporters_filesystem_exports_api_spec.rb +0 -1
  161. data/spec/api/exporters_pulp_api_spec.rb +1 -1
  162. data/spec/api/exporters_pulp_exports_api_spec.rb +0 -1
  163. data/spec/api/groups_api_spec.rb +1 -1
  164. data/spec/api/groups_roles_api_spec.rb +1 -1
  165. data/spec/api/groups_users_api_spec.rb +0 -1
  166. data/spec/api/importers_api_spec.rb +120 -0
  167. data/spec/api/{groups_object_permissions_api_spec.rb → importers_imports_api_spec.rb} +22 -23
  168. data/spec/api/importers_pulp_api_spec.rb +1 -1
  169. data/spec/api/importers_pulp_imports_api_spec.rb +0 -1
  170. data/spec/api/publications_api_spec.rb +28 -1
  171. data/spec/api/remotes_api_spec.rb +127 -0
  172. data/spec/api/repositories_api_spec.rb +66 -2
  173. data/spec/api/repositories_versions_api_spec.rb +104 -0
  174. data/spec/api/repository_versions_api_spec.rb +1 -0
  175. data/spec/api/roles_api_spec.rb +3 -1
  176. data/spec/api/signing_services_api_spec.rb +0 -1
  177. data/spec/api/task_groups_api_spec.rb +1 -1
  178. data/spec/api/task_schedules_api_spec.rb +1 -1
  179. data/spec/api/tasks_api_spec.rb +1 -1
  180. data/spec/api/uploads_api_spec.rb +0 -1
  181. data/spec/api/users_api_spec.rb +1 -14
  182. data/spec/api/users_roles_api_spec.rb +1 -1
  183. data/spec/api/workers_api_spec.rb +1 -1
  184. data/spec/models/access_policy_response_spec.rb +6 -0
  185. data/spec/models/access_policy_spec.rb +6 -0
  186. data/spec/models/alternate_content_source_response_spec.rb +71 -0
  187. data/spec/models/{permission_response_spec.rb → alternate_content_source_spec.rb} +10 -10
  188. data/spec/models/content_guard_spec.rb +47 -0
  189. data/spec/models/distribution_spec.rb +65 -0
  190. data/spec/models/export_response_spec.rb +65 -0
  191. data/spec/models/export_spec.rb +41 -0
  192. data/spec/models/exporter_response_spec.rb +53 -0
  193. data/spec/models/exporter_spec.rb +41 -0
  194. data/spec/models/group_role_response_spec.rb +12 -0
  195. data/spec/models/import_spec.rb +47 -0
  196. data/spec/models/importer_response_spec.rb +53 -0
  197. data/spec/models/importer_spec.rb +41 -0
  198. data/spec/models/multiple_artifact_content_spec.rb +41 -0
  199. data/spec/models/paginated_alternate_content_source_response_list_spec.rb +59 -0
  200. data/spec/models/{paginated_permission_response_list_spec.rb → paginated_export_response_list_spec.rb} +6 -6
  201. data/spec/models/paginated_exporter_response_list_spec.rb +59 -0
  202. data/spec/models/paginated_importer_response_list_spec.rb +59 -0
  203. data/spec/models/paginated_remote_response_list_spec.rb +59 -0
  204. data/spec/models/patched_access_policy_spec.rb +6 -0
  205. data/spec/models/patched_alternate_content_source_spec.rb +59 -0
  206. data/spec/models/patched_content_guard_spec.rb +47 -0
  207. data/spec/models/patched_distribution_spec.rb +65 -0
  208. data/spec/models/patched_exporter_spec.rb +41 -0
  209. data/spec/models/patched_importer_spec.rb +41 -0
  210. data/spec/models/patched_remote_spec.rb +161 -0
  211. data/spec/models/patched_repository_spec.rb +65 -0
  212. data/spec/models/policy_enum_spec.rb +35 -0
  213. data/spec/models/remote_response_spec.rb +149 -0
  214. data/spec/models/remote_spec.rb +161 -0
  215. data/spec/models/repository_spec.rb +65 -0
  216. data/spec/models/user_role_response_spec.rb +12 -0
  217. data/spec/models/version_response_spec.rb +6 -0
  218. metadata +263 -139
  219. data/docs/PermissionResponse.md +0 -23
@@ -13,43 +13,43 @@ OpenAPI Generator version: 4.3.1
13
13
  require 'cgi'
14
14
 
15
15
  module PulpcoreClient
16
- class GroupsModelPermissionsApi
16
+ class ExportersExportsApi
17
17
  attr_accessor :api_client
18
18
 
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
- # Create a permission
23
- # Add a model permission to a group.
24
- # @param group_href [String]
25
- # @param body [Object]
22
+ # Create an export
23
+ # ViewSet for viewing exports from an Exporter.
24
+ # @param exporter_href [String]
25
+ # @param export [Export]
26
26
  # @param [Hash] opts the optional parameters
27
- # @return [PermissionResponse]
28
- def create(group_href, body, opts = {})
29
- data, _status_code, _headers = create_with_http_info(group_href, body, opts)
27
+ # @return [ExportResponse]
28
+ def create(exporter_href, export, opts = {})
29
+ data, _status_code, _headers = create_with_http_info(exporter_href, export, opts)
30
30
  data
31
31
  end
32
32
 
33
- # Create a permission
34
- # Add a model permission to a group.
35
- # @param group_href [String]
36
- # @param body [Object]
33
+ # Create an export
34
+ # ViewSet for viewing exports from an Exporter.
35
+ # @param exporter_href [String]
36
+ # @param export [Export]
37
37
  # @param [Hash] opts the optional parameters
38
- # @return [Array<(PermissionResponse, Integer, Hash)>] PermissionResponse data, response status code and response headers
39
- def create_with_http_info(group_href, body, opts = {})
38
+ # @return [Array<(ExportResponse, Integer, Hash)>] ExportResponse data, response status code and response headers
39
+ def create_with_http_info(exporter_href, export, opts = {})
40
40
  if @api_client.config.debugging
41
- @api_client.config.logger.debug 'Calling API: GroupsModelPermissionsApi.create ...'
41
+ @api_client.config.logger.debug 'Calling API: ExportersExportsApi.create ...'
42
42
  end
43
- # verify the required parameter 'group_href' is set
44
- if @api_client.config.client_side_validation && group_href.nil?
45
- fail ArgumentError, "Missing the required parameter 'group_href' when calling GroupsModelPermissionsApi.create"
43
+ # verify the required parameter 'exporter_href' is set
44
+ if @api_client.config.client_side_validation && exporter_href.nil?
45
+ fail ArgumentError, "Missing the required parameter 'exporter_href' when calling ExportersExportsApi.create"
46
46
  end
47
- # verify the required parameter 'body' is set
48
- if @api_client.config.client_side_validation && body.nil?
49
- fail ArgumentError, "Missing the required parameter 'body' when calling GroupsModelPermissionsApi.create"
47
+ # verify the required parameter 'export' is set
48
+ if @api_client.config.client_side_validation && export.nil?
49
+ fail ArgumentError, "Missing the required parameter 'export' when calling ExportersExportsApi.create"
50
50
  end
51
51
  # resource path
52
- local_var_path = '{group_href}model_permissions/'.sub('{' + 'group_href' + '}', CGI.escape(group_href.to_s).gsub('%2F', '/'))
52
+ local_var_path = '{exporter_href}exports/'.sub('{' + 'exporter_href' + '}', CGI.escape(exporter_href.to_s).gsub('%2F', '/'))
53
53
 
54
54
  # query parameters
55
55
  query_params = opts[:query_params] || {}
@@ -65,10 +65,10 @@ module PulpcoreClient
65
65
  form_params = opts[:form_params] || {}
66
66
 
67
67
  # http body (model)
68
- post_body = opts[:body] || @api_client.object_to_http_body(body)
68
+ post_body = opts[:body] || @api_client.object_to_http_body(export)
69
69
 
70
70
  # return_type
71
- return_type = opts[:return_type] || 'PermissionResponse'
71
+ return_type = opts[:return_type] || 'ExportResponse'
72
72
 
73
73
  # auth_names
74
74
  auth_names = opts[:auth_names] || ['basicAuth']
@@ -84,36 +84,36 @@ 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: GroupsModelPermissionsApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
87
+ @api_client.config.logger.debug "API called: ExportersExportsApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
88
88
  end
89
89
  return data, status_code, headers
90
90
  end
91
91
 
92
- # Delete a permission
93
- # Remove a model permission from a group.
94
- # @param groups_model_permission_href [String]
92
+ # Delete an export
93
+ # ViewSet for viewing exports from an Exporter.
94
+ # @param exporters_export_href [String]
95
95
  # @param [Hash] opts the optional parameters
96
96
  # @return [nil]
97
- def delete(groups_model_permission_href, opts = {})
98
- delete_with_http_info(groups_model_permission_href, opts)
97
+ def delete(exporters_export_href, opts = {})
98
+ delete_with_http_info(exporters_export_href, opts)
99
99
  nil
100
100
  end
101
101
 
102
- # Delete a permission
103
- # Remove a model permission from a group.
104
- # @param groups_model_permission_href [String]
102
+ # Delete an export
103
+ # ViewSet for viewing exports from an Exporter.
104
+ # @param exporters_export_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(groups_model_permission_href, opts = {})
107
+ def delete_with_http_info(exporters_export_href, opts = {})
108
108
  if @api_client.config.debugging
109
- @api_client.config.logger.debug 'Calling API: GroupsModelPermissionsApi.delete ...'
109
+ @api_client.config.logger.debug 'Calling API: ExportersExportsApi.delete ...'
110
110
  end
111
- # verify the required parameter 'groups_model_permission_href' is set
112
- if @api_client.config.client_side_validation && groups_model_permission_href.nil?
113
- fail ArgumentError, "Missing the required parameter 'groups_model_permission_href' when calling GroupsModelPermissionsApi.delete"
111
+ # verify the required parameter 'exporters_export_href' is set
112
+ if @api_client.config.client_side_validation && exporters_export_href.nil?
113
+ fail ArgumentError, "Missing the required parameter 'exporters_export_href' when calling ExportersExportsApi.delete"
114
114
  end
115
115
  # resource path
116
- local_var_path = '{groups_model_permission_href}'.sub('{' + 'groups_model_permission_href' + '}', CGI.escape(groups_model_permission_href.to_s).gsub('%2F', '/'))
116
+ local_var_path = '{exporters_export_href}'.sub('{' + 'exporters_export_href' + '}', CGI.escape(exporters_export_href.to_s).gsub('%2F', '/'))
117
117
 
118
118
  # query parameters
119
119
  query_params = opts[:query_params] || {}
@@ -144,52 +144,49 @@ 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: GroupsModelPermissionsApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
147
+ @api_client.config.logger.debug "API called: ExportersExportsApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
148
148
  end
149
149
  return data, status_code, headers
150
150
  end
151
151
 
152
- # List permissions
153
- # List group permissions.
154
- # @param group_href [String]
152
+ # List exports
153
+ # ViewSet for viewing exports from an Exporter.
154
+ # @param exporter_href [String]
155
155
  # @param [Hash] opts the optional parameters
156
156
  # @option opts [Integer] :limit Number of results to return per page.
157
157
  # @option opts [Integer] :offset The initial index from which to return the results.
158
- # @option opts [String] :ordering Which field to use when ordering the results.
159
158
  # @option opts [String] :fields A list of fields to include in the response.
160
159
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
161
- # @return [PaginatedPermissionResponseList]
162
- def list(group_href, opts = {})
163
- data, _status_code, _headers = list_with_http_info(group_href, opts)
160
+ # @return [PaginatedExportResponseList]
161
+ def list(exporter_href, opts = {})
162
+ data, _status_code, _headers = list_with_http_info(exporter_href, opts)
164
163
  data
165
164
  end
166
165
 
167
- # List permissions
168
- # List group permissions.
169
- # @param group_href [String]
166
+ # List exports
167
+ # ViewSet for viewing exports from an Exporter.
168
+ # @param exporter_href [String]
170
169
  # @param [Hash] opts the optional parameters
171
170
  # @option opts [Integer] :limit Number of results to return per page.
172
171
  # @option opts [Integer] :offset The initial index from which to return the results.
173
- # @option opts [String] :ordering Which field to use when ordering the results.
174
172
  # @option opts [String] :fields A list of fields to include in the response.
175
173
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
176
- # @return [Array<(PaginatedPermissionResponseList, Integer, Hash)>] PaginatedPermissionResponseList data, response status code and response headers
177
- def list_with_http_info(group_href, opts = {})
174
+ # @return [Array<(PaginatedExportResponseList, Integer, Hash)>] PaginatedExportResponseList data, response status code and response headers
175
+ def list_with_http_info(exporter_href, opts = {})
178
176
  if @api_client.config.debugging
179
- @api_client.config.logger.debug 'Calling API: GroupsModelPermissionsApi.list ...'
177
+ @api_client.config.logger.debug 'Calling API: ExportersExportsApi.list ...'
180
178
  end
181
- # verify the required parameter 'group_href' is set
182
- if @api_client.config.client_side_validation && group_href.nil?
183
- fail ArgumentError, "Missing the required parameter 'group_href' when calling GroupsModelPermissionsApi.list"
179
+ # verify the required parameter 'exporter_href' is set
180
+ if @api_client.config.client_side_validation && exporter_href.nil?
181
+ fail ArgumentError, "Missing the required parameter 'exporter_href' when calling ExportersExportsApi.list"
184
182
  end
185
183
  # resource path
186
- local_var_path = '{group_href}model_permissions/'.sub('{' + 'group_href' + '}', CGI.escape(group_href.to_s).gsub('%2F', '/'))
184
+ local_var_path = '{exporter_href}exports/'.sub('{' + 'exporter_href' + '}', CGI.escape(exporter_href.to_s).gsub('%2F', '/'))
187
185
 
188
186
  # query parameters
189
187
  query_params = opts[:query_params] || {}
190
188
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
191
189
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
192
- query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
193
190
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
194
191
  query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
195
192
 
@@ -205,7 +202,7 @@ module PulpcoreClient
205
202
  post_body = opts[:body]
206
203
 
207
204
  # return_type
208
- return_type = opts[:return_type] || 'PaginatedPermissionResponseList'
205
+ return_type = opts[:return_type] || 'PaginatedExportResponseList'
209
206
 
210
207
  # auth_names
211
208
  auth_names = opts[:auth_names] || ['basicAuth']
@@ -221,40 +218,40 @@ module PulpcoreClient
221
218
 
222
219
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
223
220
  if @api_client.config.debugging
224
- @api_client.config.logger.debug "API called: GroupsModelPermissionsApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
221
+ @api_client.config.logger.debug "API called: ExportersExportsApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
225
222
  end
226
223
  return data, status_code, headers
227
224
  end
228
225
 
229
- # Inspect a permission
230
- # Retrieve a model permission from a group.
231
- # @param groups_model_permission_href [String]
226
+ # Inspect an export
227
+ # ViewSet for viewing exports from an Exporter.
228
+ # @param exporters_export_href [String]
232
229
  # @param [Hash] opts the optional parameters
233
230
  # @option opts [String] :fields A list of fields to include in the response.
234
231
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
235
- # @return [PermissionResponse]
236
- def read(groups_model_permission_href, opts = {})
237
- data, _status_code, _headers = read_with_http_info(groups_model_permission_href, opts)
232
+ # @return [ExportResponse]
233
+ def read(exporters_export_href, opts = {})
234
+ data, _status_code, _headers = read_with_http_info(exporters_export_href, opts)
238
235
  data
239
236
  end
240
237
 
241
- # Inspect a permission
242
- # Retrieve a model permission from a group.
243
- # @param groups_model_permission_href [String]
238
+ # Inspect an export
239
+ # ViewSet for viewing exports from an Exporter.
240
+ # @param exporters_export_href [String]
244
241
  # @param [Hash] opts the optional parameters
245
242
  # @option opts [String] :fields A list of fields to include in the response.
246
243
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
247
- # @return [Array<(PermissionResponse, Integer, Hash)>] PermissionResponse data, response status code and response headers
248
- def read_with_http_info(groups_model_permission_href, opts = {})
244
+ # @return [Array<(ExportResponse, Integer, Hash)>] ExportResponse data, response status code and response headers
245
+ def read_with_http_info(exporters_export_href, opts = {})
249
246
  if @api_client.config.debugging
250
- @api_client.config.logger.debug 'Calling API: GroupsModelPermissionsApi.read ...'
247
+ @api_client.config.logger.debug 'Calling API: ExportersExportsApi.read ...'
251
248
  end
252
- # verify the required parameter 'groups_model_permission_href' is set
253
- if @api_client.config.client_side_validation && groups_model_permission_href.nil?
254
- fail ArgumentError, "Missing the required parameter 'groups_model_permission_href' when calling GroupsModelPermissionsApi.read"
249
+ # verify the required parameter 'exporters_export_href' is set
250
+ if @api_client.config.client_side_validation && exporters_export_href.nil?
251
+ fail ArgumentError, "Missing the required parameter 'exporters_export_href' when calling ExportersExportsApi.read"
255
252
  end
256
253
  # resource path
257
- local_var_path = '{groups_model_permission_href}'.sub('{' + 'groups_model_permission_href' + '}', CGI.escape(groups_model_permission_href.to_s).gsub('%2F', '/'))
254
+ local_var_path = '{exporters_export_href}'.sub('{' + 'exporters_export_href' + '}', CGI.escape(exporters_export_href.to_s).gsub('%2F', '/'))
258
255
 
259
256
  # query parameters
260
257
  query_params = opts[:query_params] || {}
@@ -273,7 +270,7 @@ module PulpcoreClient
273
270
  post_body = opts[:body]
274
271
 
275
272
  # return_type
276
- return_type = opts[:return_type] || 'PermissionResponse'
273
+ return_type = opts[:return_type] || 'ExportResponse'
277
274
 
278
275
  # auth_names
279
276
  auth_names = opts[:auth_names] || ['basicAuth']
@@ -289,7 +286,7 @@ module PulpcoreClient
289
286
 
290
287
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
291
288
  if @api_client.config.debugging
292
- @api_client.config.logger.debug "API called: GroupsModelPermissionsApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
289
+ @api_client.config.logger.debug "API called: ExportersExportsApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
293
290
  end
294
291
  return data, status_code, headers
295
292
  end
@@ -155,7 +155,7 @@ module PulpcoreClient
155
155
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
156
156
  # @option opts [String] :name__startswith Filter results where name starts with value
157
157
  # @option opts [Integer] :offset The initial index from which to return the results.
158
- # @option opts [String] :ordering Which field to use when ordering the results.
158
+ # @option opts [Array<String>] :ordering Ordering
159
159
  # @option opts [String] :fields A list of fields to include in the response.
160
160
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
161
161
  # @return [PaginatedFilesystemExporterResponseList]
@@ -174,7 +174,7 @@ module PulpcoreClient
174
174
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
175
175
  # @option opts [String] :name__startswith Filter results where name starts with value
176
176
  # @option opts [Integer] :offset The initial index from which to return the results.
177
- # @option opts [String] :ordering Which field to use when ordering the results.
177
+ # @option opts [Array<String>] :ordering Ordering
178
178
  # @option opts [String] :fields A list of fields to include in the response.
179
179
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
180
180
  # @return [Array<(PaginatedFilesystemExporterResponseList, Integer, Hash)>] PaginatedFilesystemExporterResponseList data, response status code and response headers
@@ -182,6 +182,10 @@ module PulpcoreClient
182
182
  if @api_client.config.debugging
183
183
  @api_client.config.logger.debug 'Calling API: ExportersFilesystemApi.list ...'
184
184
  end
185
+ allowable_values = ["-core_fs_exporter", "-core_pulp_exporter", "-export", "-group_roles", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-user_roles", "core_fs_exporter", "core_pulp_exporter", "export", "group_roles", "name", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "user_roles"]
186
+ if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
187
+ fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
188
+ end
185
189
  # resource path
186
190
  local_var_path = '/pulp/api/v3/exporters/core/filesystem/'
187
191
 
@@ -194,7 +198,7 @@ module PulpcoreClient
194
198
  query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
195
199
  query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
196
200
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
197
- query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
201
+ query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
198
202
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
199
203
  query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
200
204
 
@@ -155,7 +155,6 @@ module PulpcoreClient
155
155
  # @param [Hash] opts the optional parameters
156
156
  # @option opts [Integer] :limit Number of results to return per page.
157
157
  # @option opts [Integer] :offset The initial index from which to return the results.
158
- # @option opts [String] :ordering Which field to use when ordering the results.
159
158
  # @option opts [String] :fields A list of fields to include in the response.
160
159
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
161
160
  # @return [PaginatedFilesystemExportResponseList]
@@ -170,7 +169,6 @@ module PulpcoreClient
170
169
  # @param [Hash] opts the optional parameters
171
170
  # @option opts [Integer] :limit Number of results to return per page.
172
171
  # @option opts [Integer] :offset The initial index from which to return the results.
173
- # @option opts [String] :ordering Which field to use when ordering the results.
174
172
  # @option opts [String] :fields A list of fields to include in the response.
175
173
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
176
174
  # @return [Array<(PaginatedFilesystemExportResponseList, Integer, Hash)>] PaginatedFilesystemExportResponseList data, response status code and response headers
@@ -189,7 +187,6 @@ module PulpcoreClient
189
187
  query_params = opts[:query_params] || {}
190
188
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
191
189
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
192
- query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
193
190
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
194
191
  query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
195
192
 
@@ -155,7 +155,7 @@ module PulpcoreClient
155
155
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
156
156
  # @option opts [String] :name__startswith Filter results where name starts with value
157
157
  # @option opts [Integer] :offset The initial index from which to return the results.
158
- # @option opts [String] :ordering Which field to use when ordering the results.
158
+ # @option opts [Array<String>] :ordering Ordering
159
159
  # @option opts [String] :fields A list of fields to include in the response.
160
160
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
161
161
  # @return [PaginatedPulpExporterResponseList]
@@ -174,7 +174,7 @@ module PulpcoreClient
174
174
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
175
175
  # @option opts [String] :name__startswith Filter results where name starts with value
176
176
  # @option opts [Integer] :offset The initial index from which to return the results.
177
- # @option opts [String] :ordering Which field to use when ordering the results.
177
+ # @option opts [Array<String>] :ordering Ordering
178
178
  # @option opts [String] :fields A list of fields to include in the response.
179
179
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
180
180
  # @return [Array<(PaginatedPulpExporterResponseList, Integer, Hash)>] PaginatedPulpExporterResponseList data, response status code and response headers
@@ -182,6 +182,10 @@ module PulpcoreClient
182
182
  if @api_client.config.debugging
183
183
  @api_client.config.logger.debug 'Calling API: ExportersPulpApi.list ...'
184
184
  end
185
+ allowable_values = ["-core_fs_exporter", "-core_pulp_exporter", "-export", "-group_roles", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-user_roles", "core_fs_exporter", "core_pulp_exporter", "export", "group_roles", "name", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "user_roles"]
186
+ if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
187
+ fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
188
+ end
185
189
  # resource path
186
190
  local_var_path = '/pulp/api/v3/exporters/core/pulp/'
187
191
 
@@ -194,7 +198,7 @@ module PulpcoreClient
194
198
  query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
195
199
  query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
196
200
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
197
- query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
201
+ query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
198
202
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
199
203
  query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
200
204
 
@@ -155,7 +155,6 @@ module PulpcoreClient
155
155
  # @param [Hash] opts the optional parameters
156
156
  # @option opts [Integer] :limit Number of results to return per page.
157
157
  # @option opts [Integer] :offset The initial index from which to return the results.
158
- # @option opts [String] :ordering Which field to use when ordering the results.
159
158
  # @option opts [String] :fields A list of fields to include in the response.
160
159
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
161
160
  # @return [PaginatedPulpExportResponseList]
@@ -170,7 +169,6 @@ module PulpcoreClient
170
169
  # @param [Hash] opts the optional parameters
171
170
  # @option opts [Integer] :limit Number of results to return per page.
172
171
  # @option opts [Integer] :offset The initial index from which to return the results.
173
- # @option opts [String] :ordering Which field to use when ordering the results.
174
172
  # @option opts [String] :fields A list of fields to include in the response.
175
173
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
176
174
  # @return [Array<(PaginatedPulpExportResponseList, Integer, Hash)>] PaginatedPulpExportResponseList data, response status code and response headers
@@ -189,7 +187,6 @@ module PulpcoreClient
189
187
  query_params = opts[:query_params] || {}
190
188
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
191
189
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
192
- query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
193
190
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
194
191
  query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
195
192
 
@@ -223,7 +223,7 @@ module PulpcoreClient
223
223
  # @option opts [String] :name__iexact Filter results where name matches value
224
224
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
225
225
  # @option opts [Integer] :offset The initial index from which to return the results.
226
- # @option opts [String] :ordering Which field to use when ordering the results.
226
+ # @option opts [Array<String>] :ordering Ordering
227
227
  # @option opts [String] :fields A list of fields to include in the response.
228
228
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
229
229
  # @return [PaginatedGroupResponseList]
@@ -244,7 +244,7 @@ module PulpcoreClient
244
244
  # @option opts [String] :name__iexact Filter results where name matches value
245
245
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
246
246
  # @option opts [Integer] :offset The initial index from which to return the results.
247
- # @option opts [String] :ordering Which field to use when ordering the results.
247
+ # @option opts [Array<String>] :ordering Ordering
248
248
  # @option opts [String] :fields A list of fields to include in the response.
249
249
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
250
250
  # @return [Array<(PaginatedGroupResponseList, Integer, Hash)>] PaginatedGroupResponseList data, response status code and response headers
@@ -252,6 +252,10 @@ module PulpcoreClient
252
252
  if @api_client.config.debugging
253
253
  @api_client.config.logger.debug 'Calling API: GroupsApi.list ...'
254
254
  end
255
+ allowable_values = ["-id", "-name", "-object_roles", "-permissions", "-pk", "-user", "id", "name", "object_roles", "permissions", "pk", "user"]
256
+ if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
257
+ fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
258
+ end
255
259
  # resource path
256
260
  local_var_path = '/pulp/api/v3/groups/'
257
261
 
@@ -266,7 +270,7 @@ module PulpcoreClient
266
270
  query_params[:'name__iexact'] = opts[:'name__iexact'] if !opts[:'name__iexact'].nil?
267
271
  query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
268
272
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
269
- query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
273
+ query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
270
274
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
271
275
  query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
272
276
 
@@ -156,7 +156,7 @@ module PulpcoreClient
156
156
  # @option opts [String] :content_object content_object
157
157
  # @option opts [Integer] :limit Number of results to return per page.
158
158
  # @option opts [Integer] :offset The initial index from which to return the results.
159
- # @option opts [String] :ordering Which field to use when ordering the results.
159
+ # @option opts [Array<String>] :ordering Ordering
160
160
  # @option opts [String] :role
161
161
  # @option opts [String] :role__contains
162
162
  # @option opts [String] :role__icontains
@@ -177,7 +177,7 @@ module PulpcoreClient
177
177
  # @option opts [String] :content_object content_object
178
178
  # @option opts [Integer] :limit Number of results to return per page.
179
179
  # @option opts [Integer] :offset The initial index from which to return the results.
180
- # @option opts [String] :ordering Which field to use when ordering the results.
180
+ # @option opts [Array<String>] :ordering Ordering
181
181
  # @option opts [String] :role
182
182
  # @option opts [String] :role__contains
183
183
  # @option opts [String] :role__icontains
@@ -194,6 +194,10 @@ module PulpcoreClient
194
194
  if @api_client.config.client_side_validation && group_href.nil?
195
195
  fail ArgumentError, "Missing the required parameter 'group_href' when calling GroupsRolesApi.list"
196
196
  end
197
+ allowable_values = ["-description", "-pk", "-pulp_created", "-role", "description", "pk", "pulp_created", "role"]
198
+ if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
199
+ fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
200
+ end
197
201
  # resource path
198
202
  local_var_path = '{group_href}roles/'.sub('{' + 'group_href' + '}', CGI.escape(group_href.to_s).gsub('%2F', '/'))
199
203
 
@@ -202,7 +206,7 @@ module PulpcoreClient
202
206
  query_params[:'content_object'] = opts[:'content_object'] if !opts[:'content_object'].nil?
203
207
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
204
208
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
205
- query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
209
+ query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
206
210
  query_params[:'role'] = opts[:'role'] if !opts[:'role'].nil?
207
211
  query_params[:'role__contains'] = opts[:'role__contains'] if !opts[:'role__contains'].nil?
208
212
  query_params[:'role__icontains'] = opts[:'role__icontains'] if !opts[:'role__icontains'].nil?
@@ -155,7 +155,6 @@ module PulpcoreClient
155
155
  # @param [Hash] opts the optional parameters
156
156
  # @option opts [Integer] :limit Number of results to return per page.
157
157
  # @option opts [Integer] :offset The initial index from which to return the results.
158
- # @option opts [String] :ordering Which field to use when ordering the results.
159
158
  # @option opts [String] :fields A list of fields to include in the response.
160
159
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
161
160
  # @return [PaginatedGroupUserResponseList]
@@ -170,7 +169,6 @@ module PulpcoreClient
170
169
  # @param [Hash] opts the optional parameters
171
170
  # @option opts [Integer] :limit Number of results to return per page.
172
171
  # @option opts [Integer] :offset The initial index from which to return the results.
173
- # @option opts [String] :ordering Which field to use when ordering the results.
174
172
  # @option opts [String] :fields A list of fields to include in the response.
175
173
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
176
174
  # @return [Array<(PaginatedGroupUserResponseList, Integer, Hash)>] PaginatedGroupUserResponseList data, response status code and response headers
@@ -189,7 +187,6 @@ module PulpcoreClient
189
187
  query_params = opts[:query_params] || {}
190
188
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
191
189
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
192
- query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
193
190
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
194
191
  query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
195
192