@alicloud/ecd20200930 4.16.0 → 4.16.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.js +9 -0
- package/dist/client.js.map +1 -1
- package/dist/models/AllocateIpAddressRequest.d.ts +3 -0
- package/dist/models/AllocateIpAddressRequest.js +6 -0
- package/dist/models/AllocateIpAddressRequest.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +12 -0
- package/src/models/AllocateIpAddressRequest.ts +9 -0
package/dist/client.js
CHANGED
|
@@ -394,6 +394,15 @@ class Client extends openapi_core_1.default {
|
|
|
394
394
|
async allocateIpAddressWithOptions(request, runtime) {
|
|
395
395
|
request.validate();
|
|
396
396
|
let query = {};
|
|
397
|
+
if (!$dara.isNull(request.bandwidth)) {
|
|
398
|
+
query["Bandwidth"] = request.bandwidth;
|
|
399
|
+
}
|
|
400
|
+
if (!$dara.isNull(request.internetChargeType)) {
|
|
401
|
+
query["InternetChargeType"] = request.internetChargeType;
|
|
402
|
+
}
|
|
403
|
+
if (!$dara.isNull(request.name)) {
|
|
404
|
+
query["Name"] = request.name;
|
|
405
|
+
}
|
|
397
406
|
if (!$dara.isNull(request.networkInterfaceId)) {
|
|
398
407
|
query["NetworkInterfaceId"] = request.networkInterfaceId;
|
|
399
408
|
}
|