pulp_file_client 1.8.0 → 1.9.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (107) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/README.md +21 -15
  4. data/docs/AcsFileApi.md +416 -0
  5. data/docs/ContentFilesApi.md +1 -1
  6. data/docs/DistributionsFileApi.md +1 -1
  7. data/docs/FileFileAlternateContentSource.md +23 -0
  8. data/docs/FileFileAlternateContentSourceResponse.md +27 -0
  9. data/docs/FileFileRemote.md +7 -5
  10. data/docs/FileFileRemoteResponse.md +7 -5
  11. data/docs/FileFileRepository.md +3 -3
  12. data/docs/FileFileRepositoryResponse.md +3 -3
  13. data/docs/PaginatedfileFileAlternateContentSourceResponseList.md +23 -0
  14. data/docs/PatchedfileFileAlternateContentSource.md +23 -0
  15. data/docs/PatchedfileFileRemote.md +7 -5
  16. data/docs/PatchedfileFileRepository.md +3 -3
  17. data/docs/PublicationsFileApi.md +1 -1
  18. data/docs/RemotesFileApi.md +1 -1
  19. data/docs/RepositoriesFileApi.md +1 -1
  20. data/docs/RepositoriesFileVersionsApi.md +1 -1
  21. data/docs/RepositoryAddRemoveContent.md +2 -2
  22. data/lib/pulp_file_client/api/acs_file_api.rb +508 -0
  23. data/lib/pulp_file_client/api/content_files_api.rb +1 -1
  24. data/lib/pulp_file_client/api/distributions_file_api.rb +1 -1
  25. data/lib/pulp_file_client/api/publications_file_api.rb +1 -1
  26. data/lib/pulp_file_client/api/remotes_file_api.rb +1 -1
  27. data/lib/pulp_file_client/api/repositories_file_api.rb +1 -1
  28. data/lib/pulp_file_client/api/repositories_file_versions_api.rb +1 -1
  29. data/lib/pulp_file_client/api_client.rb +12 -8
  30. data/lib/pulp_file_client/api_error.rb +1 -1
  31. data/lib/pulp_file_client/configuration.rb +10 -3
  32. data/lib/pulp_file_client/models/async_operation_response.rb +1 -1
  33. data/lib/pulp_file_client/models/content_summary.rb +1 -1
  34. data/lib/pulp_file_client/models/content_summary_response.rb +1 -1
  35. data/lib/pulp_file_client/models/file_file_alternate_content_source.rb +251 -0
  36. data/lib/pulp_file_client/models/file_file_alternate_content_source_response.rb +270 -0
  37. data/lib/pulp_file_client/models/file_file_content.rb +1 -1
  38. data/lib/pulp_file_client/models/file_file_content_response.rb +1 -1
  39. data/lib/pulp_file_client/models/file_file_distribution.rb +1 -1
  40. data/lib/pulp_file_client/models/file_file_distribution_response.rb +1 -1
  41. data/lib/pulp_file_client/models/file_file_publication.rb +1 -1
  42. data/lib/pulp_file_client/models/file_file_publication_response.rb +1 -1
  43. data/lib/pulp_file_client/models/file_file_remote.rb +19 -7
  44. data/lib/pulp_file_client/models/file_file_remote_response.rb +19 -7
  45. data/lib/pulp_file_client/models/file_file_repository.rb +18 -17
  46. data/lib/pulp_file_client/models/file_file_repository_response.rb +18 -17
  47. data/lib/pulp_file_client/models/paginated_repository_version_response_list.rb +1 -1
  48. data/lib/pulp_file_client/models/paginatedfile_file_alternate_content_source_response_list.rb +237 -0
  49. data/lib/pulp_file_client/models/paginatedfile_file_content_response_list.rb +1 -1
  50. data/lib/pulp_file_client/models/paginatedfile_file_distribution_response_list.rb +1 -1
  51. data/lib/pulp_file_client/models/paginatedfile_file_publication_response_list.rb +1 -1
  52. data/lib/pulp_file_client/models/paginatedfile_file_remote_response_list.rb +1 -1
  53. data/lib/pulp_file_client/models/paginatedfile_file_repository_response_list.rb +1 -1
  54. data/lib/pulp_file_client/models/patchedfile_file_alternate_content_source.rb +241 -0
  55. data/lib/pulp_file_client/models/patchedfile_file_distribution.rb +1 -1
  56. data/lib/pulp_file_client/models/patchedfile_file_remote.rb +19 -7
  57. data/lib/pulp_file_client/models/patchedfile_file_repository.rb +18 -17
  58. data/lib/pulp_file_client/models/policy_enum.rb +1 -1
  59. data/lib/pulp_file_client/models/repository_add_remove_content.rb +3 -3
  60. data/lib/pulp_file_client/models/repository_sync_url.rb +1 -1
  61. data/lib/pulp_file_client/models/repository_version.rb +1 -1
  62. data/lib/pulp_file_client/models/repository_version_response.rb +1 -1
  63. data/lib/pulp_file_client/version.rb +2 -2
  64. data/lib/pulp_file_client.rb +6 -1
  65. data/pulp_file_client.gemspec +1 -1
  66. data/spec/api/acs_file_api_spec.rb +132 -0
  67. data/spec/api/content_files_api_spec.rb +1 -1
  68. data/spec/api/distributions_file_api_spec.rb +1 -1
  69. data/spec/api/publications_file_api_spec.rb +1 -1
  70. data/spec/api/remotes_file_api_spec.rb +1 -1
  71. data/spec/api/repositories_file_api_spec.rb +1 -1
  72. data/spec/api/repositories_file_versions_api_spec.rb +1 -1
  73. data/spec/api_client_spec.rb +2 -2
  74. data/spec/configuration_spec.rb +4 -4
  75. data/spec/models/async_operation_response_spec.rb +1 -1
  76. data/spec/models/content_summary_response_spec.rb +1 -1
  77. data/spec/models/content_summary_spec.rb +1 -1
  78. data/spec/models/file_file_alternate_content_source_response_spec.rb +71 -0
  79. data/spec/models/file_file_alternate_content_source_spec.rb +59 -0
  80. data/spec/models/file_file_content_response_spec.rb +1 -1
  81. data/spec/models/file_file_content_spec.rb +1 -1
  82. data/spec/models/file_file_distribution_response_spec.rb +1 -1
  83. data/spec/models/file_file_distribution_spec.rb +1 -1
  84. data/spec/models/file_file_publication_response_spec.rb +1 -1
  85. data/spec/models/file_file_publication_spec.rb +1 -1
  86. data/spec/models/file_file_remote_response_spec.rb +7 -1
  87. data/spec/models/file_file_remote_spec.rb +7 -1
  88. data/spec/models/file_file_repository_response_spec.rb +2 -2
  89. data/spec/models/file_file_repository_spec.rb +2 -2
  90. data/spec/models/paginated_repository_version_response_list_spec.rb +1 -1
  91. data/spec/models/paginatedfile_file_alternate_content_source_response_list_spec.rb +59 -0
  92. data/spec/models/paginatedfile_file_content_response_list_spec.rb +1 -1
  93. data/spec/models/paginatedfile_file_distribution_response_list_spec.rb +1 -1
  94. data/spec/models/paginatedfile_file_publication_response_list_spec.rb +1 -1
  95. data/spec/models/paginatedfile_file_remote_response_list_spec.rb +1 -1
  96. data/spec/models/paginatedfile_file_repository_response_list_spec.rb +1 -1
  97. data/spec/models/patchedfile_file_alternate_content_source_spec.rb +59 -0
  98. data/spec/models/patchedfile_file_distribution_spec.rb +1 -1
  99. data/spec/models/patchedfile_file_remote_spec.rb +7 -1
  100. data/spec/models/patchedfile_file_repository_spec.rb +2 -2
  101. data/spec/models/policy_enum_spec.rb +1 -1
  102. data/spec/models/repository_add_remove_content_spec.rb +1 -1
  103. data/spec/models/repository_sync_url_spec.rb +1 -1
  104. data/spec/models/repository_version_response_spec.rb +1 -1
  105. data/spec/models/repository_version_spec.rb +1 -1
  106. data/spec/spec_helper.rb +1 -1
  107. metadata +43 -23
