pulp_file_client 1.0.1 → 1.1.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 +6 -12
- data/docs/ContentFilesApi.md +2 -2
- data/docs/DistributionsFileApi.md +2 -2
- data/docs/{ExportRead.md → Export.md} +2 -2
- data/docs/ExportersFileExportsApi.md +2 -2
- data/docs/ExportersFilesystemApi.md +8 -8
- data/docs/{FileFileContentRead.md → FileFileContent.md} +2 -2
- data/docs/InlineResponse200.md +1 -1
- data/docs/InlineResponse2001.md +1 -1
- data/docs/InlineResponse2002.md +1 -1
- data/docs/InlineResponse2003.md +1 -1
- data/docs/InlineResponse2004.md +1 -1
- data/docs/InlineResponse2005.md +1 -1
- data/docs/InlineResponse2006.md +1 -1
- data/docs/InlineResponse2007.md +1 -1
- data/docs/PublicationsFileApi.md +2 -2
- data/docs/RemotesFileApi.md +4 -4
- data/docs/RepositoriesFileApi.md +4 -4
- data/docs/RepositoriesFileVersionsApi.md +6 -4
- data/lib/pulp_file_client/api/content_files_api.rb +3 -3
- data/lib/pulp_file_client/api/distributions_file_api.rb +3 -3
- data/lib/pulp_file_client/api/exporters_file_exports_api.rb +3 -3
- data/lib/pulp_file_client/api/exporters_filesystem_api.rb +12 -12
- data/lib/pulp_file_client/api/publications_file_api.rb +3 -3
- data/lib/pulp_file_client/api/remotes_file_api.rb +6 -6
- data/lib/pulp_file_client/api/repositories_file_api.rb +6 -6
- data/lib/pulp_file_client/api/repositories_file_versions_api.rb +9 -6
- data/lib/pulp_file_client/models/{export_read.rb → export.rb} +3 -3
- data/lib/pulp_file_client/models/{file_file_content_read.rb → file_file_content.rb} +3 -3
- data/lib/pulp_file_client/models/inline_response200.rb +1 -1
- data/lib/pulp_file_client/models/inline_response2001.rb +1 -1
- data/lib/pulp_file_client/models/inline_response2002.rb +1 -1
- data/lib/pulp_file_client/models/inline_response2003.rb +1 -1
- data/lib/pulp_file_client/models/inline_response2004.rb +1 -1
- data/lib/pulp_file_client/models/inline_response2005.rb +1 -1
- data/lib/pulp_file_client/models/inline_response2006.rb +1 -1
- data/lib/pulp_file_client/models/inline_response2007.rb +1 -1
- data/lib/pulp_file_client/version.rb +1 -1
- data/lib/pulp_file_client.rb +2 -8
- data/spec/api/content_files_api_spec.rb +1 -1
- data/spec/api/distributions_file_api_spec.rb +1 -1
- data/spec/api/exporters_file_exports_api_spec.rb +1 -1
- data/spec/api/exporters_filesystem_api_spec.rb +4 -4
- data/spec/api/publications_file_api_spec.rb +1 -1
- data/spec/api/remotes_file_api_spec.rb +2 -2
- data/spec/api/repositories_file_api_spec.rb +2 -2
- data/spec/api/repositories_file_versions_api_spec.rb +3 -2
- data/spec/models/{export_read_spec.rb → export_spec.rb} +6 -6
- data/spec/models/{file_file_content_read_spec.rb → file_file_content_spec.rb} +6 -6
- metadata +10 -34
- data/docs/FileFileDistributionRead.md +0 -29
- data/docs/FileFileFilesystemExporterRead.md +0 -23
- data/docs/FileFilePublicationRead.md +0 -27
- data/docs/FileFileRemoteRead.md +0 -43
- data/docs/FileFileRepositoryRead.md +0 -27
- data/docs/RepositoryVersionRead.md +0 -25
- data/lib/pulp_file_client/models/file_file_distribution_read.rb +0 -331
- data/lib/pulp_file_client/models/file_file_filesystem_exporter_read.rb +0 -284
- data/lib/pulp_file_client/models/file_file_publication_read.rb +0 -274
- data/lib/pulp_file_client/models/file_file_remote_read.rb +0 -531
- data/lib/pulp_file_client/models/file_file_repository_read.rb +0 -294
- data/lib/pulp_file_client/models/repository_version_read.rb +0 -244
- data/spec/models/file_file_distribution_read_spec.rb +0 -77
- data/spec/models/file_file_filesystem_exporter_read_spec.rb +0 -59
- data/spec/models/file_file_publication_read_spec.rb +0 -71
- data/spec/models/file_file_remote_read_spec.rb +0 -123
- data/spec/models/file_file_repository_read_spec.rb +0 -71
- data/spec/models/repository_version_read_spec.rb +0 -65
@@ -23,7 +23,7 @@ module PulpFileClient
|
|
23
23
|
# FileRemote represents an external source of File Content. The target url of a FileRemote must contain a file manifest, which contains the metadata for all files at the source.
|
24
24
|
# @param data [FileFileRemote]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
-
# @return [
|
26
|
+
# @return [FileFileRemote]
|
27
27
|
def create(data, opts = {})
|
28
28
|
data, _status_code, _headers = create_with_http_info(data, opts)
|
29
29
|
data
|
@@ -33,7 +33,7 @@ module PulpFileClient
|
|
33
33
|
# FileRemote represents an external source of File Content. The target url of a FileRemote must contain a file manifest, which contains the metadata for all files at the source.
|
34
34
|
# @param data [FileFileRemote]
|
35
35
|
# @param [Hash] opts the optional parameters
|
36
|
-
# @return [Array<(
|
36
|
+
# @return [Array<(FileFileRemote, Integer, Hash)>] FileFileRemote data, response status code and response headers
|
37
37
|
def create_with_http_info(data, opts = {})
|
38
38
|
if @api_client.config.debugging
|
39
39
|
@api_client.config.logger.debug 'Calling API: RemotesFileApi.create ...'
|
@@ -62,7 +62,7 @@ module PulpFileClient
|
|
62
62
|
post_body = opts[:body] || @api_client.object_to_http_body(data)
|
63
63
|
|
64
64
|
# return_type
|
65
|
-
return_type = opts[:return_type] || '
|
65
|
+
return_type = opts[:return_type] || 'FileFileRemote'
|
66
66
|
|
67
67
|
# auth_names
|
68
68
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -316,7 +316,7 @@ module PulpFileClient
|
|
316
316
|
# @param [Hash] opts the optional parameters
|
317
317
|
# @option opts [String] :fields A list of fields to include in the response.
|
318
318
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
319
|
-
# @return [
|
319
|
+
# @return [FileFileRemote]
|
320
320
|
def read(file_remote_href, opts = {})
|
321
321
|
data, _status_code, _headers = read_with_http_info(file_remote_href, opts)
|
322
322
|
data
|
@@ -328,7 +328,7 @@ module PulpFileClient
|
|
328
328
|
# @param [Hash] opts the optional parameters
|
329
329
|
# @option opts [String] :fields A list of fields to include in the response.
|
330
330
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
331
|
-
# @return [Array<(
|
331
|
+
# @return [Array<(FileFileRemote, Integer, Hash)>] FileFileRemote data, response status code and response headers
|
332
332
|
def read_with_http_info(file_remote_href, opts = {})
|
333
333
|
if @api_client.config.debugging
|
334
334
|
@api_client.config.logger.debug 'Calling API: RemotesFileApi.read ...'
|
@@ -357,7 +357,7 @@ module PulpFileClient
|
|
357
357
|
post_body = opts[:body]
|
358
358
|
|
359
359
|
# return_type
|
360
|
-
return_type = opts[:return_type] || '
|
360
|
+
return_type = opts[:return_type] || 'FileFileRemote'
|
361
361
|
|
362
362
|
# auth_names
|
363
363
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -23,7 +23,7 @@ module PulpFileClient
|
|
23
23
|
# FileRepository represents a single file repository, to which content can be synced, added, or removed.
|
24
24
|
# @param data [FileFileRepository]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
-
# @return [
|
26
|
+
# @return [FileFileRepository]
|
27
27
|
def create(data, opts = {})
|
28
28
|
data, _status_code, _headers = create_with_http_info(data, opts)
|
29
29
|
data
|
@@ -33,7 +33,7 @@ module PulpFileClient
|
|
33
33
|
# FileRepository represents a single file repository, to which content can be synced, added, or removed.
|
34
34
|
# @param data [FileFileRepository]
|
35
35
|
# @param [Hash] opts the optional parameters
|
36
|
-
# @return [Array<(
|
36
|
+
# @return [Array<(FileFileRepository, Integer, Hash)>] FileFileRepository data, response status code and response headers
|
37
37
|
def create_with_http_info(data, opts = {})
|
38
38
|
if @api_client.config.debugging
|
39
39
|
@api_client.config.logger.debug 'Calling API: RepositoriesFileApi.create ...'
|
@@ -62,7 +62,7 @@ module PulpFileClient
|
|
62
62
|
post_body = opts[:body] || @api_client.object_to_http_body(data)
|
63
63
|
|
64
64
|
# return_type
|
65
|
-
return_type = opts[:return_type] || '
|
65
|
+
return_type = opts[:return_type] || 'FileFileRepository'
|
66
66
|
|
67
67
|
# auth_names
|
68
68
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -368,7 +368,7 @@ module PulpFileClient
|
|
368
368
|
# @param [Hash] opts the optional parameters
|
369
369
|
# @option opts [String] :fields A list of fields to include in the response.
|
370
370
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
371
|
-
# @return [
|
371
|
+
# @return [FileFileRepository]
|
372
372
|
def read(file_repository_href, opts = {})
|
373
373
|
data, _status_code, _headers = read_with_http_info(file_repository_href, opts)
|
374
374
|
data
|
@@ -380,7 +380,7 @@ module PulpFileClient
|
|
380
380
|
# @param [Hash] opts the optional parameters
|
381
381
|
# @option opts [String] :fields A list of fields to include in the response.
|
382
382
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
383
|
-
# @return [Array<(
|
383
|
+
# @return [Array<(FileFileRepository, Integer, Hash)>] FileFileRepository data, response status code and response headers
|
384
384
|
def read_with_http_info(file_repository_href, opts = {})
|
385
385
|
if @api_client.config.debugging
|
386
386
|
@api_client.config.logger.debug 'Calling API: RepositoriesFileApi.read ...'
|
@@ -409,7 +409,7 @@ module PulpFileClient
|
|
409
409
|
post_body = opts[:body]
|
410
410
|
|
411
411
|
# return_type
|
412
|
-
return_type = opts[:return_type] || '
|
412
|
+
return_type = opts[:return_type] || 'FileFileRepository'
|
413
413
|
|
414
414
|
# auth_names
|
415
415
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -97,8 +97,9 @@ module PulpFileClient
|
|
97
97
|
# @option opts [String] :pulp_created__gt Filter results where pulp_created is greater than value
|
98
98
|
# @option opts [String] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
99
99
|
# @option opts [String] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
100
|
-
# @option opts [String] :content Content Unit referenced by HREF
|
101
100
|
# @option opts [String] :pulp_created ISO 8601 formatted dates are supported
|
101
|
+
# @option opts [String] :content Content Unit referenced by HREF
|
102
|
+
# @option opts [String] :content__in Content Unit referenced by HREF
|
102
103
|
# @option opts [Integer] :limit Number of results to return per page.
|
103
104
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
104
105
|
# @option opts [String] :fields A list of fields to include in the response.
|
@@ -125,8 +126,9 @@ module PulpFileClient
|
|
125
126
|
# @option opts [String] :pulp_created__gt Filter results where pulp_created is greater than value
|
126
127
|
# @option opts [String] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
127
128
|
# @option opts [String] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
128
|
-
# @option opts [String] :content Content Unit referenced by HREF
|
129
129
|
# @option opts [String] :pulp_created ISO 8601 formatted dates are supported
|
130
|
+
# @option opts [String] :content Content Unit referenced by HREF
|
131
|
+
# @option opts [String] :content__in Content Unit referenced by HREF
|
130
132
|
# @option opts [Integer] :limit Number of results to return per page.
|
131
133
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
132
134
|
# @option opts [String] :fields A list of fields to include in the response.
|
@@ -157,8 +159,9 @@ module PulpFileClient
|
|
157
159
|
query_params[:'pulp_created__gt'] = opts[:'pulp_created__gt'] if !opts[:'pulp_created__gt'].nil?
|
158
160
|
query_params[:'pulp_created__gte'] = opts[:'pulp_created__gte'] if !opts[:'pulp_created__gte'].nil?
|
159
161
|
query_params[:'pulp_created__range'] = opts[:'pulp_created__range'] if !opts[:'pulp_created__range'].nil?
|
160
|
-
query_params[:'content'] = opts[:'content'] if !opts[:'content'].nil?
|
161
162
|
query_params[:'pulp_created'] = opts[:'pulp_created'] if !opts[:'pulp_created'].nil?
|
163
|
+
query_params[:'content'] = opts[:'content'] if !opts[:'content'].nil?
|
164
|
+
query_params[:'content__in'] = opts[:'content__in'] if !opts[:'content__in'].nil?
|
162
165
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
163
166
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
164
167
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
@@ -203,7 +206,7 @@ module PulpFileClient
|
|
203
206
|
# @param [Hash] opts the optional parameters
|
204
207
|
# @option opts [String] :fields A list of fields to include in the response.
|
205
208
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
206
|
-
# @return [
|
209
|
+
# @return [RepositoryVersion]
|
207
210
|
def read(file_repository_version_href, opts = {})
|
208
211
|
data, _status_code, _headers = read_with_http_info(file_repository_version_href, opts)
|
209
212
|
data
|
@@ -215,7 +218,7 @@ module PulpFileClient
|
|
215
218
|
# @param [Hash] opts the optional parameters
|
216
219
|
# @option opts [String] :fields A list of fields to include in the response.
|
217
220
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
218
|
-
# @return [Array<(
|
221
|
+
# @return [Array<(RepositoryVersion, Integer, Hash)>] RepositoryVersion data, response status code and response headers
|
219
222
|
def read_with_http_info(file_repository_version_href, opts = {})
|
220
223
|
if @api_client.config.debugging
|
221
224
|
@api_client.config.logger.debug 'Calling API: RepositoriesFileVersionsApi.read ...'
|
@@ -244,7 +247,7 @@ module PulpFileClient
|
|
244
247
|
post_body = opts[:body]
|
245
248
|
|
246
249
|
# return_type
|
247
|
-
return_type = opts[:return_type] || '
|
250
|
+
return_type = opts[:return_type] || 'RepositoryVersion'
|
248
251
|
|
249
252
|
# auth_names
|
250
253
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module PulpFileClient
|
16
|
-
class
|
16
|
+
class Export
|
17
17
|
attr_accessor :pulp_href
|
18
18
|
|
19
19
|
# Timestamp of creation.
|
@@ -61,13 +61,13 @@ module PulpFileClient
|
|
61
61
|
# @param [Hash] attributes Model attributes in the form of hash
|
62
62
|
def initialize(attributes = {})
|
63
63
|
if (!attributes.is_a?(Hash))
|
64
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpFileClient::
|
64
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpFileClient::Export` initialize method"
|
65
65
|
end
|
66
66
|
|
67
67
|
# check to see if the attribute exists and convert string to symbol for hash key
|
68
68
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
69
69
|
if (!self.class.attribute_map.key?(k.to_sym))
|
70
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpFileClient::
|
70
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpFileClient::Export`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
71
71
|
end
|
72
72
|
h[k.to_sym] = v
|
73
73
|
}
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module PulpFileClient
|
16
|
-
class
|
16
|
+
class FileFileContent
|
17
17
|
attr_accessor :pulp_href
|
18
18
|
|
19
19
|
# Timestamp of creation.
|
@@ -85,13 +85,13 @@ module PulpFileClient
|
|
85
85
|
# @param [Hash] attributes Model attributes in the form of hash
|
86
86
|
def initialize(attributes = {})
|
87
87
|
if (!attributes.is_a?(Hash))
|
88
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpFileClient::
|
88
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpFileClient::FileFileContent` initialize method"
|
89
89
|
end
|
90
90
|
|
91
91
|
# check to see if the attribute exists and convert string to symbol for hash key
|
92
92
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
93
93
|
if (!self.class.attribute_map.key?(k.to_sym))
|
94
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpFileClient::
|
94
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpFileClient::FileFileContent`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
95
95
|
end
|
96
96
|
h[k.to_sym] = v
|
97
97
|
}
|
data/lib/pulp_file_client.rb
CHANGED
@@ -19,18 +19,13 @@ require 'pulp_file_client/configuration'
|
|
19
19
|
# Models
|
20
20
|
require 'pulp_file_client/models/async_operation_response'
|
21
21
|
require 'pulp_file_client/models/content_summary'
|
22
|
-
require 'pulp_file_client/models/
|
23
|
-
require 'pulp_file_client/models/
|
22
|
+
require 'pulp_file_client/models/export'
|
23
|
+
require 'pulp_file_client/models/file_file_content'
|
24
24
|
require 'pulp_file_client/models/file_file_distribution'
|
25
|
-
require 'pulp_file_client/models/file_file_distribution_read'
|
26
25
|
require 'pulp_file_client/models/file_file_filesystem_exporter'
|
27
|
-
require 'pulp_file_client/models/file_file_filesystem_exporter_read'
|
28
26
|
require 'pulp_file_client/models/file_file_publication'
|
29
|
-
require 'pulp_file_client/models/file_file_publication_read'
|
30
27
|
require 'pulp_file_client/models/file_file_remote'
|
31
|
-
require 'pulp_file_client/models/file_file_remote_read'
|
32
28
|
require 'pulp_file_client/models/file_file_repository'
|
33
|
-
require 'pulp_file_client/models/file_file_repository_read'
|
34
29
|
require 'pulp_file_client/models/inline_response200'
|
35
30
|
require 'pulp_file_client/models/inline_response2001'
|
36
31
|
require 'pulp_file_client/models/inline_response2002'
|
@@ -43,7 +38,6 @@ require 'pulp_file_client/models/publication_export'
|
|
43
38
|
require 'pulp_file_client/models/repository_add_remove_content'
|
44
39
|
require 'pulp_file_client/models/repository_sync_url'
|
45
40
|
require 'pulp_file_client/models/repository_version'
|
46
|
-
require 'pulp_file_client/models/repository_version_read'
|
47
41
|
|
48
42
|
# APIs
|
49
43
|
require 'pulp_file_client/api/content_files_api'
|
@@ -75,7 +75,7 @@ describe 'ContentFilesApi' do
|
|
75
75
|
# @param [Hash] opts the optional parameters
|
76
76
|
# @option opts [String] :fields A list of fields to include in the response.
|
77
77
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
78
|
-
# @return [
|
78
|
+
# @return [FileFileContent]
|
79
79
|
describe 'read test' do
|
80
80
|
it 'should work' do
|
81
81
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -98,7 +98,7 @@ describe 'DistributionsFileApi' do
|
|
98
98
|
# @param [Hash] opts the optional parameters
|
99
99
|
# @option opts [String] :fields A list of fields to include in the response.
|
100
100
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
101
|
-
# @return [
|
101
|
+
# @return [FileFileDistribution]
|
102
102
|
describe 'read test' do
|
103
103
|
it 'should work' do
|
104
104
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -81,7 +81,7 @@ describe 'ExportersFileExportsApi' do
|
|
81
81
|
# @param [Hash] opts the optional parameters
|
82
82
|
# @option opts [String] :fields A list of fields to include in the response.
|
83
83
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
84
|
-
# @return [
|
84
|
+
# @return [Export]
|
85
85
|
describe 'read test' do
|
86
86
|
it 'should work' do
|
87
87
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -37,7 +37,7 @@ describe 'ExportersFilesystemApi' do
|
|
37
37
|
# FilesystemExporters export content from a publication to a path on the file system.
|
38
38
|
# @param data
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
|
-
# @return [
|
40
|
+
# @return [FileFileFilesystemExporter]
|
41
41
|
describe 'create test' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -80,7 +80,7 @@ describe 'ExportersFilesystemApi' do
|
|
80
80
|
# @param file_filesystem_exporter_href URI of File Filesystem Exporter. e.g.: /pulp/api/v3/exporters/file/filesystem/1/
|
81
81
|
# @param data
|
82
82
|
# @param [Hash] opts the optional parameters
|
83
|
-
# @return [
|
83
|
+
# @return [FileFileFilesystemExporter]
|
84
84
|
describe 'partial_update test' do
|
85
85
|
it 'should work' do
|
86
86
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -94,7 +94,7 @@ describe 'ExportersFilesystemApi' do
|
|
94
94
|
# @param [Hash] opts the optional parameters
|
95
95
|
# @option opts [String] :fields A list of fields to include in the response.
|
96
96
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
97
|
-
# @return [
|
97
|
+
# @return [FileFileFilesystemExporter]
|
98
98
|
describe 'read test' do
|
99
99
|
it 'should work' do
|
100
100
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -107,7 +107,7 @@ describe 'ExportersFilesystemApi' do
|
|
107
107
|
# @param file_filesystem_exporter_href URI of File Filesystem Exporter. e.g.: /pulp/api/v3/exporters/file/filesystem/1/
|
108
108
|
# @param data
|
109
109
|
# @param [Hash] opts the optional parameters
|
110
|
-
# @return [
|
110
|
+
# @return [FileFileFilesystemExporter]
|
111
111
|
describe 'update test' do
|
112
112
|
it 'should work' do
|
113
113
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -86,7 +86,7 @@ describe 'PublicationsFileApi' do
|
|
86
86
|
# @param [Hash] opts the optional parameters
|
87
87
|
# @option opts [String] :fields A list of fields to include in the response.
|
88
88
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
89
|
-
# @return [
|
89
|
+
# @return [FileFilePublication]
|
90
90
|
describe 'read test' do
|
91
91
|
it 'should work' do
|
92
92
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -37,7 +37,7 @@ describe 'RemotesFileApi' do
|
|
37
37
|
# FileRemote represents an external source of File Content. The target url of a FileRemote must contain a file manifest, which contains the metadata for all files at the source.
|
38
38
|
# @param data
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
|
-
# @return [
|
40
|
+
# @return [FileFileRemote]
|
41
41
|
describe 'create test' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -100,7 +100,7 @@ describe 'RemotesFileApi' do
|
|
100
100
|
# @param [Hash] opts the optional parameters
|
101
101
|
# @option opts [String] :fields A list of fields to include in the response.
|
102
102
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
103
|
-
# @return [
|
103
|
+
# @return [FileFileRemote]
|
104
104
|
describe 'read test' do
|
105
105
|
it 'should work' do
|
106
106
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -37,7 +37,7 @@ describe 'RepositoriesFileApi' do
|
|
37
37
|
# FileRepository represents a single file repository, to which content can be synced, added, or removed.
|
38
38
|
# @param data
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
|
-
# @return [
|
40
|
+
# @return [FileFileRepository]
|
41
41
|
describe 'create test' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -107,7 +107,7 @@ describe 'RepositoriesFileApi' do
|
|
107
107
|
# @param [Hash] opts the optional parameters
|
108
108
|
# @option opts [String] :fields A list of fields to include in the response.
|
109
109
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
110
|
-
# @return [
|
110
|
+
# @return [FileFileRepository]
|
111
111
|
describe 'read test' do
|
112
112
|
it 'should work' do
|
113
113
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -61,8 +61,9 @@ describe 'RepositoriesFileVersionsApi' do
|
|
61
61
|
# @option opts [String] :pulp_created__gt Filter results where pulp_created is greater than value
|
62
62
|
# @option opts [String] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
63
63
|
# @option opts [String] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
64
|
-
# @option opts [String] :content Content Unit referenced by HREF
|
65
64
|
# @option opts [String] :pulp_created ISO 8601 formatted dates are supported
|
65
|
+
# @option opts [String] :content Content Unit referenced by HREF
|
66
|
+
# @option opts [String] :content__in Content Unit referenced by HREF
|
66
67
|
# @option opts [Integer] :limit Number of results to return per page.
|
67
68
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
68
69
|
# @option opts [String] :fields A list of fields to include in the response.
|
@@ -81,7 +82,7 @@ describe 'RepositoriesFileVersionsApi' do
|
|
81
82
|
# @param [Hash] opts the optional parameters
|
82
83
|
# @option opts [String] :fields A list of fields to include in the response.
|
83
84
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
84
|
-
# @return [
|
85
|
+
# @return [RepositoryVersion]
|
85
86
|
describe 'read test' do
|
86
87
|
it 'should work' do
|
87
88
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -14,22 +14,22 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for PulpFileClient::
|
17
|
+
# Unit tests for PulpFileClient::Export
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe '
|
20
|
+
describe 'Export' do
|
21
21
|
before do
|
22
22
|
# run before each test
|
23
|
-
@instance = PulpFileClient::
|
23
|
+
@instance = PulpFileClient::Export.new
|
24
24
|
end
|
25
25
|
|
26
26
|
after do
|
27
27
|
# run after each test
|
28
28
|
end
|
29
29
|
|
30
|
-
describe 'test an instance of
|
31
|
-
it 'should create an instance of
|
32
|
-
expect(@instance).to be_instance_of(PulpFileClient::
|
30
|
+
describe 'test an instance of Export' do
|
31
|
+
it 'should create an instance of Export' do
|
32
|
+
expect(@instance).to be_instance_of(PulpFileClient::Export)
|
33
33
|
end
|
34
34
|
end
|
35
35
|
describe 'test attribute "pulp_href"' do
|
@@ -14,22 +14,22 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for PulpFileClient::
|
17
|
+
# Unit tests for PulpFileClient::FileFileContent
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe '
|
20
|
+
describe 'FileFileContent' do
|
21
21
|
before do
|
22
22
|
# run before each test
|
23
|
-
@instance = PulpFileClient::
|
23
|
+
@instance = PulpFileClient::FileFileContent.new
|
24
24
|
end
|
25
25
|
|
26
26
|
after do
|
27
27
|
# run after each test
|
28
28
|
end
|
29
29
|
|
30
|
-
describe 'test an instance of
|
31
|
-
it 'should create an instance of
|
32
|
-
expect(@instance).to be_instance_of(PulpFileClient::
|
30
|
+
describe 'test an instance of FileFileContent' do
|
31
|
+
it 'should create an instance of FileFileContent' do
|
32
|
+
expect(@instance).to be_instance_of(PulpFileClient::FileFileContent)
|
33
33
|
end
|
34
34
|
end
|
35
35
|
describe 'test attribute "pulp_href"' do
|