pulp_file_client 1.6.0.dev01612237404 → 1.7.0.dev1615088313
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of pulp_file_client might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/ContentFilesApi.md +10 -10
- data/docs/DistributionsFileApi.md +20 -18
- data/docs/ExportersFilesystemApi.md +10 -10
- 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 -22
- data/docs/RepositoriesFileApi.md +12 -10
- 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 +23 -20
- data/lib/pulp_file_client/api/exporters_filesystem_api.rb +11 -11
- data/lib/pulp_file_client/api/publications_file_api.rb +15 -15
- data/lib/pulp_file_client/api/remotes_file_api.rb +27 -24
- data/lib/pulp_file_client/api/repositories_file_api.rb +14 -11
- data/lib/pulp_file_client/api/repositories_file_versions_api.rb +50 -30
- 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 -9
- data/spec/api/exporters_filesystem_api_spec.rb +5 -5
- data/spec/api/publications_file_api_spec.rb +7 -7
- data/spec/api/remotes_file_api_spec.rb +12 -11
- data/spec/api/repositories_file_api_spec.rb +6 -5
- 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 +30 -30
@@ -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,18 +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 Filter labels by search string
|
163
164
|
# @option opts [String] :fields A list of fields to include in the response.
|
164
165
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
165
166
|
# @return [PaginatedfileFileDistributionResponseList]
|
@@ -171,18 +172,19 @@ module PulpFileClient
|
|
171
172
|
# List file distributions
|
172
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.
|
173
174
|
# @param [Hash] opts the optional parameters
|
174
|
-
# @option opts [String] :base_path
|
175
|
-
# @option opts [String] :base_path__contains
|
176
|
-
# @option opts [String] :base_path__icontains
|
177
|
-
# @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
|
178
179
|
# @option opts [Integer] :limit Number of results to return per page.
|
179
|
-
# @option opts [String] :name
|
180
|
-
# @option opts [String] :name__contains
|
181
|
-
# @option opts [String] :name__icontains
|
182
|
-
# @option opts [String] :name__in
|
183
|
-
# @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
|
184
185
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
185
186
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
187
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
186
188
|
# @option opts [String] :fields A list of fields to include in the response.
|
187
189
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
188
190
|
# @return [Array<(PaginatedfileFileDistributionResponseList, Integer, Hash)>] PaginatedfileFileDistributionResponseList data, response status code and response headers
|
@@ -198,15 +200,16 @@ module PulpFileClient
|
|
198
200
|
query_params[:'base_path'] = opts[:'base_path'] if !opts[:'base_path'].nil?
|
199
201
|
query_params[:'base_path__contains'] = opts[:'base_path__contains'] if !opts[:'base_path__contains'].nil?
|
200
202
|
query_params[:'base_path__icontains'] = opts[:'base_path__icontains'] if !opts[:'base_path__icontains'].nil?
|
201
|
-
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?
|
202
204
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
203
205
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
204
206
|
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
205
207
|
query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
|
206
|
-
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?
|
207
209
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
208
210
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
209
211
|
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
212
|
+
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
210
213
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
211
214
|
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
212
215
|
|
@@ -147,11 +147,11 @@ module PulpFileClient
|
|
147
147
|
# 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
148
|
# @param [Hash] opts the optional parameters
|
149
149
|
# @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
|
150
|
+
# @option opts [String] :name
|
151
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
152
|
+
# @option opts [String] :name__icontains Filter results where name contains value
|
153
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
154
|
+
# @option opts [String] :name__startswith Filter results where name starts with value
|
155
155
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
156
156
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
157
157
|
# @option opts [String] :fields A list of fields to include in the response.
|
@@ -166,11 +166,11 @@ module PulpFileClient
|
|
166
166
|
# 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
167
|
# @param [Hash] opts the optional parameters
|
168
168
|
# @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
|
169
|
+
# @option opts [String] :name
|
170
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
171
|
+
# @option opts [String] :name__icontains Filter results where name contains value
|
172
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
173
|
+
# @option opts [String] :name__startswith Filter results where name starts with value
|
174
174
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
175
175
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
176
176
|
# @option opts [String] :fields A list of fields to include in the response.
|
@@ -189,7 +189,7 @@ module PulpFileClient
|
|
189
189
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
190
190
|
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
191
191
|
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?
|
192
|
+
query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
|
193
193
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
194
194
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
195
195
|
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
@@ -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,19 +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] :
|
160
|
-
# @option opts [
|
161
|
-
# @option opts [
|
162
|
-
# @option opts [
|
163
|
-
# @option opts [
|
164
|
-
# @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
|
165
166
|
# @option opts [String] :fields A list of fields to include in the response.
|
166
167
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
167
168
|
# @return [PaginatedfileFileRemoteResponseList]
|
@@ -174,19 +175,20 @@ module PulpFileClient
|
|
174
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.
|
175
176
|
# @param [Hash] opts the optional parameters
|
176
177
|
# @option opts [Integer] :limit Number of results to return per page.
|
177
|
-
# @option opts [String] :name
|
178
|
-
# @option opts [String] :name__contains
|
179
|
-
# @option opts [String] :name__icontains
|
180
|
-
# @option opts [String] :name__in
|
181
|
-
# @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
|
182
183
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
183
184
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
184
|
-
# @option opts [String] :
|
185
|
-
# @option opts [
|
186
|
-
# @option opts [
|
187
|
-
# @option opts [
|
188
|
-
# @option opts [
|
189
|
-
# @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
|
190
192
|
# @option opts [String] :fields A list of fields to include in the response.
|
191
193
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
192
194
|
# @return [Array<(PaginatedfileFileRemoteResponseList, Integer, Hash)>] PaginatedfileFileRemoteResponseList data, response status code and response headers
|
@@ -203,16 +205,17 @@ module PulpFileClient
|
|
203
205
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
204
206
|
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
205
207
|
query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
|
206
|
-
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?
|
207
209
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
208
210
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
209
211
|
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
212
|
+
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
210
213
|
query_params[:'pulp_last_updated'] = opts[:'pulp_last_updated'] if !opts[:'pulp_last_updated'].nil?
|
211
214
|
query_params[:'pulp_last_updated__gt'] = opts[:'pulp_last_updated__gt'] if !opts[:'pulp_last_updated__gt'].nil?
|
212
215
|
query_params[:'pulp_last_updated__gte'] = opts[:'pulp_last_updated__gte'] if !opts[:'pulp_last_updated__gte'].nil?
|
213
216
|
query_params[:'pulp_last_updated__lt'] = opts[:'pulp_last_updated__lt'] if !opts[:'pulp_last_updated__lt'].nil?
|
214
217
|
query_params[:'pulp_last_updated__lte'] = opts[:'pulp_last_updated__lte'] if !opts[:'pulp_last_updated__lte'].nil?
|
215
|
-
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?
|
216
219
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
217
220
|
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
218
221
|
|
@@ -149,13 +149,14 @@ module PulpFileClient
|
|
149
149
|
# FileRepository represents a single file repository, to which content can be synced, added, or removed.
|
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 Filter labels by search string
|
159
160
|
# @option opts [String] :fields A list of fields to include in the response.
|
160
161
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
161
162
|
# @return [PaginatedfileFileRepositoryResponseList]
|
@@ -168,13 +169,14 @@ module PulpFileClient
|
|
168
169
|
# FileRepository represents a single file repository, to which content can be synced, added, or removed.
|
169
170
|
# @param [Hash] opts the optional parameters
|
170
171
|
# @option opts [Integer] :limit Number of results to return per page.
|
171
|
-
# @option opts [String] :name
|
172
|
-
# @option opts [String] :name__contains
|
173
|
-
# @option opts [String] :name__icontains
|
174
|
-
# @option opts [String] :name__in
|
175
|
-
# @option opts [String] :name__startswith
|
172
|
+
# @option opts [String] :name
|
173
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
174
|
+
# @option opts [String] :name__icontains Filter results where name contains value
|
175
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
176
|
+
# @option opts [String] :name__startswith Filter results where name starts with value
|
176
177
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
177
178
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
179
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
178
180
|
# @option opts [String] :fields A list of fields to include in the response.
|
179
181
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
180
182
|
# @return [Array<(PaginatedfileFileRepositoryResponseList, Integer, Hash)>] PaginatedfileFileRepositoryResponseList data, response status code and response headers
|
@@ -191,10 +193,11 @@ module PulpFileClient
|
|
191
193
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
192
194
|
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
193
195
|
query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
|
194
|
-
query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
|
196
|
+
query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
|
195
197
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
196
198
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
197
199
|
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
200
|
+
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
198
201
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
199
202
|
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
200
203
|
|
@@ -85,23 +85,23 @@ module PulpFileClient
|
|
85
85
|
# FileRepositoryVersion represents a single file repository version.
|
86
86
|
# @param file_file_repository_href [String]
|
87
87
|
# @param [Hash] opts the optional parameters
|
88
|
-
# @option opts [String] :content
|
89
|
-
# @option opts [String] :content__in
|
88
|
+
# @option opts [String] :content Content Unit referenced by HREF
|
89
|
+
# @option opts [String] :content__in Content Unit referenced by HREF
|
90
90
|
# @option opts [Integer] :limit Number of results to return per page.
|
91
|
-
# @option opts [
|
92
|
-
# @option opts [
|
93
|
-
# @option opts [
|
94
|
-
# @option opts [
|
95
|
-
# @option opts [
|
96
|
-
# @option opts [
|
91
|
+
# @option opts [Integer] :number
|
92
|
+
# @option opts [Integer] :number__gt Filter results where number is greater than value
|
93
|
+
# @option opts [Integer] :number__gte Filter results where number is greater than or equal to value
|
94
|
+
# @option opts [Integer] :number__lt Filter results where number is less than value
|
95
|
+
# @option opts [Integer] :number__lte Filter results where number is less than or equal to value
|
96
|
+
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
97
97
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
98
98
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
99
|
-
# @option opts [
|
100
|
-
# @option opts [
|
101
|
-
# @option opts [
|
102
|
-
# @option opts [
|
103
|
-
# @option opts [
|
104
|
-
# @option opts [
|
99
|
+
# @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
|
100
|
+
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
101
|
+
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
102
|
+
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
103
|
+
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
104
|
+
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
105
105
|
# @option opts [String] :fields A list of fields to include in the response.
|
106
106
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
107
107
|
# @return [PaginatedRepositoryVersionResponseList]
|
@@ -114,23 +114,23 @@ module PulpFileClient
|
|
114
114
|
# FileRepositoryVersion represents a single file repository version.
|
115
115
|
# @param file_file_repository_href [String]
|
116
116
|
# @param [Hash] opts the optional parameters
|
117
|
-
# @option opts [String] :content
|
118
|
-
# @option opts [String] :content__in
|
117
|
+
# @option opts [String] :content Content Unit referenced by HREF
|
118
|
+
# @option opts [String] :content__in Content Unit referenced by HREF
|
119
119
|
# @option opts [Integer] :limit Number of results to return per page.
|
120
|
-
# @option opts [
|
121
|
-
# @option opts [
|
122
|
-
# @option opts [
|
123
|
-
# @option opts [
|
124
|
-
# @option opts [
|
125
|
-
# @option opts [
|
120
|
+
# @option opts [Integer] :number
|
121
|
+
# @option opts [Integer] :number__gt Filter results where number is greater than value
|
122
|
+
# @option opts [Integer] :number__gte Filter results where number is greater than or equal to value
|
123
|
+
# @option opts [Integer] :number__lt Filter results where number is less than value
|
124
|
+
# @option opts [Integer] :number__lte Filter results where number is less than or equal to value
|
125
|
+
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
126
126
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
127
127
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
128
|
-
# @option opts [
|
129
|
-
# @option opts [
|
130
|
-
# @option opts [
|
131
|
-
# @option opts [
|
132
|
-
# @option opts [
|
133
|
-
# @option opts [
|
128
|
+
# @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
|
129
|
+
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
130
|
+
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
131
|
+
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
132
|
+
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
133
|
+
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
134
134
|
# @option opts [String] :fields A list of fields to include in the response.
|
135
135
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
136
136
|
# @return [Array<(PaginatedRepositoryVersionResponseList, Integer, Hash)>] PaginatedRepositoryVersionResponseList data, response status code and response headers
|
@@ -142,6 +142,26 @@ module PulpFileClient
|
|
142
142
|
if @api_client.config.client_side_validation && file_file_repository_href.nil?
|
143
143
|
fail ArgumentError, "Missing the required parameter 'file_file_repository_href' when calling RepositoriesFileVersionsApi.list"
|
144
144
|
end
|
145
|
+
if @api_client.config.client_side_validation && !opts[:'number'].nil? && opts[:'number'] > 2147483647
|
146
|
+
fail ArgumentError, 'invalid value for "opts[:"number"]" when calling RepositoriesFileVersionsApi.list, must be smaller than or equal to 2147483647.'
|
147
|
+
end
|
148
|
+
|
149
|
+
if @api_client.config.client_side_validation && !opts[:'number__gt'].nil? && opts[:'number__gt'] > 2147483647
|
150
|
+
fail ArgumentError, 'invalid value for "opts[:"number__gt"]" when calling RepositoriesFileVersionsApi.list, must be smaller than or equal to 2147483647.'
|
151
|
+
end
|
152
|
+
|
153
|
+
if @api_client.config.client_side_validation && !opts[:'number__gte'].nil? && opts[:'number__gte'] > 2147483647
|
154
|
+
fail ArgumentError, 'invalid value for "opts[:"number__gte"]" when calling RepositoriesFileVersionsApi.list, must be smaller than or equal to 2147483647.'
|
155
|
+
end
|
156
|
+
|
157
|
+
if @api_client.config.client_side_validation && !opts[:'number__lt'].nil? && opts[:'number__lt'] > 2147483647
|
158
|
+
fail ArgumentError, 'invalid value for "opts[:"number__lt"]" when calling RepositoriesFileVersionsApi.list, must be smaller than or equal to 2147483647.'
|
159
|
+
end
|
160
|
+
|
161
|
+
if @api_client.config.client_side_validation && !opts[:'number__lte'].nil? && opts[:'number__lte'] > 2147483647
|
162
|
+
fail ArgumentError, 'invalid value for "opts[:"number__lte"]" when calling RepositoriesFileVersionsApi.list, must be smaller than or equal to 2147483647.'
|
163
|
+
end
|
164
|
+
|
145
165
|
# resource path
|
146
166
|
local_var_path = '{file_file_repository_href}versions/'.sub('{' + 'file_file_repository_href' + '}', CGI.escape(file_file_repository_href.to_s).gsub('%2F', '/'))
|
147
167
|
|
@@ -155,7 +175,7 @@ module PulpFileClient
|
|
155
175
|
query_params[:'number__gte'] = opts[:'number__gte'] if !opts[:'number__gte'].nil?
|
156
176
|
query_params[:'number__lt'] = opts[:'number__lt'] if !opts[:'number__lt'].nil?
|
157
177
|
query_params[:'number__lte'] = opts[:'number__lte'] if !opts[:'number__lte'].nil?
|
158
|
-
query_params[:'number__range'] = opts[:'number__range'] if !opts[:'number__range'].nil?
|
178
|
+
query_params[:'number__range'] = @api_client.build_collection_param(opts[:'number__range'], :csv) if !opts[:'number__range'].nil?
|
159
179
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
160
180
|
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
161
181
|
query_params[:'pulp_created'] = opts[:'pulp_created'] if !opts[:'pulp_created'].nil?
|
@@ -163,7 +183,7 @@ module PulpFileClient
|
|
163
183
|
query_params[:'pulp_created__gte'] = opts[:'pulp_created__gte'] if !opts[:'pulp_created__gte'].nil?
|
164
184
|
query_params[:'pulp_created__lt'] = opts[:'pulp_created__lt'] if !opts[:'pulp_created__lt'].nil?
|
165
185
|
query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
|
166
|
-
query_params[:'pulp_created__range'] = opts[:'pulp_created__range'] if !opts[:'pulp_created__range'].nil?
|
186
|
+
query_params[:'pulp_created__range'] = @api_client.build_collection_param(opts[:'pulp_created__range'], :csv) if !opts[:'pulp_created__range'].nil?
|
167
187
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
168
188
|
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
169
189
|
|