@@ -6,7 +6,7 @@
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
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
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
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -50,22 +50,25 @@ module PulpFileClient
50
50
 
51
51
  attr_accessor :pulp_labels
52
52
 
53
- # Total number of simultaneous connections.
53
+ # Total number of simultaneous connections. If not set then the default value will be used.
54
54
  attr_accessor :download_concurrency
55
55
 
56
+ # Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
57
+ attr_accessor :max_retries
58
+
56
59
  # The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default.
57
60
  attr_accessor :policy
58
61
 
59
- # aiohttp.ClientTimeout.total (q.v.) for download-connections.
62
+ # aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
60
63
  attr_accessor :total_timeout
61
64
 
62
- # aiohttp.ClientTimeout.connect (q.v.) for download-connections.
65
+ # aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
63
66
  attr_accessor :connect_timeout
64
67
 
65
- # aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections.
68
+ # aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
66
69
  attr_accessor :sock_connect_timeout
67
70
 
68
- # aiohttp.ClientTimeout.sock_read (q.v.) for download-connections.
71
+ # aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
69
72
  attr_accessor :sock_read_timeout
70
73
 
71
74
  # Headers for aiohttp.Clientsession
@@ -90,6 +93,7 @@ module PulpFileClient
90
93
  :'password' => :'password',
