pulp_npm_client 0.1.0a2 → 0.1.0a3
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/ContentPackagesApi.md +10 -10
- data/docs/ContentSummary.md +3 -3
- data/docs/ContentSummaryResponse.md +3 -3
- data/docs/DistributionsNpmApi.md +20 -12
- data/docs/NpmNpmDistribution.md +2 -0
- data/docs/NpmNpmDistributionResponse.md +2 -0
- data/docs/NpmNpmRemote.md +20 -2
- data/docs/NpmNpmRemoteResponse.md +16 -8
- data/docs/NpmNpmRepository.md +3 -1
- data/docs/NpmNpmRepositoryResponse.md +2 -0
- data/docs/PatchednpmNpmDistribution.md +2 -0
- data/docs/PatchednpmNpmRemote.md +20 -2
- data/docs/PatchednpmNpmRepository.md +3 -1
- data/docs/RemotesNpmApi.md +24 -16
- data/docs/RepositoriesNpmApi.md +12 -4
- data/docs/RepositoriesNpmVersionsApi.md +30 -30
- data/lib/pulp_npm_client/api/content_packages_api.rb +11 -11
- data/lib/pulp_npm_client/api/distributions_npm_api.rb +26 -14
- data/lib/pulp_npm_client/api/remotes_npm_api.rb +30 -18
- data/lib/pulp_npm_client/api/repositories_npm_api.rb +17 -5
- data/lib/pulp_npm_client/api/repositories_npm_versions_api.rb +34 -34
- data/lib/pulp_npm_client/models/content_summary.rb +12 -6
- data/lib/pulp_npm_client/models/content_summary_response.rb +12 -6
- data/lib/pulp_npm_client/models/npm_npm_distribution.rb +10 -1
- data/lib/pulp_npm_client/models/npm_npm_distribution_response.rb +10 -1
- data/lib/pulp_npm_client/models/npm_npm_remote.rb +163 -5
- data/lib/pulp_npm_client/models/npm_npm_remote_response.rb +138 -35
- data/lib/pulp_npm_client/models/npm_npm_repository.rb +10 -1
- data/lib/pulp_npm_client/models/npm_npm_repository_response.rb +10 -1
- data/lib/pulp_npm_client/models/patchednpm_npm_distribution.rb +10 -1
- data/lib/pulp_npm_client/models/patchednpm_npm_remote.rb +163 -5
- data/lib/pulp_npm_client/models/patchednpm_npm_repository.rb +10 -1
- data/lib/pulp_npm_client/version.rb +1 -1
- data/spec/api/content_packages_api_spec.rb +5 -5
- data/spec/api/distributions_npm_api_spec.rb +10 -6
- data/spec/api/remotes_npm_api_spec.rb +12 -8
- data/spec/api/repositories_npm_api_spec.rb +6 -2
- data/spec/api/repositories_npm_versions_api_spec.rb +16 -16
- data/spec/models/npm_npm_distribution_response_spec.rb +6 -0
- data/spec/models/npm_npm_distribution_spec.rb +6 -0
- data/spec/models/npm_npm_remote_response_spec.rb +32 -8
- data/spec/models/npm_npm_remote_spec.rb +54 -0
- data/spec/models/npm_npm_repository_response_spec.rb +6 -0
- data/spec/models/npm_npm_repository_spec.rb +6 -0
- data/spec/models/patchednpm_npm_distribution_spec.rb +6 -0
- data/spec/models/patchednpm_npm_remote_spec.rb +54 -0
- data/spec/models/patchednpm_npm_repository_spec.rb +6 -0
- metadata +23 -23
@@ -111,13 +111,13 @@ module PulpNpmClient
|
|
111
111
|
# A ViewSet for Package. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/npm/units/ Also specify queryset and serializer for Package.
|
112
112
|
# @param [Hash] opts the optional parameters
|
113
113
|
# @option opts [Integer] :limit Number of results to return per page.
|
114
|
-
# @option opts [String] :name name
|
115
|
-
# @option opts [String] :name__in
|
114
|
+
# @option opts [String] :name Filter results where name matches value
|
115
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
116
116
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
117
117
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
118
|
-
# @option opts [String] :repository_version
|
119
|
-
# @option opts [String] :repository_version_added
|
120
|
-
# @option opts [String] :repository_version_removed
|
118
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
119
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
120
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
121
121
|
# @option opts [String] :fields A list of fields to include in the response.
|
122
122
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
123
123
|
# @return [PaginatednpmPackageResponseList]
|
@@ -130,13 +130,13 @@ module PulpNpmClient
|
|
130
130
|
# A ViewSet for Package. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/npm/units/ Also specify queryset and serializer for Package.
|
131
131
|
# @param [Hash] opts the optional parameters
|
132
132
|
# @option opts [Integer] :limit Number of results to return per page.
|
133
|
-
# @option opts [String] :name name
|
134
|
-
# @option opts [String] :name__in
|
133
|
+
# @option opts [String] :name Filter results where name matches value
|
134
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
135
135
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
136
136
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
137
|
-
# @option opts [String] :repository_version
|
138
|
-
# @option opts [String] :repository_version_added
|
139
|
-
# @option opts [String] :repository_version_removed
|
137
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
138
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
139
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
140
140
|
# @option opts [String] :fields A list of fields to include in the response.
|
141
141
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
142
142
|
# @return [Array<(PaginatednpmPackageResponseList, Integer, Hash)>] PaginatednpmPackageResponseList data, response status code and response headers
|
@@ -151,7 +151,7 @@ module PulpNpmClient
|
|
151
151
|
query_params = opts[:query_params] || {}
|
152
152
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
153
153
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
154
|
-
query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
|
154
|
+
query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
|
155
155
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
156
156
|
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
157
157
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
@@ -148,15 +148,19 @@ module PulpNpmClient
|
|
148
148
|
# List npm distributions
|
149
149
|
# ViewSet for NPM Distributions.
|
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] :
|
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
|
158
161
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
159
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
|
160
164
|
# @option opts [String] :fields A list of fields to include in the response.
|
161
165
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
162
166
|
# @return [PaginatednpmNpmDistributionResponseList]
|
@@ -168,15 +172,19 @@ module PulpNpmClient
|
|
168
172
|
# List npm distributions
|
169
173
|
# ViewSet for NPM Distributions.
|
170
174
|
# @param [Hash] opts the optional parameters
|
171
|
-
# @option opts [String] :base_path
|
172
|
-
# @option opts [String] :base_path__contains
|
173
|
-
# @option opts [String] :base_path__icontains
|
174
|
-
# @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
|
175
179
|
# @option opts [Integer] :limit Number of results to return per page.
|
176
|
-
# @option opts [String] :name
|
177
|
-
# @option opts [String] :
|
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
|
178
185
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
179
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
|
180
188
|
# @option opts [String] :fields A list of fields to include in the response.
|
181
189
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
182
190
|
# @return [Array<(PaginatednpmNpmDistributionResponseList, Integer, Hash)>] PaginatednpmNpmDistributionResponseList data, response status code and response headers
|
@@ -192,12 +200,16 @@ module PulpNpmClient
|
|
192
200
|
query_params[:'base_path'] = opts[:'base_path'] if !opts[:'base_path'].nil?
|
193
201
|
query_params[:'base_path__contains'] = opts[:'base_path__contains'] if !opts[:'base_path__contains'].nil?
|
194
202
|
query_params[:'base_path__icontains'] = opts[:'base_path__icontains'] if !opts[:'base_path__icontains'].nil?
|
195
|
-
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?
|
196
204
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
197
205
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
198
|
-
query_params[:'
|
206
|
+
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
207
|
+
query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
|
208
|
+
query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
|
209
|
+
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
199
210
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
200
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?
|
201
213
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
202
214
|
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
203
215
|
|
@@ -149,16 +149,20 @@ module PulpNpmClient
|
|
149
149
|
# A ViewSet for NpmRemote. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
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] :
|
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
|
154
157
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
155
158
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
156
|
-
# @option opts [String] :
|
157
|
-
# @option opts [
|
158
|
-
# @option opts [
|
159
|
-
# @option opts [
|
160
|
-
# @option opts [
|
161
|
-
# @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
|
162
166
|
# @option opts [String] :fields A list of fields to include in the response.
|
163
167
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
164
168
|
# @return [PaginatednpmNpmRemoteResponseList]
|
@@ -171,16 +175,20 @@ module PulpNpmClient
|
|
171
175
|
# A ViewSet for NpmRemote. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
172
176
|
# @param [Hash] opts the optional parameters
|
173
177
|
# @option opts [Integer] :limit Number of results to return per page.
|
174
|
-
# @option opts [String] :name
|
175
|
-
# @option opts [String] :
|
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
|
176
183
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
177
184
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
178
|
-
# @option opts [String] :
|
179
|
-
# @option opts [
|
180
|
-
# @option opts [
|
181
|
-
# @option opts [
|
182
|
-
# @option opts [
|
183
|
-
# @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
|
184
192
|
# @option opts [String] :fields A list of fields to include in the response.
|
185
193
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
186
194
|
# @return [Array<(PaginatednpmNpmRemoteResponseList, Integer, Hash)>] PaginatednpmNpmRemoteResponseList data, response status code and response headers
|
@@ -195,15 +203,19 @@ module PulpNpmClient
|
|
195
203
|
query_params = opts[:query_params] || {}
|
196
204
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
197
205
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
198
|
-
query_params[:'
|
206
|
+
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
207
|
+
query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
|
208
|
+
query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
|
209
|
+
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
199
210
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
200
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?
|
201
213
|
query_params[:'pulp_last_updated'] = opts[:'pulp_last_updated'] if !opts[:'pulp_last_updated'].nil?
|
202
214
|
query_params[:'pulp_last_updated__gt'] = opts[:'pulp_last_updated__gt'] if !opts[:'pulp_last_updated__gt'].nil?
|
203
215
|
query_params[:'pulp_last_updated__gte'] = opts[:'pulp_last_updated__gte'] if !opts[:'pulp_last_updated__gte'].nil?
|
204
216
|
query_params[:'pulp_last_updated__lt'] = opts[:'pulp_last_updated__lt'] if !opts[:'pulp_last_updated__lt'].nil?
|
205
217
|
query_params[:'pulp_last_updated__lte'] = opts[:'pulp_last_updated__lte'] if !opts[:'pulp_last_updated__lte'].nil?
|
206
|
-
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?
|
207
219
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
208
220
|
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
209
221
|
|
@@ -149,10 +149,14 @@ module PulpNpmClient
|
|
149
149
|
# A ViewSet for NpmRepository. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
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] :
|
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
|
154
157
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
155
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
|
156
160
|
# @option opts [String] :fields A list of fields to include in the response.
|
157
161
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
158
162
|
# @return [PaginatednpmNpmRepositoryResponseList]
|
@@ -165,10 +169,14 @@ module PulpNpmClient
|
|
165
169
|
# A ViewSet for NpmRepository. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
166
170
|
# @param [Hash] opts the optional parameters
|
167
171
|
# @option opts [Integer] :limit Number of results to return per page.
|
168
|
-
# @option opts [String] :name
|
169
|
-
# @option opts [String] :
|
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
|
170
177
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
171
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
|
172
180
|
# @option opts [String] :fields A list of fields to include in the response.
|
173
181
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
174
182
|
# @return [Array<(PaginatednpmNpmRepositoryResponseList, Integer, Hash)>] PaginatednpmNpmRepositoryResponseList data, response status code and response headers
|
@@ -183,9 +191,13 @@ module PulpNpmClient
|
|
183
191
|
query_params = opts[:query_params] || {}
|
184
192
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
185
193
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
186
|
-
query_params[:'
|
194
|
+
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
195
|
+
query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
|
196
|
+
query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
|
197
|
+
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
187
198
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
188
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?
|
189
201
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
190
202
|
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
191
203
|
|
@@ -20,7 +20,7 @@ module PulpNpmClient
|
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
22
|
# Delete a repository version
|
23
|
-
# Trigger an asynchronous task to delete a
|
23
|
+
# Trigger an asynchronous task to delete a repository version.
|
24
24
|
# @param npm_npm_repository_version_href [String]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
26
|
# @return [AsyncOperationResponse]
|
@@ -30,7 +30,7 @@ module PulpNpmClient
|
|
30
30
|
end
|
31
31
|
|
32
32
|
# Delete a repository version
|
33
|
-
# Trigger an asynchronous task to delete a
|
33
|
+
# Trigger an asynchronous task to delete a repository version.
|
34
34
|
# @param npm_npm_repository_version_href [String]
|
35
35
|
# @param [Hash] opts the optional parameters
|
36
36
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
@@ -85,23 +85,23 @@ module PulpNpmClient
|
|
85
85
|
# A ViewSet for a NpmRepositoryVersion represents a single Npm repository version.
|
86
86
|
# @param npm_npm_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 PulpNpmClient
|
|
114
114
|
# A ViewSet for a NpmRepositoryVersion represents a single Npm repository version.
|
115
115
|
# @param npm_npm_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
|
@@ -155,7 +155,7 @@ module PulpNpmClient
|
|
155
155
|
query_params[:'number__gte'] = opts[:'number__gte'] if !opts[:'number__gte'].nil?
|
156
156
|
query_params[:'number__lt'] = opts[:'number__lt'] if !opts[:'number__lt'].nil?
|
157
157
|
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?
|
158
|
+
query_params[:'number__range'] = @api_client.build_collection_param(opts[:'number__range'], :csv) if !opts[:'number__range'].nil?
|
159
159
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
160
160
|
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
161
161
|
query_params[:'pulp_created'] = opts[:'pulp_created'] if !opts[:'pulp_created'].nil?
|
@@ -163,7 +163,7 @@ module PulpNpmClient
|
|
163
163
|
query_params[:'pulp_created__gte'] = opts[:'pulp_created__gte'] if !opts[:'pulp_created__gte'].nil?
|
164
164
|
query_params[:'pulp_created__lt'] = opts[:'pulp_created__lt'] if !opts[:'pulp_created__lt'].nil?
|
165
165
|
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?
|
166
|
+
query_params[:'pulp_created__range'] = @api_client.build_collection_param(opts[:'pulp_created__range'], :csv) if !opts[:'pulp_created__range'].nil?
|
167
167
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
168
168
|
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
169
169
|
|
@@ -268,7 +268,7 @@ module PulpNpmClient
|
|
268
268
|
return data, status_code, headers
|
269
269
|
end
|
270
270
|
|
271
|
-
# Trigger an asynchronous task to repair a
|
271
|
+
# Trigger an asynchronous task to repair a repository version.
|
272
272
|
# @param npm_npm_repository_version_href [String]
|
273
273
|
# @param repository_version [RepositoryVersion]
|
274
274
|
# @param [Hash] opts the optional parameters
|
@@ -278,7 +278,7 @@ module PulpNpmClient
|
|
278
278
|
data
|
279
279
|
end
|
280
280
|
|
281
|
-
# Trigger an asynchronous task to repair a
|
281
|
+
# Trigger an asynchronous task to repair a repository version.
|
282
282
|
# @param npm_npm_repository_version_href [String]
|
283
283
|
# @param repository_version [RepositoryVersion]
|
284
284
|
# @param [Hash] opts the optional parameters
|
@@ -33,9 +33,9 @@ module PulpNpmClient
|
|
33
33
|
# Attribute type mapping.
|
34
34
|
def self.openapi_types
|
35
35
|
{
|
36
|
-
:'added' => :'Object',
|
37
|
-
:'removed' => :'Object',
|
38
|
-
:'present' => :'Object'
|
36
|
+
:'added' => :'Hash<String, Object>',
|
37
|
+
:'removed' => :'Hash<String, Object>',
|
38
|
+
:'present' => :'Hash<String, Object>'
|
39
39
|
}
|
40
40
|
end
|
41
41
|
|
@@ -61,15 +61,21 @@ module PulpNpmClient
|
|
61
61
|
}
|
62
62
|
|
63
63
|
if attributes.key?(:'added')
|
64
|
-
|
64
|
+
if (value = attributes[:'added']).is_a?(Hash)
|
65
|
+
self.added = value
|
66
|
+
end
|
65
67
|
end
|
66
68
|
|
67
69
|
if attributes.key?(:'removed')
|
68
|
-
|
70
|
+
if (value = attributes[:'removed']).is_a?(Hash)
|
71
|
+
self.removed = value
|
72
|
+
end
|
69
73
|
end
|
70
74
|
|
71
75
|
if attributes.key?(:'present')
|
72
|
-
|
76
|
+
if (value = attributes[:'present']).is_a?(Hash)
|
77
|
+
self.present = value
|
78
|
+
end
|
73
79
|
end
|
74
80
|
end
|
75
81
|
|
@@ -33,9 +33,9 @@ module PulpNpmClient
|
|
33
33
|
# Attribute type mapping.
|
34
34
|
def self.openapi_types
|
35
35
|
{
|
36
|
-
:'added' => :'Object',
|
37
|
-
:'removed' => :'Object',
|
38
|
-
:'present' => :'Object'
|
36
|
+
:'added' => :'Hash<String, Object>',
|
37
|
+
:'removed' => :'Hash<String, Object>',
|
38
|
+
:'present' => :'Hash<String, Object>'
|
39
39
|
}
|
40
40
|
end
|
41
41
|
|
@@ -61,15 +61,21 @@ module PulpNpmClient
|
|
61
61
|
}
|
62
62
|
|
63
63
|
if attributes.key?(:'added')
|
64
|
-
|
64
|
+
if (value = attributes[:'added']).is_a?(Hash)
|
65
|
+
self.added = value
|
66
|
+
end
|
65
67
|
end
|
66
68
|
|
67
69
|
if attributes.key?(:'removed')
|
68
|
-
|
70
|
+
if (value = attributes[:'removed']).is_a?(Hash)
|
71
|
+
self.removed = value
|
72
|
+
end
|
69
73
|
end
|
70
74
|
|
71
75
|
if attributes.key?(:'present')
|
72
|
-
|
76
|
+
if (value = attributes[:'present']).is_a?(Hash)
|
77
|
+
self.present = value
|
78
|
+
end
|
73
79
|
end
|
74
80
|
end
|
75
81
|
|
@@ -21,6 +21,8 @@ module PulpNpmClient
|
|
21
21
|
# An optional content-guard.
|
22
22
|
attr_accessor :content_guard
|
23
23
|
|
24
|
+
attr_accessor :pulp_labels
|
25
|
+
|
24
26
|
# A unique name. Ex, `rawhide` and `stable`.
|
25
27
|
attr_accessor :name
|
26
28
|
|
@@ -35,6 +37,7 @@ module PulpNpmClient
|
|
35
37
|
{
|
36
38
|
:'base_path' => :'base_path',
|
37
39
|
:'content_guard' => :'content_guard',
|
40
|
+
:'pulp_labels' => :'pulp_labels',
|
38
41
|
:'name' => :'name',
|
39
42
|
:'repository' => :'repository',
|
40
43
|
:'repository_version' => :'repository_version'
|
@@ -46,6 +49,7 @@ module PulpNpmClient
|
|
46
49
|
{
|
47
50
|
:'base_path' => :'String',
|
48
51
|
:'content_guard' => :'String',
|
52
|
+
:'pulp_labels' => :'Object',
|
49
53
|
:'name' => :'String',
|
50
54
|
:'repository' => :'String',
|
51
55
|
:'repository_version' => :'String'
|
@@ -84,6 +88,10 @@ module PulpNpmClient
|
|
84
88
|
self.content_guard = attributes[:'content_guard']
|
85
89
|
end
|
86
90
|
|
91
|
+
if attributes.key?(:'pulp_labels')
|
92
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
93
|
+
end
|
94
|
+
|
87
95
|
if attributes.key?(:'name')
|
88
96
|
self.name = attributes[:'name']
|
89
97
|
end
|
@@ -127,6 +135,7 @@ module PulpNpmClient
|
|
127
135
|
self.class == o.class &&
|
128
136
|
base_path == o.base_path &&
|
129
137
|
content_guard == o.content_guard &&
|
138
|
+
pulp_labels == o.pulp_labels &&
|
130
139
|
name == o.name &&
|
131
140
|
repository == o.repository &&
|
132
141
|
repository_version == o.repository_version
|
@@ -141,7 +150,7 @@ module PulpNpmClient
|
|
141
150
|
# Calculates hash code according to all attributes.
|
142
151
|
# @return [Integer] Hash code
|
143
152
|
def hash
|
144
|
-
[base_path, content_guard, name, repository, repository_version].hash
|
153
|
+
[base_path, content_guard, pulp_labels, name, repository, repository_version].hash
|
145
154
|
end
|
146
155
|
|
147
156
|
# Builds the object from hash
|
@@ -29,6 +29,8 @@ module PulpNpmClient
|
|
29
29
|
# An optional content-guard.
|
30
30
|
attr_accessor :content_guard
|
31
31
|
|
32
|
+
attr_accessor :pulp_labels
|
33
|
+
|
32
34
|
# A unique name. Ex, `rawhide` and `stable`.
|
33
35
|
attr_accessor :name
|
34
36
|
|
@@ -46,6 +48,7 @@ module PulpNpmClient
|
|
46
48
|
:'base_path' => :'base_path',
|
47
49
|
:'base_url' => :'base_url',
|
48
50
|
:'content_guard' => :'content_guard',
|
51
|
+
:'pulp_labels' => :'pulp_labels',
|
49
52
|
:'name' => :'name',
|
50
53
|
:'repository' => :'repository',
|
51
54
|
:'repository_version' => :'repository_version'
|
@@ -60,6 +63,7 @@ module PulpNpmClient
|
|
60
63
|
:'base_path' => :'String',
|
61
64
|
:'base_url' => :'String',
|
62
65
|
:'content_guard' => :'String',
|
66
|
+
:'pulp_labels' => :'Object',
|
63
67
|
:'name' => :'String',
|
64
68
|
:'repository' => :'String',
|
65
69
|
:'repository_version' => :'String'
|
@@ -110,6 +114,10 @@ module PulpNpmClient
|
|
110
114
|
self.content_guard = attributes[:'content_guard']
|
111
115
|
end
|
112
116
|
|
117
|
+
if attributes.key?(:'pulp_labels')
|
118
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
119
|
+
end
|
120
|
+
|
113
121
|
if attributes.key?(:'name')
|
114
122
|
self.name = attributes[:'name']
|
115
123
|
end
|
@@ -156,6 +164,7 @@ module PulpNpmClient
|
|
156
164
|
base_path == o.base_path &&
|
157
165
|
base_url == o.base_url &&
|
158
166
|
content_guard == o.content_guard &&
|
167
|
+
pulp_labels == o.pulp_labels &&
|
159
168
|
name == o.name &&
|
160
169
|
repository == o.repository &&
|
161
170
|
repository_version == o.repository_version
|
@@ -170,7 +179,7 @@ module PulpNpmClient
|
|
170
179
|
# Calculates hash code according to all attributes.
|
171
180
|
# @return [Integer] Hash code
|
172
181
|
def hash
|
173
|
-
[pulp_href, pulp_created, base_path, base_url, content_guard, name, repository, repository_version].hash
|
182
|
+
[pulp_href, pulp_created, base_path, base_url, content_guard, pulp_labels, name, repository, repository_version].hash
|
174
183
|
end
|
175
184
|
|
176
185
|
# Builds the object from hash
|