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.
Files changed (136) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +51 -37
  3. data/docs/ContentFilesApi.md +24 -24
  4. data/docs/ContentSummary.md +3 -3
  5. data/docs/ContentSummaryResponse.md +21 -0
  6. data/docs/DistributionsFileApi.md +108 -60
  7. data/docs/{Export.md → ExportResponse.md} +2 -2
  8. data/docs/ExportersFileExportsApi.md +34 -34
  9. data/docs/ExportersFilesystemApi.md +61 -61
  10. data/docs/FileFileContent.md +5 -17
  11. data/docs/FileFileContentResponse.md +35 -0
  12. data/docs/FileFileDistribution.md +1 -7
  13. data/docs/FileFileDistributionResponse.md +29 -0
  14. data/docs/FileFileFilesystemExporter.md +1 -5
  15. data/docs/FileFileFilesystemExporterResponse.md +23 -0
  16. data/docs/FileFilePublication.md +1 -7
  17. data/docs/FileFilePublicationResponse.md +27 -0
  18. data/docs/FileFileRemote.md +4 -10
  19. data/docs/FileFileRemoteResponse.md +43 -0
  20. data/docs/FileFileRepository.md +4 -10
  21. data/docs/FileFileRepositoryResponse.md +29 -0
  22. data/docs/InlineResponse200.md +3 -3
  23. data/docs/InlineResponse2001.md +3 -3
  24. data/docs/InlineResponse2002.md +3 -3
  25. data/docs/InlineResponse2003.md +3 -3
  26. data/docs/InlineResponse2004.md +3 -3
  27. data/docs/InlineResponse2005.md +3 -3
  28. data/docs/InlineResponse2006.md +3 -3
  29. data/docs/InlineResponse2007.md +3 -3
  30. data/docs/PatchedfileFileDistribution.md +23 -0
  31. data/docs/PatchedfileFileFilesystemExporter.md +19 -0
  32. data/docs/PatchedfileFileRemote.md +37 -0
  33. data/docs/PatchedfileFileRepository.md +21 -0
  34. data/docs/PolicyEnum.md +16 -0
  35. data/docs/PublicationsFileApi.md +40 -40
  36. data/docs/RemotesFileApi.md +125 -65
  37. data/docs/RepositoriesFileApi.md +97 -73
  38. data/docs/RepositoriesFileVersionsApi.md +94 -62
  39. data/docs/RepositoryAddRemoveContent.md +2 -2
  40. data/docs/RepositorySyncURL.md +1 -1
  41. data/docs/RepositoryVersion.md +1 -9
  42. data/docs/RepositoryVersionResponse.md +25 -0
  43. data/lib/pulp_file_client/api/content_files_api.rb +32 -36
  44. data/lib/pulp_file_client/api/distributions_file_api.rb +153 -90
  45. data/lib/pulp_file_client/api/exporters_file_exports_api.rb +55 -55
  46. data/lib/pulp_file_client/api/exporters_filesystem_api.rb +102 -102
  47. data/lib/pulp_file_client/api/publications_file_api.rb +59 -59
  48. data/lib/pulp_file_client/api/remotes_file_api.rb +181 -100
  49. data/lib/pulp_file_client/api/repositories_file_api.rb +145 -118
  50. data/lib/pulp_file_client/api/repositories_file_versions_api.rb +137 -92
  51. data/lib/pulp_file_client/api_client.rb +2 -2
  52. data/lib/pulp_file_client/api_error.rb +2 -2
  53. data/lib/pulp_file_client/configuration.rb +3 -3
  54. data/lib/pulp_file_client/models/async_operation_response.rb +3 -2
  55. data/lib/pulp_file_client/models/content_summary.rb +9 -15
  56. data/lib/pulp_file_client/models/content_summary_response.rb +240 -0
  57. data/lib/pulp_file_client/models/{export.rb → export_response.rb} +6 -5
  58. data/lib/pulp_file_client/models/file_file_content.rb +18 -185
  59. data/lib/pulp_file_client/models/file_file_content_response.rb +302 -0
  60. data/lib/pulp_file_client/models/file_file_distribution.rb +4 -85
  61. data/lib/pulp_file_client/models/file_file_distribution_response.rb +279 -0
  62. data/lib/pulp_file_client/models/file_file_filesystem_exporter.rb +4 -60
  63. data/lib/pulp_file_client/models/file_file_filesystem_exporter_response.rb +247 -0
  64. data/lib/pulp_file_client/models/file_file_publication.rb +4 -49
  65. data/lib/pulp_file_client/models/file_file_publication_response.rb +260 -0
  66. data/lib/pulp_file_client/models/file_file_remote.rb +7 -199
  67. data/lib/pulp_file_client/models/file_file_remote_response.rb +368 -0
  68. data/lib/pulp_file_client/models/file_file_repository.rb +18 -78
  69. data/lib/pulp_file_client/models/file_file_repository_response.rb +271 -0
  70. data/lib/pulp_file_client/models/inline_response200.rb +3 -13
  71. data/lib/pulp_file_client/models/inline_response2001.rb +3 -13
  72. data/lib/pulp_file_client/models/inline_response2002.rb +3 -13
  73. data/lib/pulp_file_client/models/inline_response2003.rb +3 -13
  74. data/lib/pulp_file_client/models/inline_response2004.rb +3 -13
  75. data/lib/pulp_file_client/models/inline_response2005.rb +3 -13
  76. data/lib/pulp_file_client/models/inline_response2006.rb +3 -13
  77. data/lib/pulp_file_client/models/inline_response2007.rb +3 -13
  78. data/lib/pulp_file_client/models/patchedfile_file_distribution.rb +240 -0
  79. data/lib/pulp_file_client/models/patchedfile_file_filesystem_exporter.rb +218 -0
  80. data/lib/pulp_file_client/models/patchedfile_file_remote.rb +329 -0
  81. data/lib/pulp_file_client/models/patchedfile_file_repository.rb +229 -0
  82. data/lib/pulp_file_client/models/policy_enum.rb +37 -0
  83. data/lib/pulp_file_client/models/publication_export.rb +3 -2
  84. data/lib/pulp_file_client/models/repository_add_remove_content.rb +5 -4
  85. data/lib/pulp_file_client/models/repository_sync_url.rb +3 -8
  86. data/lib/pulp_file_client/models/repository_version.rb +7 -43
  87. data/lib/pulp_file_client/models/repository_version_response.rb +246 -0
  88. data/lib/pulp_file_client/version.rb +3 -3
  89. data/lib/pulp_file_client.rb +16 -3
  90. data/pulp_file_client.gemspec +4 -4
  91. data/spec/api/content_files_api_spec.rb +10 -10
  92. data/spec/api/distributions_file_api_spec.rb +39 -18
  93. data/spec/api/exporters_file_exports_api_spec.rb +9 -9
  94. data/spec/api/exporters_filesystem_api_spec.rb +23 -23
  95. data/spec/api/publications_file_api_spec.rb +14 -14
  96. data/spec/api/remotes_file_api_spec.rb +48 -21
  97. data/spec/api/repositories_file_api_spec.rb +28 -19
  98. data/spec/api/repositories_file_versions_api_spec.rb +38 -23
  99. data/spec/api_client_spec.rb +2 -2
  100. data/spec/configuration_spec.rb +2 -2
  101. data/spec/models/async_operation_response_spec.rb +2 -2
  102. data/spec/models/content_summary_response_spec.rb +53 -0
  103. data/spec/models/content_summary_spec.rb +2 -2
  104. data/spec/models/{export_spec.rb → export_response_spec.rb} +8 -8
  105. data/spec/models/file_file_content_response_spec.rb +95 -0
  106. data/spec/models/file_file_content_spec.rb +4 -40
  107. data/spec/models/file_file_distribution_response_spec.rb +77 -0
  108. data/spec/models/file_file_distribution_spec.rb +2 -20
  109. data/spec/models/file_file_filesystem_exporter_response_spec.rb +59 -0
  110. data/spec/models/file_file_filesystem_exporter_spec.rb +2 -14
  111. data/spec/models/file_file_publication_response_spec.rb +71 -0
  112. data/spec/models/file_file_publication_spec.rb +2 -20
  113. data/spec/models/file_file_remote_response_spec.rb +119 -0
  114. data/spec/models/file_file_remote_spec.rb +2 -24
  115. data/spec/models/file_file_repository_response_spec.rb +77 -0
  116. data/spec/models/file_file_repository_spec.rb +5 -23
  117. data/spec/models/inline_response2001_spec.rb +2 -2
  118. data/spec/models/inline_response2002_spec.rb +2 -2
  119. data/spec/models/inline_response2003_spec.rb +2 -2
  120. data/spec/models/inline_response2004_spec.rb +2 -2
  121. data/spec/models/inline_response2005_spec.rb +2 -2
  122. data/spec/models/inline_response2006_spec.rb +2 -2
  123. data/spec/models/inline_response2007_spec.rb +2 -2
  124. data/spec/models/inline_response200_spec.rb +2 -2
  125. data/spec/models/patchedfile_file_distribution_spec.rb +59 -0
  126. data/spec/models/patchedfile_file_filesystem_exporter_spec.rb +47 -0
  127. data/spec/models/patchedfile_file_remote_spec.rb +101 -0
  128. data/spec/models/patchedfile_file_repository_spec.rb +53 -0
  129. data/spec/models/policy_enum_spec.rb +35 -0
  130. data/spec/models/publication_export_spec.rb +2 -2
  131. data/spec/models/repository_add_remove_content_spec.rb +2 -2
  132. data/spec/models/repository_sync_url_spec.rb +2 -2
  133. data/spec/models/repository_version_response_spec.rb +65 -0
  134. data/spec/models/repository_version_spec.rb +2 -26
  135. data/spec/spec_helper.rb +2 -2
  136. metadata +76 -24