91
94
  :'pulp_labels' => :'pulp_labels',
92
95
  :'download_concurrency' => :'download_concurrency',
96
+ :'max_retries' => :'max_retries',
93
97
  :'policy' => :'policy',
94
98
  :'total_timeout' => :'total_timeout',
95
99
  :'connect_timeout' => :'connect_timeout',
@@ -116,6 +120,7 @@ module PulpFileClient
116
120
  :'password' => :'String',
117
121
  :'pulp_labels' => :'Object',
118
122
  :'download_concurrency' => :'Integer',
123
+ :'max_retries' => :'Integer',
119
124
  :'policy' => :'PolicyEnum',
120
125
  :'total_timeout' => :'Float',
121
126
  :'connect_timeout' => :'Float',
@@ -137,6 +142,8 @@ module PulpFileClient
137
142
  :'proxy_password',
138
143
  :'username',
139
144
  :'password',
145
+ :'download_concurrency',
146
+ :'max_retries',
140
147
  :'total_timeout',
141
148
  :'connect_timeout',
142
149
  :'sock_connect_timeout',
@@ -212,6 +219,10 @@ module PulpFileClient
212
219
  self.download_concurrency = attributes[:'download_concurrency']
213
220
  end
214
221
 
222
+ if attributes.key?(:'max_retries')
223
+ self.max_retries = attributes[:'max_retries']
224
+ end
225
+
215
226
  if attributes.key?(:'policy')
216
227
  self.policy = attributes[:'policy']
217
228
  end
@@ -349,6 +360,7 @@ module PulpFileClient
349
360
  password == o.password &&
350
361
  pulp_labels == o.pulp_labels &&
351
362
  download_concurrency == o.download_concurrency &&
363
+ max_retries == o.max_retries &&
352
364
  policy == o.policy &&
353
365
  total_timeout == o.total_timeout &&
354
366
  connect_timeout == o.connect_timeout &&
@@ -367,7 +379,7 @@ module PulpFileClient
367
379
  # Calculates hash code according to all attributes.
368
380
  # @return [Integer] Hash code
369
381
  def hash
370
- [name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, proxy_username, proxy_password, username, password, pulp_labels, download_concurrency, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit].hash
382
+ [name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, proxy_username, proxy_password, username, password, pulp_labels, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit].hash
371
383
  end
372
384
 
