pulp_file_client 1.1.0 → 1.2.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 +51 -37
- data/docs/ContentFilesApi.md +24 -24
- data/docs/ContentSummary.md +3 -3
- data/docs/ContentSummaryResponse.md +21 -0
- data/docs/DistributionsFileApi.md +108 -60
- data/docs/{Export.md → ExportResponse.md} +2 -2
- data/docs/ExportersFileExportsApi.md +34 -34
- data/docs/ExportersFilesystemApi.md +61 -61
- data/docs/FileFileContent.md +5 -17
- data/docs/FileFileContentResponse.md +35 -0
- data/docs/FileFileDistribution.md +1 -7
- data/docs/FileFileDistributionResponse.md +29 -0
- data/docs/FileFileFilesystemExporter.md +1 -5
- data/docs/FileFileFilesystemExporterResponse.md +23 -0
- data/docs/FileFilePublication.md +1 -7
- data/docs/FileFilePublicationResponse.md +27 -0
- data/docs/FileFileRemote.md +4 -10
- data/docs/FileFileRemoteResponse.md +43 -0
- data/docs/FileFileRepository.md +4 -10
- data/docs/FileFileRepositoryResponse.md +29 -0
- data/docs/InlineResponse200.md +3 -3
- data/docs/InlineResponse2001.md +3 -3
- data/docs/InlineResponse2002.md +3 -3
- data/docs/InlineResponse2003.md +3 -3
- data/docs/InlineResponse2004.md +3 -3
- data/docs/InlineResponse2005.md +3 -3
- data/docs/InlineResponse2006.md +3 -3
- data/docs/InlineResponse2007.md +3 -3
- data/docs/PatchedfileFileDistribution.md +23 -0
- data/docs/PatchedfileFileFilesystemExporter.md +19 -0
- data/docs/PatchedfileFileRemote.md +37 -0
- data/docs/PatchedfileFileRepository.md +21 -0
- data/docs/PolicyEnum.md +16 -0
- data/docs/PublicationsFileApi.md +40 -40
- data/docs/RemotesFileApi.md +125 -65
- data/docs/RepositoriesFileApi.md +97 -73
- data/docs/RepositoriesFileVersionsApi.md +94 -62
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/docs/RepositorySyncURL.md +1 -1
- data/docs/RepositoryVersion.md +1 -9
- data/docs/RepositoryVersionResponse.md +25 -0
- data/lib/pulp_file_client/api/content_files_api.rb +32 -36
- data/lib/pulp_file_client/api/distributions_file_api.rb +153 -90
- data/lib/pulp_file_client/api/exporters_file_exports_api.rb +55 -55
- data/lib/pulp_file_client/api/exporters_filesystem_api.rb +102 -102
- data/lib/pulp_file_client/api/publications_file_api.rb +59 -59
- data/lib/pulp_file_client/api/remotes_file_api.rb +181 -100
- data/lib/pulp_file_client/api/repositories_file_api.rb +145 -118
- data/lib/pulp_file_client/api/repositories_file_versions_api.rb +137 -92
- data/lib/pulp_file_client/api_client.rb +2 -2
- data/lib/pulp_file_client/api_error.rb +2 -2
- data/lib/pulp_file_client/configuration.rb +3 -3
- data/lib/pulp_file_client/models/async_operation_response.rb +3 -2
- data/lib/pulp_file_client/models/content_summary.rb +9 -15
- data/lib/pulp_file_client/models/content_summary_response.rb +240 -0
- data/lib/pulp_file_client/models/{export.rb → export_response.rb} +6 -5
- data/lib/pulp_file_client/models/file_file_content.rb +18 -185
- data/lib/pulp_file_client/models/file_file_content_response.rb +302 -0
- data/lib/pulp_file_client/models/file_file_distribution.rb +4 -85
- data/lib/pulp_file_client/models/file_file_distribution_response.rb +279 -0
- data/lib/pulp_file_client/models/file_file_filesystem_exporter.rb +4 -60
- data/lib/pulp_file_client/models/file_file_filesystem_exporter_response.rb +247 -0
- data/lib/pulp_file_client/models/file_file_publication.rb +4 -49
- data/lib/pulp_file_client/models/file_file_publication_response.rb +260 -0
- data/lib/pulp_file_client/models/file_file_remote.rb +7 -199
- data/lib/pulp_file_client/models/file_file_remote_response.rb +368 -0
- data/lib/pulp_file_client/models/file_file_repository.rb +18 -78
- data/lib/pulp_file_client/models/file_file_repository_response.rb +271 -0
- data/lib/pulp_file_client/models/inline_response200.rb +3 -13
- data/lib/pulp_file_client/models/inline_response2001.rb +3 -13
- data/lib/pulp_file_client/models/inline_response2002.rb +3 -13
- data/lib/pulp_file_client/models/inline_response2003.rb +3 -13
- data/lib/pulp_file_client/models/inline_response2004.rb +3 -13
- data/lib/pulp_file_client/models/inline_response2005.rb +3 -13
- data/lib/pulp_file_client/models/inline_response2006.rb +3 -13
- data/lib/pulp_file_client/models/inline_response2007.rb +3 -13
- data/lib/pulp_file_client/models/patchedfile_file_distribution.rb +240 -0
- data/lib/pulp_file_client/models/patchedfile_file_filesystem_exporter.rb +218 -0
- data/lib/pulp_file_client/models/patchedfile_file_remote.rb +329 -0
- data/lib/pulp_file_client/models/patchedfile_file_repository.rb +229 -0
- data/lib/pulp_file_client/models/policy_enum.rb +37 -0
- data/lib/pulp_file_client/models/publication_export.rb +3 -2
- data/lib/pulp_file_client/models/repository_add_remove_content.rb +5 -4
- data/lib/pulp_file_client/models/repository_sync_url.rb +3 -8
- data/lib/pulp_file_client/models/repository_version.rb +7 -43
- data/lib/pulp_file_client/models/repository_version_response.rb +246 -0
- data/lib/pulp_file_client/version.rb +3 -3
- data/lib/pulp_file_client.rb +16 -3
- data/pulp_file_client.gemspec +4 -4
- data/spec/api/content_files_api_spec.rb +10 -10
- data/spec/api/distributions_file_api_spec.rb +39 -18
- data/spec/api/exporters_file_exports_api_spec.rb +9 -9
- data/spec/api/exporters_filesystem_api_spec.rb +23 -23
- data/spec/api/publications_file_api_spec.rb +14 -14
- data/spec/api/remotes_file_api_spec.rb +48 -21
- data/spec/api/repositories_file_api_spec.rb +28 -19
- data/spec/api/repositories_file_versions_api_spec.rb +38 -23
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +2 -2
- data/spec/models/async_operation_response_spec.rb +2 -2
- data/spec/models/content_summary_response_spec.rb +53 -0
- data/spec/models/content_summary_spec.rb +2 -2
- data/spec/models/{export_spec.rb → export_response_spec.rb} +8 -8
- data/spec/models/file_file_content_response_spec.rb +95 -0
- data/spec/models/file_file_content_spec.rb +4 -40
- data/spec/models/file_file_distribution_response_spec.rb +77 -0
- data/spec/models/file_file_distribution_spec.rb +2 -20
- data/spec/models/file_file_filesystem_exporter_response_spec.rb +59 -0
- data/spec/models/file_file_filesystem_exporter_spec.rb +2 -14
- data/spec/models/file_file_publication_response_spec.rb +71 -0
- data/spec/models/file_file_publication_spec.rb +2 -20
- data/spec/models/file_file_remote_response_spec.rb +119 -0
- data/spec/models/file_file_remote_spec.rb +2 -24
- data/spec/models/file_file_repository_response_spec.rb +77 -0
- data/spec/models/file_file_repository_spec.rb +5 -23
- data/spec/models/inline_response2001_spec.rb +2 -2
- data/spec/models/inline_response2002_spec.rb +2 -2
- data/spec/models/inline_response2003_spec.rb +2 -2
- data/spec/models/inline_response2004_spec.rb +2 -2
- data/spec/models/inline_response2005_spec.rb +2 -2
- data/spec/models/inline_response2006_spec.rb +2 -2
- data/spec/models/inline_response2007_spec.rb +2 -2
- data/spec/models/inline_response200_spec.rb +2 -2
- data/spec/models/patchedfile_file_distribution_spec.rb +59 -0
- data/spec/models/patchedfile_file_filesystem_exporter_spec.rb +47 -0
- data/spec/models/patchedfile_file_remote_spec.rb +101 -0
- data/spec/models/patchedfile_file_repository_spec.rb +53 -0
- data/spec/models/policy_enum_spec.rb +35 -0
- data/spec/models/publication_export_spec.rb +2 -2
- data/spec/models/repository_add_remove_content_spec.rb +2 -2
- data/spec/models/repository_sync_url_spec.rb +2 -2
- data/spec/models/repository_version_response_spec.rb +65 -0
- data/spec/models/repository_version_spec.rb +2 -26
- data/spec/spec_helper.rb +2 -2
- metadata +76 -24
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Pulp 3 API
|
3
3
|
|
4
|
-
#
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
|
-
|
7
|
+
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.2.3
|
10
10
|
|
@@ -21,26 +21,26 @@ module PulpFileClient
|
|
21
21
|
end
|
22
22
|
# Create a file publication
|
23
23
|
# Trigger an asynchronous task to publish file content.
|
24
|
-
# @param
|
24
|
+
# @param file_file_publication [FileFilePublication]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
26
|
# @return [AsyncOperationResponse]
|
27
|
-
def create(
|
28
|
-
data, _status_code, _headers = create_with_http_info(
|
27
|
+
def create(file_file_publication, opts = {})
|
28
|
+
data, _status_code, _headers = create_with_http_info(file_file_publication, opts)
|
29
29
|
data
|
30
30
|
end
|
31
31
|
|
32
32
|
# Create a file publication
|
33
33
|
# Trigger an asynchronous task to publish file content.
|
34
|
-
# @param
|
34
|
+
# @param file_file_publication [FileFilePublication]
|
35
35
|
# @param [Hash] opts the optional parameters
|
36
36
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
37
|
-
def create_with_http_info(
|
37
|
+
def create_with_http_info(file_file_publication, opts = {})
|
38
38
|
if @api_client.config.debugging
|
39
39
|
@api_client.config.logger.debug 'Calling API: PublicationsFileApi.create ...'
|
40
40
|
end
|
41
|
-
# verify the required parameter '
|
42
|
-
if @api_client.config.client_side_validation &&
|
43
|
-
fail ArgumentError, "Missing the required parameter '
|
41
|
+
# verify the required parameter 'file_file_publication' is set
|
42
|
+
if @api_client.config.client_side_validation && file_file_publication.nil?
|
43
|
+
fail ArgumentError, "Missing the required parameter 'file_file_publication' when calling PublicationsFileApi.create"
|
44
44
|
end
|
45
45
|
# resource path
|
46
46
|
local_var_path = '/pulp/api/v3/publications/file/file/'
|
@@ -53,19 +53,19 @@ module PulpFileClient
|
|
53
53
|
# HTTP header 'Accept' (if needed)
|
54
54
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
55
55
|
# HTTP header 'Content-Type'
|
56
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
56
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
57
57
|
|
58
58
|
# form parameters
|
59
59
|
form_params = opts[:form_params] || {}
|
60
60
|
|
61
61
|
# http body (model)
|
62
|
-
post_body = opts[:body] || @api_client.object_to_http_body(
|
62
|
+
post_body = opts[:body] || @api_client.object_to_http_body(file_file_publication)
|
63
63
|
|
64
64
|
# return_type
|
65
65
|
return_type = opts[:return_type] || 'AsyncOperationResponse'
|
66
66
|
|
67
67
|
# auth_names
|
68
|
-
auth_names = opts[:auth_names] || ['
|
68
|
+
auth_names = opts[:auth_names] || ['basicAuth']
|
69
69
|
|
70
70
|
new_options = opts.merge(
|
71
71
|
:header_params => header_params,
|
@@ -85,29 +85,29 @@ module PulpFileClient
|
|
85
85
|
|
86
86
|
# Delete a file publication
|
87
87
|
# A FilePublication contains metadata about all the File Content in a particular File Repository Version. Once a FilePublication has been created, it can be hosted using the File Distribution API.
|
88
|
-
# @param
|
88
|
+
# @param file_file_publication_href [String]
|
89
89
|
# @param [Hash] opts the optional parameters
|
90
90
|
# @return [nil]
|
91
|
-
def delete(
|
92
|
-
delete_with_http_info(
|
91
|
+
def delete(file_file_publication_href, opts = {})
|
92
|
+
delete_with_http_info(file_file_publication_href, opts)
|
93
93
|
nil
|
94
94
|
end
|
95
95
|
|
96
96
|
# Delete a file publication
|
97
97
|
# A FilePublication contains metadata about all the File Content in a particular File Repository Version. Once a FilePublication has been created, it can be hosted using the File Distribution API.
|
98
|
-
# @param
|
98
|
+
# @param file_file_publication_href [String]
|
99
99
|
# @param [Hash] opts the optional parameters
|
100
100
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
101
|
-
def delete_with_http_info(
|
101
|
+
def delete_with_http_info(file_file_publication_href, opts = {})
|
102
102
|
if @api_client.config.debugging
|
103
103
|
@api_client.config.logger.debug 'Calling API: PublicationsFileApi.delete ...'
|
104
104
|
end
|
105
|
-
# verify the required parameter '
|
106
|
-
if @api_client.config.client_side_validation &&
|
107
|
-
fail ArgumentError, "Missing the required parameter '
|
105
|
+
# verify the required parameter 'file_file_publication_href' is set
|
106
|
+
if @api_client.config.client_side_validation && file_file_publication_href.nil?
|
107
|
+
fail ArgumentError, "Missing the required parameter 'file_file_publication_href' when calling PublicationsFileApi.delete"
|
108
108
|
end
|
109
109
|
# resource path
|
110
|
-
local_var_path = '{
|
110
|
+
local_var_path = '{file_file_publication_href}'.sub('{' + 'file_file_publication_href' + '}', CGI.escape(file_file_publication_href.to_s).gsub('%2F', '/'))
|
111
111
|
|
112
112
|
# query parameters
|
113
113
|
query_params = opts[:query_params] || {}
|
@@ -125,7 +125,7 @@ module PulpFileClient
|
|
125
125
|
return_type = opts[:return_type]
|
126
126
|
|
127
127
|
# auth_names
|
128
|
-
auth_names = opts[:auth_names] || ['
|
128
|
+
auth_names = opts[:auth_names] || ['basicAuth']
|
129
129
|
|
130
130
|
new_options = opts.merge(
|
131
131
|
:header_params => header_params,
|
@@ -146,16 +146,16 @@ module PulpFileClient
|
|
146
146
|
# List file publications
|
147
147
|
# A FilePublication contains metadata about all the File Content in a particular File Repository Version. Once a FilePublication has been created, it can be hosted using the File Distribution API.
|
148
148
|
# @param [Hash] opts the optional parameters
|
149
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
150
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
151
|
-
# @option opts [String] :pulp_created__lt Filter results where pulp_created is less than value
|
152
|
-
# @option opts [String] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
153
|
-
# @option opts [String] :pulp_created__gt Filter results where pulp_created is greater than value
|
154
|
-
# @option opts [String] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
155
|
-
# @option opts [String] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
156
|
-
# @option opts [String] :pulp_created ISO 8601 formatted dates are supported
|
157
149
|
# @option opts [Integer] :limit Number of results to return per page.
|
158
150
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
151
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
152
|
+
# @option opts [String] :pulp_created pulp_created
|
153
|
+
# @option opts [String] :pulp_created__gt pulp_created__gt
|
154
|
+
# @option opts [String] :pulp_created__gte pulp_created__gte
|
155
|
+
# @option opts [String] :pulp_created__lt pulp_created__lt
|
156
|
+
# @option opts [String] :pulp_created__lte pulp_created__lte
|
157
|
+
# @option opts [String] :pulp_created__range pulp_created__range
|
158
|
+
# @option opts [String] :repository_version repository_version
|
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 [InlineResponse2004]
|
@@ -167,16 +167,16 @@ module PulpFileClient
|
|
167
167
|
# List file publications
|
168
168
|
# A FilePublication contains metadata about all the File Content in a particular File Repository Version. Once a FilePublication has been created, it can be hosted using the File Distribution API.
|
169
169
|
# @param [Hash] opts the optional parameters
|
170
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
171
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
172
|
-
# @option opts [String] :pulp_created__lt Filter results where pulp_created is less than value
|
173
|
-
# @option opts [String] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
174
|
-
# @option opts [String] :pulp_created__gt Filter results where pulp_created is greater than value
|
175
|
-
# @option opts [String] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
176
|
-
# @option opts [String] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
177
|
-
# @option opts [String] :pulp_created ISO 8601 formatted dates are supported
|
178
170
|
# @option opts [Integer] :limit Number of results to return per page.
|
179
171
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
172
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
173
|
+
# @option opts [String] :pulp_created pulp_created
|
174
|
+
# @option opts [String] :pulp_created__gt pulp_created__gt
|
175
|
+
# @option opts [String] :pulp_created__gte pulp_created__gte
|
176
|
+
# @option opts [String] :pulp_created__lt pulp_created__lt
|
177
|
+
# @option opts [String] :pulp_created__lte pulp_created__lte
|
178
|
+
# @option opts [String] :pulp_created__range pulp_created__range
|
179
|
+
# @option opts [String] :repository_version repository_version
|
180
180
|
# @option opts [String] :fields A list of fields to include in the response.
|
181
181
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
182
182
|
# @return [Array<(InlineResponse2004, Integer, Hash)>] InlineResponse2004 data, response status code and response headers
|
@@ -189,16 +189,16 @@ module PulpFileClient
|
|
189
189
|
|
190
190
|
# query parameters
|
191
191
|
query_params = opts[:query_params] || {}
|
192
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
193
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
192
194
|
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
193
|
-
query_params[:'
|
194
|
-
query_params[:'pulp_created__lt'] = opts[:'pulp_created__lt'] if !opts[:'pulp_created__lt'].nil?
|
195
|
-
query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
|
195
|
+
query_params[:'pulp_created'] = opts[:'pulp_created'] if !opts[:'pulp_created'].nil?
|
196
196
|
query_params[:'pulp_created__gt'] = opts[:'pulp_created__gt'] if !opts[:'pulp_created__gt'].nil?
|
197
197
|
query_params[:'pulp_created__gte'] = opts[:'pulp_created__gte'] if !opts[:'pulp_created__gte'].nil?
|
198
|
+
query_params[:'pulp_created__lt'] = opts[:'pulp_created__lt'] if !opts[:'pulp_created__lt'].nil?
|
199
|
+
query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
|
198
200
|
query_params[:'pulp_created__range'] = opts[:'pulp_created__range'] if !opts[:'pulp_created__range'].nil?
|
199
|
-
query_params[:'
|
200
|
-
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
201
|
-
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
201
|
+
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
202
202
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
203
203
|
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
204
204
|
|
@@ -217,7 +217,7 @@ module PulpFileClient
|
|
217
217
|
return_type = opts[:return_type] || 'InlineResponse2004'
|
218
218
|
|
219
219
|
# auth_names
|
220
|
-
auth_names = opts[:auth_names] || ['
|
220
|
+
auth_names = opts[:auth_names] || ['basicAuth']
|
221
221
|
|
222
222
|
new_options = opts.merge(
|
223
223
|
:header_params => header_params,
|
@@ -237,33 +237,33 @@ module PulpFileClient
|
|
237
237
|
|
238
238
|
# Inspect a file publication
|
239
239
|
# A FilePublication contains metadata about all the File Content in a particular File Repository Version. Once a FilePublication has been created, it can be hosted using the File Distribution API.
|
240
|
-
# @param
|
240
|
+
# @param file_file_publication_href [String]
|
241
241
|
# @param [Hash] opts the optional parameters
|
242
242
|
# @option opts [String] :fields A list of fields to include in the response.
|
243
243
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
244
|
-
# @return [
|
245
|
-
def read(
|
246
|
-
data, _status_code, _headers = read_with_http_info(
|
244
|
+
# @return [FileFilePublicationResponse]
|
245
|
+
def read(file_file_publication_href, opts = {})
|
246
|
+
data, _status_code, _headers = read_with_http_info(file_file_publication_href, opts)
|
247
247
|
data
|
248
248
|
end
|
249
249
|
|
250
250
|
# Inspect a file publication
|
251
251
|
# A FilePublication contains metadata about all the File Content in a particular File Repository Version. Once a FilePublication has been created, it can be hosted using the File Distribution API.
|
252
|
-
# @param
|
252
|
+
# @param file_file_publication_href [String]
|
253
253
|
# @param [Hash] opts the optional parameters
|
254
254
|
# @option opts [String] :fields A list of fields to include in the response.
|
255
255
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
256
|
-
# @return [Array<(
|
257
|
-
def read_with_http_info(
|
256
|
+
# @return [Array<(FileFilePublicationResponse, Integer, Hash)>] FileFilePublicationResponse data, response status code and response headers
|
257
|
+
def read_with_http_info(file_file_publication_href, opts = {})
|
258
258
|
if @api_client.config.debugging
|
259
259
|
@api_client.config.logger.debug 'Calling API: PublicationsFileApi.read ...'
|
260
260
|
end
|
261
|
-
# verify the required parameter '
|
262
|
-
if @api_client.config.client_side_validation &&
|
263
|
-
fail ArgumentError, "Missing the required parameter '
|
261
|
+
# verify the required parameter 'file_file_publication_href' is set
|
262
|
+
if @api_client.config.client_side_validation && file_file_publication_href.nil?
|
263
|
+
fail ArgumentError, "Missing the required parameter 'file_file_publication_href' when calling PublicationsFileApi.read"
|
264
264
|
end
|
265
265
|
# resource path
|
266
|
-
local_var_path = '{
|
266
|
+
local_var_path = '{file_file_publication_href}'.sub('{' + 'file_file_publication_href' + '}', CGI.escape(file_file_publication_href.to_s).gsub('%2F', '/'))
|
267
267
|
|
268
268
|
# query parameters
|
269
269
|
query_params = opts[:query_params] || {}
|
@@ -282,10 +282,10 @@ module PulpFileClient
|
|
282
282
|
post_body = opts[:body]
|
283
283
|
|
284
284
|
# return_type
|
285
|
-
return_type = opts[:return_type] || '
|
285
|
+
return_type = opts[:return_type] || 'FileFilePublicationResponse'
|
286
286
|
|
287
287
|
# auth_names
|
288
|
-
auth_names = opts[:auth_names] || ['
|
288
|
+
auth_names = opts[:auth_names] || ['basicAuth']
|
289
289
|
|
290
290
|
new_options = opts.merge(
|
291
291
|
:header_params => header_params,
|