pulp_file_client 1.6.0.dev01612409526 → 1.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/ContentFilesApi.md +10 -10
- data/docs/ContentSummary.md +3 -3
- data/docs/ContentSummaryResponse.md +3 -3
- data/docs/DistributionsFileApi.md +20 -20
- data/docs/ExportersFilesystemApi.md +22 -21
- data/docs/FileFileRemote.md +7 -1
- data/docs/FileFileRemoteResponse.md +3 -7
- data/docs/PatchedfileFileRemote.md +7 -1
- data/docs/PublicationsFileApi.md +14 -14
- data/docs/RemotesFileApi.md +24 -24
- data/docs/RepositoriesFileApi.md +12 -12
- data/docs/RepositoriesFileVersionsApi.md +28 -28
- data/lib/pulp_file_client/api/content_files_api.rb +10 -10
- data/lib/pulp_file_client/api/distributions_file_api.rb +22 -22
- data/lib/pulp_file_client/api/exporters_filesystem_api.rb +30 -28
- data/lib/pulp_file_client/api/publications_file_api.rb +15 -15
- data/lib/pulp_file_client/api/remotes_file_api.rb +26 -26
- data/lib/pulp_file_client/api/repositories_file_api.rb +13 -13
- data/lib/pulp_file_client/api/repositories_file_versions_api.rb +30 -30
- data/lib/pulp_file_client/models/content_summary.rb +12 -6
- data/lib/pulp_file_client/models/content_summary_response.rb +12 -6
- data/lib/pulp_file_client/models/file_file_remote.rb +36 -2
- data/lib/pulp_file_client/models/file_file_remote_response.rb +14 -35
- data/lib/pulp_file_client/models/patchedfile_file_remote.rb +36 -2
- data/lib/pulp_file_client/version.rb +1 -1
- data/spec/api/content_files_api_spec.rb +5 -5
- data/spec/api/distributions_file_api_spec.rb +10 -10
- data/spec/api/exporters_filesystem_api_spec.rb +11 -11
- data/spec/api/publications_file_api_spec.rb +7 -7
- data/spec/api/remotes_file_api_spec.rb +12 -12
- data/spec/api/repositories_file_api_spec.rb +6 -6
- data/spec/api/repositories_file_versions_api_spec.rb +14 -14
- data/spec/models/file_file_remote_response_spec.rb +6 -18
- data/spec/models/file_file_remote_spec.rb +18 -0
- data/spec/models/patchedfile_file_remote_spec.rb +18 -0
- metadata +33 -33
data/docs/RepositoriesFileApi.md
CHANGED
@@ -144,14 +144,14 @@ end
|
|
144
144
|
api_instance = PulpFileClient::RepositoriesFileApi.new
|
145
145
|
opts = {
|
146
146
|
limit: 56, # Integer | Number of results to return per page.
|
147
|
-
name: 'name_example', # String |
|
148
|
-
name__contains: 'name__contains_example', # String |
|
149
|
-
name__icontains: 'name__icontains_example', # String |
|
150
|
-
name__in: 'name__in_example', # String |
|
151
|
-
name__startswith: 'name__startswith_example', # String |
|
147
|
+
name: 'name_example', # String |
|
148
|
+
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
149
|
+
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
150
|
+
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
151
|
+
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
152
152
|
offset: 56, # Integer | The initial index from which to return the results.
|
153
153
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
154
|
-
pulp_label_select: 'pulp_label_select_example', # String |
|
154
|
+
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
155
155
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
156
156
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
157
157
|
}
|
@@ -171,14 +171,14 @@ end
|
|
171
171
|
Name | Type | Description | Notes
|
172
172
|
------------- | ------------- | ------------- | -------------
|
173
173
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
174
|
-
**name** | **String**|
|
175
|
-
**name__contains** | **String**|
|
176
|
-
**name__icontains** | **String**|
|
177
|
-
**name__in** | **String
|
178
|
-
**name__startswith** | **String**|
|
174
|
+
**name** | **String**| | [optional]
|
175
|
+
**name__contains** | **String**| Filter results where name contains value | [optional]
|
176
|
+
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
177
|
+
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
178
|
+
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
179
179
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
180
180
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
181
|
-
**pulp_label_select** | **String**|
|
181
|
+
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
182
182
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
183
183
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
184
184
|
|
@@ -87,23 +87,23 @@ end
|
|
87
87
|
api_instance = PulpFileClient::RepositoriesFileVersionsApi.new
|
88
88
|
file_file_repository_href = 'file_file_repository_href_example' # String |
|
89
89
|
opts = {
|
90
|
-
content: 'content_example', # String |
|
91
|
-
content__in: 'content__in_example', # String |
|
90
|
+
content: 'content_example', # String | Content Unit referenced by HREF
|
91
|
+
content__in: 'content__in_example', # String | Content Unit referenced by HREF
|
92
92
|
limit: 56, # Integer | Number of results to return per page.
|
93
|
-
number:
|
94
|
-
number__gt:
|
95
|
-
number__gte:
|
96
|
-
number__lt:
|
97
|
-
number__lte:
|
98
|
-
number__range:
|
93
|
+
number: 56, # Integer |
|
94
|
+
number__gt: 56, # Integer | Filter results where number is greater than value
|
95
|
+
number__gte: 56, # Integer | Filter results where number is greater than or equal to value
|
96
|
+
number__lt: 56, # Integer | Filter results where number is less than value
|
97
|
+
number__lte: 56, # Integer | Filter results where number is less than or equal to value
|
98
|
+
number__range: [56], # Array<Integer> | Filter results where number is between two comma separated values
|
99
99
|
offset: 56, # Integer | The initial index from which to return the results.
|
100
100
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
101
|
-
pulp_created: '
|
102
|
-
pulp_created__gt: '
|
103
|
-
pulp_created__gte: '
|
104
|
-
pulp_created__lt: '
|
105
|
-
pulp_created__lte: '
|
106
|
-
pulp_created__range: '
|
101
|
+
pulp_created: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | ISO 8601 formatted dates are supported
|
102
|
+
pulp_created__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than value
|
103
|
+
pulp_created__gte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than or equal to value
|
104
|
+
pulp_created__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is less than value
|
105
|
+
pulp_created__lte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is less than or equal to value
|
106
|
+
pulp_created__range: [DateTime.parse('2013-10-20T19:20:30+01:00')], # Array<DateTime> | Filter results where pulp_created is between two comma separated values
|
107
107
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
108
108
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
109
109
|
}
|
@@ -123,23 +123,23 @@ end
|
|
123
123
|
Name | Type | Description | Notes
|
124
124
|
------------- | ------------- | ------------- | -------------
|
125
125
|
**file_file_repository_href** | **String**| |
|
126
|
-
**content** | **String**|
|
127
|
-
**content__in** | **String**|
|
126
|
+
**content** | **String**| Content Unit referenced by HREF | [optional]
|
127
|
+
**content__in** | **String**| Content Unit referenced by HREF | [optional]
|
128
128
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
129
|
-
**number** | **
|
130
|
-
**number__gt** | **
|
131
|
-
**number__gte** | **
|
132
|
-
**number__lt** | **
|
133
|
-
**number__lte** | **
|
134
|
-
**number__range** | **
|
129
|
+
**number** | **Integer**| | [optional]
|
130
|
+
**number__gt** | **Integer**| Filter results where number is greater than value | [optional]
|
131
|
+
**number__gte** | **Integer**| Filter results where number is greater than or equal to value | [optional]
|
132
|
+
**number__lt** | **Integer**| Filter results where number is less than value | [optional]
|
133
|
+
**number__lte** | **Integer**| Filter results where number is less than or equal to value | [optional]
|
134
|
+
**number__range** | [**Array<Integer>**](Integer.md)| Filter results where number is between two comma separated values | [optional]
|
135
135
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
136
136
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
137
|
-
**pulp_created** | **
|
138
|
-
**pulp_created__gt** | **
|
139
|
-
**pulp_created__gte** | **
|
140
|
-
**pulp_created__lt** | **
|
141
|
-
**pulp_created__lte** | **
|
142
|
-
**pulp_created__range** | **
|
137
|
+
**pulp_created** | **DateTime**| ISO 8601 formatted dates are supported | [optional]
|
138
|
+
**pulp_created__gt** | **DateTime**| Filter results where pulp_created is greater than value | [optional]
|
139
|
+
**pulp_created__gte** | **DateTime**| Filter results where pulp_created is greater than or equal to value | [optional]
|
140
|
+
**pulp_created__lt** | **DateTime**| Filter results where pulp_created is less than value | [optional]
|
141
|
+
**pulp_created__lte** | **DateTime**| Filter results where pulp_created is less than or equal to value | [optional]
|
142
|
+
**pulp_created__range** | [**Array<DateTime>**](DateTime.md)| Filter results where pulp_created is between two comma separated values | [optional]
|
143
143
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
144
144
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
145
145
|
|
@@ -99,11 +99,11 @@ module PulpFileClient
|
|
99
99
|
# @option opts [Integer] :limit Number of results to return per page.
|
100
100
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
101
101
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
102
|
-
# @option opts [String] :relative_path relative_path
|
103
|
-
# @option opts [String] :repository_version
|
104
|
-
# @option opts [String] :repository_version_added
|
105
|
-
# @option opts [String] :repository_version_removed
|
106
|
-
# @option opts [String] :sha256
|
102
|
+
# @option opts [String] :relative_path Filter results where relative_path matches value
|
103
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
104
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
105
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
106
|
+
# @option opts [String] :sha256
|
107
107
|
# @option opts [String] :fields A list of fields to include in the response.
|
108
108
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
109
109
|
# @return [PaginatedfileFileContentResponseList]
|
@@ -118,11 +118,11 @@ module PulpFileClient
|
|
118
118
|
# @option opts [Integer] :limit Number of results to return per page.
|
119
119
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
120
120
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
121
|
-
# @option opts [String] :relative_path relative_path
|
122
|
-
# @option opts [String] :repository_version
|
123
|
-
# @option opts [String] :repository_version_added
|
124
|
-
# @option opts [String] :repository_version_removed
|
125
|
-
# @option opts [String] :sha256
|
121
|
+
# @option opts [String] :relative_path Filter results where relative_path matches value
|
122
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
123
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
124
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
125
|
+
# @option opts [String] :sha256
|
126
126
|
# @option opts [String] :fields A list of fields to include in the response.
|
127
127
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
128
128
|
# @return [Array<(PaginatedfileFileContentResponseList, Integer, Hash)>] PaginatedfileFileContentResponseList data, response status code and response headers
|
@@ -148,19 +148,19 @@ module PulpFileClient
|
|
148
148
|
# List file distributions
|
149
149
|
# FileDistributions host File Publications which makes the metadata and the referenced File Content available to HTTP clients. Additionally, a FileDistribution with an associated FilePublication can be the target url of a File Remote , allowing another instance of Pulp to sync the content.
|
150
150
|
# @param [Hash] opts the optional parameters
|
151
|
-
# @option opts [String] :base_path
|
152
|
-
# @option opts [String] :base_path__contains
|
153
|
-
# @option opts [String] :base_path__icontains
|
154
|
-
# @option opts [String] :base_path__in
|
151
|
+
# @option opts [String] :base_path
|
152
|
+
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
153
|
+
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
154
|
+
# @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
|
155
155
|
# @option opts [Integer] :limit Number of results to return per page.
|
156
|
-
# @option opts [String] :name
|
157
|
-
# @option opts [String] :name__contains
|
158
|
-
# @option opts [String] :name__icontains
|
159
|
-
# @option opts [String] :name__in
|
160
|
-
# @option opts [String] :name__startswith
|
156
|
+
# @option opts [String] :name
|
157
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
158
|
+
# @option opts [String] :name__icontains Filter results where name contains value
|
159
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
160
|
+
# @option opts [String] :name__startswith Filter results where name starts with value
|
161
161
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
162
162
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
163
|
-
# @option opts [String] :pulp_label_select
|
163
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
164
164
|
# @option opts [String] :fields A list of fields to include in the response.
|
165
165
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
166
166
|
# @return [PaginatedfileFileDistributionResponseList]
|
@@ -172,19 +172,19 @@ module PulpFileClient
|
|
172
172
|
# List file distributions
|
173
173
|
# FileDistributions host File Publications which makes the metadata and the referenced File Content available to HTTP clients. Additionally, a FileDistribution with an associated FilePublication can be the target url of a File Remote , allowing another instance of Pulp to sync the content.
|
174
174
|
# @param [Hash] opts the optional parameters
|
175
|
-
# @option opts [String] :base_path
|
176
|
-
# @option opts [String] :base_path__contains
|
177
|
-
# @option opts [String] :base_path__icontains
|
178
|
-
# @option opts [String] :base_path__in
|
175
|
+
# @option opts [String] :base_path
|
176
|
+
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
177
|
+
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
178
|
+
# @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
|
179
179
|
# @option opts [Integer] :limit Number of results to return per page.
|
180
|
-
# @option opts [String] :name
|
181
|
-
# @option opts [String] :name__contains
|
182
|
-
# @option opts [String] :name__icontains
|
183
|
-
# @option opts [String] :name__in
|
184
|
-
# @option opts [String] :name__startswith
|
180
|
+
# @option opts [String] :name
|
181
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
182
|
+
# @option opts [String] :name__icontains Filter results where name contains value
|
183
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
184
|
+
# @option opts [String] :name__startswith Filter results where name starts with value
|
185
185
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
186
186
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
187
|
-
# @option opts [String] :pulp_label_select
|
187
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
188
188
|
# @option opts [String] :fields A list of fields to include in the response.
|
189
189
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
190
190
|
# @return [Array<(PaginatedfileFileDistributionResponseList, Integer, Hash)>] PaginatedfileFileDistributionResponseList data, response status code and response headers
|
@@ -200,12 +200,12 @@ module PulpFileClient
|
|
200
200
|
query_params[:'base_path'] = opts[:'base_path'] if !opts[:'base_path'].nil?
|
201
201
|
query_params[:'base_path__contains'] = opts[:'base_path__contains'] if !opts[:'base_path__contains'].nil?
|
202
202
|
query_params[:'base_path__icontains'] = opts[:'base_path__icontains'] if !opts[:'base_path__icontains'].nil?
|
203
|
-
query_params[:'base_path__in'] = opts[:'base_path__in'] if !opts[:'base_path__in'].nil?
|
203
|
+
query_params[:'base_path__in'] = @api_client.build_collection_param(opts[:'base_path__in'], :csv) if !opts[:'base_path__in'].nil?
|
204
204
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
205
205
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
206
206
|
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
207
207
|
query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
|
208
|
-
query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
|
208
|
+
query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
|
209
209
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
210
210
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
211
211
|
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
@@ -84,20 +84,20 @@ module PulpFileClient
|
|
84
84
|
end
|
85
85
|
|
86
86
|
# Delete a file filesystem exporter
|
87
|
-
#
|
87
|
+
# Trigger an asynchronous delete task
|
88
88
|
# @param file_file_filesystem_exporter_href [String]
|
89
89
|
# @param [Hash] opts the optional parameters
|
90
|
-
# @return [
|
90
|
+
# @return [AsyncOperationResponse]
|
91
91
|
def delete(file_file_filesystem_exporter_href, opts = {})
|
92
|
-
delete_with_http_info(file_file_filesystem_exporter_href, opts)
|
93
|
-
|
92
|
+
data, _status_code, _headers = delete_with_http_info(file_file_filesystem_exporter_href, opts)
|
93
|
+
data
|
94
94
|
end
|
95
95
|
|
96
96
|
# Delete a file filesystem exporter
|
97
|
-
#
|
97
|
+
# Trigger an asynchronous delete task
|
98
98
|
# @param file_file_filesystem_exporter_href [String]
|
99
99
|
# @param [Hash] opts the optional parameters
|
100
|
-
# @return [Array<(
|
100
|
+
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
101
101
|
def delete_with_http_info(file_file_filesystem_exporter_href, opts = {})
|
102
102
|
if @api_client.config.debugging
|
103
103
|
@api_client.config.logger.debug 'Calling API: ExportersFilesystemApi.delete ...'
|
@@ -114,6 +114,8 @@ module PulpFileClient
|
|
114
114
|
|
115
115
|
# header parameters
|
116
116
|
header_params = opts[:header_params] || {}
|
117
|
+
# HTTP header 'Accept' (if needed)
|
118
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
117
119
|
|
118
120
|
# form parameters
|
119
121
|
form_params = opts[:form_params] || {}
|
@@ -122,7 +124,7 @@ module PulpFileClient
|
|
122
124
|
post_body = opts[:body]
|
123
125
|
|
124
126
|
# return_type
|
125
|
-
return_type = opts[:return_type]
|
127
|
+
return_type = opts[:return_type] || 'AsyncOperationResponse'
|
126
128
|
|
127
129
|
# auth_names
|
128
130
|
auth_names = opts[:auth_names] || ['basicAuth']
|
@@ -147,11 +149,11 @@ module PulpFileClient
|
|
147
149
|
# FilesystemExporters export content from a publication to a path on the file system. WARNING: This feature is provided as a tech preview and may change in the future. Backwards compatibility is not guaranteed.
|
148
150
|
# @param [Hash] opts the optional parameters
|
149
151
|
# @option opts [Integer] :limit Number of results to return per page.
|
150
|
-
# @option opts [String] :name
|
151
|
-
# @option opts [String] :name__contains
|
152
|
-
# @option opts [String] :name__icontains
|
153
|
-
# @option opts [String] :name__in
|
154
|
-
# @option opts [String] :name__startswith
|
152
|
+
# @option opts [String] :name
|
153
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
154
|
+
# @option opts [String] :name__icontains Filter results where name contains value
|
155
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
156
|
+
# @option opts [String] :name__startswith Filter results where name starts with value
|
155
157
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
156
158
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
157
159
|
# @option opts [String] :fields A list of fields to include in the response.
|
@@ -166,11 +168,11 @@ module PulpFileClient
|
|
166
168
|
# FilesystemExporters export content from a publication to a path on the file system. WARNING: This feature is provided as a tech preview and may change in the future. Backwards compatibility is not guaranteed.
|
167
169
|
# @param [Hash] opts the optional parameters
|
168
170
|
# @option opts [Integer] :limit Number of results to return per page.
|
169
|
-
# @option opts [String] :name
|
170
|
-
# @option opts [String] :name__contains
|
171
|
-
# @option opts [String] :name__icontains
|
172
|
-
# @option opts [String] :name__in
|
173
|
-
# @option opts [String] :name__startswith
|
171
|
+
# @option opts [String] :name
|
172
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
173
|
+
# @option opts [String] :name__icontains Filter results where name contains value
|
174
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
175
|
+
# @option opts [String] :name__startswith Filter results where name starts with value
|
174
176
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
175
177
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
176
178
|
# @option opts [String] :fields A list of fields to include in the response.
|
@@ -189,7 +191,7 @@ module PulpFileClient
|
|
189
191
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
190
192
|
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
191
193
|
query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
|
192
|
-
query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
|
194
|
+
query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
|
193
195
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
194
196
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
195
197
|
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
@@ -230,22 +232,22 @@ module PulpFileClient
|
|
230
232
|
end
|
231
233
|
|
232
234
|
# Update a file filesystem exporter
|
233
|
-
#
|
235
|
+
# Trigger an asynchronous partial update task
|
234
236
|
# @param file_file_filesystem_exporter_href [String]
|
235
237
|
# @param patchedfile_file_filesystem_exporter [PatchedfileFileFilesystemExporter]
|
236
238
|
# @param [Hash] opts the optional parameters
|
237
|
-
# @return [
|
239
|
+
# @return [AsyncOperationResponse]
|
238
240
|
def partial_update(file_file_filesystem_exporter_href, patchedfile_file_filesystem_exporter, opts = {})
|
239
241
|
data, _status_code, _headers = partial_update_with_http_info(file_file_filesystem_exporter_href, patchedfile_file_filesystem_exporter, opts)
|
240
242
|
data
|
241
243
|
end
|
242
244
|
|
243
245
|
# Update a file filesystem exporter
|
244
|
-
#
|
246
|
+
# Trigger an asynchronous partial update task
|
245
247
|
# @param file_file_filesystem_exporter_href [String]
|
246
248
|
# @param patchedfile_file_filesystem_exporter [PatchedfileFileFilesystemExporter]
|
247
249
|
# @param [Hash] opts the optional parameters
|
248
|
-
# @return [Array<(
|
250
|
+
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
249
251
|
def partial_update_with_http_info(file_file_filesystem_exporter_href, patchedfile_file_filesystem_exporter, opts = {})
|
250
252
|
if @api_client.config.debugging
|
251
253
|
@api_client.config.logger.debug 'Calling API: ExportersFilesystemApi.partial_update ...'
|
@@ -278,7 +280,7 @@ module PulpFileClient
|
|
278
280
|
post_body = opts[:body] || @api_client.object_to_http_body(patchedfile_file_filesystem_exporter)
|
279
281
|
|
280
282
|
# return_type
|
281
|
-
return_type = opts[:return_type] || '
|
283
|
+
return_type = opts[:return_type] || 'AsyncOperationResponse'
|
282
284
|
|
283
285
|
# auth_names
|
284
286
|
auth_names = opts[:auth_names] || ['basicAuth']
|
@@ -368,22 +370,22 @@ module PulpFileClient
|
|
368
370
|
end
|
369
371
|
|
370
372
|
# Update a file filesystem exporter
|
371
|
-
#
|
373
|
+
# Trigger an asynchronous update task
|
372
374
|
# @param file_file_filesystem_exporter_href [String]
|
373
375
|
# @param file_file_filesystem_exporter [FileFileFilesystemExporter]
|
374
376
|
# @param [Hash] opts the optional parameters
|
375
|
-
# @return [
|
377
|
+
# @return [AsyncOperationResponse]
|
376
378
|
def update(file_file_filesystem_exporter_href, file_file_filesystem_exporter, opts = {})
|
377
379
|
data, _status_code, _headers = update_with_http_info(file_file_filesystem_exporter_href, file_file_filesystem_exporter, opts)
|
378
380
|
data
|
379
381
|
end
|
380
382
|
|
381
383
|
# Update a file filesystem exporter
|
382
|
-
#
|
384
|
+
# Trigger an asynchronous update task
|
383
385
|
# @param file_file_filesystem_exporter_href [String]
|
384
386
|
# @param file_file_filesystem_exporter [FileFileFilesystemExporter]
|
385
387
|
# @param [Hash] opts the optional parameters
|
386
|
-
# @return [Array<(
|
388
|
+
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
387
389
|
def update_with_http_info(file_file_filesystem_exporter_href, file_file_filesystem_exporter, opts = {})
|
388
390
|
if @api_client.config.debugging
|
389
391
|
@api_client.config.logger.debug 'Calling API: ExportersFilesystemApi.update ...'
|
@@ -416,7 +418,7 @@ module PulpFileClient
|
|
416
418
|
post_body = opts[:body] || @api_client.object_to_http_body(file_file_filesystem_exporter)
|
417
419
|
|
418
420
|
# return_type
|
419
|
-
return_type = opts[:return_type] || '
|
421
|
+
return_type = opts[:return_type] || 'AsyncOperationResponse'
|
420
422
|
|
421
423
|
# auth_names
|
422
424
|
auth_names = opts[:auth_names] || ['basicAuth']
|
@@ -149,13 +149,13 @@ module PulpFileClient
|
|
149
149
|
# @option opts [Integer] :limit Number of results to return per page.
|
150
150
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
151
151
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
152
|
-
# @option opts [
|
153
|
-
# @option opts [
|
154
|
-
# @option opts [
|
155
|
-
# @option opts [
|
156
|
-
# @option opts [
|
157
|
-
# @option opts [
|
158
|
-
# @option opts [String] :repository_version
|
152
|
+
# @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
|
153
|
+
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
154
|
+
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
155
|
+
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
156
|
+
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
157
|
+
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
158
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
159
159
|
# @option opts [String] :fields A list of fields to include in the response.
|
160
160
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
161
161
|
# @return [PaginatedfileFilePublicationResponseList]
|
@@ -170,13 +170,13 @@ module PulpFileClient
|
|
170
170
|
# @option opts [Integer] :limit Number of results to return per page.
|
171
171
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
172
172
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
173
|
-
# @option opts [
|
174
|
-
# @option opts [
|
175
|
-
# @option opts [
|
176
|
-
# @option opts [
|
177
|
-
# @option opts [
|
178
|
-
# @option opts [
|
179
|
-
# @option opts [String] :repository_version
|
173
|
+
# @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
|
174
|
+
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
175
|
+
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
176
|
+
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
177
|
+
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
178
|
+
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
179
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
180
180
|
# @option opts [String] :fields A list of fields to include in the response.
|
181
181
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
182
182
|
# @return [Array<(PaginatedfileFilePublicationResponseList, Integer, Hash)>] PaginatedfileFilePublicationResponseList data, response status code and response headers
|
@@ -197,7 +197,7 @@ module PulpFileClient
|
|
197
197
|
query_params[:'pulp_created__gte'] = opts[:'pulp_created__gte'] if !opts[:'pulp_created__gte'].nil?
|
198
198
|
query_params[:'pulp_created__lt'] = opts[:'pulp_created__lt'] if !opts[:'pulp_created__lt'].nil?
|
199
199
|
query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
|
200
|
-
query_params[:'pulp_created__range'] = opts[:'pulp_created__range'] if !opts[:'pulp_created__range'].nil?
|
200
|
+
query_params[:'pulp_created__range'] = @api_client.build_collection_param(opts[:'pulp_created__range'], :csv) if !opts[:'pulp_created__range'].nil?
|
201
201
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
202
202
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
203
203
|
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
@@ -149,20 +149,20 @@ module PulpFileClient
|
|
149
149
|
# 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.
|
150
150
|
# @param [Hash] opts the optional parameters
|
151
151
|
# @option opts [Integer] :limit Number of results to return per page.
|
152
|
-
# @option opts [String] :name
|
153
|
-
# @option opts [String] :name__contains
|
154
|
-
# @option opts [String] :name__icontains
|
155
|
-
# @option opts [String] :name__in
|
156
|
-
# @option opts [String] :name__startswith
|
152
|
+
# @option opts [String] :name
|
153
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
154
|
+
# @option opts [String] :name__icontains Filter results where name contains value
|
155
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
156
|
+
# @option opts [String] :name__startswith Filter results where name starts with value
|
157
157
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
158
158
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
159
|
-
# @option opts [String] :pulp_label_select
|
160
|
-
# @option opts [
|
161
|
-
# @option opts [
|
162
|
-
# @option opts [
|
163
|
-
# @option opts [
|
164
|
-
# @option opts [
|
165
|
-
# @option opts [
|
159
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
160
|
+
# @option opts [DateTime] :pulp_last_updated ISO 8601 formatted dates are supported
|
161
|
+
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
162
|
+
# @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
|
163
|
+
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
164
|
+
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
165
|
+
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
166
166
|
# @option opts [String] :fields A list of fields to include in the response.
|
167
167
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
168
168
|
# @return [PaginatedfileFileRemoteResponseList]
|
@@ -175,20 +175,20 @@ module PulpFileClient
|
|
175
175
|
# 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.
|
176
176
|
# @param [Hash] opts the optional parameters
|
177
177
|
# @option opts [Integer] :limit Number of results to return per page.
|
178
|
-
# @option opts [String] :name
|
179
|
-
# @option opts [String] :name__contains
|
180
|
-
# @option opts [String] :name__icontains
|
181
|
-
# @option opts [String] :name__in
|
182
|
-
# @option opts [String] :name__startswith
|
178
|
+
# @option opts [String] :name
|
179
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
180
|
+
# @option opts [String] :name__icontains Filter results where name contains value
|
181
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
182
|
+
# @option opts [String] :name__startswith Filter results where name starts with value
|
183
183
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
184
184
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
185
|
-
# @option opts [String] :pulp_label_select
|
186
|
-
# @option opts [
|
187
|
-
# @option opts [
|
188
|
-
# @option opts [
|
189
|
-
# @option opts [
|
190
|
-
# @option opts [
|
191
|
-
# @option opts [
|
185
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
186
|
+
# @option opts [DateTime] :pulp_last_updated ISO 8601 formatted dates are supported
|
187
|
+
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
188
|
+
# @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
|
189
|
+
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
190
|
+
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
191
|
+
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
192
192
|
# @option opts [String] :fields A list of fields to include in the response.
|
193
193
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
194
194
|
# @return [Array<(PaginatedfileFileRemoteResponseList, Integer, Hash)>] PaginatedfileFileRemoteResponseList data, response status code and response headers
|
@@ -205,7 +205,7 @@ module PulpFileClient
|
|
205
205
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
206
206
|
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
207
207
|
query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
|
208
|
-
query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
|
208
|
+
query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
|
209
209
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
210
210
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
211
211
|
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
@@ -215,7 +215,7 @@ module PulpFileClient
|
|
215
215
|
query_params[:'pulp_last_updated__gte'] = opts[:'pulp_last_updated__gte'] if !opts[:'pulp_last_updated__gte'].nil?
|
216
216
|
query_params[:'pulp_last_updated__lt'] = opts[:'pulp_last_updated__lt'] if !opts[:'pulp_last_updated__lt'].nil?
|
217
217
|
query_params[:'pulp_last_updated__lte'] = opts[:'pulp_last_updated__lte'] if !opts[:'pulp_last_updated__lte'].nil?
|
218
|
-
query_params[:'pulp_last_updated__range'] = opts[:'pulp_last_updated__range'] if !opts[:'pulp_last_updated__range'].nil?
|
218
|
+
query_params[:'pulp_last_updated__range'] = @api_client.build_collection_param(opts[:'pulp_last_updated__range'], :csv) if !opts[:'pulp_last_updated__range'].nil?
|
219
219
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
220
220
|
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
221
221
|
|