373
385
  # Builds the object from hash
@@ -6,7 +6,7 @@
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
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -24,8 +24,9 @@ module PulpFileClient
24
24
  attr_accessor :description
25
25
 
26
26
  # Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
27
- attr_accessor :retained_versions
27
+ attr_accessor :retain_repo_versions
28
28
 
29
+ # An optional remote to use by default when syncing.
29
30
  attr_accessor :remote
30
31
 
31
32
  # Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository.
@@ -40,7 +41,7 @@ module PulpFileClient
40
41
  :'pulp_labels' => :'pulp_labels',
41
42
  :'name' => :'name',
42
43
  :'description' => :'description',
43
- :'retained_versions' => :'retained_versions',
44
+ :'retain_repo_versions' => :'retain_repo_versions',
44
45
  :'remote' => :'remote',
45
46
  :'autopublish' => :'autopublish',
46
47
  :'manifest' => :'manifest'
@@ -53,7 +54,7 @@ module PulpFileClient
53
54
  :'pulp_labels' => :'Object',
54
55
  :'name' => :'String',
55
56
  :'description' => :'String',
56
- :'retained_versions' => :'Integer',
57
+ :'retain_repo_versions' => :'Integer',
57
58
  :'remote' => :'String',
58
59
  :'autopublish' => :'Boolean',
59
60
  :'manifest' => :'String'
@@ -64,7 +65,7 @@ module PulpFileClient
64
65
  def self.openapi_nullable
65
66
  Set.new([
66
67
  :'description',
67
- :'retained_versions',
68
+ :'retain_repo_versions',
68
69
  :'remote',
69
70
  ])
70
71
  end
@@ -96,8 +97,8 @@ module PulpFileClient
96
97
  self.description = attributes[:'description']
97
98
  end
98
99
 
99
- if attributes.key?(:'retained_versions')
100
- self.retained_versions = attributes[:'retained_versions']
100
+ if attributes.key?(:'retain_repo_versions')
101
+ self.retain_repo_versions = attributes[:'retain_repo_versions']
101
102
  end
102
103
 
103
104
  if attributes.key?(:'remote')
@@ -121,8 +122,8 @@ module PulpFileClient
121
122
  # @return Array for valid properties with the reasons
122
123
  def list_invalid_properties
123
124
  invalid_properties = Array.new
124
- if !@retained_versions.nil? && @retained_versions < 1
125
- invalid_properties.push('invalid value for "retained_versions", must be greater than or equal to 1.')
125
+ if !@retain_repo_versions.nil? && @retain_repo_versions < 1
126
+ invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
126
127
  end
127
128
 
128
129
  invalid_properties
@@ -131,18 +132,18 @@ module PulpFileClient
131
132
  # Check to see if the all the properties in the model are valid
132
133
  # @return true if the model is valid
133
134
  def valid?
134
- return false if !@retained_versions.nil? && @retained_versions < 1
135
+ return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
135
136
  true
136
137
  end
137
138
 
138
139
  # Custom attribute writer method with validation
139
- # @param [Object] retained_versions Value to be assigned
140
- def retained_versions=(retained_versions)
141
- if !retained_versions.nil? && retained_versions < 1
142
- fail ArgumentError, 'invalid value for "retained_versions", must be greater than or equal to 1.'
140
+ # @param [Object] retain_repo_versions Value to be assigned
141
+ def retain_repo_versions=(retain_repo_versions)
142
+ if !retain_repo_versions.nil? && retain_repo_versions < 1
143
+ fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
143
144
  end
144
145
 
145
- @retained_versions = retained_versions
146
+ @retain_repo_versions = retain_repo_versions
146
147
  end
147
148
 
148
149
  # Checks equality by comparing each attribute.
@@ -153,7 +154,7 @@ module PulpFileClient
153
154
  pulp_labels == o.pulp_labels &&
154
155
  name == o.name &&
155
156
  description == o.description &&
156
- retained_versions == o.retained_versions &&
157
+ retain_repo_versions == o.retain_repo_versions &&
157
158
  remote == o.remote &&
