@alicloud/ecd20201002 2.1.6 → 2.2.0

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/src/client.ts CHANGED
@@ -860,6 +860,691 @@ export class DescribeSnapshotsResponseBodySnapshots extends $dara.Model {
860
860
  }
861
861
  }
862
862
 
863
+ export class DescribeUserResourcesResponseBodyResourcesClients extends $dara.Model {
864
+ /**
865
+ * @example
866
+ * windows
867
+ */
868
+ clientType?: string;
869
+ /**
870
+ * @example
871
+ * ON
872
+ */
873
+ status?: string;
874
+ static names(): { [key: string]: string } {
875
+ return {
876
+ clientType: 'ClientType',
877
+ status: 'Status',
878
+ };
879
+ }
880
+
881
+ static types(): { [key: string]: any } {
882
+ return {
883
+ clientType: 'string',
884
+ status: 'string',
885
+ };
886
+ }
887
+
888
+ validate() {
889
+ super.validate();
890
+ }
891
+
892
+ constructor(map?: { [key: string]: any }) {
893
+ super(map);
894
+ }
895
+ }
896
+
897
+ export class DescribeUserResourcesResponseBodyResourcesDesktopDurationList extends $dara.Model {
898
+ /**
899
+ * @example
900
+ * mdp-0bxls4qpi6bl6****
901
+ */
902
+ orderInstanceId?: string;
903
+ /**
904
+ * @example
905
+ * 2025-01-17T07:01Z
906
+ */
907
+ packageCreationTime?: string;
908
+ /**
909
+ * @example
910
+ * 2025-02-17T15:59Z
911
+ */
912
+ packageExpiredTime?: string;
913
+ /**
914
+ * @example
915
+ * mdp-0bxls4qpi6bl6****
916
+ */
917
+ packageId?: string;
918
+ /**
919
+ * @example
920
+ * Available
921
+ */
922
+ packageStatus?: string;
923
+ /**
924
+ * @example
925
+ * NORMAL_PACKAGE
926
+ */
927
+ packageType?: string;
928
+ /**
929
+ * @example
930
+ * Postpaid
931
+ */
932
+ packageUsedUpStrategy?: string;
933
+ /**
934
+ * @example
935
+ * 2025-02-17T15:59Z
936
+ */
937
+ periodEndTime?: string;
938
+ /**
939
+ * @example
940
+ * 2025-01-17T07:01Z
941
+ */
942
+ periodStartTime?: string;
943
+ /**
944
+ * @example
945
+ * 199
946
+ */
947
+ postPaidLimitFee?: number;
948
+ /**
949
+ * @example
950
+ * 432000
951
+ */
952
+ totalDuration?: number;
953
+ /**
954
+ * @example
955
+ * 16850
956
+ */
957
+ usedDuration?: number;
958
+ static names(): { [key: string]: string } {
959
+ return {
960
+ orderInstanceId: 'OrderInstanceId',
961
+ packageCreationTime: 'PackageCreationTime',
962
+ packageExpiredTime: 'PackageExpiredTime',
963
+ packageId: 'PackageId',
964
+ packageStatus: 'PackageStatus',
965
+ packageType: 'PackageType',
966
+ packageUsedUpStrategy: 'PackageUsedUpStrategy',
967
+ periodEndTime: 'PeriodEndTime',
968
+ periodStartTime: 'PeriodStartTime',
969
+ postPaidLimitFee: 'PostPaidLimitFee',
970
+ totalDuration: 'TotalDuration',
971
+ usedDuration: 'UsedDuration',
972
+ };
973
+ }
974
+
975
+ static types(): { [key: string]: any } {
976
+ return {
977
+ orderInstanceId: 'string',
978
+ packageCreationTime: 'string',
979
+ packageExpiredTime: 'string',
980
+ packageId: 'string',
981
+ packageStatus: 'string',
982
+ packageType: 'string',
983
+ packageUsedUpStrategy: 'string',
984
+ periodEndTime: 'string',
985
+ periodStartTime: 'string',
986
+ postPaidLimitFee: 'number',
987
+ totalDuration: 'number',
988
+ usedDuration: 'number',
989
+ };
990
+ }
991
+
992
+ validate() {
993
+ super.validate();
994
+ }
995
+
996
+ constructor(map?: { [key: string]: any }) {
997
+ super(map);
998
+ }
999
+ }
1000
+
1001
+ export class DescribeUserResourcesResponseBodyResourcesDesktopTimers extends $dara.Model {
1002
+ /**
1003
+ * @example
1004
+ * false
1005
+ */
1006
+ allowClientSetting?: string;
1007
+ /**
1008
+ * @example
1009
+ * 0 30 13 ? * 1-7
1010
+ */
1011
+ cronExpression?: string;
1012
+ /**
1013
+ * @example
1014
+ * false
1015
+ */
1016
+ enforce?: boolean;
1017
+ /**
1018
+ * @example
1019
+ * 2025-01-21T11:37Z
1020
+ */
1021
+ executionTime?: string;
1022
+ /**
1023
+ * @example
1024
+ * 15
1025
+ */
1026
+ interval?: number;
1027
+ /**
1028
+ * @example
1029
+ * Hibernate
1030
+ */
1031
+ operationType?: string;
1032
+ /**
1033
+ * @example
1034
+ * RESET_TYPE_SYSTEM
1035
+ */
1036
+ resetType?: string;
1037
+ /**
1038
+ * @example
1039
+ * TimerBoot
1040
+ */
1041
+ timerType?: string;
1042
+ static names(): { [key: string]: string } {
1043
+ return {
1044
+ allowClientSetting: 'AllowClientSetting',
1045
+ cronExpression: 'CronExpression',
1046
+ enforce: 'Enforce',
1047
+ executionTime: 'ExecutionTime',
1048
+ interval: 'Interval',
1049
+ operationType: 'OperationType',
1050
+ resetType: 'ResetType',
1051
+ timerType: 'TimerType',
1052
+ };
1053
+ }
1054
+
1055
+ static types(): { [key: string]: any } {
1056
+ return {
1057
+ allowClientSetting: 'string',
1058
+ cronExpression: 'string',
1059
+ enforce: 'boolean',
1060
+ executionTime: 'string',
1061
+ interval: 'number',
1062
+ operationType: 'string',
1063
+ resetType: 'string',
1064
+ timerType: 'string',
1065
+ };
1066
+ }
1067
+
1068
+ validate() {
1069
+ super.validate();
1070
+ }
1071
+
1072
+ constructor(map?: { [key: string]: any }) {
1073
+ super(map);
1074
+ }
1075
+ }
1076
+
1077
+ export class DescribeUserResourcesResponseBodyResourcesFotaUpdate extends $dara.Model {
1078
+ /**
1079
+ * @example
1080
+ * aliyun
1081
+ */
1082
+ channel?: string;
1083
+ /**
1084
+ * @example
1085
+ * 2.7.0-R-20250122.154826
1086
+ */
1087
+ currentAppVersion?: string;
1088
+ /**
1089
+ * @example
1090
+ * false
1091
+ */
1092
+ force?: boolean;
1093
+ /**
1094
+ * @example
1095
+ * 2.7.0-R-20250125.154826
1096
+ */
1097
+ newAppVersion?: string;
1098
+ /**
1099
+ * @example
1100
+ * 2.6.9-R-20250123.153415
1101
+ */
1102
+ newDcdVersion?: string;
1103
+ /**
1104
+ * @example
1105
+ * wuying-asp_single_session_desktop_win_x64
1106
+ */
1107
+ project?: string;
1108
+ /**
1109
+ * @example
1110
+ * up
1111
+ */
1112
+ releaseNote?: string;
1113
+ /**
1114
+ * @example
1115
+ * up
1116
+ */
1117
+ releaseNoteEn?: string;
1118
+ /**
1119
+ * @example
1120
+ * up
1121
+ */
1122
+ releaseNoteJp?: string;
1123
+ /**
1124
+ * @example
1125
+ * 474981930
1126
+ */
1127
+ size?: string;
1128
+ static names(): { [key: string]: string } {
1129
+ return {
1130
+ channel: 'Channel',
1131
+ currentAppVersion: 'CurrentAppVersion',
1132
+ force: 'Force',
1133
+ newAppVersion: 'NewAppVersion',
1134
+ newDcdVersion: 'NewDcdVersion',
1135
+ project: 'Project',
1136
+ releaseNote: 'ReleaseNote',
1137
+ releaseNoteEn: 'ReleaseNoteEn',
1138
+ releaseNoteJp: 'ReleaseNoteJp',
1139
+ size: 'Size',
1140
+ };
1141
+ }
1142
+
1143
+ static types(): { [key: string]: any } {
1144
+ return {
1145
+ channel: 'string',
1146
+ currentAppVersion: 'string',
1147
+ force: 'boolean',
1148
+ newAppVersion: 'string',
1149
+ newDcdVersion: 'string',
1150
+ project: 'string',
1151
+ releaseNote: 'string',
1152
+ releaseNoteEn: 'string',
1153
+ releaseNoteJp: 'string',
1154
+ size: 'string',
1155
+ };
1156
+ }
1157
+
1158
+ validate() {
1159
+ super.validate();
1160
+ }
1161
+
1162
+ constructor(map?: { [key: string]: any }) {
1163
+ super(map);
1164
+ }
1165
+ }
1166
+
1167
+ export class DescribeUserResourcesResponseBodyResourcesSessions extends $dara.Model {
1168
+ /**
1169
+ * @example
1170
+ * 2025-01-22T11:03:36Z
1171
+ */
1172
+ resourceSessionStartTime?: string;
1173
+ /**
1174
+ * @example
1175
+ * user001
1176
+ */
1177
+ userId?: string;
1178
+ /**
1179
+ * @example
1180
+ * benchmark_test@test.shenzhen
1181
+ */
1182
+ userPrincipalName?: string;
1183
+ static names(): { [key: string]: string } {
1184
+ return {
1185
+ resourceSessionStartTime: 'ResourceSessionStartTime',
1186
+ userId: 'UserId',
1187
+ userPrincipalName: 'UserPrincipalName',
1188
+ };
1189
+ }
1190
+
1191
+ static types(): { [key: string]: any } {
1192
+ return {
1193
+ resourceSessionStartTime: 'string',
1194
+ userId: 'string',
1195
+ userPrincipalName: 'string',
1196
+ };
1197
+ }
1198
+
1199
+ validate() {
1200
+ super.validate();
1201
+ }
1202
+
1203
+ constructor(map?: { [key: string]: any }) {
1204
+ super(map);
1205
+ }
1206
+ }
1207
+
1208
+ export class DescribeUserResourcesResponseBodyResources extends $dara.Model {
1209
+ /**
1210
+ * @example
1211
+ * INTERNET
1212
+ */
1213
+ accessType?: string;
1214
+ /**
1215
+ * @example
1216
+ * 194101959****
1217
+ */
1218
+ aliUid?: number;
1219
+ /**
1220
+ * @example
1221
+ * app-0001
1222
+ */
1223
+ appId?: string;
1224
+ /**
1225
+ * @example
1226
+ * App
1227
+ */
1228
+ authMode?: string;
1229
+ /**
1230
+ * @example
1231
+ * 0
1232
+ */
1233
+ categoryId?: number;
1234
+ /**
1235
+ * @example
1236
+ * 1
1237
+ */
1238
+ categoryType?: number;
1239
+ /**
1240
+ * @example
1241
+ * cn-shanghai+cds-695277****
1242
+ */
1243
+ cdsName?: string;
1244
+ /**
1245
+ * @example
1246
+ * ecds-0****
1247
+ */
1248
+ centerResourceId?: string;
1249
+ /**
1250
+ * @example
1251
+ * PrePaid
1252
+ */
1253
+ chargeType?: string;
1254
+ clients?: DescribeUserResourcesResponseBodyResourcesClients[];
1255
+ /**
1256
+ * @example
1257
+ * {"authMode":"App"}
1258
+ */
1259
+ connectionProperties?: string;
1260
+ /**
1261
+ * @example
1262
+ * 2024-12-11T07:12:12Z
1263
+ */
1264
+ createTime?: string;
1265
+ desktopDurationList?: DescribeUserResourcesResponseBodyResourcesDesktopDurationList[];
1266
+ desktopTimers?: DescribeUserResourcesResponseBodyResourcesDesktopTimers[];
1267
+ /**
1268
+ * @example
1269
+ * 2025-02-22T16:00:00Z
1270
+ */
1271
+ expiredTime?: string;
1272
+ /**
1273
+ * @example
1274
+ * stg114510
1275
+ */
1276
+ externalDomainId?: string;
1277
+ /**
1278
+ * @example
1279
+ * test001
1280
+ */
1281
+ externalUserId?: string;
1282
+ fotaUpdate?: DescribeUserResourcesResponseBodyResourcesFotaUpdate;
1283
+ /**
1284
+ * @example
1285
+ * true
1286
+ */
1287
+ globalStatus?: boolean;
1288
+ /**
1289
+ * @example
1290
+ * false
1291
+ */
1292
+ hibernationBeta?: boolean;
1293
+ /**
1294
+ * @example
1295
+ * http://example.com/icon.png
1296
+ */
1297
+ icon?: string;
1298
+ /**
1299
+ * @example
1300
+ * 2025-01-24T03:12:04Z
1301
+ */
1302
+ lastStartTime?: string;
1303
+ localName?: string;
1304
+ managementStatuses?: string[];
1305
+ /**
1306
+ * @example
1307
+ * cn-shanghai+dir-3367****
1308
+ */
1309
+ officeSiteId?: string;
1310
+ /**
1311
+ * @example
1312
+ * Normal
1313
+ */
1314
+ orderStatus?: string;
1315
+ /**
1316
+ * @example
1317
+ * Windows Server 2022
1318
+ */
1319
+ os?: string;
1320
+ osDescription?: string;
1321
+ /**
1322
+ * @example
1323
+ * Windows
1324
+ */
1325
+ osType?: string;
1326
+ /**
1327
+ * @example
1328
+ * AndroidCloud
1329
+ */
1330
+ productType?: string;
1331
+ /**
1332
+ * @example
1333
+ * ASP
1334
+ */
1335
+ protocolType?: string;
1336
+ /**
1337
+ * @example
1338
+ * ecd-0001
1339
+ */
1340
+ realDesktopId?: string;
1341
+ /**
1342
+ * @example
1343
+ * cn-hangzhou
1344
+ */
1345
+ regionId?: string;
1346
+ /**
1347
+ * @example
1348
+ * Mainland
1349
+ */
1350
+ regionLocation?: string;
1351
+ /**
1352
+ * @example
1353
+ * dg-0****
1354
+ */
1355
+ resourceGroupId?: string;
1356
+ /**
1357
+ * @example
1358
+ * ecd-d19tya8zi4****
1359
+ */
1360
+ resourceId?: string;
1361
+ /**
1362
+ * @example
1363
+ * Center
1364
+ */
1365
+ resourceLevel?: string;
1366
+ /**
1367
+ * @example
1368
+ * testName01
1369
+ */
1370
+ resourceName?: string;
1371
+ /**
1372
+ * @example
1373
+ * Connected
1374
+ */
1375
+ resourceSessionStatus?: string;
1376
+ /**
1377
+ * @example
1378
+ * Running
1379
+ */
1380
+ resourceStatus?: string;
1381
+ /**
1382
+ * @example
1383
+ * Desktop
1384
+ */
1385
+ resourceType?: string;
1386
+ /**
1387
+ * @example
1388
+ * SINGLE_SESSION
1389
+ */
1390
+ sessionType?: string;
1391
+ sessions?: DescribeUserResourcesResponseBodyResourcesSessions[];
1392
+ /**
1393
+ * @example
1394
+ * PrePaid
1395
+ */
1396
+ subPayType?: string;
1397
+ /**
1398
+ * @example
1399
+ * true
1400
+ */
1401
+ supportHibernation?: boolean;
1402
+ supportedActions?: string[];
1403
+ /**
1404
+ * @example
1405
+ * #FFFFFF
1406
+ */
1407
+ themeColor?: string;
1408
+ userCustomName?: string;
1409
+ version?: string;
1410
+ static names(): { [key: string]: string } {
1411
+ return {
1412
+ accessType: 'AccessType',
1413
+ aliUid: 'AliUid',
1414
+ appId: 'AppId',
1415
+ authMode: 'AuthMode',
1416
+ categoryId: 'CategoryId',
1417
+ categoryType: 'CategoryType',
1418
+ cdsName: 'CdsName',
1419
+ centerResourceId: 'CenterResourceId',
1420
+ chargeType: 'ChargeType',
1421
+ clients: 'Clients',
1422
+ connectionProperties: 'ConnectionProperties',
1423
+ createTime: 'CreateTime',
1424
+ desktopDurationList: 'DesktopDurationList',
1425
+ desktopTimers: 'DesktopTimers',
1426
+ expiredTime: 'ExpiredTime',
1427
+ externalDomainId: 'ExternalDomainId',
1428
+ externalUserId: 'ExternalUserId',
1429
+ fotaUpdate: 'FotaUpdate',
1430
+ globalStatus: 'GlobalStatus',
1431
+ hibernationBeta: 'HibernationBeta',
1432
+ icon: 'Icon',
1433
+ lastStartTime: 'LastStartTime',
1434
+ localName: 'LocalName',
1435
+ managementStatuses: 'ManagementStatuses',
1436
+ officeSiteId: 'OfficeSiteId',
1437
+ orderStatus: 'OrderStatus',
1438
+ os: 'Os',
1439
+ osDescription: 'OsDescription',
1440
+ osType: 'OsType',
1441
+ productType: 'ProductType',
1442
+ protocolType: 'ProtocolType',
1443
+ realDesktopId: 'RealDesktopId',
1444
+ regionId: 'RegionId',
1445
+ regionLocation: 'RegionLocation',
1446
+ resourceGroupId: 'ResourceGroupId',
1447
+ resourceId: 'ResourceId',
1448
+ resourceLevel: 'ResourceLevel',
1449
+ resourceName: 'ResourceName',
1450
+ resourceSessionStatus: 'ResourceSessionStatus',
1451
+ resourceStatus: 'ResourceStatus',
1452
+ resourceType: 'ResourceType',
1453
+ sessionType: 'SessionType',
1454
+ sessions: 'Sessions',
1455
+ subPayType: 'SubPayType',
1456
+ supportHibernation: 'SupportHibernation',
1457
+ supportedActions: 'SupportedActions',
1458
+ themeColor: 'ThemeColor',
1459
+ userCustomName: 'UserCustomName',
1460
+ version: 'Version',
1461
+ };
1462
+ }
1463
+
1464
+ static types(): { [key: string]: any } {
1465
+ return {
1466
+ accessType: 'string',
1467
+ aliUid: 'number',
1468
+ appId: 'string',
1469
+ authMode: 'string',
1470
+ categoryId: 'number',
1471
+ categoryType: 'number',
1472
+ cdsName: 'string',
1473
+ centerResourceId: 'string',
1474
+ chargeType: 'string',
1475
+ clients: { 'type': 'array', 'itemType': DescribeUserResourcesResponseBodyResourcesClients },
1476
+ connectionProperties: 'string',
1477
+ createTime: 'string',
1478
+ desktopDurationList: { 'type': 'array', 'itemType': DescribeUserResourcesResponseBodyResourcesDesktopDurationList },
1479
+ desktopTimers: { 'type': 'array', 'itemType': DescribeUserResourcesResponseBodyResourcesDesktopTimers },
1480
+ expiredTime: 'string',
1481
+ externalDomainId: 'string',
1482
+ externalUserId: 'string',
1483
+ fotaUpdate: DescribeUserResourcesResponseBodyResourcesFotaUpdate,
1484
+ globalStatus: 'boolean',
1485
+ hibernationBeta: 'boolean',
1486
+ icon: 'string',
1487
+ lastStartTime: 'string',
1488
+ localName: 'string',
1489
+ managementStatuses: { 'type': 'array', 'itemType': 'string' },
1490
+ officeSiteId: 'string',
1491
+ orderStatus: 'string',
1492
+ os: 'string',
1493
+ osDescription: 'string',
1494
+ osType: 'string',
1495
+ productType: 'string',
1496
+ protocolType: 'string',
1497
+ realDesktopId: 'string',
1498
+ regionId: 'string',
1499
+ regionLocation: 'string',
1500
+ resourceGroupId: 'string',
1501
+ resourceId: 'string',
1502
+ resourceLevel: 'string',
1503
+ resourceName: 'string',
1504
+ resourceSessionStatus: 'string',
1505
+ resourceStatus: 'string',
1506
+ resourceType: 'string',
1507
+ sessionType: 'string',
1508
+ sessions: { 'type': 'array', 'itemType': DescribeUserResourcesResponseBodyResourcesSessions },
1509
+ subPayType: 'string',
1510
+ supportHibernation: 'boolean',
1511
+ supportedActions: { 'type': 'array', 'itemType': 'string' },
1512
+ themeColor: 'string',
1513
+ userCustomName: 'string',
1514
+ version: 'string',
1515
+ };
1516
+ }
1517
+
1518
+ validate() {
1519
+ if(Array.isArray(this.clients)) {
1520
+ $dara.Model.validateArray(this.clients);
1521
+ }
1522
+ if(Array.isArray(this.desktopDurationList)) {
1523
+ $dara.Model.validateArray(this.desktopDurationList);
1524
+ }
1525
+ if(Array.isArray(this.desktopTimers)) {
1526
+ $dara.Model.validateArray(this.desktopTimers);
1527
+ }
1528
+ if(this.fotaUpdate && typeof (this.fotaUpdate as any).validate === 'function') {
1529
+ (this.fotaUpdate as any).validate();
1530
+ }
1531
+ if(Array.isArray(this.managementStatuses)) {
1532
+ $dara.Model.validateArray(this.managementStatuses);
1533
+ }
1534
+ if(Array.isArray(this.sessions)) {
1535
+ $dara.Model.validateArray(this.sessions);
1536
+ }
1537
+ if(Array.isArray(this.supportedActions)) {
1538
+ $dara.Model.validateArray(this.supportedActions);
1539
+ }
1540
+ super.validate();
1541
+ }
1542
+
1543
+ constructor(map?: { [key: string]: any }) {
1544
+ super(map);
1545
+ }
1546
+ }
1547
+
863
1548
  export class GetCloudDriveServiceMountTokenResponseBodyToken extends $dara.Model {
864
1549
  /**
865
1550
  * @example
@@ -2264,72 +2949,351 @@ export class DescribeSnapshotsRequest extends $dara.Model {
2264
2949
  clientId?: string;
2265
2950
  /**
2266
2951
  * @example
2267
- * ecd-gx2x1dhsmucyy****
2952
+ * ecd-gx2x1dhsmucyy****
2953
+ */
2954
+ desktopId?: string;
2955
+ /**
2956
+ * @remarks
2957
+ * This parameter is required.
2958
+ *
2959
+ * @example
2960
+ * v16abfb945208fc5745061668654680853da4a25202d1a394fcad57bba484e9827ad43ea7d10fb6bf13d44a4adc0e9****
2961
+ */
2962
+ loginToken?: string;
2963
+ /**
2964
+ * @example
2965
+ * 10
2966
+ */
2967
+ maxResults?: number;
2968
+ /**
2969
+ * @example
2970
+ * AAAAAV3MpHK1AP0pfERHZN5pu6nmB7qrRFJ8vmttjxPL****
2971
+ */
2972
+ nextToken?: string;
2973
+ /**
2974
+ * @remarks
2975
+ * This parameter is required.
2976
+ *
2977
+ * @example
2978
+ * cn-hangzhou
2979
+ */
2980
+ regionId?: string;
2981
+ /**
2982
+ * @example
2983
+ * a99b9aca-bac5-4da2-819e-400ce98f****
2984
+ */
2985
+ sessionId?: string;
2986
+ /**
2987
+ * @example
2988
+ * s-2ze81owrnv9pity4****
2989
+ */
2990
+ snapshotId?: string;
2991
+ static names(): { [key: string]: string } {
2992
+ return {
2993
+ clientId: 'ClientId',
2994
+ desktopId: 'DesktopId',
2995
+ loginToken: 'LoginToken',
2996
+ maxResults: 'MaxResults',
2997
+ nextToken: 'NextToken',
2998
+ regionId: 'RegionId',
2999
+ sessionId: 'SessionId',
3000
+ snapshotId: 'SnapshotId',
3001
+ };
3002
+ }
3003
+
3004
+ static types(): { [key: string]: any } {
3005
+ return {
3006
+ clientId: 'string',
3007
+ desktopId: 'string',
3008
+ loginToken: 'string',
3009
+ maxResults: 'number',
3010
+ nextToken: 'string',
3011
+ regionId: 'string',
3012
+ sessionId: 'string',
3013
+ snapshotId: 'string',
3014
+ };
3015
+ }
3016
+
3017
+ validate() {
3018
+ super.validate();
3019
+ }
3020
+
3021
+ constructor(map?: { [key: string]: any }) {
3022
+ super(map);
3023
+ }
3024
+ }
3025
+
3026
+ export class DescribeSnapshotsResponseBody extends $dara.Model {
3027
+ /**
3028
+ * @example
3029
+ * AAAAAV3MpHK1AP0pfERHZN5pu6nmB7qrRFJ8vmttjxPL****
3030
+ */
3031
+ nextToken?: string;
3032
+ /**
3033
+ * @example
3034
+ * 51592A88-0F2C-55E6-AD2C-2AD9C10D****
3035
+ */
3036
+ requestId?: string;
3037
+ snapshots?: DescribeSnapshotsResponseBodySnapshots[];
3038
+ static names(): { [key: string]: string } {
3039
+ return {
3040
+ nextToken: 'NextToken',
3041
+ requestId: 'RequestId',
3042
+ snapshots: 'Snapshots',
3043
+ };
3044
+ }
3045
+
3046
+ static types(): { [key: string]: any } {
3047
+ return {
3048
+ nextToken: 'string',
3049
+ requestId: 'string',
3050
+ snapshots: { 'type': 'array', 'itemType': DescribeSnapshotsResponseBodySnapshots },
3051
+ };
3052
+ }
3053
+
3054
+ validate() {
3055
+ if(Array.isArray(this.snapshots)) {
3056
+ $dara.Model.validateArray(this.snapshots);
3057
+ }
3058
+ super.validate();
3059
+ }
3060
+
3061
+ constructor(map?: { [key: string]: any }) {
3062
+ super(map);
3063
+ }
3064
+ }
3065
+
3066
+ export class DescribeSnapshotsResponse extends $dara.Model {
3067
+ headers?: { [key: string]: string };
3068
+ statusCode?: number;
3069
+ body?: DescribeSnapshotsResponseBody;
3070
+ static names(): { [key: string]: string } {
3071
+ return {
3072
+ headers: 'headers',
3073
+ statusCode: 'statusCode',
3074
+ body: 'body',
3075
+ };
3076
+ }
3077
+
3078
+ static types(): { [key: string]: any } {
3079
+ return {
3080
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3081
+ statusCode: 'number',
3082
+ body: DescribeSnapshotsResponseBody,
3083
+ };
3084
+ }
3085
+
3086
+ validate() {
3087
+ if(this.headers) {
3088
+ $dara.Model.validateMap(this.headers);
3089
+ }
3090
+ if(this.body && typeof (this.body as any).validate === 'function') {
3091
+ (this.body as any).validate();
3092
+ }
3093
+ super.validate();
3094
+ }
3095
+
3096
+ constructor(map?: { [key: string]: any }) {
3097
+ super(map);
3098
+ }
3099
+ }
3100
+
3101
+ export class DescribeUserResourcesRequest extends $dara.Model {
3102
+ /**
3103
+ * @example
3104
+ * INTERNET
3105
+ */
3106
+ accessType?: string;
3107
+ /**
3108
+ * @example
3109
+ * false
3110
+ */
3111
+ autoRefresh?: boolean;
3112
+ /**
3113
+ * @example
3114
+ * 0
3115
+ */
3116
+ categoryId?: number;
3117
+ /**
3118
+ * @example
3119
+ * 1
3120
+ */
3121
+ categoryType?: number;
3122
+ /**
3123
+ * @remarks
3124
+ * This parameter is required.
3125
+ *
3126
+ * @example
3127
+ * 54c17e1d-2d72-4b87-aa33-25f3b3f2****
3128
+ */
3129
+ clientId?: string;
3130
+ /**
3131
+ * @example
3132
+ * windows
3133
+ */
3134
+ clientType?: string;
3135
+ /**
3136
+ * @example
3137
+ * 7.6.0-R-20241112.222305
3138
+ */
3139
+ clientVersion?: string;
3140
+ /**
3141
+ * @example
3142
+ * false
3143
+ */
3144
+ dualCenterForward?: boolean;
3145
+ /**
3146
+ * @example
3147
+ * zh-CN
3148
+ */
3149
+ language?: string;
3150
+ /**
3151
+ * @example
3152
+ * cn-hangzhou
2268
3153
  */
2269
- desktopId?: string;
3154
+ loginRegionId?: string;
2270
3155
  /**
2271
3156
  * @remarks
2272
3157
  * This parameter is required.
2273
3158
  *
2274
3159
  * @example
2275
- * v16abfb945208fc5745061668654680853da4a25202d1a394fcad57bba484e9827ad43ea7d10fb6bf13d44a4adc0e9****
3160
+ * v18101ac6a9e69c66b04a163031680463660b4b216cd758f34b60b9ad6a7c7f7334b83dd8f75eef4209c68f9f1080b****
2276
3161
  */
2277
3162
  loginToken?: string;
2278
3163
  /**
2279
3164
  * @example
2280
- * 10
3165
+ * 500
2281
3166
  */
2282
3167
  maxResults?: number;
2283
3168
  /**
2284
3169
  * @example
2285
- * AAAAAV3MpHK1AP0pfERHZN5pu6nmB7qrRFJ8vmttjxPL****
3170
+ * caeba0bbb2be03f84eb48b699f0a4883
2286
3171
  */
2287
3172
  nextToken?: string;
3173
+ officeSiteIds?: string[];
3174
+ /**
3175
+ * @example
3176
+ * AssignTime
3177
+ */
3178
+ orderBy?: string;
3179
+ productTypes?: string[];
3180
+ /**
3181
+ * @example
3182
+ * ASP
3183
+ */
3184
+ protocolType?: string;
3185
+ /**
3186
+ * @example
3187
+ * false
3188
+ */
3189
+ queryFotaUpdate?: boolean;
3190
+ /**
3191
+ * @example
3192
+ * false
3193
+ */
3194
+ refreshFotaUpdate?: boolean;
3195
+ resourceIds?: string[];
3196
+ /**
3197
+ * @example
3198
+ * testName
3199
+ */
3200
+ resourceName?: string;
3201
+ resourceTypes?: string[];
3202
+ /**
3203
+ * @example
3204
+ * desktop
3205
+ */
3206
+ scene?: string;
2288
3207
  /**
2289
- * @remarks
2290
- * This parameter is required.
2291
- *
2292
3208
  * @example
2293
3209
  * cn-hangzhou
2294
3210
  */
2295
- regionId?: string;
3211
+ searchRegionId?: string;
2296
3212
  /**
2297
3213
  * @example
2298
- * a99b9aca-bac5-4da2-819e-400ce98f****
3214
+ * cd45e873-650d-4d70-acb9-f996187a****
2299
3215
  */
2300
3216
  sessionId?: string;
2301
3217
  /**
2302
3218
  * @example
2303
- * s-2ze81owrnv9pity4****
3219
+ * ASC
2304
3220
  */
2305
- snapshotId?: string;
3221
+ sortType?: string;
2306
3222
  static names(): { [key: string]: string } {
2307
3223
  return {
3224
+ accessType: 'AccessType',
3225
+ autoRefresh: 'AutoRefresh',
3226
+ categoryId: 'CategoryId',
3227
+ categoryType: 'CategoryType',
2308
3228
  clientId: 'ClientId',
2309
- desktopId: 'DesktopId',
3229
+ clientType: 'ClientType',
3230
+ clientVersion: 'ClientVersion',
3231
+ dualCenterForward: 'DualCenterForward',
3232
+ language: 'Language',
3233
+ loginRegionId: 'LoginRegionId',
2310
3234
  loginToken: 'LoginToken',
2311
3235
  maxResults: 'MaxResults',
2312
3236
  nextToken: 'NextToken',
2313
- regionId: 'RegionId',
3237
+ officeSiteIds: 'OfficeSiteIds',
3238
+ orderBy: 'OrderBy',
3239
+ productTypes: 'ProductTypes',
3240
+ protocolType: 'ProtocolType',
3241
+ queryFotaUpdate: 'QueryFotaUpdate',
3242
+ refreshFotaUpdate: 'RefreshFotaUpdate',
3243
+ resourceIds: 'ResourceIds',
3244
+ resourceName: 'ResourceName',
3245
+ resourceTypes: 'ResourceTypes',
3246
+ scene: 'Scene',
3247
+ searchRegionId: 'SearchRegionId',
2314
3248
  sessionId: 'SessionId',
2315
- snapshotId: 'SnapshotId',
3249
+ sortType: 'SortType',
2316
3250
  };
2317
3251
  }
2318
3252
 
2319
3253
  static types(): { [key: string]: any } {
2320
3254
  return {
3255
+ accessType: 'string',
3256
+ autoRefresh: 'boolean',
3257
+ categoryId: 'number',
3258
+ categoryType: 'number',
2321
3259
  clientId: 'string',
2322
- desktopId: 'string',
3260
+ clientType: 'string',
3261
+ clientVersion: 'string',
3262
+ dualCenterForward: 'boolean',
3263
+ language: 'string',
3264
+ loginRegionId: 'string',
2323
3265
  loginToken: 'string',
2324
3266
  maxResults: 'number',
2325
3267
  nextToken: 'string',
2326
- regionId: 'string',
3268
+ officeSiteIds: { 'type': 'array', 'itemType': 'string' },
3269
+ orderBy: 'string',
3270
+ productTypes: { 'type': 'array', 'itemType': 'string' },
3271
+ protocolType: 'string',
3272
+ queryFotaUpdate: 'boolean',
3273
+ refreshFotaUpdate: 'boolean',
3274
+ resourceIds: { 'type': 'array', 'itemType': 'string' },
3275
+ resourceName: 'string',
3276
+ resourceTypes: { 'type': 'array', 'itemType': 'string' },
3277
+ scene: 'string',
3278
+ searchRegionId: 'string',
2327
3279
  sessionId: 'string',
2328
- snapshotId: 'string',
3280
+ sortType: 'string',
2329
3281
  };
2330
3282
  }
2331
3283
 
2332
3284
  validate() {
3285
+ if(Array.isArray(this.officeSiteIds)) {
3286
+ $dara.Model.validateArray(this.officeSiteIds);
3287
+ }
3288
+ if(Array.isArray(this.productTypes)) {
3289
+ $dara.Model.validateArray(this.productTypes);
3290
+ }
3291
+ if(Array.isArray(this.resourceIds)) {
3292
+ $dara.Model.validateArray(this.resourceIds);
3293
+ }
3294
+ if(Array.isArray(this.resourceTypes)) {
3295
+ $dara.Model.validateArray(this.resourceTypes);
3296
+ }
2333
3297
  super.validate();
2334
3298
  }
2335
3299
 
@@ -2338,37 +3302,50 @@ export class DescribeSnapshotsRequest extends $dara.Model {
2338
3302
  }
2339
3303
  }
