pulpcore_client 3.21.32 → 3.22.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +147 -143
- data/docs/AccessPoliciesApi.md +28 -28
- data/docs/ArtifactDistributionResponse.md +29 -0
- data/docs/ArtifactsApi.md +21 -21
- data/docs/ContentApi.md +6 -6
- data/docs/ContentSettingsResponse.md +19 -0
- data/docs/ContentguardsApi.md +8 -8
- data/docs/ContentguardsContentRedirectApi.md +53 -53
- data/docs/ContentguardsRbacApi.md +53 -53
- data/docs/DistributionResponse.md +1 -1
- data/docs/DistributionsApi.md +11 -11
- data/docs/DistributionsArtifactsApi.md +154 -0
- data/docs/ExportersFilesystemApi.md +33 -33
- data/docs/ExportersFilesystemExportsApi.md +21 -21
- data/docs/ExportersPulpApi.md +33 -33
- data/docs/ExportersPulpExportsApi.md +21 -21
- data/docs/FilesystemExport.md +1 -3
- data/docs/GroupsApi.md +51 -51
- data/docs/GroupsRolesApi.md +21 -21
- data/docs/GroupsUsersApi.md +16 -16
- data/docs/ImportersPulpApi.md +33 -33
- data/docs/ImportersPulpImportCheckApi.md +1 -1
- data/docs/ImportersPulpImportsApi.md +21 -21
- data/docs/OrphansApi.md +6 -6
- data/docs/OrphansCleanupApi.md +6 -6
- data/docs/PaginatedArtifactDistributionResponseList.md +23 -0
- data/docs/PublicationsApi.md +8 -8
- data/docs/RemoteResponse.md +4 -2
- data/docs/RemoteResponseHiddenFields.md +19 -0
- data/docs/RemotesApi.md +10 -10
- data/docs/RepairApi.md +6 -6
- data/docs/RepositoriesApi.md +9 -9
- data/docs/RepositoriesReclaimSpaceApi.md +6 -6
- data/docs/RepositoryResponse.md +1 -1
- data/docs/RepositoryVersionsApi.md +10 -10
- data/docs/RolesApi.md +31 -31
- data/docs/SigningServicesApi.md +15 -13
- data/docs/StatusApi.md +1 -1
- data/docs/StatusResponse.md +3 -1
- data/docs/TaskGroupsApi.md +11 -13
- data/docs/TaskSchedulesApi.md +35 -35
- data/docs/TasksApi.md +128 -114
- data/docs/UploadsApi.md +61 -51
- data/docs/UserResponse.md +3 -1
- data/docs/UsersApi.md +31 -31
- data/docs/UsersRolesApi.md +21 -21
- data/docs/WorkersApi.md +15 -15
- data/lib/pulpcore_client/api/access_policies_api.rb +34 -34
- data/lib/pulpcore_client/api/artifacts_api.rb +30 -30
- data/lib/pulpcore_client/api/content_api.rb +5 -5
- data/lib/pulpcore_client/api/contentguards_api.rb +8 -8
- data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +66 -66
- data/lib/pulpcore_client/api/contentguards_rbac_api.rb +66 -66
- data/lib/pulpcore_client/api/distributions_api.rb +12 -12
- data/lib/pulpcore_client/api/distributions_artifacts_api.rb +198 -0
- data/lib/pulpcore_client/api/exporters_filesystem_api.rb +40 -40
- data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +25 -25
- data/lib/pulpcore_client/api/exporters_pulp_api.rb +40 -40
- data/lib/pulpcore_client/api/exporters_pulp_exports_api.rb +25 -25
- data/lib/pulpcore_client/api/groups_api.rb +64 -64
- data/lib/pulpcore_client/api/groups_roles_api.rb +25 -25
- data/lib/pulpcore_client/api/groups_users_api.rb +19 -19
- data/lib/pulpcore_client/api/importers_pulp_api.rb +40 -40
- data/lib/pulpcore_client/api/importers_pulp_imports_api.rb +25 -25
- data/lib/pulpcore_client/api/orphans_api.rb +5 -5
- data/lib/pulpcore_client/api/orphans_cleanup_api.rb +6 -6
- data/lib/pulpcore_client/api/publications_api.rb +8 -8
- data/lib/pulpcore_client/api/remotes_api.rb +10 -10
- data/lib/pulpcore_client/api/repair_api.rb +6 -6
- data/lib/pulpcore_client/api/repositories_api.rb +8 -8
- data/lib/pulpcore_client/api/repositories_reclaim_space_api.rb +6 -6
- data/lib/pulpcore_client/api/repository_versions_api.rb +10 -10
- data/lib/pulpcore_client/api/roles_api.rb +38 -38
- data/lib/pulpcore_client/api/signing_services_api.rb +20 -13
- data/lib/pulpcore_client/api/task_groups_api.rb +11 -18
- data/lib/pulpcore_client/api/task_schedules_api.rb +42 -42
- data/lib/pulpcore_client/api/tasks_api.rb +159 -138
- data/lib/pulpcore_client/api/uploads_api.rb +84 -65
- data/lib/pulpcore_client/api/users_api.rb +38 -38
- data/lib/pulpcore_client/api/users_roles_api.rb +25 -25
- data/lib/pulpcore_client/api/workers_api.rb +16 -16
- data/lib/pulpcore_client/configuration.rb +3 -3
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +279 -0
- data/lib/pulpcore_client/models/content_settings_response.rb +228 -0
- data/lib/pulpcore_client/models/distribution_response.rb +4 -2
- data/lib/pulpcore_client/models/filesystem_export.rb +4 -14
- data/lib/pulpcore_client/models/group_role.rb +19 -0
- data/lib/pulpcore_client/models/paginated_artifact_distribution_response_list.rb +237 -0
- data/lib/pulpcore_client/models/remote_response.rb +41 -27
- data/lib/pulpcore_client/models/remote_response_hidden_fields.rb +215 -0
- data/lib/pulpcore_client/models/repository_response.rb +4 -2
- data/lib/pulpcore_client/models/status_response.rb +19 -4
- data/lib/pulpcore_client/models/user_response.rb +16 -4
- data/lib/pulpcore_client/models/user_role.rb +19 -0
- data/lib/pulpcore_client/version.rb +1 -1
- data/lib/pulpcore_client.rb +5 -2
- data/spec/api/access_policies_api_spec.rb +11 -11
- data/spec/api/artifacts_api_spec.rb +8 -8
- data/spec/api/content_api_spec.rb +2 -2
- data/spec/api/contentguards_api_spec.rb +3 -3
- data/spec/api/contentguards_content_redirect_api_spec.rb +21 -21
- data/spec/api/contentguards_rbac_api_spec.rb +21 -21
- data/spec/api/distributions_api_spec.rb +5 -5
- data/spec/api/distributions_artifacts_api_spec.rb +76 -0
- data/spec/api/exporters_filesystem_api_spec.rb +13 -13
- data/spec/api/exporters_filesystem_exports_api_spec.rb +8 -8
- data/spec/api/exporters_pulp_api_spec.rb +13 -13
- data/spec/api/exporters_pulp_exports_api_spec.rb +8 -8
- data/spec/api/groups_api_spec.rb +20 -20
- data/spec/api/groups_roles_api_spec.rb +8 -8
- data/spec/api/groups_users_api_spec.rb +6 -6
- data/spec/api/importers_pulp_api_spec.rb +13 -13
- data/spec/api/importers_pulp_imports_api_spec.rb +8 -8
- data/spec/api/orphans_api_spec.rb +2 -2
- data/spec/api/orphans_cleanup_api_spec.rb +2 -2
- data/spec/api/publications_api_spec.rb +3 -3
- data/spec/api/remotes_api_spec.rb +4 -4
- data/spec/api/repair_api_spec.rb +2 -2
- data/spec/api/repositories_api_spec.rb +3 -3
- data/spec/api/repositories_reclaim_space_api_spec.rb +2 -2
- data/spec/api/repository_versions_api_spec.rb +4 -4
- data/spec/api/roles_api_spec.rb +12 -12
- data/spec/api/signing_services_api_spec.rb +6 -5
- data/spec/api/task_groups_api_spec.rb +4 -5
- data/spec/api/task_schedules_api_spec.rb +14 -14
- data/spec/api/tasks_api_spec.rb +45 -38
- data/spec/api/uploads_api_spec.rb +25 -20
- data/spec/api/users_api_spec.rb +12 -12
- data/spec/api/users_roles_api_spec.rb +8 -8
- data/spec/api/workers_api_spec.rb +6 -6
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/artifact_distribution_response_spec.rb +77 -0
- data/spec/models/content_settings_response_spec.rb +47 -0
- data/spec/models/filesystem_export_spec.rb +0 -6
- data/spec/models/paginated_artifact_distribution_response_list_spec.rb +59 -0
- data/spec/models/remote_response_hidden_fields_spec.rb +47 -0
- data/spec/models/remote_response_spec.rb +6 -0
- data/spec/models/status_response_spec.rb +6 -0
- data/spec/models/user_response_spec.rb +6 -0
- metadata +162 -150
- data/docs/DocsApiJsonApi.md +0 -61
- data/docs/DocsApiYamlApi.md +0 -61
- data/lib/pulpcore_client/api/docs_api_json_api.rb +0 -89
- data/lib/pulpcore_client/api/docs_api_yaml_api.rb +0 -89
- data/spec/api/docs_api_json_api_spec.rb +0 -48
- data/spec/api/docs_api_yaml_api_spec.rb +0 -48
@@ -0,0 +1,198 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
Contact: pulp-list@redhat.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'cgi'
|
14
|
+
|
15
|
+
module PulpcoreClient
|
16
|
+
class DistributionsArtifactsApi
|
17
|
+
attr_accessor :api_client
|
18
|
+
|
19
|
+
def initialize(api_client = ApiClient.default)
|
20
|
+
@api_client = api_client
|
21
|
+
end
|
22
|
+
# List artifact distributions
|
23
|
+
# ViewSet for ArtifactDistribution.
|
24
|
+
# @param [Hash] opts the optional parameters
|
25
|
+
# @option opts [String] :base_path Filter results where base_path matches value
|
26
|
+
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
27
|
+
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
28
|
+
# @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
|
29
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
30
|
+
# @option opts [String] :name Filter results where name matches value
|
31
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
32
|
+
# @option opts [String] :name__icontains Filter results where name contains value
|
33
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
34
|
+
# @option opts [String] :name__startswith Filter results where name starts with value
|
35
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
36
|
+
# @option opts [Array<String>] :ordering Ordering
|
37
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
38
|
+
# @option opts [String] :with_content Filter distributions based on the content served by them
|
39
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
40
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
41
|
+
# @return [PaginatedArtifactDistributionResponseList]
|
42
|
+
def list(opts = {})
|
43
|
+
data, _status_code, _headers = list_with_http_info(opts)
|
44
|
+
data
|
45
|
+
end
|
46
|
+
|
47
|
+
# List artifact distributions
|
48
|
+
# ViewSet for ArtifactDistribution.
|
49
|
+
# @param [Hash] opts the optional parameters
|
50
|
+
# @option opts [String] :base_path Filter results where base_path matches value
|
51
|
+
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
52
|
+
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
53
|
+
# @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
|
54
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
55
|
+
# @option opts [String] :name Filter results where name matches value
|
56
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
57
|
+
# @option opts [String] :name__icontains Filter results where name contains value
|
58
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
59
|
+
# @option opts [String] :name__startswith Filter results where name starts with value
|
60
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
61
|
+
# @option opts [Array<String>] :ordering Ordering
|
62
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
63
|
+
# @option opts [String] :with_content Filter distributions based on the content served by them
|
64
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
65
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
66
|
+
# @return [Array<(PaginatedArtifactDistributionResponseList, Integer, Hash)>] PaginatedArtifactDistributionResponseList data, response status code and response headers
|
67
|
+
def list_with_http_info(opts = {})
|
68
|
+
if @api_client.config.debugging
|
69
|
+
@api_client.config.logger.debug 'Calling API: DistributionsArtifactsApi.list ...'
|
70
|
+
end
|
71
|
+
allowable_values = ["-base_path", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "base_path", "name", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type"]
|
72
|
+
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
73
|
+
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
74
|
+
end
|
75
|
+
# resource path
|
76
|
+
local_var_path = '/pulp/api/v3/distributions/core/artifacts/'
|
77
|
+
|
78
|
+
# query parameters
|
79
|
+
query_params = opts[:query_params] || {}
|
80
|
+
query_params[:'base_path'] = opts[:'base_path'] if !opts[:'base_path'].nil?
|
81
|
+
query_params[:'base_path__contains'] = opts[:'base_path__contains'] if !opts[:'base_path__contains'].nil?
|
82
|
+
query_params[:'base_path__icontains'] = opts[:'base_path__icontains'] if !opts[:'base_path__icontains'].nil?
|
83
|
+
query_params[:'base_path__in'] = @api_client.build_collection_param(opts[:'base_path__in'], :csv) if !opts[:'base_path__in'].nil?
|
84
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
85
|
+
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
86
|
+
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
87
|
+
query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
|
88
|
+
query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
|
89
|
+
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
90
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
91
|
+
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
92
|
+
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
93
|
+
query_params[:'with_content'] = opts[:'with_content'] if !opts[:'with_content'].nil?
|
94
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
95
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
96
|
+
|
97
|
+
# header parameters
|
98
|
+
header_params = opts[:header_params] || {}
|
99
|
+
# HTTP header 'Accept' (if needed)
|
100
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
101
|
+
|
102
|
+
# form parameters
|
103
|
+
form_params = opts[:form_params] || {}
|
104
|
+
|
105
|
+
# http body (model)
|
106
|
+
post_body = opts[:body]
|
107
|
+
|
108
|
+
# return_type
|
109
|
+
return_type = opts[:return_type] || 'PaginatedArtifactDistributionResponseList'
|
110
|
+
|
111
|
+
# auth_names
|
112
|
+
auth_names = opts[:auth_names] || ['basicAuth']
|
113
|
+
|
114
|
+
new_options = opts.merge(
|
115
|
+
:header_params => header_params,
|
116
|
+
:query_params => query_params,
|
117
|
+
:form_params => form_params,
|
118
|
+
:body => post_body,
|
119
|
+
:auth_names => auth_names,
|
120
|
+
:return_type => return_type
|
121
|
+
)
|
122
|
+
|
123
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
124
|
+
if @api_client.config.debugging
|
125
|
+
@api_client.config.logger.debug "API called: DistributionsArtifactsApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
126
|
+
end
|
127
|
+
return data, status_code, headers
|
128
|
+
end
|
129
|
+
|
130
|
+
# Inspect an artifact distribution
|
131
|
+
# ViewSet for ArtifactDistribution.
|
132
|
+
# @param artifact_distribution_href [String]
|
133
|
+
# @param [Hash] opts the optional parameters
|
134
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
135
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
136
|
+
# @return [ArtifactDistributionResponse]
|
137
|
+
def read(artifact_distribution_href, opts = {})
|
138
|
+
data, _status_code, _headers = read_with_http_info(artifact_distribution_href, opts)
|
139
|
+
data
|
140
|
+
end
|
141
|
+
|
142
|
+
# Inspect an artifact distribution
|
143
|
+
# ViewSet for ArtifactDistribution.
|
144
|
+
# @param artifact_distribution_href [String]
|
145
|
+
# @param [Hash] opts the optional parameters
|
146
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
147
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
148
|
+
# @return [Array<(ArtifactDistributionResponse, Integer, Hash)>] ArtifactDistributionResponse data, response status code and response headers
|
149
|
+
def read_with_http_info(artifact_distribution_href, opts = {})
|
150
|
+
if @api_client.config.debugging
|
151
|
+
@api_client.config.logger.debug 'Calling API: DistributionsArtifactsApi.read ...'
|
152
|
+
end
|
153
|
+
# verify the required parameter 'artifact_distribution_href' is set
|
154
|
+
if @api_client.config.client_side_validation && artifact_distribution_href.nil?
|
155
|
+
fail ArgumentError, "Missing the required parameter 'artifact_distribution_href' when calling DistributionsArtifactsApi.read"
|
156
|
+
end
|
157
|
+
# resource path
|
158
|
+
local_var_path = '{artifact_distribution_href}'.sub('{' + 'artifact_distribution_href' + '}', CGI.escape(artifact_distribution_href.to_s).gsub('%2F', '/'))
|
159
|
+
|
160
|
+
# query parameters
|
161
|
+
query_params = opts[:query_params] || {}
|
162
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
163
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
164
|
+
|
165
|
+
# header parameters
|
166
|
+
header_params = opts[:header_params] || {}
|
167
|
+
# HTTP header 'Accept' (if needed)
|
168
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
169
|
+
|
170
|
+
# form parameters
|
171
|
+
form_params = opts[:form_params] || {}
|
172
|
+
|
173
|
+
# http body (model)
|
174
|
+
post_body = opts[:body]
|
175
|
+
|
176
|
+
# return_type
|
177
|
+
return_type = opts[:return_type] || 'ArtifactDistributionResponse'
|
178
|
+
|
179
|
+
# auth_names
|
180
|
+
auth_names = opts[:auth_names] || ['basicAuth']
|
181
|
+
|
182
|
+
new_options = opts.merge(
|
183
|
+
:header_params => header_params,
|
184
|
+
:query_params => query_params,
|
185
|
+
:form_params => form_params,
|
186
|
+
:body => post_body,
|
187
|
+
:auth_names => auth_names,
|
188
|
+
:return_type => return_type
|
189
|
+
)
|
190
|
+
|
191
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
192
|
+
if @api_client.config.debugging
|
193
|
+
@api_client.config.logger.debug "API called: DistributionsArtifactsApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
194
|
+
end
|
195
|
+
return data, status_code, headers
|
196
|
+
end
|
197
|
+
end
|
198
|
+
end
|
@@ -24,8 +24,8 @@ module PulpcoreClient
|
|
24
24
|
# @param filesystem_exporter [FilesystemExporter]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
26
|
# @return [FilesystemExporterResponse]
|
27
|
-
def
|
28
|
-
data, _status_code, _headers =
|
27
|
+
def create(filesystem_exporter, opts = {})
|
28
|
+
data, _status_code, _headers = create_with_http_info(filesystem_exporter, opts)
|
29
29
|
data
|
30
30
|
end
|
31
31
|
|
@@ -34,13 +34,13 @@ module PulpcoreClient
|
|
34
34
|
# @param filesystem_exporter [FilesystemExporter]
|
35
35
|
# @param [Hash] opts the optional parameters
|
36
36
|
# @return [Array<(FilesystemExporterResponse, Integer, Hash)>] FilesystemExporterResponse data, response status code and response headers
|
37
|
-
def
|
37
|
+
def create_with_http_info(filesystem_exporter, opts = {})
|
38
38
|
if @api_client.config.debugging
|
39
|
-
@api_client.config.logger.debug 'Calling API: ExportersFilesystemApi.
|
39
|
+
@api_client.config.logger.debug 'Calling API: ExportersFilesystemApi.create ...'
|
40
40
|
end
|
41
41
|
# verify the required parameter 'filesystem_exporter' is set
|
42
42
|
if @api_client.config.client_side_validation && filesystem_exporter.nil?
|
43
|
-
fail ArgumentError, "Missing the required parameter 'filesystem_exporter' when calling ExportersFilesystemApi.
|
43
|
+
fail ArgumentError, "Missing the required parameter 'filesystem_exporter' when calling ExportersFilesystemApi.create"
|
44
44
|
end
|
45
45
|
# resource path
|
46
46
|
local_var_path = '/pulp/api/v3/exporters/core/filesystem/'
|
@@ -78,7 +78,7 @@ module PulpcoreClient
|
|
78
78
|
|
79
79
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
80
80
|
if @api_client.config.debugging
|
81
|
-
@api_client.config.logger.debug "API called: ExportersFilesystemApi#
|
81
|
+
@api_client.config.logger.debug "API called: ExportersFilesystemApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
82
82
|
end
|
83
83
|
return data, status_code, headers
|
84
84
|
end
|
@@ -88,8 +88,8 @@ module PulpcoreClient
|
|
88
88
|
# @param filesystem_exporter_href [String]
|
89
89
|
# @param [Hash] opts the optional parameters
|
90
90
|
# @return [AsyncOperationResponse]
|
91
|
-
def
|
92
|
-
data, _status_code, _headers =
|
91
|
+
def delete(filesystem_exporter_href, opts = {})
|
92
|
+
data, _status_code, _headers = delete_with_http_info(filesystem_exporter_href, opts)
|
93
93
|
data
|
94
94
|
end
|
95
95
|
|
@@ -98,13 +98,13 @@ module PulpcoreClient
|
|
98
98
|
# @param filesystem_exporter_href [String]
|
99
99
|
# @param [Hash] opts the optional parameters
|
100
100
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
101
|
-
def
|
101
|
+
def delete_with_http_info(filesystem_exporter_href, opts = {})
|
102
102
|
if @api_client.config.debugging
|
103
|
-
@api_client.config.logger.debug 'Calling API: ExportersFilesystemApi.
|
103
|
+
@api_client.config.logger.debug 'Calling API: ExportersFilesystemApi.delete ...'
|
104
104
|
end
|
105
105
|
# verify the required parameter 'filesystem_exporter_href' is set
|
106
106
|
if @api_client.config.client_side_validation && filesystem_exporter_href.nil?
|
107
|
-
fail ArgumentError, "Missing the required parameter 'filesystem_exporter_href' when calling ExportersFilesystemApi.
|
107
|
+
fail ArgumentError, "Missing the required parameter 'filesystem_exporter_href' when calling ExportersFilesystemApi.delete"
|
108
108
|
end
|
109
109
|
# resource path
|
110
110
|
local_var_path = '{filesystem_exporter_href}'.sub('{' + 'filesystem_exporter_href' + '}', CGI.escape(filesystem_exporter_href.to_s).gsub('%2F', '/'))
|
@@ -140,7 +140,7 @@ module PulpcoreClient
|
|
140
140
|
|
141
141
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
142
142
|
if @api_client.config.debugging
|
143
|
-
@api_client.config.logger.debug "API called: ExportersFilesystemApi#
|
143
|
+
@api_client.config.logger.debug "API called: ExportersFilesystemApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
144
144
|
end
|
145
145
|
return data, status_code, headers
|
146
146
|
end
|
@@ -149,7 +149,7 @@ module PulpcoreClient
|
|
149
149
|
# Endpoint for managing FilesystemExporters. FilesystemExporters are provided as a tech preview.
|
150
150
|
# @param [Hash] opts the optional parameters
|
151
151
|
# @option opts [Integer] :limit Number of results to return per page.
|
152
|
-
# @option opts [String] :name
|
152
|
+
# @option opts [String] :name Filter results where name matches value
|
153
153
|
# @option opts [String] :name__contains Filter results where name contains value
|
154
154
|
# @option opts [String] :name__icontains Filter results where name contains value
|
155
155
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
@@ -159,8 +159,8 @@ module PulpcoreClient
|
|
159
159
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
160
160
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
161
161
|
# @return [PaginatedFilesystemExporterResponseList]
|
162
|
-
def
|
163
|
-
data, _status_code, _headers =
|
162
|
+
def list(opts = {})
|
163
|
+
data, _status_code, _headers = list_with_http_info(opts)
|
164
164
|
data
|
165
165
|
end
|
166
166
|
|
@@ -168,7 +168,7 @@ module PulpcoreClient
|
|
168
168
|
# Endpoint for managing FilesystemExporters. FilesystemExporters are provided as a tech preview.
|
169
169
|
# @param [Hash] opts the optional parameters
|
170
170
|
# @option opts [Integer] :limit Number of results to return per page.
|
171
|
-
# @option opts [String] :name
|
171
|
+
# @option opts [String] :name Filter results where name matches value
|
172
172
|
# @option opts [String] :name__contains Filter results where name contains value
|
173
173
|
# @option opts [String] :name__icontains Filter results where name contains value
|
174
174
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
@@ -178,11 +178,11 @@ module PulpcoreClient
|
|
178
178
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
179
179
|
# @option opts [Array<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
|
181
|
-
def
|
181
|
+
def list_with_http_info(opts = {})
|
182
182
|
if @api_client.config.debugging
|
183
|
-
@api_client.config.logger.debug 'Calling API: ExportersFilesystemApi.
|
183
|
+
@api_client.config.logger.debug 'Calling API: ExportersFilesystemApi.list ...'
|
184
184
|
end
|
185
|
-
allowable_values = ["-
|
185
|
+
allowable_values = ["-method", "-name", "-path", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "method", "name", "path", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type"]
|
186
186
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
187
187
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
188
188
|
end
|
@@ -230,7 +230,7 @@ module PulpcoreClient
|
|
230
230
|
|
231
231
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
232
232
|
if @api_client.config.debugging
|
233
|
-
@api_client.config.logger.debug "API called: ExportersFilesystemApi#
|
233
|
+
@api_client.config.logger.debug "API called: ExportersFilesystemApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
234
234
|
end
|
235
235
|
return data, status_code, headers
|
236
236
|
end
|
@@ -241,8 +241,8 @@ module PulpcoreClient
|
|
241
241
|
# @param patched_filesystem_exporter [PatchedFilesystemExporter]
|
242
242
|
# @param [Hash] opts the optional parameters
|
243
243
|
# @return [AsyncOperationResponse]
|
244
|
-
def
|
245
|
-
data, _status_code, _headers =
|
244
|
+
def partial_update(filesystem_exporter_href, patched_filesystem_exporter, opts = {})
|
245
|
+
data, _status_code, _headers = partial_update_with_http_info(filesystem_exporter_href, patched_filesystem_exporter, opts)
|
246
246
|
data
|
247
247
|
end
|
248
248
|
|
@@ -252,17 +252,17 @@ module PulpcoreClient
|
|
252
252
|
# @param patched_filesystem_exporter [PatchedFilesystemExporter]
|
253
253
|
# @param [Hash] opts the optional parameters
|
254
254
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
255
|
-
def
|
255
|
+
def partial_update_with_http_info(filesystem_exporter_href, patched_filesystem_exporter, opts = {})
|
256
256
|
if @api_client.config.debugging
|
257
|
-
@api_client.config.logger.debug 'Calling API: ExportersFilesystemApi.
|
257
|
+
@api_client.config.logger.debug 'Calling API: ExportersFilesystemApi.partial_update ...'
|
258
258
|
end
|
259
259
|
# verify the required parameter 'filesystem_exporter_href' is set
|
260
260
|
if @api_client.config.client_side_validation && filesystem_exporter_href.nil?
|
261
|
-
fail ArgumentError, "Missing the required parameter 'filesystem_exporter_href' when calling ExportersFilesystemApi.
|
261
|
+
fail ArgumentError, "Missing the required parameter 'filesystem_exporter_href' when calling ExportersFilesystemApi.partial_update"
|
262
262
|
end
|
263
263
|
# verify the required parameter 'patched_filesystem_exporter' is set
|
264
264
|
if @api_client.config.client_side_validation && patched_filesystem_exporter.nil?
|
265
|
-
fail ArgumentError, "Missing the required parameter 'patched_filesystem_exporter' when calling ExportersFilesystemApi.
|
265
|
+
fail ArgumentError, "Missing the required parameter 'patched_filesystem_exporter' when calling ExportersFilesystemApi.partial_update"
|
266
266
|
end
|
267
267
|
# resource path
|
268
268
|
local_var_path = '{filesystem_exporter_href}'.sub('{' + 'filesystem_exporter_href' + '}', CGI.escape(filesystem_exporter_href.to_s).gsub('%2F', '/'))
|
@@ -300,7 +300,7 @@ module PulpcoreClient
|
|
300
300
|
|
301
301
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
302
302
|
if @api_client.config.debugging
|
303
|
-
@api_client.config.logger.debug "API called: ExportersFilesystemApi#
|
303
|
+
@api_client.config.logger.debug "API called: ExportersFilesystemApi#partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
304
304
|
end
|
305
305
|
return data, status_code, headers
|
306
306
|
end
|
@@ -312,8 +312,8 @@ module PulpcoreClient
|
|
312
312
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
313
313
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
314
314
|
# @return [FilesystemExporterResponse]
|
315
|
-
def
|
316
|
-
data, _status_code, _headers =
|
315
|
+
def read(filesystem_exporter_href, opts = {})
|
316
|
+
data, _status_code, _headers = read_with_http_info(filesystem_exporter_href, opts)
|
317
317
|
data
|
318
318
|
end
|
319
319
|
|
@@ -324,13 +324,13 @@ module PulpcoreClient
|
|
324
324
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
325
325
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
326
326
|
# @return [Array<(FilesystemExporterResponse, Integer, Hash)>] FilesystemExporterResponse data, response status code and response headers
|
327
|
-
def
|
327
|
+
def read_with_http_info(filesystem_exporter_href, opts = {})
|
328
328
|
if @api_client.config.debugging
|
329
|
-
@api_client.config.logger.debug 'Calling API: ExportersFilesystemApi.
|
329
|
+
@api_client.config.logger.debug 'Calling API: ExportersFilesystemApi.read ...'
|
330
330
|
end
|
331
331
|
# verify the required parameter 'filesystem_exporter_href' is set
|
332
332
|
if @api_client.config.client_side_validation && filesystem_exporter_href.nil?
|
333
|
-
fail ArgumentError, "Missing the required parameter 'filesystem_exporter_href' when calling ExportersFilesystemApi.
|
333
|
+
fail ArgumentError, "Missing the required parameter 'filesystem_exporter_href' when calling ExportersFilesystemApi.read"
|
334
334
|
end
|
335
335
|
# resource path
|
336
336
|
local_var_path = '{filesystem_exporter_href}'.sub('{' + 'filesystem_exporter_href' + '}', CGI.escape(filesystem_exporter_href.to_s).gsub('%2F', '/'))
|
@@ -368,7 +368,7 @@ module PulpcoreClient
|
|
368
368
|
|
369
369
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
370
370
|
if @api_client.config.debugging
|
371
|
-
@api_client.config.logger.debug "API called: ExportersFilesystemApi#
|
371
|
+
@api_client.config.logger.debug "API called: ExportersFilesystemApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
372
372
|
end
|
373
373
|
return data, status_code, headers
|
374
374
|
end
|
@@ -379,8 +379,8 @@ module PulpcoreClient
|
|
379
379
|
# @param filesystem_exporter [FilesystemExporter]
|
380
380
|
# @param [Hash] opts the optional parameters
|
381
381
|
# @return [AsyncOperationResponse]
|
382
|
-
def
|
383
|
-
data, _status_code, _headers =
|
382
|
+
def update(filesystem_exporter_href, filesystem_exporter, opts = {})
|
383
|
+
data, _status_code, _headers = update_with_http_info(filesystem_exporter_href, filesystem_exporter, opts)
|
384
384
|
data
|
385
385
|
end
|
386
386
|
|
@@ -390,17 +390,17 @@ module PulpcoreClient
|
|
390
390
|
# @param filesystem_exporter [FilesystemExporter]
|
391
391
|
# @param [Hash] opts the optional parameters
|
392
392
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
393
|
-
def
|
393
|
+
def update_with_http_info(filesystem_exporter_href, filesystem_exporter, opts = {})
|
394
394
|
if @api_client.config.debugging
|
395
|
-
@api_client.config.logger.debug 'Calling API: ExportersFilesystemApi.
|
395
|
+
@api_client.config.logger.debug 'Calling API: ExportersFilesystemApi.update ...'
|
396
396
|
end
|
397
397
|
# verify the required parameter 'filesystem_exporter_href' is set
|
398
398
|
if @api_client.config.client_side_validation && filesystem_exporter_href.nil?
|
399
|
-
fail ArgumentError, "Missing the required parameter 'filesystem_exporter_href' when calling ExportersFilesystemApi.
|
399
|
+
fail ArgumentError, "Missing the required parameter 'filesystem_exporter_href' when calling ExportersFilesystemApi.update"
|
400
400
|
end
|
401
401
|
# verify the required parameter 'filesystem_exporter' is set
|
402
402
|
if @api_client.config.client_side_validation && filesystem_exporter.nil?
|
403
|
-
fail ArgumentError, "Missing the required parameter 'filesystem_exporter' when calling ExportersFilesystemApi.
|
403
|
+
fail ArgumentError, "Missing the required parameter 'filesystem_exporter' when calling ExportersFilesystemApi.update"
|
404
404
|
end
|
405
405
|
# resource path
|
406
406
|
local_var_path = '{filesystem_exporter_href}'.sub('{' + 'filesystem_exporter_href' + '}', CGI.escape(filesystem_exporter_href.to_s).gsub('%2F', '/'))
|
@@ -438,7 +438,7 @@ module PulpcoreClient
|
|
438
438
|
|
439
439
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
440
440
|
if @api_client.config.debugging
|
441
|
-
@api_client.config.logger.debug "API called: ExportersFilesystemApi#
|
441
|
+
@api_client.config.logger.debug "API called: ExportersFilesystemApi#update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
442
442
|
end
|
443
443
|
return data, status_code, headers
|
444
444
|
end
|
@@ -25,8 +25,8 @@ module PulpcoreClient
|
|
25
25
|
# @param filesystem_export [FilesystemExport]
|
26
26
|
# @param [Hash] opts the optional parameters
|
27
27
|
# @return [AsyncOperationResponse]
|
28
|
-
def
|
29
|
-
data, _status_code, _headers =
|
28
|
+
def create(filesystem_exporter_href, filesystem_export, opts = {})
|
29
|
+
data, _status_code, _headers = create_with_http_info(filesystem_exporter_href, filesystem_export, opts)
|
30
30
|
data
|
31
31
|
end
|
32
32
|
|
@@ -36,17 +36,17 @@ module PulpcoreClient
|
|
36
36
|
# @param filesystem_export [FilesystemExport]
|
37
37
|
# @param [Hash] opts the optional parameters
|
38
38
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
39
|
-
def
|
39
|
+
def create_with_http_info(filesystem_exporter_href, filesystem_export, opts = {})
|
40
40
|
if @api_client.config.debugging
|
41
|
-
@api_client.config.logger.debug 'Calling API: ExportersFilesystemExportsApi.
|
41
|
+
@api_client.config.logger.debug 'Calling API: ExportersFilesystemExportsApi.create ...'
|
42
42
|
end
|
43
43
|
# verify the required parameter 'filesystem_exporter_href' is set
|
44
44
|
if @api_client.config.client_side_validation && filesystem_exporter_href.nil?
|
45
|
-
fail ArgumentError, "Missing the required parameter 'filesystem_exporter_href' when calling ExportersFilesystemExportsApi.
|
45
|
+
fail ArgumentError, "Missing the required parameter 'filesystem_exporter_href' when calling ExportersFilesystemExportsApi.create"
|
46
46
|
end
|
47
47
|
# verify the required parameter 'filesystem_export' is set
|
48
48
|
if @api_client.config.client_side_validation && filesystem_export.nil?
|
49
|
-
fail ArgumentError, "Missing the required parameter 'filesystem_export' when calling ExportersFilesystemExportsApi.
|
49
|
+
fail ArgumentError, "Missing the required parameter 'filesystem_export' when calling ExportersFilesystemExportsApi.create"
|
50
50
|
end
|
51
51
|
# resource path
|
52
52
|
local_var_path = '{filesystem_exporter_href}exports/'.sub('{' + 'filesystem_exporter_href' + '}', CGI.escape(filesystem_exporter_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: ExportersFilesystemExportsApi#
|
87
|
+
@api_client.config.logger.debug "API called: ExportersFilesystemExportsApi#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 filesystem_filesystem_export_href [String]
|
95
95
|
# @param [Hash] opts the optional parameters
|
96
96
|
# @return [nil]
|
97
|
-
def
|
98
|
-
|
97
|
+
def delete(filesystem_filesystem_export_href, opts = {})
|
98
|
+
delete_with_http_info(filesystem_filesystem_export_href, opts)
|
99
99
|
nil
|
100
100
|
end
|
101
101
|
|
@@ -104,13 +104,13 @@ module PulpcoreClient
|
|
104
104
|
# @param filesystem_filesystem_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
|
107
|
+
def delete_with_http_info(filesystem_filesystem_export_href, opts = {})
|
108
108
|
if @api_client.config.debugging
|
109
|
-
@api_client.config.logger.debug 'Calling API: ExportersFilesystemExportsApi.
|
109
|
+
@api_client.config.logger.debug 'Calling API: ExportersFilesystemExportsApi.delete ...'
|
110
110
|
end
|
111
111
|
# verify the required parameter 'filesystem_filesystem_export_href' is set
|
112
112
|
if @api_client.config.client_side_validation && filesystem_filesystem_export_href.nil?
|
113
|
-
fail ArgumentError, "Missing the required parameter 'filesystem_filesystem_export_href' when calling ExportersFilesystemExportsApi.
|
113
|
+
fail ArgumentError, "Missing the required parameter 'filesystem_filesystem_export_href' when calling ExportersFilesystemExportsApi.delete"
|
114
114
|
end
|
115
115
|
# resource path
|
116
116
|
local_var_path = '{filesystem_filesystem_export_href}'.sub('{' + 'filesystem_filesystem_export_href' + '}', CGI.escape(filesystem_filesystem_export_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: ExportersFilesystemExportsApi#
|
147
|
+
@api_client.config.logger.debug "API called: ExportersFilesystemExportsApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
148
148
|
end
|
149
149
|
return data, status_code, headers
|
150
150
|
end
|
@@ -158,8 +158,8 @@ module PulpcoreClient
|
|
158
158
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
159
159
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
160
160
|
# @return [PaginatedFilesystemExportResponseList]
|
161
|
-
def
|
162
|
-
data, _status_code, _headers =
|
161
|
+
def list(filesystem_exporter_href, opts = {})
|
162
|
+
data, _status_code, _headers = list_with_http_info(filesystem_exporter_href, opts)
|
163
163
|
data
|
164
164
|
end
|
165
165
|
|
@@ -172,13 +172,13 @@ module PulpcoreClient
|
|
172
172
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
173
173
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
174
174
|
# @return [Array<(PaginatedFilesystemExportResponseList, Integer, Hash)>] PaginatedFilesystemExportResponseList data, response status code and response headers
|
175
|
-
def
|
175
|
+
def list_with_http_info(filesystem_exporter_href, opts = {})
|
176
176
|
if @api_client.config.debugging
|
177
|
-
@api_client.config.logger.debug 'Calling API: ExportersFilesystemExportsApi.
|
177
|
+
@api_client.config.logger.debug 'Calling API: ExportersFilesystemExportsApi.list ...'
|
178
178
|
end
|
179
179
|
# verify the required parameter 'filesystem_exporter_href' is set
|
180
180
|
if @api_client.config.client_side_validation && filesystem_exporter_href.nil?
|
181
|
-
fail ArgumentError, "Missing the required parameter 'filesystem_exporter_href' when calling ExportersFilesystemExportsApi.
|
181
|
+
fail ArgumentError, "Missing the required parameter 'filesystem_exporter_href' when calling ExportersFilesystemExportsApi.list"
|
182
182
|
end
|
183
183
|
# resource path
|
184
184
|
local_var_path = '{filesystem_exporter_href}exports/'.sub('{' + 'filesystem_exporter_href' + '}', CGI.escape(filesystem_exporter_href.to_s).gsub('%2F', '/'))
|
@@ -218,7 +218,7 @@ module PulpcoreClient
|
|
218
218
|
|
219
219
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
220
220
|
if @api_client.config.debugging
|
221
|
-
@api_client.config.logger.debug "API called: ExportersFilesystemExportsApi#
|
221
|
+
@api_client.config.logger.debug "API called: ExportersFilesystemExportsApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
222
222
|
end
|
223
223
|
return data, status_code, headers
|
224
224
|
end
|
@@ -230,8 +230,8 @@ module PulpcoreClient
|
|
230
230
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
231
231
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
232
232
|
# @return [FilesystemExportResponse]
|
233
|
-
def
|
234
|
-
data, _status_code, _headers =
|
233
|
+
def read(filesystem_filesystem_export_href, opts = {})
|
234
|
+
data, _status_code, _headers = read_with_http_info(filesystem_filesystem_export_href, opts)
|
235
235
|
data
|
236
236
|
end
|
237
237
|
|
@@ -242,13 +242,13 @@ module PulpcoreClient
|
|
242
242
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
243
243
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
244
244
|
# @return [Array<(FilesystemExportResponse, Integer, Hash)>] FilesystemExportResponse data, response status code and response headers
|
245
|
-
def
|
245
|
+
def read_with_http_info(filesystem_filesystem_export_href, opts = {})
|
246
246
|
if @api_client.config.debugging
|
247
|
-
@api_client.config.logger.debug 'Calling API: ExportersFilesystemExportsApi.
|
247
|
+
@api_client.config.logger.debug 'Calling API: ExportersFilesystemExportsApi.read ...'
|
248
248
|
end
|
249
249
|
# verify the required parameter 'filesystem_filesystem_export_href' is set
|
250
250
|
if @api_client.config.client_side_validation && filesystem_filesystem_export_href.nil?
|
251
|
-
fail ArgumentError, "Missing the required parameter 'filesystem_filesystem_export_href' when calling ExportersFilesystemExportsApi.
|
251
|
+
fail ArgumentError, "Missing the required parameter 'filesystem_filesystem_export_href' when calling ExportersFilesystemExportsApi.read"
|
252
252
|
end
|
253
253
|
# resource path
|
254
254
|
local_var_path = '{filesystem_filesystem_export_href}'.sub('{' + 'filesystem_filesystem_export_href' + '}', CGI.escape(filesystem_filesystem_export_href.to_s).gsub('%2F', '/'))
|
@@ -286,7 +286,7 @@ module PulpcoreClient
|
|
286
286
|
|
287
287
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
288
288
|
if @api_client.config.debugging
|
289
|
-
@api_client.config.logger.debug "API called: ExportersFilesystemExportsApi#
|
289
|
+
@api_client.config.logger.debug "API called: ExportersFilesystemExportsApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
290
290
|
end
|
291
291
|
return data, status_code, headers
|
292
292
|
end
|