158
159
  autopublish == o.autopublish &&
159
160
  manifest == o.manifest
@@ -168,7 +169,7 @@ module PulpFileClient
168
169
  # Calculates hash code according to all attributes.
169
170
  # @return [Integer] Hash code
170
171
  def hash
171
- [pulp_labels, name, description, retained_versions, remote, autopublish, manifest].hash
172
+ [pulp_labels, name, description, retain_repo_versions, remote, autopublish, manifest].hash
172
173
  end
173
174
 
174
175
  # Builds the object from hash
@@ -6,7 +6,7 @@
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
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
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
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -36,8 +36,8 @@ module PulpFileClient
36
36
  # Attribute type mapping.
37
37
  def self.openapi_types
38
38
  {
39
- :'add_content_units' => :'Array<Object>',
40
- :'remove_content_units' => :'Array<Object>',
39
+ :'add_content_units' => :'Array<AnyType>',
40
+ :'remove_content_units' => :'Array<AnyType>',
41
41
  :'base_version' => :'String'
42
42
  }
43
43
  end
@@ -6,7 +6,7 @@
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
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
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
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
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
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,10 +6,10 @@
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
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
13
13
  module PulpFileClient
14
- VERSION = '1.8.0'
14
+ VERSION = '1.9.1'
15
15
  end
@@ -6,7 +6,7 @@
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
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -20,6 +20,8 @@ require 'pulp_file_client/configuration'
20
20
  require 'pulp_file_client/models/async_operation_response'
21
21
  require 'pulp_file_client/models/content_summary'
22
22
  require 'pulp_file_client/models/content_summary_response'
23
+ require 'pulp_file_client/models/file_file_alternate_content_source'
24
+ require 'pulp_file_client/models/file_file_alternate_content_source_response'
23
25
  require 'pulp_file_client/models/file_file_content'
24
26
  require 'pulp_file_client/models/file_file_content_response'
25
27
  require 'pulp_file_client/models/file_file_distribution'
@@ -31,11 +33,13 @@ require 'pulp_file_client/models/file_file_remote_response'
31
33
  require 'pulp_file_client/models/file_file_repository'
32
34
  require 'pulp_file_client/models/file_file_repository_response'
33
35
  require 'pulp_file_client/models/paginated_repository_version_response_list'
36
+ require 'pulp_file_client/models/paginatedfile_file_alternate_content_source_response_list'
34
37
  require 'pulp_file_client/models/paginatedfile_file_content_response_list'
35
38
  require 'pulp_file_client/models/paginatedfile_file_distribution_response_list'
36
39
  require 'pulp_file_client/models/paginatedfile_file_publication_response_list'
37
40
  require 'pulp_file_client/models/paginatedfile_file_remote_response_list'
38
41
  require 'pulp_file_client/models/paginatedfile_file_repository_response_list'
42
+ require 'pulp_file_client/models/patchedfile_file_alternate_content_source'
39
43
  require 'pulp_file_client/models/patchedfile_file_distribution'
40
44
  require 'pulp_file_client/models/patchedfile_file_remote'
41
45
  require 'pulp_file_client/models/patchedfile_file_repository'
@@ -46,6 +50,7 @@ require 'pulp_file_client/models/repository_version'
46
50
  require 'pulp_file_client/models/repository_version_response'
47
51
 
48
52
  # APIs
53
+ require 'pulp_file_client/api/acs_file_api'
49
54
  require 'pulp_file_client/api/content_files_api'
50
55
  require 'pulp_file_client/api/distributions_file_api'
51
56
  require 'pulp_file_client/api/publications_file_api'
@@ -8,7 +8,7 @@
8
8
  The version of the OpenAPI document: v3
9
9
  Contact: pulp-list@redhat.com
10
10
  Generated by: https://openapi-generator.tech
11
- OpenAPI Generator version: 4.2.3
11
+ OpenAPI Generator version: 4.3.1
12
12
 
