pulp_npm_client 0.1.0a1

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.
Files changed (105) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +9 -0
  3. data/README.md +157 -0
  4. data/Rakefile +10 -0
  5. data/docs/AsyncOperationResponse.md +17 -0
  6. data/docs/ContentPackagesApi.md +208 -0
  7. data/docs/ContentSummary.md +21 -0
  8. data/docs/ContentSummaryResponse.md +21 -0
  9. data/docs/DistributionsNpmApi.md +364 -0
  10. data/docs/NpmNpmDistribution.md +25 -0
  11. data/docs/NpmNpmDistributionResponse.md +31 -0
  12. data/docs/NpmNpmRemote.md +37 -0
  13. data/docs/NpmNpmRemoteResponse.md +43 -0
  14. data/docs/NpmNpmRepository.md +21 -0
  15. data/docs/NpmNpmRepositoryResponse.md +29 -0
  16. data/docs/NpmPackage.md +27 -0
  17. data/docs/NpmPackageResponse.md +27 -0
  18. data/docs/PaginatedRepositoryVersionResponseList.md +23 -0
  19. data/docs/PaginatednpmNpmDistributionResponseList.md +23 -0
  20. data/docs/PaginatednpmNpmRemoteResponseList.md +23 -0
  21. data/docs/PaginatednpmNpmRepositoryResponseList.md +23 -0
  22. data/docs/PaginatednpmPackageResponseList.md +23 -0
  23. data/docs/PatchednpmNpmDistribution.md +25 -0
  24. data/docs/PatchednpmNpmRemote.md +37 -0
  25. data/docs/PatchednpmNpmRepository.md +21 -0
  26. data/docs/PolicyEnum.md +16 -0
  27. data/docs/PulpNpmPackagesApi.md +60 -0
  28. data/docs/RemotesNpmApi.md +368 -0
  29. data/docs/RepositoriesNpmApi.md +468 -0
  30. data/docs/RepositoriesNpmVersionsApi.md +271 -0
  31. data/docs/RepositoryAddRemoveContent.md +21 -0
  32. data/docs/RepositorySyncURL.md +19 -0
  33. data/docs/RepositoryVersion.md +17 -0
  34. data/docs/RepositoryVersionResponse.md +25 -0
  35. data/git_push.sh +58 -0
  36. data/lib/pulp_npm_client.rb +69 -0
  37. data/lib/pulp_npm_client/api/content_packages_api.rb +264 -0
  38. data/lib/pulp_npm_client/api/distributions_npm_api.rb +445 -0
  39. data/lib/pulp_npm_client/api/pulp_npm_packages_api.rb +86 -0
  40. data/lib/pulp_npm_client/api/remotes_npm_api.rb +451 -0
  41. data/lib/pulp_npm_client/api/repositories_npm_api.rb +573 -0
  42. data/lib/pulp_npm_client/api/repositories_npm_versions_api.rb +339 -0
  43. data/lib/pulp_npm_client/api_client.rb +402 -0
  44. data/lib/pulp_npm_client/api_error.rb +57 -0
  45. data/lib/pulp_npm_client/configuration.rb +243 -0
  46. data/lib/pulp_npm_client/models/async_operation_response.rb +213 -0
  47. data/lib/pulp_npm_client/models/content_summary.rb +240 -0
  48. data/lib/pulp_npm_client/models/content_summary_response.rb +240 -0
  49. data/lib/pulp_npm_client/models/npm_npm_distribution.rb +261 -0
  50. data/lib/pulp_npm_client/models/npm_npm_distribution_response.rb +290 -0
  51. data/lib/pulp_npm_client/models/npm_npm_remote.rb +339 -0
  52. data/lib/pulp_npm_client/models/npm_npm_remote_response.rb +368 -0
  53. data/lib/pulp_npm_client/models/npm_npm_repository.rb +234 -0
  54. data/lib/pulp_npm_client/models/npm_npm_repository_response.rb +271 -0
  55. data/lib/pulp_npm_client/models/npm_package.rb +270 -0
  56. data/lib/pulp_npm_client/models/npm_package_response.rb +269 -0
  57. data/lib/pulp_npm_client/models/paginated_repository_version_response_list.rb +237 -0
  58. data/lib/pulp_npm_client/models/paginatednpm_npm_distribution_response_list.rb +237 -0
  59. data/lib/pulp_npm_client/models/paginatednpm_npm_remote_response_list.rb +237 -0
  60. data/lib/pulp_npm_client/models/paginatednpm_npm_repository_response_list.rb +237 -0
  61. data/lib/pulp_npm_client/models/paginatednpm_package_response_list.rb +237 -0
  62. data/lib/pulp_npm_client/models/patchednpm_npm_distribution.rb +251 -0
  63. data/lib/pulp_npm_client/models/patchednpm_npm_remote.rb +329 -0
  64. data/lib/pulp_npm_client/models/patchednpm_npm_repository.rb +229 -0
  65. data/lib/pulp_npm_client/models/policy_enum.rb +37 -0
  66. data/lib/pulp_npm_client/models/repository_add_remove_content.rb +232 -0
  67. data/lib/pulp_npm_client/models/repository_sync_url.rb +220 -0
  68. data/lib/pulp_npm_client/models/repository_version.rb +208 -0
  69. data/lib/pulp_npm_client/models/repository_version_response.rb +246 -0
  70. data/lib/pulp_npm_client/version.rb +15 -0
  71. data/pulp_npm_client.gemspec +39 -0
  72. data/spec/api/content_packages_api_spec.rb +87 -0
  73. data/spec/api/distributions_npm_api_spec.rb +121 -0
  74. data/spec/api/pulp_npm_packages_api_spec.rb +48 -0
  75. data/spec/api/remotes_npm_api_spec.rb +123 -0
  76. data/spec/api/repositories_npm_api_spec.rb +143 -0
  77. data/spec/api/repositories_npm_versions_api_spec.rb +104 -0
  78. data/spec/api_client_spec.rb +188 -0
  79. data/spec/configuration_spec.rb +42 -0
  80. data/spec/models/async_operation_response_spec.rb +41 -0
  81. data/spec/models/content_summary_response_spec.rb +53 -0
  82. data/spec/models/content_summary_spec.rb +53 -0
  83. data/spec/models/npm_npm_distribution_response_spec.rb +83 -0
  84. data/spec/models/npm_npm_distribution_spec.rb +65 -0
  85. data/spec/models/npm_npm_remote_response_spec.rb +119 -0
  86. data/spec/models/npm_npm_remote_spec.rb +101 -0
  87. data/spec/models/npm_npm_repository_response_spec.rb +77 -0
  88. data/spec/models/npm_npm_repository_spec.rb +53 -0
  89. data/spec/models/npm_package_response_spec.rb +71 -0
  90. data/spec/models/npm_package_spec.rb +71 -0
  91. data/spec/models/paginated_repository_version_response_list_spec.rb +59 -0
  92. data/spec/models/paginatednpm_npm_distribution_response_list_spec.rb +59 -0
  93. data/spec/models/paginatednpm_npm_remote_response_list_spec.rb +59 -0
  94. data/spec/models/paginatednpm_npm_repository_response_list_spec.rb +59 -0
  95. data/spec/models/paginatednpm_package_response_list_spec.rb +59 -0
  96. data/spec/models/patchednpm_npm_distribution_spec.rb +65 -0
  97. data/spec/models/patchednpm_npm_remote_spec.rb +101 -0
  98. data/spec/models/patchednpm_npm_repository_spec.rb +53 -0
  99. data/spec/models/policy_enum_spec.rb +35 -0
  100. data/spec/models/repository_add_remove_content_spec.rb +53 -0
  101. data/spec/models/repository_sync_url_spec.rb +47 -0
  102. data/spec/models/repository_version_response_spec.rb +65 -0
  103. data/spec/models/repository_version_spec.rb +41 -0
  104. data/spec/spec_helper.rb +111 -0
  105. metadata +233 -0
