pulp_file_client 1.6.0.post0 → 1.7.0.dev1615260987
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.
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 -20
- 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 -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 +11 -11
- 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 +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 -10
- 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 -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 +2 -2
@@ -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?
|
@@ -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,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
|
|
@@ -149,14 +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
|
159
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
160
160
|
# @option opts [String] :fields A list of fields to include in the response.
|
161
161
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
162
162
|
# @return [PaginatedfileFileRepositoryResponseList]
|
@@ -169,14 +169,14 @@ module PulpFileClient
|
|
169
169
|
# FileRepository represents a single file repository, to which content can be synced, added, or removed.
|
170
170
|
# @param [Hash] opts the optional parameters
|
171
171
|
# @option opts [Integer] :limit Number of results to return per page.
|
172
|
-
# @option opts [String] :name
|
173
|
-
# @option opts [String] :name__contains
|
174
|
-
# @option opts [String] :name__icontains
|
175
|
-
# @option opts [String] :name__in
|
176
|
-
# @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
|
177
177
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
178
178
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
179
|
-
# @option opts [String] :pulp_label_select
|
179
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
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<(PaginatedfileFileRepositoryResponseList, Integer, Hash)>] PaginatedfileFileRepositoryResponseList data, response status code and response headers
|
@@ -193,7 +193,7 @@ module PulpFileClient
|
|
193
193
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
194
194
|
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
195
195
|
query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
|
196
|
-
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?
|
197
197
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
198
198
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
199
199
|
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
@@ -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
|
|