13
13
  =end
14
14
 
@@ -0,0 +1,132 @@
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 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpFileClient::AcsFileApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'AcsFileApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpFileClient::AcsFileApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of AcsFileApi' do
30
+ it 'should create an instance of AcsFileApi' do
31
+ expect(@api_instance).to be_instance_of(PulpFileClient::AcsFileApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for create
36
+ # Create a file alternate content source
37
+ # Alternate Content Source ViewSet for File ACS support is provided as a tech preview in pulp_file.
38
+ # @param file_file_alternate_content_source
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [FileFileAlternateContentSourceResponse]
41
+ describe 'create test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ # unit tests for delete
48
+ # Delete a file alternate content source
49
+ # Alternate Content Source ViewSet for File ACS support is provided as a tech preview in pulp_file.
50
+ # @param file_file_alternate_content_source_href
51
+ # @param [Hash] opts the optional parameters
52
+ # @return [nil]
53
+ describe 'delete test' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ # unit tests for list
60
+ # List file alternate content sources
61
+ # Alternate Content Source ViewSet for File ACS support is provided as a tech preview in pulp_file.
62
+ # @param [Hash] opts the optional parameters
63
+ # @option opts [Integer] :limit Number of results to return per page.
64
+ # @option opts [String] :name
65
+ # @option opts [String] :name__contains Filter results where name contains value
66
+ # @option opts [String] :name__icontains Filter results where name contains value
67
+ # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
68
+ # @option opts [String] :name__startswith Filter results where name starts with value
69
+ # @option opts [Integer] :offset The initial index from which to return the results.
70
+ # @option opts [String] :ordering Which field to use when ordering the results.
71
+ # @option opts [String] :fields A list of fields to include in the response.
72
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
73
+ # @return [PaginatedfileFileAlternateContentSourceResponseList]
74
+ describe 'list test' do
75
+ it 'should work' do
76
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
77
+ end
78
+ end
79
+
80
+ # unit tests for partial_update
81
+ # Update a file alternate content source
82
+ # Alternate Content Source ViewSet for File ACS support is provided as a tech preview in pulp_file.
83
+ # @param file_file_alternate_content_source_href
84
+ # @param patchedfile_file_alternate_content_source
85
+ # @param [Hash] opts the optional parameters
86
+ # @return [FileFileAlternateContentSourceResponse]
87
+ describe 'partial_update test' do
88
+ it 'should work' do
89
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
90
+ end
91
+ end
92
+
93
+ # unit tests for read
94
+ # Inspect a file alternate content source
95
+ # Alternate Content Source ViewSet for File ACS support is provided as a tech preview in pulp_file.
96
+ # @param file_file_alternate_content_source_href
97
+ # @param [Hash] opts the optional parameters
98
+ # @option opts [String] :fields A list of fields to include in the response.
99
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
100
+ # @return [FileFileAlternateContentSourceResponse]
101
+ describe 'read test' do
102
+ it 'should work' do
103
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
104
+ end
105
+ end
106
+
107
+ # unit tests for refresh
108
+ # Alternate Content Source ViewSet for File ACS support is provided as a tech preview in pulp_file.
109
+ # @param file_file_alternate_content_source_href
110
+ # @param file_file_alternate_content_source
111
+ # @param [Hash] opts the optional parameters
112
+ # @return [FileFileAlternateContentSourceResponse]
113
+ describe 'refresh test' do
114
+ it 'should work' do
115
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
116
+ end
117
+ end
118
+
119
+ # unit tests for update
120
+ # Update a file alternate content source
121
+ # Alternate Content Source ViewSet for File ACS support is provided as a tech preview in pulp_file.
122
+ # @param file_file_alternate_content_source_href
123
+ # @param file_file_alternate_content_source
124
+ # @param [Hash] opts the optional parameters
125
+ # @return [FileFileAlternateContentSourceResponse]
126
+ describe 'update test' do
127
+ it 'should work' do
128
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
129
+ end
130
+ end
131
+
132
+ end