@@ -5,17 +5,17 @@ All URIs are relative to *http://pulp*
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
7
  [**create**](DistributionsFileApi.md#create) | **POST** /pulp/api/v3/distributions/file/file/ | Create a file distribution
8
- [**delete**](DistributionsFileApi.md#delete) | **DELETE** {file_distribution_href} | Delete a file distribution
8
+ [**delete**](DistributionsFileApi.md#delete) | **DELETE** {file_file_distribution_href} | Delete a file distribution
9
9
  [**list**](DistributionsFileApi.md#list) | **GET** /pulp/api/v3/distributions/file/file/ | List file distributions
10
- [**partial_update**](DistributionsFileApi.md#partial_update) | **PATCH** {file_distribution_href} | Partially update a file distribution
11
- [**read**](DistributionsFileApi.md#read) | **GET** {file_distribution_href} | Inspect a file distribution
12
- [**update**](DistributionsFileApi.md#update) | **PUT** {file_distribution_href} | Update a file distribution
10
+ [**partial_update**](DistributionsFileApi.md#partial_update) | **PATCH** {file_file_distribution_href} | Update a file distribution
11
+ [**read**](DistributionsFileApi.md#read) | **GET** {file_file_distribution_href} | Inspect a file distribution
12
+ [**update**](DistributionsFileApi.md#update) | **PUT** {file_file_distribution_href} | Update a file distribution
13
13
 
14
14
 
15
15
 
16
16
  ## create
17
17
 
18
- > AsyncOperationResponse create(data)
18
+ > AsyncOperationResponse create(file_file_distribution)
19
19
 
20
20
  Create a file distribution
21
21
 
@@ -28,17 +28,17 @@ Trigger an asynchronous create task
28
28
  require 'pulp_file_client'
29
29
  # setup authorization
30
30
  PulpFileClient.configure do |config|
31
- # Configure HTTP basic authorization: Basic
31
+ # Configure HTTP basic authorization: basicAuth
32
32
  config.username = 'YOUR USERNAME'
33
33
  config.password = 'YOUR PASSWORD'
34
34
  end
35
35
 
36
36
  api_instance = PulpFileClient::DistributionsFileApi.new
37
- data = PulpFileClient::FileFileDistribution.new # FileFileDistribution |
37
+ file_file_distribution = PulpFileClient::FileFileDistribution.new # FileFileDistribution |
38
38
 
39
39
  begin
40
40
  #Create a file distribution
41
- result = api_instance.create(data)
41
+ result = api_instance.create(file_file_distribution)
42
42
  p result
43
43
  rescue PulpFileClient::ApiError => e
44
44
  puts "Exception when calling DistributionsFileApi->create: #{e}"
@@ -50,7 +50,7 @@ end
50
50
 
51
51
  Name | Type | Description | Notes
52
52
  ------------- | ------------- | ------------- | -------------
53
- **data** | [**FileFileDistribution**](FileFileDistribution.md)| |
53
+ **file_file_distribution** | [**FileFileDistribution**](FileFileDistribution.md)| |
54
54
 
55
55
  ### Return type
56
56
 
@@ -58,17 +58,17 @@ Name | Type | Description | Notes
58
58
 
59
59
  ### Authorization
60
60
 
61
- [Basic](../README.md#Basic)
61
+ [basicAuth](../README.md#basicAuth)
62
62
 
63
63
  ### HTTP request headers
64
64
 
65
- - **Content-Type**: application/json
65
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
66
66
  - **Accept**: application/json
67
67
 
68
68
 
69
69
  ## delete
70
70
 
71
- > AsyncOperationResponse delete(file_distribution_href)
71
+ > AsyncOperationResponse delete(file_file_distribution_href, opts)
72
72
 
73
73
  Delete a file distribution
74
74
 
@@ -81,17 +81,26 @@ Trigger an asynchronous delete task
81
81
  require 'pulp_file_client'
82
82
  # setup authorization
83
83
  PulpFileClient.configure do |config|
84
- # Configure HTTP basic authorization: Basic
84
+ # Configure HTTP basic authorization: basicAuth
85
85
  config.username = 'YOUR USERNAME'
86
86
  config.password = 'YOUR PASSWORD'
87
87
  end
88
88
 
89
89
  api_instance = PulpFileClient::DistributionsFileApi.new
90
- file_distribution_href = 'file_distribution_href_example' # String | URI of File Distribution. e.g.: /pulp/api/v3/distributions/file/file/1/
90
+ file_file_distribution_href = 'file_file_distribution_href_example' # String |
91
+ opts = {
92
+ base_path: 'base_path_example', # String | base_path
93
+ base_path__contains: 'base_path__contains_example', # String | base_path__contains
94
+ base_path__icontains: 'base_path__icontains_example', # String | base_path__icontains
95
+ base_path__in: 'base_path__in_example', # String | base_path__in
96
+ name: 'name_example', # String | name
97
+ name__in: 'name__in_example', # String | name__in
98
+ ordering: 'ordering_example' # String | Which field to use when ordering the results.
99
+ }
91
100
 
92
101
  begin
93
102
  #Delete a file distribution
94
- result = api_instance.delete(file_distribution_href)
103
+ result = api_instance.delete(file_file_distribution_href, opts)
95
104
  p result
96
105
  rescue PulpFileClient::ApiError => e
97
106
  puts "Exception when calling DistributionsFileApi->delete: #{e}"
@@ -103,7 +112,14 @@ end
103
112
 
104
113
  Name | Type | Description | Notes
105
114
  ------------- | ------------- | ------------- | -------------
106
- **file_distribution_href** | **String**| URI of File Distribution. e.g.: /pulp/api/v3/distributions/file/file/1/ |
115
+ **file_file_distribution_href** | **String**| |
116
+ **base_path** | **String**| base_path | [optional]
117
+ **base_path__contains** | **String**| base_path__contains | [optional]
118
+ **base_path__icontains** | **String**| base_path__icontains | [optional]
119
+ **base_path__in** | **String**| base_path__in | [optional]
120
+ **name** | **String**| name | [optional]
121
+ **name__in** | **String**| name__in | [optional]
122
+ **ordering** | **String**| Which field to use when ordering the results. | [optional]
107
123
 
108
124
  ### Return type
109
125
 
@@ -111,7 +127,7 @@ Name | Type | Description | Notes
111
127
 
112
128
  ### Authorization
113
129
 
114
- [Basic](../README.md#Basic)
130
+ [basicAuth](../README.md#basicAuth)
115
131
 
116
132
  ### HTTP request headers
117
133
 
@@ -134,22 +150,22 @@ List file distributions
134
150
  require 'pulp_file_client'
135
151
  # setup authorization
136
152
  PulpFileClient.configure do |config|
137
- # Configure HTTP basic authorization: Basic
153
+ # Configure HTTP basic authorization: basicAuth
138
154
  config.username = 'YOUR USERNAME'
139
155
  config.password = 'YOUR PASSWORD'
140
156
  end
141
157
 
142
158
  api_instance = PulpFileClient::DistributionsFileApi.new
143
159
  opts = {
144
- ordering: 'ordering_example', # String | Which field to use when ordering the results.
145
- name: 'name_example', # String |
146
- name__in: 'name__in_example', # String | Filter results where name is in a comma-separated list of values
147
- base_path: 'base_path_example', # String |
148
- base_path__contains: 'base_path__contains_example', # String | Filter results where base_path contains value
149
- base_path__icontains: 'base_path__icontains_example', # String | Filter results where base_path contains value
150
- base_path__in: 'base_path__in_example', # String | Filter results where base_path is in a comma-separated list of values
160
+ base_path: 'base_path_example', # String | base_path
161
+ base_path__contains: 'base_path__contains_example', # String | base_path__contains
162
+ base_path__icontains: 'base_path__icontains_example', # String | base_path__icontains
163
+ base_path__in: 'base_path__in_example', # String | base_path__in
151
164
  limit: 56, # Integer | Number of results to return per page.
165
+ name: 'name_example', # String | name
166
+ name__in: 'name__in_example', # String | name__in
152
167
  offset: 56, # Integer | The initial index from which to return the results.
168
+ ordering: 'ordering_example', # String | Which field to use when ordering the results.
153
169
  fields: 'fields_example', # String | A list of fields to include in the response.
154
170
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
155
171
  }
@@ -168,15 +184,15 @@ end
168
184
 
169
185
  Name | Type | Description | Notes
170
186
  ------------- | ------------- | ------------- | -------------
171
- **ordering** | **String**| Which field to use when ordering the results. | [optional]
172
- **name** | **String**| | [optional]
173
- **name__in** | **String**| Filter results where name is in a comma-separated list of values | [optional]
174
- **base_path** | **String**| | [optional]
175
- **base_path__contains** | **String**| Filter results where base_path contains value | [optional]
176
- **base_path__icontains** | **String**| Filter results where base_path contains value | [optional]
177
- **base_path__in** | **String**| Filter results where base_path is in a comma-separated list of values | [optional]
187
+ **base_path** | **String**| base_path | [optional]
188
+ **base_path__contains** | **String**| base_path__contains | [optional]
189
+ **base_path__icontains** | **String**| base_path__icontains | [optional]
190
+ **base_path__in** | **String**| base_path__in | [optional]
178
191
  **limit** | **Integer**| Number of results to return per page. | [optional]
192
+ **name** | **String**| name | [optional]
193
+ **name__in** | **String**| name__in | [optional]
179
194
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
195
+ **ordering** | **String**| Which field to use when ordering the results. | [optional]
180
196
  **fields** | **String**| A list of fields to include in the response. | [optional]
181
197
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
182
198
 
@@ -186,7 +202,7 @@ Name | Type | Description | Notes
186
202
 
187
203
  ### Authorization
188
204
 
189
- [Basic](../README.md#Basic)
205
+ [basicAuth](../README.md#basicAuth)
190
206
 
191
207
  ### HTTP request headers
192
208
 
@@ -196,9 +212,9 @@ Name | Type | Description | Notes
196
212
 
197
213
  ## partial_update
198
214
 
199
- > AsyncOperationResponse partial_update(file_distribution_href, data)
215
+ > AsyncOperationResponse partial_update(file_file_distribution_href, patchedfile_file_distribution, opts)
200
216
 
201
- Partially update a file distribution
217
+ Update a file distribution
202
218
 
203
219
  Trigger an asynchronous partial update task
204
220
 
@@ -209,18 +225,27 @@ Trigger an asynchronous partial update task
209
225
  require 'pulp_file_client'
210
226
  # setup authorization
211
227
  PulpFileClient.configure do |config|
212
- # Configure HTTP basic authorization: Basic
228
+ # Configure HTTP basic authorization: basicAuth
213
229
  config.username = 'YOUR USERNAME'
214
230
  config.password = 'YOUR PASSWORD'
215
231
  end
216
232
 
217
233
  api_instance = PulpFileClient::DistributionsFileApi.new
218
- file_distribution_href = 'file_distribution_href_example' # String | URI of File Distribution. e.g.: /pulp/api/v3/distributions/file/file/1/
219
- data = PulpFileClient::FileFileDistribution.new # FileFileDistribution |
234
+ file_file_distribution_href = 'file_file_distribution_href_example' # String |
235
+ patchedfile_file_distribution = PulpFileClient::PatchedfileFileDistribution.new # PatchedfileFileDistribution |
236
+ opts = {
237
+ base_path: 'base_path_example', # String | base_path
238
+ base_path__contains: 'base_path__contains_example', # String | base_path__contains
239
+ base_path__icontains: 'base_path__icontains_example', # String | base_path__icontains
240
+ base_path__in: 'base_path__in_example', # String | base_path__in
241
+ name: 'name_example', # String | name
242
+ name__in: 'name__in_example', # String | name__in
243
+ ordering: 'ordering_example' # String | Which field to use when ordering the results.
244
+ }
220
245
 
221
246
  begin
222
- #Partially update a file distribution
223
- result = api_instance.partial_update(file_distribution_href, data)
247
+ #Update a file distribution
248
+ result = api_instance.partial_update(file_file_distribution_href, patchedfile_file_distribution, opts)
224
249
  p result
225
250
  rescue PulpFileClient::ApiError => e
226
251
  puts "Exception when calling DistributionsFileApi->partial_update: #{e}"
@@ -232,8 +257,15 @@ end
232
257
 
233
258
  Name | Type | Description | Notes
234
259
  ------------- | ------------- | ------------- | -------------
235
- **file_distribution_href** | **String**| URI of File Distribution. e.g.: /pulp/api/v3/distributions/file/file/1/ |
236
- **data** | [**FileFileDistribution**](FileFileDistribution.md)| |
260
+ **file_file_distribution_href** | **String**| |
261
+ **patchedfile_file_distribution** | [**PatchedfileFileDistribution**](PatchedfileFileDistribution.md)| |
262
+ **base_path** | **String**| base_path | [optional]
263
+ **base_path__contains** | **String**| base_path__contains | [optional]
264
+ **base_path__icontains** | **String**| base_path__icontains | [optional]
265
+ **base_path__in** | **String**| base_path__in | [optional]
266
+ **name** | **String**| name | [optional]
267
+ **name__in** | **String**| name__in | [optional]
268
+ **ordering** | **String**| Which field to use when ordering the results. | [optional]
237
269
 
238
270
  ### Return type
239
271
 
@@ -241,17 +273,17 @@ Name | Type | Description | Notes
241
273
 
242
274
  ### Authorization
243
275
 
244
- [Basic](../README.md#Basic)
276
+ [basicAuth](../README.md#basicAuth)
245
277
 
246
278
  ### HTTP request headers
247
279
 
248
- - **Content-Type**: application/json
280
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
249
281
  - **Accept**: application/json
250
282
 
251
283
 
252
284
  ## read
253
285
 
254
- > FileFileDistribution read(file_distribution_href, opts)
286
+ > FileFileDistributionResponse read(file_file_distribution_href, opts)
255
287
 
256
288
  Inspect a file distribution
257
289
 
@@ -264,13 +296,13 @@ Inspect a file distribution
264
296
  require 'pulp_file_client'
265
297
  # setup authorization
266
298
  PulpFileClient.configure do |config|
267
- # Configure HTTP basic authorization: Basic
299
+ # Configure HTTP basic authorization: basicAuth
268
300
  config.username = 'YOUR USERNAME'
269
301
  config.password = 'YOUR PASSWORD'
270
302
  end
271
303
 
272
304
  api_instance = PulpFileClient::DistributionsFileApi.new
273
- file_distribution_href = 'file_distribution_href_example' # String | URI of File Distribution. e.g.: /pulp/api/v3/distributions/file/file/1/
305
+ file_file_distribution_href = 'file_file_distribution_href_example' # String |
274
306
  opts = {
275
307
  fields: 'fields_example', # String | A list of fields to include in the response.
276
308
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
@@ -278,7 +310,7 @@ opts = {
278
310
 
279
311
  begin
280
312
  #Inspect a file distribution
281
- result = api_instance.read(file_distribution_href, opts)
313
+ result = api_instance.read(file_file_distribution_href, opts)
282
314
  p result
283
315
  rescue PulpFileClient::ApiError => e
284
316
  puts "Exception when calling DistributionsFileApi->read: #{e}"
@@ -290,17 +322,17 @@ end
290
322
 
291
323
  Name | Type | Description | Notes
292
324
  ------------- | ------------- | ------------- | -------------
293
- **file_distribution_href** | **String**| URI of File Distribution. e.g.: /pulp/api/v3/distributions/file/file/1/ |
325
+ **file_file_distribution_href** | **String**| |
294
326
  **fields** | **String**| A list of fields to include in the response. | [optional]
295
327
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
296
328
 
297
329
  ### Return type
298
330
 
299
- [**FileFileDistribution**](FileFileDistribution.md)
331
+ [**FileFileDistributionResponse**](FileFileDistributionResponse.md)
300
332
 
301
333
  ### Authorization
302
334
 
303
- [Basic](../README.md#Basic)
335
+ [basicAuth](../README.md#basicAuth)
304
336
 
305
337
  ### HTTP request headers
306
338
 
@@ -310,7 +342,7 @@ Name | Type | Description | Notes
310
342
 
311
343
  ## update
312
344
 
313
- > AsyncOperationResponse update(file_distribution_href, data)
345
+ > AsyncOperationResponse update(file_file_distribution_href, file_file_distribution, opts)
314
346
 
315
347
  Update a file distribution
316
348
 
@@ -323,18 +355,27 @@ Trigger an asynchronous update task
323
355
  require 'pulp_file_client'
324
356
  # setup authorization
325
357
  PulpFileClient.configure do |config|
326
- # Configure HTTP basic authorization: Basic
358
+ # Configure HTTP basic authorization: basicAuth
327
359
  config.username = 'YOUR USERNAME'
328
360
  config.password = 'YOUR PASSWORD'
329
361
  end
330
362
 
331
363
  api_instance = PulpFileClient::DistributionsFileApi.new
332
- file_distribution_href = 'file_distribution_href_example' # String | URI of File Distribution. e.g.: /pulp/api/v3/distributions/file/file/1/
333
- data = PulpFileClient::FileFileDistribution.new # FileFileDistribution |
364
+ file_file_distribution_href = 'file_file_distribution_href_example' # String |
365
+ file_file_distribution = PulpFileClient::FileFileDistribution.new # FileFileDistribution |
366
+ opts = {
367
+ base_path: 'base_path_example', # String | base_path
368
+ base_path__contains: 'base_path__contains_example', # String | base_path__contains
369
+ base_path__icontains: 'base_path__icontains_example', # String | base_path__icontains
370
+ base_path__in: 'base_path__in_example', # String | base_path__in
371
+ name: 'name_example', # String | name
372
+ name__in: 'name__in_example', # String | name__in
373
+ ordering: 'ordering_example' # String | Which field to use when ordering the results.
374
+ }
334
375
 
335
376
  begin
336
377
  #Update a file distribution
337
- result = api_instance.update(file_distribution_href, data)
378
+ result = api_instance.update(file_file_distribution_href, file_file_distribution, opts)
338
379
  p result
339
380
  rescue PulpFileClient::ApiError => e
340
381
  puts "Exception when calling DistributionsFileApi->update: #{e}"
@@ -346,8 +387,15 @@ end
346
387
 
347
388
  Name | Type | Description | Notes
348
389
  ------------- | ------------- | ------------- | -------------
349
- **file_distribution_href** | **String**| URI of File Distribution. e.g.: /pulp/api/v3/distributions/file/file/1/ |
350
- **data** | [**FileFileDistribution**](FileFileDistribution.md)| |
390
+ **file_file_distribution_href** | **String**| |
391
+ **file_file_distribution** | [**FileFileDistribution**](FileFileDistribution.md)| |
392
+ **base_path** | **String**| base_path | [optional]
393
+ **base_path__contains** | **String**| base_path__contains | [optional]
394
+ **base_path__icontains** | **String**| base_path__icontains | [optional]
395
+ **base_path__in** | **String**| base_path__in | [optional]
396
+ **name** | **String**| name | [optional]
397
+ **name__in** | **String**| name__in | [optional]
398
+ **ordering** | **String**| Which field to use when ordering the results. | [optional]
351
399
 
352
400
  ### Return type
353
401
 
@@ -355,10 +403,10 @@ Name | Type | Description | Notes
355
403
 
356
404
  ### Authorization
357
405
 
358
- [Basic](../README.md#Basic)
406
+ [basicAuth](../README.md#basicAuth)
359
407
 
360
408
  ### HTTP request headers
361
409
 
362
- - **Content-Type**: application/json
410
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
363
411
  - **Accept**: application/json
364
412
 
@@ -1,4 +1,4 @@
1
- # PulpFileClient::Export
1
+ # PulpFileClient::ExportResponse
2
2
 
3
3
  ## Properties
4
4
 
@@ -15,7 +15,7 @@ Name | Type | Description | Notes
15
15
  ```ruby
16
16
  require 'PulpFileClient'
17
17
 
18
- instance = PulpFileClient::Export.new(pulp_href: null,
18
+ instance = PulpFileClient::ExportResponse.new(pulp_href: null,
19
19
  pulp_created: null,
20
20
  task: null,
21
21
  exported_resources: null,
@@ -4,16 +4,16 @@ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
- [**create**](ExportersFileExportsApi.md#create) | **POST** {file_filesystem_exporter_href}exports/ | Create an export
8
- [**delete**](ExportersFileExportsApi.md#delete) | **DELETE** {export_href} | Delete an export
9
- [**list**](ExportersFileExportsApi.md#list) | **GET** {file_filesystem_exporter_href}exports/ | List exports
10
- [**read**](ExportersFileExportsApi.md#read) | **GET** {export_href} | Inspect an export
7
+ [**create**](ExportersFileExportsApi.md#create) | **POST** {file_filesystem_export_href}exports/ | Create an export
8
+ [**delete**](ExportersFileExportsApi.md#delete) | **DELETE** {file_filesystem_export_href} | Delete an export
9
+ [**list**](ExportersFileExportsApi.md#list) | **GET** {file_file_filesystem_exporter_href}exports/ | List exports
10
+ [**read**](ExportersFileExportsApi.md#read) | **GET** {file_filesystem_export_href} | Inspect an export
11
11
 
12
12
 
13
13
 
14
14
  ## create
15
15
 
16
- > AsyncOperationResponse create(file_filesystem_exporter_href, data)
16
+ > AsyncOperationResponse create(file_filesystem_export_href, publication_export)
17
17
 
18
18
  Create an export
19
19
 
@@ -26,18 +26,18 @@ Trigger an asynchronous task to export a file publication.
26
26
  require 'pulp_file_client'
27
27
  # setup authorization
28
28
  PulpFileClient.configure do |config|
29
- # Configure HTTP basic authorization: Basic
29
+ # Configure HTTP basic authorization: basicAuth
30
30
  config.username = 'YOUR USERNAME'
31
31
  config.password = 'YOUR PASSWORD'
32
32
  end
33
33
 
34
34
  api_instance = PulpFileClient::ExportersFileExportsApi.new
35
- file_filesystem_exporter_href = 'file_filesystem_exporter_href_example' # String | URI of File Filesystem Exporter. e.g.: /pulp/api/v3/exporters/file/filesystem/1/
36
- data = PulpFileClient::PublicationExport.new # PublicationExport |
35
+ file_filesystem_export_href = 'file_filesystem_export_href_example' # String |
36
+ publication_export = PulpFileClient::PublicationExport.new # PublicationExport |
37
37
 
38
38
  begin
39
39
  #Create an export
40
- result = api_instance.create(file_filesystem_exporter_href, data)
40
+ result = api_instance.create(file_filesystem_export_href, publication_export)
41
41
  p result
42
42
  rescue PulpFileClient::ApiError => e
43
43
  puts "Exception when calling ExportersFileExportsApi->create: #{e}"
@@ -49,8 +49,8 @@ end
49
49
 
50
50
  Name | Type | Description | Notes
51
51
  ------------- | ------------- | ------------- | -------------
52
- **file_filesystem_exporter_href** | **String**| URI of File Filesystem Exporter. e.g.: /pulp/api/v3/exporters/file/filesystem/1/ |
53
- **data** | [**PublicationExport**](PublicationExport.md)| |
52
+ **file_filesystem_export_href** | **String**| |
53
+ **publication_export** | [**PublicationExport**](PublicationExport.md)| |
54
54
 
55
55
  ### Return type
56
56
 
@@ -58,17 +58,17 @@ Name | Type | Description | Notes
58
58
 
59
59
  ### Authorization
60
60
 
61
- [Basic](../README.md#Basic)
61
+ [basicAuth](../README.md#basicAuth)
62
62
 
63
63
  ### HTTP request headers
64
64
 
65
- - **Content-Type**: application/json
65
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
66
66
  - **Accept**: application/json
67
67
 
68
68
 
69
69
  ## delete
70
70
 
71
- > delete(export_href)
71
+ > delete(file_filesystem_export_href)
72
72
 
73
73
  Delete an export
74
74
 
@@ -81,17 +81,17 @@ FilesystemExports provide a history of previous exports.
81
81
  require 'pulp_file_client'
82
82
  # setup authorization
83
83
  PulpFileClient.configure do |config|
84
- # Configure HTTP basic authorization: Basic
84
+ # Configure HTTP basic authorization: basicAuth
85
85
  config.username = 'YOUR USERNAME'
86
86
  config.password = 'YOUR PASSWORD'
87
87
  end
88
88
 
89
89
  api_instance = PulpFileClient::ExportersFileExportsApi.new
90
- export_href = 'export_href_example' # String | URI of Export. e.g.: /pulp/api/v3/exporters/file/filesystem/1/exports/1/
90
+ file_filesystem_export_href = 'file_filesystem_export_href_example' # String |
91
91
 
92
92
  begin
93
93
  #Delete an export
94
- api_instance.delete(export_href)
94
+ api_instance.delete(file_filesystem_export_href)
95
95
  rescue PulpFileClient::ApiError => e
96
96
  puts "Exception when calling ExportersFileExportsApi->delete: #{e}"
97
97
  end
@@ -102,7 +102,7 @@ end
102
102
 
103
103
  Name | Type | Description | Notes
104
104
  ------------- | ------------- | ------------- | -------------
105
- **export_href** | **String**| URI of Export. e.g.: /pulp/api/v3/exporters/file/filesystem/1/exports/1/ |
105
+ **file_filesystem_export_href** | **String**| |
106
106
 
107
107
  ### Return type
108
108
 
@@ -110,7 +110,7 @@ nil (empty response body)
110
110
 
111
111
  ### Authorization
112
112
 
113
- [Basic](../README.md#Basic)
113
+ [basicAuth](../README.md#basicAuth)
114
114
 
115
115
  ### HTTP request headers
116
116
 
@@ -120,7 +120,7 @@ nil (empty response body)
120
120
 
121
121
  ## list
122
122
 
123
- > InlineResponse2003 list(file_filesystem_exporter_href, opts)
123
+ > InlineResponse2003 list(file_file_filesystem_exporter_href, opts)
124
124
 
125
125
  List exports
126
126
 
@@ -133,24 +133,24 @@ FilesystemExports provide a history of previous exports.
133
133
  require 'pulp_file_client'
134
134
  # setup authorization
135
135
  PulpFileClient.configure do |config|
136
- # Configure HTTP basic authorization: Basic
136
+ # Configure HTTP basic authorization: basicAuth
137
137
  config.username = 'YOUR USERNAME'
138
138
  config.password = 'YOUR PASSWORD'
139
139
  end
140
140
 
141
141
  api_instance = PulpFileClient::ExportersFileExportsApi.new
142
- file_filesystem_exporter_href = 'file_filesystem_exporter_href_example' # String | URI of File Filesystem Exporter. e.g.: /pulp/api/v3/exporters/file/filesystem/1/
142
+ file_file_filesystem_exporter_href = 'file_file_filesystem_exporter_href_example' # String |
143
143
  opts = {
144
- ordering: 'ordering_example', # String | Which field to use when ordering the results.
145
144
  limit: 56, # Integer | Number of results to return per page.
146
145
  offset: 56, # Integer | The initial index from which to return the results.
146
+ ordering: 'ordering_example', # String | Which field to use when ordering the results.
147
147
  fields: 'fields_example', # String | A list of fields to include in the response.
148
148
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
149
149
  }
150
150
 
151
151
  begin
152
152
  #List exports
153
- result = api_instance.list(file_filesystem_exporter_href, opts)
153
+ result = api_instance.list(file_file_filesystem_exporter_href, opts)
154
154
  p result
155
155
  rescue PulpFileClient::ApiError => e
156
156
  puts "Exception when calling ExportersFileExportsApi->list: #{e}"
@@ -162,10 +162,10 @@ end
162
162
 
163
163
  Name | Type | Description | Notes
164
164
  ------------- | ------------- | ------------- | -------------
165
- **file_filesystem_exporter_href** | **String**| URI of File Filesystem Exporter. e.g.: /pulp/api/v3/exporters/file/filesystem/1/ |
166
- **ordering** | **String**| Which field to use when ordering the results. | [optional]
165
+ **file_file_filesystem_exporter_href** | **String**| |
167
166
  **limit** | **Integer**| Number of results to return per page. | [optional]
168
167
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
168
+ **ordering** | **String**| Which field to use when ordering the results. | [optional]
169
169
  **fields** | **String**| A list of fields to include in the response. | [optional]
170
170
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
171
171
 
@@ -175,7 +175,7 @@ Name | Type | Description | Notes
175
175
 
176
176
  ### Authorization
177
177
 
178
- [Basic](../README.md#Basic)
178
+ [basicAuth](../README.md#basicAuth)
179
179
 
180
180
  ### HTTP request headers
181
181
 
@@ -185,7 +185,7 @@ Name | Type | Description | Notes
185
185
 
186
186
  ## read
187
187
 
188
- > Export read(export_href, opts)
188
+ > ExportResponse read(file_filesystem_export_href, opts)
189
189
 
190
190
  Inspect an export
191
191
 
@@ -198,13 +198,13 @@ FilesystemExports provide a history of previous exports.
198
198
  require 'pulp_file_client'
199
199
  # setup authorization
200
200
  PulpFileClient.configure do |config|
201
- # Configure HTTP basic authorization: Basic
201
+ # Configure HTTP basic authorization: basicAuth
202
202
  config.username = 'YOUR USERNAME'
203
203
  config.password = 'YOUR PASSWORD'
204
204
  end
205
205
 
206
206
  api_instance = PulpFileClient::ExportersFileExportsApi.new
207
- export_href = 'export_href_example' # String | URI of Export. e.g.: /pulp/api/v3/exporters/file/filesystem/1/exports/1/
207
+ file_filesystem_export_href = 'file_filesystem_export_href_example' # String |
208
208
  opts = {
209
209
  fields: 'fields_example', # String | A list of fields to include in the response.
210
210
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
@@ -212,7 +212,7 @@ opts = {
212
212
 
213
213
  begin
214
214
  #Inspect an export
215
- result = api_instance.read(export_href, opts)
215
+ result = api_instance.read(file_filesystem_export_href, opts)
216
216
  p result
217
217
  rescue PulpFileClient::ApiError => e
218
218
  puts "Exception when calling ExportersFileExportsApi->read: #{e}"
@@ -224,17 +224,17 @@ end
224
224
 
225
225
  Name | Type | Description | Notes
226
226
  ------------- | ------------- | ------------- | -------------
227
- **export_href** | **String**| URI of Export. e.g.: /pulp/api/v3/exporters/file/filesystem/1/exports/1/ |
227
+ **file_filesystem_export_href** | **String**| |
228
228
  **fields** | **String**| A list of fields to include in the response. | [optional]
229
229
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
230
230
 
231
231
  ### Return type
232
232
 
233
- [**Export**](Export.md)
233
+ [**ExportResponse**](ExportResponse.md)
234
234
 
235
235
  ### Authorization
236
236
 
237
- [Basic](../README.md#Basic)
237
+ [basicAuth](../README.md#basicAuth)
238
238
 
239
239
  ### HTTP request headers
240
240