2340
3304
 
2341
- export class DescribeSnapshotsResponseBody extends $dara.Model {
3305
+ export class DescribeUserResourcesResponseBody extends $dara.Model {
2342
3306
  /**
2343
3307
  * @example
2344
3308
  * AAAAAV3MpHK1AP0pfERHZN5pu6nmB7qrRFJ8vmttjxPL****
2345
3309
  */
2346
3310
  nextToken?: string;
3311
+ queryFailedResourceTypes?: string[];
2347
3312
  /**
2348
3313
  * @example
2349
- * 51592A88-0F2C-55E6-AD2C-2AD9C10D****
3314
+ * 1732869815062
3315
+ */
3316
+ rankVersion?: number;
3317
+ /**
3318
+ * @example
3319
+ * 1CBAFFAB-B697-4049-A9B1-67E1FC5F****
2350
3320
  */
2351
3321
  requestId?: string;
2352
- snapshots?: DescribeSnapshotsResponseBodySnapshots[];
3322
+ resources?: DescribeUserResourcesResponseBodyResources[];
2353
3323
  static names(): { [key: string]: string } {
2354
3324
  return {
2355
3325
  nextToken: 'NextToken',
3326
+ queryFailedResourceTypes: 'QueryFailedResourceTypes',
3327
+ rankVersion: 'RankVersion',
2356
3328
  requestId: 'RequestId',
2357
- snapshots: 'Snapshots',
3329
+ resources: 'Resources',
2358
3330
  };
2359
3331
  }
2360
3332
 
2361
3333
  static types(): { [key: string]: any } {
2362
3334
  return {
2363
3335
  nextToken: 'string',
3336
+ queryFailedResourceTypes: { 'type': 'array', 'itemType': 'string' },
3337
+ rankVersion: 'number',
2364
3338
  requestId: 'string',
2365
- snapshots: { 'type': 'array', 'itemType': DescribeSnapshotsResponseBodySnapshots },
3339
+ resources: { 'type': 'array', 'itemType': DescribeUserResourcesResponseBodyResources },
2366
3340
  };
2367
3341
  }
2368
3342
 
2369
3343
  validate() {
2370
- if(Array.isArray(this.snapshots)) {
2371
- $dara.Model.validateArray(this.snapshots);
3344
+ if(Array.isArray(this.queryFailedResourceTypes)) {
3345
+ $dara.Model.validateArray(this.queryFailedResourceTypes);
3346
+ }
3347
+ if(Array.isArray(this.resources)) {
3348
+ $dara.Model.validateArray(this.resources);
2372
3349
  }
2373
3350
  super.validate();
2374
3351
  }
@@ -2378,10 +3355,10 @@ export class DescribeSnapshotsResponseBody extends $dara.Model {
2378
3355
  }
2379
3356
  }
2380
3357
 
2381
- export class DescribeSnapshotsResponse extends $dara.Model {
3358
+ export class DescribeUserResourcesResponse extends $dara.Model {
2382
3359
  headers?: { [key: string]: string };
2383
3360
  statusCode?: number;
2384
- body?: DescribeSnapshotsResponseBody;
3361
+ body?: DescribeUserResourcesResponseBody;
2385
3362
  static names(): { [key: string]: string } {
2386
3363
  return {
2387
3364
  headers: 'headers',
@@ -2394,7 +3371,7 @@ export class DescribeSnapshotsResponse extends $dara.Model {
2394
3371
  return {
2395
3372
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2396
3373
  statusCode: 'number',
2397
- body: DescribeSnapshotsResponseBody,
3374
+ body: DescribeUserResourcesResponseBody,
2398
3375
  };
2399
3376
  }
2400
3377
 
@@ -5895,7 +6872,12 @@ export default class Client extends OpenApi {
5895
6872
  reqBodyType: "formData",
5896
6873
  bodyType: "json",
5897
6874
  });
5898
- return $dara.cast<ApproveFotaUpdateResponse>(await this.callApi(params, req, runtime), new ApproveFotaUpdateResponse({}));
6875
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
6876
+ return $dara.cast<ApproveFotaUpdateResponse>(await this.callApi(params, req, runtime), new ApproveFotaUpdateResponse({}));
6877
+ } else {
6878
+ return $dara.cast<ApproveFotaUpdateResponse>(await this.execute(params, req, runtime), new ApproveFotaUpdateResponse({}));
6879
+ }
6880
+
5899
6881
  }
5900
6882
 
5901
6883
  /**
@@ -5963,7 +6945,12 @@ export default class Client extends OpenApi {
5963
6945
  reqBodyType: "formData",
5964
6946
  bodyType: "json",
5965
6947
  });
5966
- return $dara.cast<ChangePasswordResponse>(await this.callApi(params, req, runtime), new ChangePasswordResponse({}));
6948
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
6949
+ return $dara.cast<ChangePasswordResponse>(await this.callApi(params, req, runtime), new ChangePasswordResponse({}));
6950
+ } else {
6951
+ return $dara.cast<ChangePasswordResponse>(await this.execute(params, req, runtime), new ChangePasswordResponse({}));
6952
+ }
6953
+
5967
6954
  }
5968
6955
 
5969
6956
  /**
@@ -6021,7 +7008,12 @@ export default class Client extends OpenApi {
6021
7008
  reqBodyType: "formData",
6022
7009
  bodyType: "json",
6023
7010
  });
6024
- return $dara.cast<DeleteFingerPrintTemplateResponse>(await this.callApi(params, req, runtime), new DeleteFingerPrintTemplateResponse({}));
7011
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
7012
+ return $dara.cast<DeleteFingerPrintTemplateResponse>(await this.callApi(params, req, runtime), new DeleteFingerPrintTemplateResponse({}));
7013
+ } else {
7014
+ return $dara.cast<DeleteFingerPrintTemplateResponse>(await this.execute(params, req, runtime), new DeleteFingerPrintTemplateResponse({}));
7015
+ }
7016
+
6025
7017
  }
6026
7018
 
6027
7019
  /**
@@ -6067,7 +7059,12 @@ export default class Client extends OpenApi {
6067
7059
  reqBodyType: "formData",
6068
7060
  bodyType: "json",
6069
7061
  });
6070
- return $dara.cast<DescribeDirectoriesResponse>(await this.callApi(params, req, runtime), new DescribeDirectoriesResponse({}));
7062
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
7063
+ return $dara.cast<DescribeDirectoriesResponse>(await this.callApi(params, req, runtime), new DescribeDirectoriesResponse({}));
7064
+ } else {
7065
+ return $dara.cast<DescribeDirectoriesResponse>(await this.execute(params, req, runtime), new DescribeDirectoriesResponse({}));
7066
+ }
7067
+
6071
7068
  }
6072
7069
 
6073
7070
  /**
@@ -6117,7 +7114,12 @@ export default class Client extends OpenApi {
6117
7114
  reqBodyType: "formData",
6118
7115
  bodyType: "json",
6119
7116
  });
6120
- return $dara.cast<DescribeFingerPrintTemplatesResponse>(await this.callApi(params, req, runtime), new DescribeFingerPrintTemplatesResponse({}));
7117
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
7118
+ return $dara.cast<DescribeFingerPrintTemplatesResponse>(await this.callApi(params, req, runtime), new DescribeFingerPrintTemplatesResponse({}));
7119
+ } else {
7120
+ return $dara.cast<DescribeFingerPrintTemplatesResponse>(await this.execute(params, req, runtime), new DescribeFingerPrintTemplatesResponse({}));
7121
+ }
7122
+
6121
7123
  }
6122
7124
 
6123
7125
  /**
@@ -6231,7 +7233,12 @@ export default class Client extends OpenApi {
6231
7233
  reqBodyType: "formData",
6232
7234
  bodyType: "json",
6233
7235
  });
6234
- return $dara.cast<DescribeGlobalDesktopsResponse>(await this.callApi(params, req, runtime), new DescribeGlobalDesktopsResponse({}));
7236
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
7237
+ return $dara.cast<DescribeGlobalDesktopsResponse>(await this.callApi(params, req, runtime), new DescribeGlobalDesktopsResponse({}));
7238
+ } else {
7239
+ return $dara.cast<DescribeGlobalDesktopsResponse>(await this.execute(params, req, runtime), new DescribeGlobalDesktopsResponse({}));
7240
+ }
7241
+
6235
7242
  }
6236
7243
 
6237
7244
  /**
@@ -6277,7 +7284,12 @@ export default class Client extends OpenApi {
6277
7284
  reqBodyType: "formData",
6278
7285
  bodyType: "json",
6279
7286
  });
6280
- return $dara.cast<DescribeOfficeSitesResponse>(await this.callApi(params, req, runtime), new DescribeOfficeSitesResponse({}));
7287
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
7288
+ return $dara.cast<DescribeOfficeSitesResponse>(await this.callApi(params, req, runtime), new DescribeOfficeSitesResponse({}));
7289
+ } else {
7290
+ return $dara.cast<DescribeOfficeSitesResponse>(await this.execute(params, req, runtime), new DescribeOfficeSitesResponse({}));
7291
+ }
7292
+
6281
7293
  }
6282
7294
 
6283
7295
  /**
@@ -6319,7 +7331,12 @@ export default class Client extends OpenApi {
6319
7331
  reqBodyType: "formData",
6320
7332
  bodyType: "json",
6321
7333
  });
6322
- return $dara.cast<DescribeRegionsResponse>(await this.callApi(params, req, runtime), new DescribeRegionsResponse({}));
7334
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
7335
+ return $dara.cast<DescribeRegionsResponse>(await this.callApi(params, req, runtime), new DescribeRegionsResponse({}));
7336
+ } else {
7337
+ return $dara.cast<DescribeRegionsResponse>(await this.execute(params, req, runtime), new DescribeRegionsResponse({}));
7338
+ }
7339
+
6323
7340
  }
6324
7341
 
6325
7342
  /**
@@ -6387,7 +7404,12 @@ export default class Client extends OpenApi {
6387
7404
  reqBodyType: "formData",
6388
7405
  bodyType: "json",
6389
7406
  });
6390
- return $dara.cast<DescribeSnapshotsResponse>(await this.callApi(params, req, runtime), new DescribeSnapshotsResponse({}));
7407
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
7408
+ return $dara.cast<DescribeSnapshotsResponse>(await this.callApi(params, req, runtime), new DescribeSnapshotsResponse({}));
7409
+ } else {
7410
+ return $dara.cast<DescribeSnapshotsResponse>(await this.execute(params, req, runtime), new DescribeSnapshotsResponse({}));
7411
+ }
7412
+
6391
7413
  }
6392
7414
 
6393
7415
  /**
@@ -6401,6 +7423,153 @@ export default class Client extends OpenApi {
6401
7423
  return await this.describeSnapshotsWithOptions(request, runtime);
6402
7424
  }
6403
7425
 
7426
+ /**
7427
+ * 查询用户资源列表
7428
+ *
7429
+ * @param request - DescribeUserResourcesRequest
7430
+ * @param runtime - runtime options for this request RuntimeOptions
7431
+ * @returns DescribeUserResourcesResponse
7432
+ */
7433
+ async describeUserResourcesWithOptions(request: DescribeUserResourcesRequest, runtime: $dara.RuntimeOptions): Promise<DescribeUserResourcesResponse> {
7434
+ request.validate();
7435
+ let query = { };
7436
+ if (!$dara.isNull(request.accessType)) {
7437
+ query["AccessType"] = request.accessType;
7438
+ }
7439
+
7440
+ if (!$dara.isNull(request.autoRefresh)) {
7441
+ query["AutoRefresh"] = request.autoRefresh;
7442
+ }
7443
+
7444
+ if (!$dara.isNull(request.categoryId)) {
7445
+ query["CategoryId"] = request.categoryId;
7446
+ }
7447
+
7448
+ if (!$dara.isNull(request.categoryType)) {
7449
+ query["CategoryType"] = request.categoryType;
7450
+ }
7451
+
7452
+ if (!$dara.isNull(request.clientId)) {
7453
+ query["ClientId"] = request.clientId;
7454
+ }
7455
+
7456
+ if (!$dara.isNull(request.clientType)) {
7457
+ query["ClientType"] = request.clientType;
7458
+ }
7459
+
7460
+ if (!$dara.isNull(request.clientVersion)) {
7461
+ query["ClientVersion"] = request.clientVersion;
7462
+ }
7463
+
7464
+ if (!$dara.isNull(request.dualCenterForward)) {
7465
+ query["DualCenterForward"] = request.dualCenterForward;
7466
+ }
7467
+
7468
+ if (!$dara.isNull(request.language)) {
7469
+ query["Language"] = request.language;
7470
+ }
7471
+
7472
+ if (!$dara.isNull(request.loginRegionId)) {
7473
+ query["LoginRegionId"] = request.loginRegionId;
7474
+ }
7475
+
7476
+ if (!$dara.isNull(request.loginToken)) {
7477
+ query["LoginToken"] = request.loginToken;
7478
+ }
7479
+
7480
+ if (!$dara.isNull(request.maxResults)) {
7481
+ query["MaxResults"] = request.maxResults;
7482
+ }
7483
+
7484
+ if (!$dara.isNull(request.nextToken)) {
7485
+ query["NextToken"] = request.nextToken;
7486
+ }
7487
+
7488
+ if (!$dara.isNull(request.officeSiteIds)) {
7489
+ query["OfficeSiteIds"] = request.officeSiteIds;
7490
+ }
7491
+
7492
+ if (!$dara.isNull(request.orderBy)) {
7493
+ query["OrderBy"] = request.orderBy;
7494
+ }
7495
+
7496
+ if (!$dara.isNull(request.productTypes)) {
7497
+ query["ProductTypes"] = request.productTypes;
7498
+ }
7499
+
7500
+ if (!$dara.isNull(request.protocolType)) {
7501
+ query["ProtocolType"] = request.protocolType;
7502
+ }
7503
+
7504
+ if (!$dara.isNull(request.queryFotaUpdate)) {
7505
+ query["QueryFotaUpdate"] = request.queryFotaUpdate;
7506
+ }
7507
+
7508
+ if (!$dara.isNull(request.refreshFotaUpdate)) {
7509
+ query["RefreshFotaUpdate"] = request.refreshFotaUpdate;
7510
+ }
7511
+
7512
+ if (!$dara.isNull(request.resourceIds)) {
7513
+ query["ResourceIds"] = request.resourceIds;
7514
+ }
7515
+
7516
+ if (!$dara.isNull(request.resourceName)) {
7517
+ query["ResourceName"] = request.resourceName;
7518
+ }
7519
+
7520
+ if (!$dara.isNull(request.resourceTypes)) {
7521
+ query["ResourceTypes"] = request.resourceTypes;
7522
+ }
7523
+
7524
+ if (!$dara.isNull(request.scene)) {
7525
+ query["Scene"] = request.scene;
7526
+ }
7527
+
7528
+ if (!$dara.isNull(request.searchRegionId)) {
7529
+ query["SearchRegionId"] = request.searchRegionId;
7530
+ }
7531
+
7532
+ if (!$dara.isNull(request.sessionId)) {
7533
+ query["SessionId"] = request.sessionId;
7534
+ }
7535
+
7536
+ if (!$dara.isNull(request.sortType)) {
7537
+ query["SortType"] = request.sortType;
7538
+ }
7539
+
7540
+ let req = new $OpenApiUtil.OpenApiRequest({
7541
+ query: OpenApiUtil.query(query),
7542
+ });
7543
+ let params = new $OpenApiUtil.Params({
7544
+ action: "DescribeUserResources",
7545
+ version: "2020-10-02",
7546
+ protocol: "HTTPS",
7547
+ pathname: "/",
7548
+ method: "POST",
7549
+ authType: "Anonymous",
7550
+ style: "RPC",
7551
+ reqBodyType: "formData",
7552
+ bodyType: "json",
7553
+ });
7554
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
7555
+ return $dara.cast<DescribeUserResourcesResponse>(await this.callApi(params, req, runtime), new DescribeUserResourcesResponse({}));
7556
+ } else {
7557
+ return $dara.cast<DescribeUserResourcesResponse>(await this.execute(params, req, runtime), new DescribeUserResourcesResponse({}));
7558
+ }
7559
+
7560
+ }
7561
+
7562
+ /**
7563
+ * 查询用户资源列表
7564
+ *
7565
+ * @param request - DescribeUserResourcesRequest
7566
+ * @returns DescribeUserResourcesResponse
7567
+ */
7568
+ async describeUserResources(request: DescribeUserResourcesRequest): Promise<DescribeUserResourcesResponse> {
7569
+ let runtime = new $dara.RuntimeOptions({ });
7570
+ return await this.describeUserResourcesWithOptions(request, runtime);
7571
+ }
7572
+
6404
7573
  /**
6405
7574
  * @param request - EncryptPasswordRequest
6406
7575
  * @param runtime - runtime options for this request RuntimeOptions
@@ -6451,7 +7620,12 @@ export default class Client extends OpenApi {
6451
7620
  reqBodyType: "formData",
6452
7621
  bodyType: "json",
6453
7622
  });
6454
- return $dara.cast<EncryptPasswordResponse>(await this.callApi(params, req, runtime), new EncryptPasswordResponse({}));
7623
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
7624
+ return $dara.cast<EncryptPasswordResponse>(await this.callApi(params, req, runtime), new EncryptPasswordResponse({}));
7625
+ } else {
7626
+ return $dara.cast<EncryptPasswordResponse>(await this.execute(params, req, runtime), new EncryptPasswordResponse({}));
7627
+ }
7628
+
6455
7629
  }
6456
7630
 
6457
7631
  /**
@@ -6507,7 +7681,12 @@ export default class Client extends OpenApi {
6507
7681
  reqBodyType: "formData",
6508
7682
  bodyType: "json",
6509
7683
  });
6510
- return $dara.cast<GetCloudDriveServiceMountTokenResponse>(await this.callApi(params, req, runtime), new GetCloudDriveServiceMountTokenResponse({}));
7684
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
7685
+ return $dara.cast<GetCloudDriveServiceMountTokenResponse>(await this.callApi(params, req, runtime), new GetCloudDriveServiceMountTokenResponse({}));
7686
+ } else {
7687
+ return $dara.cast<GetCloudDriveServiceMountTokenResponse>(await this.execute(params, req, runtime), new GetCloudDriveServiceMountTokenResponse({}));
7688
+ }
7689
+
6511
7690
  }
6512
7691
 
6513
7692
  /**
@@ -6603,7 +7782,12 @@ export default class Client extends OpenApi {
6603
7782
  reqBodyType: "formData",
6604
7783
  bodyType: "json",
6605
7784
  });
6606
- return $dara.cast<GetConnectionTicketResponse>(await this.callApi(params, req, runtime), new GetConnectionTicketResponse({}));
7785
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
7786
+ return $dara.cast<GetConnectionTicketResponse>(await this.callApi(params, req, runtime), new GetConnectionTicketResponse({}));
7787
+ } else {
7788
+ return $dara.cast<GetConnectionTicketResponse>(await this.execute(params, req, runtime), new GetConnectionTicketResponse({}));
7789
+ }
7790
+
6607
7791
  }
6608
7792
 
6609
7793
  /**
@@ -6711,7 +7895,12 @@ export default class Client extends OpenApi {
6711
7895
  reqBodyType: "formData",
6712
7896
  bodyType: "json",
6713
7897
  });
6714
- return $dara.cast<GetLoginTokenResponse>(await this.callApi(params, req, runtime), new GetLoginTokenResponse({}));
7898
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
7899
+ return $dara.cast<GetLoginTokenResponse>(await this.callApi(params, req, runtime), new GetLoginTokenResponse({}));
7900
+ } else {
7901
+ return $dara.cast<GetLoginTokenResponse>(await this.execute(params, req, runtime), new GetLoginTokenResponse({}));
7902
+ }
7903
+
6715
7904
  }
6716
7905
 
6717
7906
  /**
@@ -6761,7 +7950,12 @@ export default class Client extends OpenApi {
6761
7950
  reqBodyType: "formData",
6762
7951
  bodyType: "json",
6763
7952
  });
6764
- return $dara.cast<IsKeepAliveResponse>(await this.callApi(params, req, runtime), new IsKeepAliveResponse({}));
7953
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
7954
+ return $dara.cast<IsKeepAliveResponse>(await this.callApi(params, req, runtime), new IsKeepAliveResponse({}));
7955
+ } else {
7956
+ return $dara.cast<IsKeepAliveResponse>(await this.execute(params, req, runtime), new IsKeepAliveResponse({}));
7957
+ }
7958
+
6765
7959
  }
6766
7960
 
6767
7961
  /**
@@ -6811,7 +8005,12 @@ export default class Client extends OpenApi {
6811
8005
  reqBodyType: "formData",
6812
8006
  bodyType: "json",
6813
8007
  });
6814
- return $dara.cast<QueryEdsAgentReportConfigResponse>(await this.callApi(params, req, runtime), new QueryEdsAgentReportConfigResponse({}));
8008
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
8009
+ return $dara.cast<QueryEdsAgentReportConfigResponse>(await this.callApi(params, req, runtime), new QueryEdsAgentReportConfigResponse({}));
8010
+ } else {
8011
+ return $dara.cast<QueryEdsAgentReportConfigResponse>(await this.execute(params, req, runtime), new QueryEdsAgentReportConfigResponse({}));
8012
+ }
8013
+
6815
8014
  }
6816
8015
 
6817
8016
  /**
@@ -6889,7 +8088,12 @@ export default class Client extends OpenApi {
6889
8088
  reqBodyType: "formData",
6890
8089
  bodyType: "json",
6891
8090
  });
6892
- return $dara.cast<RebootDesktopsResponse>(await this.callApi(params, req, runtime), new RebootDesktopsResponse({}));
8091
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
8092
+ return $dara.cast<RebootDesktopsResponse>(await this.callApi(params, req, runtime), new RebootDesktopsResponse({}));
8093
+ } else {
8094
+ return $dara.cast<RebootDesktopsResponse>(await this.execute(params, req, runtime), new RebootDesktopsResponse({}));
8095
+ }
8096
+
6893
8097
  }
6894
8098
 
6895
8099
  /**
@@ -6953,7 +8157,12 @@ export default class Client extends OpenApi {
6953
8157
  reqBodyType: "formData",
6954
8158
  bodyType: "json",
6955
8159
  });
6956
- return $dara.cast<RefreshLoginTokenResponse>(await this.callApi(params, req, runtime), new RefreshLoginTokenResponse({}));
8160
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
8161
+ return $dara.cast<RefreshLoginTokenResponse>(await this.callApi(params, req, runtime), new RefreshLoginTokenResponse({}));
8162
+ } else {
8163
+ return $dara.cast<RefreshLoginTokenResponse>(await this.execute(params, req, runtime), new RefreshLoginTokenResponse({}));
8164
+ }
8165
+
6957
8166
  }
6958
8167
 
6959
8168
  /**
@@ -7005,7 +8214,12 @@ export default class Client extends OpenApi {
7005
8214
  reqBodyType: "formData",
7006
8215
  bodyType: "json",
7007
8216
  });
7008
- return $dara.cast<ReportEdsAgentInfoResponse>(await this.callApi(params, req, runtime), new ReportEdsAgentInfoResponse({}));
8217
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
8218
+ return $dara.cast<ReportEdsAgentInfoResponse>(await this.callApi(params, req, runtime), new ReportEdsAgentInfoResponse({}));
8219
+ } else {
8220
+ return $dara.cast<ReportEdsAgentInfoResponse>(await this.execute(params, req, runtime), new ReportEdsAgentInfoResponse({}));
8221
+ }
8222
+
7009
8223
  }
7010
8224
 
7011
8225
  /**
@@ -7065,7 +8279,12 @@ export default class Client extends OpenApi {
7065
8279
  reqBodyType: "formData",
7066
8280
  bodyType: "json",
7067
8281
  });
7068
- return $dara.cast<ReportSessionStatusResponse>(await this.callApi(params, req, runtime), new ReportSessionStatusResponse({}));
8282
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
8283
+ return $dara.cast<ReportSessionStatusResponse>(await this.callApi(params, req, runtime), new ReportSessionStatusResponse({}));
8284
+ } else {
8285
+ return $dara.cast<ReportSessionStatusResponse>(await this.execute(params, req, runtime), new ReportSessionStatusResponse({}));
8286
+ }
8287
+
7069
8288
  }
7070
8289
 
7071
8290
  /**
@@ -7127,7 +8346,12 @@ export default class Client extends OpenApi {
7127
8346
  reqBodyType: "formData",
7128
8347
  bodyType: "json",
7129
8348
  });
7130
- return $dara.cast<ResetPasswordResponse>(await this.callApi(params, req, runtime), new ResetPasswordResponse({}));
8349
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
8350
+ return $dara.cast<ResetPasswordResponse>(await this.callApi(params, req, runtime), new ResetPasswordResponse({}));
8351
+ } else {
8352
+ return $dara.cast<ResetPasswordResponse>(await this.execute(params, req, runtime), new ResetPasswordResponse({}));
8353
+ }
8354
+
7131
8355
  }
7132
8356
 
7133
8357
  /**
@@ -7191,7 +8415,12 @@ export default class Client extends OpenApi {
7191
8415
  reqBodyType: "formData",
7192
8416
  bodyType: "json",
7193
8417
  });
7194
- return $dara.cast<ResetSnapshotResponse>(await this.callApi(params, req, runtime), new ResetSnapshotResponse({}));
8418
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
8419
+ return $dara.cast<ResetSnapshotResponse>(await this.callApi(params, req, runtime), new ResetSnapshotResponse({}));
8420
+ } else {
8421
+ return $dara.cast<ResetSnapshotResponse>(await this.execute(params, req, runtime), new ResetSnapshotResponse({}));
8422
+ }
8423
+
7195
8424
  }
7196
8425
 
7197
8426
  /**
@@ -7259,7 +8488,12 @@ export default class Client extends OpenApi {
7259
8488
  reqBodyType: "formData",
7260
8489
  bodyType: "json",
7261
8490
  });
7262
- return $dara.cast<SendTokenCodeResponse>(await this.callApi(params, req, runtime), new SendTokenCodeResponse({}));
8491
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
8492
+ return $dara.cast<SendTokenCodeResponse>(await this.callApi(params, req, runtime), new SendTokenCodeResponse({}));
8493
+ } else {
8494
+ return $dara.cast<SendTokenCodeResponse>(await this.execute(params, req, runtime), new SendTokenCodeResponse({}));
8495
+ }
8496
+
7263
8497
  }
7264
8498
 
7265
8499
  /**
@@ -7333,7 +8567,12 @@ export default class Client extends OpenApi {
7333
8567
  reqBodyType: "formData",
7334
8568
  bodyType: "json",
7335
8569
  });
7336
- return $dara.cast<SetFingerPrintTemplateResponse>(await this.callApi(params, req, runtime), new SetFingerPrintTemplateResponse({}));
8570
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
8571
+ return $dara.cast<SetFingerPrintTemplateResponse>(await this.callApi(params, req, runtime), new SetFingerPrintTemplateResponse({}));
8572
+ } else {
8573
+ return $dara.cast<SetFingerPrintTemplateResponse>(await this.execute(params, req, runtime), new SetFingerPrintTemplateResponse({}));
8574
+ }
8575
+
7337
8576
  }
7338
8577
 
7339
8578
  /**
@@ -7395,7 +8634,12 @@ export default class Client extends OpenApi {
7395
8634
  reqBodyType: "formData",
7396
8635
  bodyType: "json",
7397
8636
  });
7398
- return $dara.cast<SetFingerPrintTemplateDescriptionResponse>(await this.callApi(params, req, runtime), new SetFingerPrintTemplateDescriptionResponse({}));
8637
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
8638
+ return $dara.cast<SetFingerPrintTemplateDescriptionResponse>(await this.callApi(params, req, runtime), new SetFingerPrintTemplateDescriptionResponse({}));
8639
+ } else {
8640
+ return $dara.cast<SetFingerPrintTemplateDescriptionResponse>(await this.execute(params, req, runtime), new SetFingerPrintTemplateDescriptionResponse({}));
8641
+ }
8642
+
7399
8643
  }
7400
8644
 
7401
8645
  /**
@@ -7470,7 +8714,12 @@ export default class Client extends OpenApi {
7470
8714
  reqBodyType: "formData",
7471
8715
  bodyType: "json",
7472
8716
  });
7473
- return $dara.cast<StartDesktopsResponse>(await this.callApi(params, req, runtime), new StartDesktopsResponse({}));
8717
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
8718
+ return $dara.cast<StartDesktopsResponse>(await this.callApi(params, req, runtime), new StartDesktopsResponse({}));
8719
+ } else {
8720
+ return $dara.cast<StartDesktopsResponse>(await this.execute(params, req, runtime), new StartDesktopsResponse({}));
8721
+ }
8722
+
7474
8723
  }
7475
8724
 
7476
8725
  /**
@@ -7541,7 +8790,12 @@ export default class Client extends OpenApi {
7541
8790
  reqBodyType: "formData",
7542
8791
  bodyType: "json",
7543
8792
  });
7544
- return $dara.cast<StartRecordContentResponse>(await this.callApi(params, req, runtime), new StartRecordContentResponse({}));
8793
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
8794
+ return $dara.cast<StartRecordContentResponse>(await this.callApi(params, req, runtime), new StartRecordContentResponse({}));
8795
+ } else {
8796
+ return $dara.cast<StartRecordContentResponse>(await this.execute(params, req, runtime), new StartRecordContentResponse({}));
8797
+ }
8798
+
7545
8799
  }
7546
8800
 
7547
8801
  /**
@@ -7616,7 +8870,12 @@ export default class Client extends OpenApi {
7616
8870
  reqBodyType: "formData",
7617
8871
  bodyType: "json",
7618
8872
  });
7619
- return $dara.cast<StopDesktopsResponse>(await this.callApi(params, req, runtime), new StopDesktopsResponse({}));
8873
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
8874
+ return $dara.cast<StopDesktopsResponse>(await this.callApi(params, req, runtime), new StopDesktopsResponse({}));
8875
+ } else {
8876
+ return $dara.cast<StopDesktopsResponse>(await this.execute(params, req, runtime), new StopDesktopsResponse({}));
8877
+ }
8878
+
7620
8879
  }
7621
8880
 
7622
8881
  /**
@@ -7683,7 +8942,12 @@ export default class Client extends OpenApi {
7683
8942
  reqBodyType: "formData",
7684
8943
  bodyType: "json",
7685
8944
  });
7686
- return $dara.cast<StopRecordContentResponse>(await this.callApi(params, req, runtime), new StopRecordContentResponse({}));
8945
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
8946
+ return $dara.cast<StopRecordContentResponse>(await this.callApi(params, req, runtime), new StopRecordContentResponse({}));
8947
+ } else {
8948
+ return $dara.cast<StopRecordContentResponse>(await this.execute(params, req, runtime), new StopRecordContentResponse({}));
8949
+ }
8950
+
7687
8951
  }
7688
8952
 
7689
8953
  /**
@@ -7747,7 +9011,12 @@ export default class Client extends OpenApi {
7747
9011
  reqBodyType: "formData",
7748
9012
  bodyType: "json",
7749
9013
  });
7750
- return $dara.cast<UnbindUserDesktopResponse>(await this.callApi(params, req, runtime), new UnbindUserDesktopResponse({}));
9014
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
9015
+ return $dara.cast<UnbindUserDesktopResponse>(await this.callApi(params, req, runtime), new UnbindUserDesktopResponse({}));
9016
+ } else {
9017
+ return $dara.cast<UnbindUserDesktopResponse>(await this.execute(params, req, runtime), new UnbindUserDesktopResponse({}));
9018
+ }
9019
+
7751
9020
  }
7752
9021
 
7753
9022
  /**
@@ -7815,7 +9084,12 @@ export default class Client extends OpenApi {
7815
9084
  reqBodyType: "formData",
7816
9085
  bodyType: "json",
7817
9086
  });
7818
- return $dara.cast<VerifyCredentialResponse>(await this.callApi(params, req, runtime), new VerifyCredentialResponse({}));
9087
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
9088
+ return $dara.cast<VerifyCredentialResponse>(await this.callApi(params, req, runtime), new VerifyCredentialResponse({}));
9089
+ } else {
9090
+ return $dara.cast<VerifyCredentialResponse>(await this.execute(params, req, runtime), new VerifyCredentialResponse({}));
9091
+ }
9092
+
7819
9093
  }
7820
9094
 
7821
9095
  /**