@@ -0,0 +1,364 @@
1
+ # PulpNpmClient::DistributionsNpmApi
2
+
3
+ All URIs are relative to *http://pulp*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**create**](DistributionsNpmApi.md#create) | **POST** /pulp/api/v3/distributions/npm/npm/ | Create a npm distribution
8
+ [**delete**](DistributionsNpmApi.md#delete) | **DELETE** {npm_npm_distribution_href} | Delete a npm distribution
9
+ [**list**](DistributionsNpmApi.md#list) | **GET** /pulp/api/v3/distributions/npm/npm/ | List npm distributions
10
+ [**partial_update**](DistributionsNpmApi.md#partial_update) | **PATCH** {npm_npm_distribution_href} | Update a npm distribution
11
+ [**read**](DistributionsNpmApi.md#read) | **GET** {npm_npm_distribution_href} | Inspect a npm distribution
12
+ [**update**](DistributionsNpmApi.md#update) | **PUT** {npm_npm_distribution_href} | Update a npm distribution
13
+
14
+
15
+
16
+ ## create
17
+
18
+ > AsyncOperationResponse create(npm_npm_distribution)
19
+
20
+ Create a npm distribution
21
+
22
+ Trigger an asynchronous create task
23
+
24
+ ### Example
25
+
26
+ ```ruby
27
+ # load the gem
28
+ require 'pulp_npm_client'
29
+ # setup authorization
30
+ PulpNpmClient.configure do |config|
31
+ # Configure HTTP basic authorization: basicAuth
32
+ config.username = 'YOUR USERNAME'
33
+ config.password = 'YOUR PASSWORD'
34
+ end
35
+
36
+ api_instance = PulpNpmClient::DistributionsNpmApi.new
37
+ npm_npm_distribution = PulpNpmClient::NpmNpmDistribution.new # NpmNpmDistribution |
38
+
39
+ begin
40
+ #Create a npm distribution
41
+ result = api_instance.create(npm_npm_distribution)
42
+ p result
43
+ rescue PulpNpmClient::ApiError => e
44
+ puts "Exception when calling DistributionsNpmApi->create: #{e}"
45
+ end
46
+ ```
47
+
48
+ ### Parameters
49
+
50
+
51
+ Name | Type | Description | Notes
52
+ ------------- | ------------- | ------------- | -------------
53
+ **npm_npm_distribution** | [**NpmNpmDistribution**](NpmNpmDistribution.md)| |
54
+
55
+ ### Return type
56
+
57
+ [**AsyncOperationResponse**](AsyncOperationResponse.md)
58
+
59
+ ### Authorization
60
+
61
+ [basicAuth](../README.md#basicAuth)
62
+
63
+ ### HTTP request headers
64
+
65
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
66
+ - **Accept**: application/json
67
+
68
+
69
+ ## delete
70
+
71
+ > AsyncOperationResponse delete(npm_npm_distribution_href)
72
+
73
+ Delete a npm distribution
74
+
75
+ Trigger an asynchronous delete task
76
+
77
+ ### Example
78
+
79
+ ```ruby
80
+ # load the gem
81
+ require 'pulp_npm_client'
82
+ # setup authorization
83
+ PulpNpmClient.configure do |config|
84
+ # Configure HTTP basic authorization: basicAuth
85
+ config.username = 'YOUR USERNAME'
86
+ config.password = 'YOUR PASSWORD'
87
+ end
88
+
89
+ api_instance = PulpNpmClient::DistributionsNpmApi.new
90
+ npm_npm_distribution_href = 'npm_npm_distribution_href_example' # String |
91
+
92
+ begin
93
+ #Delete a npm distribution
94
+ result = api_instance.delete(npm_npm_distribution_href)
95
+ p result
96
+ rescue PulpNpmClient::ApiError => e
97
+ puts "Exception when calling DistributionsNpmApi->delete: #{e}"
98
+ end
99
+ ```
100
+
101
+ ### Parameters
102
+
103
+
104
+ Name | Type | Description | Notes
105
+ ------------- | ------------- | ------------- | -------------
106
+ **npm_npm_distribution_href** | **String**| |
107
+
108
+ ### Return type
109
+
110
+ [**AsyncOperationResponse**](AsyncOperationResponse.md)
111
+
112
+ ### Authorization
113
+
114
+ [basicAuth](../README.md#basicAuth)
115
+
116
+ ### HTTP request headers
117
+
118
+ - **Content-Type**: Not defined
119
+ - **Accept**: application/json
120
+
121
+
122
+ ## list
123
+
124
+ > PaginatednpmNpmDistributionResponseList list(opts)
125
+
126
+ List npm distributions
127
+
128
+ ViewSet for NPM Distributions.
129
+
130
+ ### Example
131
+
132
+ ```ruby
133
+ # load the gem
134
+ require 'pulp_npm_client'
135
+ # setup authorization
136
+ PulpNpmClient.configure do |config|
137
+ # Configure HTTP basic authorization: basicAuth
138
+ config.username = 'YOUR USERNAME'
139
+ config.password = 'YOUR PASSWORD'
140
+ end
141
+
142
+ api_instance = PulpNpmClient::DistributionsNpmApi.new
143
+ opts = {
144
+ base_path: 'base_path_example', # String | base_path
145
+ base_path__contains: 'base_path__contains_example', # String | base_path__contains
146
+ base_path__icontains: 'base_path__icontains_example', # String | base_path__icontains
147
+ base_path__in: 'base_path__in_example', # String | base_path__in
148
+ limit: 56, # Integer | Number of results to return per page.
149
+ name: 'name_example', # String | name
150
+ name__in: 'name__in_example', # String | name__in
151
+ offset: 56, # Integer | The initial index from which to return the results.
152
+ ordering: 'ordering_example', # String | Which field to use when ordering the results.
153
+ fields: 'fields_example', # String | A list of fields to include in the response.
154
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
155
+ }
156
+
157
+ begin
158
+ #List npm distributions
159
+ result = api_instance.list(opts)
160
+ p result
161
+ rescue PulpNpmClient::ApiError => e
162
+ puts "Exception when calling DistributionsNpmApi->list: #{e}"
163
+ end
164
+ ```
165
+
166
+ ### Parameters
167
+
168
+
169
+ Name | Type | Description | Notes
170
+ ------------- | ------------- | ------------- | -------------
171
+ **base_path** | **String**| base_path | [optional]
172
+ **base_path__contains** | **String**| base_path__contains | [optional]
173
+ **base_path__icontains** | **String**| base_path__icontains | [optional]
174
+ **base_path__in** | **String**| base_path__in | [optional]
175
+ **limit** | **Integer**| Number of results to return per page. | [optional]
176
+ **name** | **String**| name | [optional]
177
+ **name__in** | **String**| name__in | [optional]
178
+ **offset** | **Integer**| The initial index from which to return the results. | [optional]
179
+ **ordering** | **String**| Which field to use when ordering the results. | [optional]
180
+ **fields** | **String**| A list of fields to include in the response. | [optional]
181
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
182
+
183
+ ### Return type
184
+
185
+ [**PaginatednpmNpmDistributionResponseList**](PaginatednpmNpmDistributionResponseList.md)
186
+
187
+ ### Authorization
188
+
189
+ [basicAuth](../README.md#basicAuth)
190
+
191
+ ### HTTP request headers
192
+
193
+ - **Content-Type**: Not defined
194
+ - **Accept**: application/json
195
+
196
+
197
+ ## partial_update
198
+
199
+ > AsyncOperationResponse partial_update(npm_npm_distribution_href, patchednpm_npm_distribution)
200
+
201
+ Update a npm distribution
202
+
203
+ Trigger an asynchronous partial update task
204
+
205
+ ### Example
206
+
207
+ ```ruby
208
+ # load the gem
209
+ require 'pulp_npm_client'
210
+ # setup authorization
211
+ PulpNpmClient.configure do |config|
212
+ # Configure HTTP basic authorization: basicAuth
213
+ config.username = 'YOUR USERNAME'
214
+ config.password = 'YOUR PASSWORD'
215
+ end
216
+
217
+ api_instance = PulpNpmClient::DistributionsNpmApi.new
218
+ npm_npm_distribution_href = 'npm_npm_distribution_href_example' # String |
219
+ patchednpm_npm_distribution = PulpNpmClient::PatchednpmNpmDistribution.new # PatchednpmNpmDistribution |
220
+
221
+ begin
222
+ #Update a npm distribution
223
+ result = api_instance.partial_update(npm_npm_distribution_href, patchednpm_npm_distribution)
224
+ p result
225
+ rescue PulpNpmClient::ApiError => e
226
+ puts "Exception when calling DistributionsNpmApi->partial_update: #{e}"
227
+ end
228
+ ```
229
+
230
+ ### Parameters
231
+
232
+
233
+ Name | Type | Description | Notes
234
+ ------------- | ------------- | ------------- | -------------
235
+ **npm_npm_distribution_href** | **String**| |
236
+ **patchednpm_npm_distribution** | [**PatchednpmNpmDistribution**](PatchednpmNpmDistribution.md)| |
237
+
238
+ ### Return type
239
+
240
+ [**AsyncOperationResponse**](AsyncOperationResponse.md)
241
+
242
+ ### Authorization
243
+
244
+ [basicAuth](../README.md#basicAuth)
245
+
246
+ ### HTTP request headers
247
+
248
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
249
+ - **Accept**: application/json
250
+
251
+
252
+ ## read
253
+
254
+ > NpmNpmDistributionResponse read(npm_npm_distribution_href, opts)
255
+
256
+ Inspect a npm distribution
257
+
258
+ ViewSet for NPM Distributions.
259
+
260
+ ### Example
261
+
262
+ ```ruby
263
+ # load the gem
264
+ require 'pulp_npm_client'
265
+ # setup authorization
266
+ PulpNpmClient.configure do |config|
267
+ # Configure HTTP basic authorization: basicAuth
268
+ config.username = 'YOUR USERNAME'
269
+ config.password = 'YOUR PASSWORD'
270
+ end
271
+
272
+ api_instance = PulpNpmClient::DistributionsNpmApi.new
273
+ npm_npm_distribution_href = 'npm_npm_distribution_href_example' # String |
274
+ opts = {
275
+ fields: 'fields_example', # String | A list of fields to include in the response.
276
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
277
+ }
278
+
279
+ begin
280
+ #Inspect a npm distribution
281
+ result = api_instance.read(npm_npm_distribution_href, opts)
282
+ p result
283
+ rescue PulpNpmClient::ApiError => e
284
+ puts "Exception when calling DistributionsNpmApi->read: #{e}"
285
+ end
286
+ ```
287
+
288
+ ### Parameters
289
+
290
+
291
+ Name | Type | Description | Notes
292
+ ------------- | ------------- | ------------- | -------------
293
+ **npm_npm_distribution_href** | **String**| |
294
+ **fields** | **String**| A list of fields to include in the response. | [optional]
295
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
296
+
297
+ ### Return type
298
+
299
+ [**NpmNpmDistributionResponse**](NpmNpmDistributionResponse.md)
300
+
301
+ ### Authorization
302
+
303
+ [basicAuth](../README.md#basicAuth)
304
+
305
+ ### HTTP request headers
306
+
307
+ - **Content-Type**: Not defined
308
+ - **Accept**: application/json
309
+
310
+
311
+ ## update
312
+
313
+ > AsyncOperationResponse update(npm_npm_distribution_href, npm_npm_distribution)
314
+
315
+ Update a npm distribution
316
+
317
+ Trigger an asynchronous update task
318
+
319
+ ### Example
320
+
321
+ ```ruby
322
+ # load the gem
323
+ require 'pulp_npm_client'
324
+ # setup authorization
325
+ PulpNpmClient.configure do |config|
326
+ # Configure HTTP basic authorization: basicAuth
327
+ config.username = 'YOUR USERNAME'
328
+ config.password = 'YOUR PASSWORD'
329
+ end
330
+
331
+ api_instance = PulpNpmClient::DistributionsNpmApi.new
332
+ npm_npm_distribution_href = 'npm_npm_distribution_href_example' # String |
333
+ npm_npm_distribution = PulpNpmClient::NpmNpmDistribution.new # NpmNpmDistribution |
334
+
335
+ begin
336
+ #Update a npm distribution
337
+ result = api_instance.update(npm_npm_distribution_href, npm_npm_distribution)
338
+ p result
339
+ rescue PulpNpmClient::ApiError => e
340
+ puts "Exception when calling DistributionsNpmApi->update: #{e}"
341
+ end
342
+ ```
343
+
344
+ ### Parameters
345
+
346
+
347
+ Name | Type | Description | Notes
348
+ ------------- | ------------- | ------------- | -------------
349
+ **npm_npm_distribution_href** | **String**| |
350
+ **npm_npm_distribution** | [**NpmNpmDistribution**](NpmNpmDistribution.md)| |
351
+
352
+ ### Return type
353
+
354
+ [**AsyncOperationResponse**](AsyncOperationResponse.md)
355
+
356
+ ### Authorization
357
+
358
+ [basicAuth](../README.md#basicAuth)
359
+
360
+ ### HTTP request headers
361
+
362
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
363
+ - **Accept**: application/json
364
+
@@ -0,0 +1,25 @@
1
+ # PulpNpmClient::NpmNpmDistribution
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
8
+ **content_guard** | **String** | An optional content-guard. | [optional]
9
+ **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
10
+ **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
11
+ **repository_version** | **String** | RepositoryVersion to be served | [optional]
12
+
13
+ ## Code Sample
14
+
15
+ ```ruby
16
+ require 'PulpNpmClient'
17
+
18
+ instance = PulpNpmClient::NpmNpmDistribution.new(base_path: null,
19
+ content_guard: null,
20
+ name: null,
21
+ repository: null,
22
+ repository_version: null)
23
+ ```
24
+
25
+
@@ -0,0 +1,31 @@
1
+ # PulpNpmClient::NpmNpmDistributionResponse
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **pulp_href** | **String** | | [optional] [readonly]
8
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
+ **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
10
+ **base_url** | **String** | The URL for accessing the universe API as defined by this distribution. | [optional] [readonly]
11
+ **content_guard** | **String** | An optional content-guard. | [optional]
12
+ **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
13
+ **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
14
+ **repository_version** | **String** | RepositoryVersion to be served | [optional]
15
+
16
+ ## Code Sample
17
+
18
+ ```ruby
19
+ require 'PulpNpmClient'
20
+
21
+ instance = PulpNpmClient::NpmNpmDistributionResponse.new(pulp_href: null,
22
+ pulp_created: null,
23
+ base_path: null,
24
+ base_url: null,
25
+ content_guard: null,
26
+ name: null,
27
+ repository: null,
28
+ repository_version: null)
29
+ ```
30
+
31
+
@@ -0,0 +1,37 @@
1
+ # PulpNpmClient::NpmNpmRemote
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **name** | **String** | A unique name for this remote. |
8
+ **url** | **String** | The URL of an external content source. |
9
+ **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
10
+ **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
11
+ **client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
12
+ **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
13
+ **proxy_url** | **String** | The proxy URL. Format: scheme://user:password@host:port | [optional]
14
+ **username** | **String** | The username to be used for authentication when syncing. | [optional]
15
+ **password** | **String** | The password to be used for authentication when syncing. | [optional]
16
+ **download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
17
+ **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default. | [optional]
18
+
19
+ ## Code Sample
20
+
21
+ ```ruby
22
+ require 'PulpNpmClient'
23
+
24
+ instance = PulpNpmClient::NpmNpmRemote.new(name: null,
25
+ url: null,
26
+ ca_cert: null,
27
+ client_cert: null,
28
+ client_key: null,
29
+ tls_validation: null,
30
+ proxy_url: null,
31
+ username: null,
32
+ password: null,
33
+ download_concurrency: null,
34
+ policy: null)
35
+ ```
36
+
37
+