@alicloud/ecd20201002 2.1.6 → 2.1.8
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.d.ts +678 -0
- package/dist/client.js +811 -33
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +1440 -69
package/src/client.ts
CHANGED
|
@@ -860,6 +860,767 @@ 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 DescribeUserResourcesResponseBodyResourcesOsUpdatePackages extends $dara.Model {
|
|
1168
|
+
description?: string;
|
|
1169
|
+
kb?: string;
|
|
1170
|
+
title?: string;
|
|
1171
|
+
static names(): { [key: string]: string } {
|
|
1172
|
+
return {
|
|
1173
|
+
description: 'Description',
|
|
1174
|
+
kb: 'Kb',
|
|
1175
|
+
title: 'Title',
|
|
1176
|
+
};
|
|
1177
|
+
}
|
|
1178
|
+
|
|
1179
|
+
static types(): { [key: string]: any } {
|
|
1180
|
+
return {
|
|
1181
|
+
description: 'string',
|
|
1182
|
+
kb: 'string',
|
|
1183
|
+
title: 'string',
|
|
1184
|
+
};
|
|
1185
|
+
}
|
|
1186
|
+
|
|
1187
|
+
validate() {
|
|
1188
|
+
super.validate();
|
|
1189
|
+
}
|
|
1190
|
+
|
|
1191
|
+
constructor(map?: { [key: string]: any }) {
|
|
1192
|
+
super(map);
|
|
1193
|
+
}
|
|
1194
|
+
}
|
|
1195
|
+
|
|
1196
|
+
export class DescribeUserResourcesResponseBodyResourcesOsUpdate extends $dara.Model {
|
|
1197
|
+
checkId?: string;
|
|
1198
|
+
kbListString?: string;
|
|
1199
|
+
packageCount?: number;
|
|
1200
|
+
packages?: DescribeUserResourcesResponseBodyResourcesOsUpdatePackages[];
|
|
1201
|
+
updateCatalogUrl?: string;
|
|
1202
|
+
static names(): { [key: string]: string } {
|
|
1203
|
+
return {
|
|
1204
|
+
checkId: 'CheckId',
|
|
1205
|
+
kbListString: 'KbListString',
|
|
1206
|
+
packageCount: 'PackageCount',
|
|
1207
|
+
packages: 'Packages',
|
|
1208
|
+
updateCatalogUrl: 'UpdateCatalogUrl',
|
|
1209
|
+
};
|
|
1210
|
+
}
|
|
1211
|
+
|
|
1212
|
+
static types(): { [key: string]: any } {
|
|
1213
|
+
return {
|
|
1214
|
+
checkId: 'string',
|
|
1215
|
+
kbListString: 'string',
|
|
1216
|
+
packageCount: 'number',
|
|
1217
|
+
packages: { 'type': 'array', 'itemType': DescribeUserResourcesResponseBodyResourcesOsUpdatePackages },
|
|
1218
|
+
updateCatalogUrl: 'string',
|
|
1219
|
+
};
|
|
1220
|
+
}
|
|
1221
|
+
|
|
1222
|
+
validate() {
|
|
1223
|
+
if(Array.isArray(this.packages)) {
|
|
1224
|
+
$dara.Model.validateArray(this.packages);
|
|
1225
|
+
}
|
|
1226
|
+
super.validate();
|
|
1227
|
+
}
|
|
1228
|
+
|
|
1229
|
+
constructor(map?: { [key: string]: any }) {
|
|
1230
|
+
super(map);
|
|
1231
|
+
}
|
|
1232
|
+
}
|
|
1233
|
+
|
|
1234
|
+
export class DescribeUserResourcesResponseBodyResourcesSessions extends $dara.Model {
|
|
1235
|
+
/**
|
|
1236
|
+
* @example
|
|
1237
|
+
* 2025-01-22T11:03:36Z
|
|
1238
|
+
*/
|
|
1239
|
+
resourceSessionStartTime?: string;
|
|
1240
|
+
/**
|
|
1241
|
+
* @example
|
|
1242
|
+
* user001
|
|
1243
|
+
*/
|
|
1244
|
+
userId?: string;
|
|
1245
|
+
/**
|
|
1246
|
+
* @example
|
|
1247
|
+
* benchmark_test@test.shenzhen
|
|
1248
|
+
*/
|
|
1249
|
+
userPrincipalName?: string;
|
|
1250
|
+
static names(): { [key: string]: string } {
|
|
1251
|
+
return {
|
|
1252
|
+
resourceSessionStartTime: 'ResourceSessionStartTime',
|
|
1253
|
+
userId: 'UserId',
|
|
1254
|
+
userPrincipalName: 'UserPrincipalName',
|
|
1255
|
+
};
|
|
1256
|
+
}
|
|
1257
|
+
|
|
1258
|
+
static types(): { [key: string]: any } {
|
|
1259
|
+
return {
|
|
1260
|
+
resourceSessionStartTime: 'string',
|
|
1261
|
+
userId: 'string',
|
|
1262
|
+
userPrincipalName: 'string',
|
|
1263
|
+
};
|
|
1264
|
+
}
|
|
1265
|
+
|
|
1266
|
+
validate() {
|
|
1267
|
+
super.validate();
|
|
1268
|
+
}
|
|
1269
|
+
|
|
1270
|
+
constructor(map?: { [key: string]: any }) {
|
|
1271
|
+
super(map);
|
|
1272
|
+
}
|
|
1273
|
+
}
|
|
1274
|
+
|
|
1275
|
+
export class DescribeUserResourcesResponseBodyResources extends $dara.Model {
|
|
1276
|
+
/**
|
|
1277
|
+
* @example
|
|
1278
|
+
* INTERNET
|
|
1279
|
+
*/
|
|
1280
|
+
accessType?: string;
|
|
1281
|
+
/**
|
|
1282
|
+
* @example
|
|
1283
|
+
* 194101959****
|
|
1284
|
+
*/
|
|
1285
|
+
aliUid?: number;
|
|
1286
|
+
/**
|
|
1287
|
+
* @example
|
|
1288
|
+
* app-0001
|
|
1289
|
+
*/
|
|
1290
|
+
appId?: string;
|
|
1291
|
+
/**
|
|
1292
|
+
* @example
|
|
1293
|
+
* App
|
|
1294
|
+
*/
|
|
1295
|
+
authMode?: string;
|
|
1296
|
+
/**
|
|
1297
|
+
* @example
|
|
1298
|
+
* 0
|
|
1299
|
+
*/
|
|
1300
|
+
categoryId?: number;
|
|
1301
|
+
/**
|
|
1302
|
+
* @example
|
|
1303
|
+
* 1
|
|
1304
|
+
*/
|
|
1305
|
+
categoryType?: number;
|
|
1306
|
+
/**
|
|
1307
|
+
* @example
|
|
1308
|
+
* cn-shanghai+cds-695277****
|
|
1309
|
+
*/
|
|
1310
|
+
cdsName?: string;
|
|
1311
|
+
/**
|
|
1312
|
+
* @example
|
|
1313
|
+
* ecds-0****
|
|
1314
|
+
*/
|
|
1315
|
+
centerResourceId?: string;
|
|
1316
|
+
/**
|
|
1317
|
+
* @example
|
|
1318
|
+
* PrePaid
|
|
1319
|
+
*/
|
|
1320
|
+
chargeType?: string;
|
|
1321
|
+
clients?: DescribeUserResourcesResponseBodyResourcesClients[];
|
|
1322
|
+
/**
|
|
1323
|
+
* @example
|
|
1324
|
+
* {"authMode":"App"}
|
|
1325
|
+
*/
|
|
1326
|
+
connectionProperties?: string;
|
|
1327
|
+
/**
|
|
1328
|
+
* @example
|
|
1329
|
+
* 2024-12-11T07:12:12Z
|
|
1330
|
+
*/
|
|
1331
|
+
createTime?: string;
|
|
1332
|
+
desktopDurationList?: DescribeUserResourcesResponseBodyResourcesDesktopDurationList[];
|
|
1333
|
+
desktopTimers?: DescribeUserResourcesResponseBodyResourcesDesktopTimers[];
|
|
1334
|
+
/**
|
|
1335
|
+
* @example
|
|
1336
|
+
* 2025-02-22T16:00:00Z
|
|
1337
|
+
*/
|
|
1338
|
+
expiredTime?: string;
|
|
1339
|
+
/**
|
|
1340
|
+
* @example
|
|
1341
|
+
* stg114510
|
|
1342
|
+
*/
|
|
1343
|
+
externalDomainId?: string;
|
|
1344
|
+
/**
|
|
1345
|
+
* @example
|
|
1346
|
+
* test001
|
|
1347
|
+
*/
|
|
1348
|
+
externalUserId?: string;
|
|
1349
|
+
fotaUpdate?: DescribeUserResourcesResponseBodyResourcesFotaUpdate;
|
|
1350
|
+
/**
|
|
1351
|
+
* @example
|
|
1352
|
+
* true
|
|
1353
|
+
*/
|
|
1354
|
+
globalStatus?: boolean;
|
|
1355
|
+
hasUpgrade?: boolean;
|
|
1356
|
+
/**
|
|
1357
|
+
* @example
|
|
1358
|
+
* false
|
|
1359
|
+
*/
|
|
1360
|
+
hibernationBeta?: boolean;
|
|
1361
|
+
/**
|
|
1362
|
+
* @example
|
|
1363
|
+
* http://example.com/icon.png
|
|
1364
|
+
*/
|
|
1365
|
+
icon?: string;
|
|
1366
|
+
/**
|
|
1367
|
+
* @example
|
|
1368
|
+
* 2025-01-24T03:12:04Z
|
|
1369
|
+
*/
|
|
1370
|
+
lastStartTime?: string;
|
|
1371
|
+
localName?: string;
|
|
1372
|
+
managementStatuses?: string[];
|
|
1373
|
+
/**
|
|
1374
|
+
* @example
|
|
1375
|
+
* cn-shanghai+dir-3367****
|
|
1376
|
+
*/
|
|
1377
|
+
officeSiteId?: string;
|
|
1378
|
+
/**
|
|
1379
|
+
* @example
|
|
1380
|
+
* Normal
|
|
1381
|
+
*/
|
|
1382
|
+
orderStatus?: string;
|
|
1383
|
+
/**
|
|
1384
|
+
* @example
|
|
1385
|
+
* Windows Server 2022
|
|
1386
|
+
*/
|
|
1387
|
+
os?: string;
|
|
1388
|
+
osDescription?: string;
|
|
1389
|
+
/**
|
|
1390
|
+
* @example
|
|
1391
|
+
* Windows
|
|
1392
|
+
*/
|
|
1393
|
+
osType?: string;
|
|
1394
|
+
osUpdate?: DescribeUserResourcesResponseBodyResourcesOsUpdate;
|
|
1395
|
+
/**
|
|
1396
|
+
* @example
|
|
1397
|
+
* AndroidCloud
|
|
1398
|
+
*/
|
|
1399
|
+
productType?: string;
|
|
1400
|
+
/**
|
|
1401
|
+
* @example
|
|
1402
|
+
* ASP
|
|
1403
|
+
*/
|
|
1404
|
+
protocolType?: string;
|
|
1405
|
+
/**
|
|
1406
|
+
* @example
|
|
1407
|
+
* ecd-0001
|
|
1408
|
+
*/
|
|
1409
|
+
realDesktopId?: string;
|
|
1410
|
+
/**
|
|
1411
|
+
* @example
|
|
1412
|
+
* cn-hangzhou
|
|
1413
|
+
*/
|
|
1414
|
+
regionId?: string;
|
|
1415
|
+
/**
|
|
1416
|
+
* @example
|
|
1417
|
+
* Mainland
|
|
1418
|
+
*/
|
|
1419
|
+
regionLocation?: string;
|
|
1420
|
+
/**
|
|
1421
|
+
* @example
|
|
1422
|
+
* dg-0****
|
|
1423
|
+
*/
|
|
1424
|
+
resourceGroupId?: string;
|
|
1425
|
+
/**
|
|
1426
|
+
* @example
|
|
1427
|
+
* ecd-d19tya8zi4****
|
|
1428
|
+
*/
|
|
1429
|
+
resourceId?: string;
|
|
1430
|
+
/**
|
|
1431
|
+
* @example
|
|
1432
|
+
* Center
|
|
1433
|
+
*/
|
|
1434
|
+
resourceLevel?: string;
|
|
1435
|
+
/**
|
|
1436
|
+
* @example
|
|
1437
|
+
* testName01
|
|
1438
|
+
*/
|
|
1439
|
+
resourceName?: string;
|
|
1440
|
+
/**
|
|
1441
|
+
* @example
|
|
1442
|
+
* Connected
|
|
1443
|
+
*/
|
|
1444
|
+
resourceSessionStatus?: string;
|
|
1445
|
+
/**
|
|
1446
|
+
* @example
|
|
1447
|
+
* Running
|
|
1448
|
+
*/
|
|
1449
|
+
resourceStatus?: string;
|
|
1450
|
+
/**
|
|
1451
|
+
* @example
|
|
1452
|
+
* Desktop
|
|
1453
|
+
*/
|
|
1454
|
+
resourceType?: string;
|
|
1455
|
+
/**
|
|
1456
|
+
* @example
|
|
1457
|
+
* SINGLE_SESSION
|
|
1458
|
+
*/
|
|
1459
|
+
sessionType?: string;
|
|
1460
|
+
sessions?: DescribeUserResourcesResponseBodyResourcesSessions[];
|
|
1461
|
+
/**
|
|
1462
|
+
* @example
|
|
1463
|
+
* PrePaid
|
|
1464
|
+
*/
|
|
1465
|
+
subPayType?: string;
|
|
1466
|
+
/**
|
|
1467
|
+
* @example
|
|
1468
|
+
* true
|
|
1469
|
+
*/
|
|
1470
|
+
supportHibernation?: boolean;
|
|
1471
|
+
supportedActions?: string[];
|
|
1472
|
+
/**
|
|
1473
|
+
* @example
|
|
1474
|
+
* #FFFFFF
|
|
1475
|
+
*/
|
|
1476
|
+
themeColor?: string;
|
|
1477
|
+
userCustomName?: string;
|
|
1478
|
+
version?: string;
|
|
1479
|
+
static names(): { [key: string]: string } {
|
|
1480
|
+
return {
|
|
1481
|
+
accessType: 'AccessType',
|
|
1482
|
+
aliUid: 'AliUid',
|
|
1483
|
+
appId: 'AppId',
|
|
1484
|
+
authMode: 'AuthMode',
|
|
1485
|
+
categoryId: 'CategoryId',
|
|
1486
|
+
categoryType: 'CategoryType',
|
|
1487
|
+
cdsName: 'CdsName',
|
|
1488
|
+
centerResourceId: 'CenterResourceId',
|
|
1489
|
+
chargeType: 'ChargeType',
|
|
1490
|
+
clients: 'Clients',
|
|
1491
|
+
connectionProperties: 'ConnectionProperties',
|
|
1492
|
+
createTime: 'CreateTime',
|
|
1493
|
+
desktopDurationList: 'DesktopDurationList',
|
|
1494
|
+
desktopTimers: 'DesktopTimers',
|
|
1495
|
+
expiredTime: 'ExpiredTime',
|
|
1496
|
+
externalDomainId: 'ExternalDomainId',
|
|
1497
|
+
externalUserId: 'ExternalUserId',
|
|
1498
|
+
fotaUpdate: 'FotaUpdate',
|
|
1499
|
+
globalStatus: 'GlobalStatus',
|
|
1500
|
+
hasUpgrade: 'HasUpgrade',
|
|
1501
|
+
hibernationBeta: 'HibernationBeta',
|
|
1502
|
+
icon: 'Icon',
|
|
1503
|
+
lastStartTime: 'LastStartTime',
|
|
1504
|
+
localName: 'LocalName',
|
|
1505
|
+
managementStatuses: 'ManagementStatuses',
|
|
1506
|
+
officeSiteId: 'OfficeSiteId',
|
|
1507
|
+
orderStatus: 'OrderStatus',
|
|
1508
|
+
os: 'Os',
|
|
1509
|
+
osDescription: 'OsDescription',
|
|
1510
|
+
osType: 'OsType',
|
|
1511
|
+
osUpdate: 'OsUpdate',
|
|
1512
|
+
productType: 'ProductType',
|
|
1513
|
+
protocolType: 'ProtocolType',
|
|
1514
|
+
realDesktopId: 'RealDesktopId',
|
|
1515
|
+
regionId: 'RegionId',
|
|
1516
|
+
regionLocation: 'RegionLocation',
|
|
1517
|
+
resourceGroupId: 'ResourceGroupId',
|
|
1518
|
+
resourceId: 'ResourceId',
|
|
1519
|
+
resourceLevel: 'ResourceLevel',
|
|
1520
|
+
resourceName: 'ResourceName',
|
|
1521
|
+
resourceSessionStatus: 'ResourceSessionStatus',
|
|
1522
|
+
resourceStatus: 'ResourceStatus',
|
|
1523
|
+
resourceType: 'ResourceType',
|
|
1524
|
+
sessionType: 'SessionType',
|
|
1525
|
+
sessions: 'Sessions',
|
|
1526
|
+
subPayType: 'SubPayType',
|
|
1527
|
+
supportHibernation: 'SupportHibernation',
|
|
1528
|
+
supportedActions: 'SupportedActions',
|
|
1529
|
+
themeColor: 'ThemeColor',
|
|
1530
|
+
userCustomName: 'UserCustomName',
|
|
1531
|
+
version: 'Version',
|
|
1532
|
+
};
|
|
1533
|
+
}
|
|
1534
|
+
|
|
1535
|
+
static types(): { [key: string]: any } {
|
|
1536
|
+
return {
|
|
1537
|
+
accessType: 'string',
|
|
1538
|
+
aliUid: 'number',
|
|
1539
|
+
appId: 'string',
|
|
1540
|
+
authMode: 'string',
|
|
1541
|
+
categoryId: 'number',
|
|
1542
|
+
categoryType: 'number',
|
|
1543
|
+
cdsName: 'string',
|
|
1544
|
+
centerResourceId: 'string',
|
|
1545
|
+
chargeType: 'string',
|
|
1546
|
+
clients: { 'type': 'array', 'itemType': DescribeUserResourcesResponseBodyResourcesClients },
|
|
1547
|
+
connectionProperties: 'string',
|
|
1548
|
+
createTime: 'string',
|
|
1549
|
+
desktopDurationList: { 'type': 'array', 'itemType': DescribeUserResourcesResponseBodyResourcesDesktopDurationList },
|
|
1550
|
+
desktopTimers: { 'type': 'array', 'itemType': DescribeUserResourcesResponseBodyResourcesDesktopTimers },
|
|
1551
|
+
expiredTime: 'string',
|
|
1552
|
+
externalDomainId: 'string',
|
|
1553
|
+
externalUserId: 'string',
|
|
1554
|
+
fotaUpdate: DescribeUserResourcesResponseBodyResourcesFotaUpdate,
|
|
1555
|
+
globalStatus: 'boolean',
|
|
1556
|
+
hasUpgrade: 'boolean',
|
|
1557
|
+
hibernationBeta: 'boolean',
|
|
1558
|
+
icon: 'string',
|
|
1559
|
+
lastStartTime: 'string',
|
|
1560
|
+
localName: 'string',
|
|
1561
|
+
managementStatuses: { 'type': 'array', 'itemType': 'string' },
|
|
1562
|
+
officeSiteId: 'string',
|
|
1563
|
+
orderStatus: 'string',
|
|
1564
|
+
os: 'string',
|
|
1565
|
+
osDescription: 'string',
|
|
1566
|
+
osType: 'string',
|
|
1567
|
+
osUpdate: DescribeUserResourcesResponseBodyResourcesOsUpdate,
|
|
1568
|
+
productType: 'string',
|
|
1569
|
+
protocolType: 'string',
|
|
1570
|
+
realDesktopId: 'string',
|
|
1571
|
+
regionId: 'string',
|
|
1572
|
+
regionLocation: 'string',
|
|
1573
|
+
resourceGroupId: 'string',
|
|
1574
|
+
resourceId: 'string',
|
|
1575
|
+
resourceLevel: 'string',
|
|
1576
|
+
resourceName: 'string',
|
|
1577
|
+
resourceSessionStatus: 'string',
|
|
1578
|
+
resourceStatus: 'string',
|
|
1579
|
+
resourceType: 'string',
|
|
1580
|
+
sessionType: 'string',
|
|
1581
|
+
sessions: { 'type': 'array', 'itemType': DescribeUserResourcesResponseBodyResourcesSessions },
|
|
1582
|
+
subPayType: 'string',
|
|
1583
|
+
supportHibernation: 'boolean',
|
|
1584
|
+
supportedActions: { 'type': 'array', 'itemType': 'string' },
|
|
1585
|
+
themeColor: 'string',
|
|
1586
|
+
userCustomName: 'string',
|
|
1587
|
+
version: 'string',
|
|
1588
|
+
};
|
|
1589
|
+
}
|
|
1590
|
+
|
|
1591
|
+
validate() {
|
|
1592
|
+
if(Array.isArray(this.clients)) {
|
|
1593
|
+
$dara.Model.validateArray(this.clients);
|
|
1594
|
+
}
|
|
1595
|
+
if(Array.isArray(this.desktopDurationList)) {
|
|
1596
|
+
$dara.Model.validateArray(this.desktopDurationList);
|
|
1597
|
+
}
|
|
1598
|
+
if(Array.isArray(this.desktopTimers)) {
|
|
1599
|
+
$dara.Model.validateArray(this.desktopTimers);
|
|
1600
|
+
}
|
|
1601
|
+
if(this.fotaUpdate && typeof (this.fotaUpdate as any).validate === 'function') {
|
|
1602
|
+
(this.fotaUpdate as any).validate();
|
|
1603
|
+
}
|
|
1604
|
+
if(Array.isArray(this.managementStatuses)) {
|
|
1605
|
+
$dara.Model.validateArray(this.managementStatuses);
|
|
1606
|
+
}
|
|
1607
|
+
if(this.osUpdate && typeof (this.osUpdate as any).validate === 'function') {
|
|
1608
|
+
(this.osUpdate as any).validate();
|
|
1609
|
+
}
|
|
1610
|
+
if(Array.isArray(this.sessions)) {
|
|
1611
|
+
$dara.Model.validateArray(this.sessions);
|
|
1612
|
+
}
|
|
1613
|
+
if(Array.isArray(this.supportedActions)) {
|
|
1614
|
+
$dara.Model.validateArray(this.supportedActions);
|
|
1615
|
+
}
|
|
1616
|
+
super.validate();
|
|
1617
|
+
}
|
|
1618
|
+
|
|
1619
|
+
constructor(map?: { [key: string]: any }) {
|
|
1620
|
+
super(map);
|
|
1621
|
+
}
|
|
1622
|
+
}
|
|
1623
|
+
|
|
863
1624
|
export class GetCloudDriveServiceMountTokenResponseBodyToken extends $dara.Model {
|
|
864
1625
|
/**
|
|
865
1626
|
* @example
|
|
@@ -1152,6 +1913,7 @@ export class ApproveFotaUpdateRequest extends $dara.Model {
|
|
|
1152
1913
|
* 4771b873-c757-4893-973c-7f5beejh****
|
|
1153
1914
|
*/
|
|
1154
1915
|
sessionId?: string;
|
|
1916
|
+
targetStatus?: string;
|
|
1155
1917
|
uuid?: string;
|
|
1156
1918
|
static names(): { [key: string]: string } {
|
|
1157
1919
|
return {
|
|
@@ -1161,6 +1923,7 @@ export class ApproveFotaUpdateRequest extends $dara.Model {
|
|
|
1161
1923
|
loginToken: 'LoginToken',
|
|
1162
1924
|
regionId: 'RegionId',
|
|
1163
1925
|
sessionId: 'SessionId',
|
|
1926
|
+
targetStatus: 'TargetStatus',
|
|
1164
1927
|
uuid: 'Uuid',
|
|
1165
1928
|
};
|
|
1166
1929
|
}
|
|
@@ -1173,6 +1936,7 @@ export class ApproveFotaUpdateRequest extends $dara.Model {
|
|
|
1173
1936
|
loginToken: 'string',
|
|
1174
1937
|
regionId: 'string',
|
|
1175
1938
|
sessionId: 'string',
|
|
1939
|
+
targetStatus: 'string',
|
|
1176
1940
|
uuid: 'string',
|
|
1177
1941
|
};
|
|
1178
1942
|
}
|
|
@@ -2255,81 +3019,360 @@ export class DescribeRegionsResponse extends $dara.Model {
|
|
|
2255
3019
|
|
|
2256
3020
|
export class DescribeSnapshotsRequest extends $dara.Model {
|
|
2257
3021
|
/**
|
|
2258
|
-
* @remarks
|
|
2259
|
-
* This parameter is required.
|
|
2260
|
-
*
|
|
3022
|
+
* @remarks
|
|
3023
|
+
* This parameter is required.
|
|
3024
|
+
*
|
|
3025
|
+
* @example
|
|
3026
|
+
* 16dad2b6-3c6d-4e4c-b057-78ecb13c****
|
|
3027
|
+
*/
|
|
3028
|
+
clientId?: string;
|
|
3029
|
+
/**
|
|
3030
|
+
* @example
|
|
3031
|
+
* ecd-gx2x1dhsmucyy****
|
|
3032
|
+
*/
|
|
3033
|
+
desktopId?: string;
|
|
3034
|
+
/**
|
|
3035
|
+
* @remarks
|
|
3036
|
+
* This parameter is required.
|
|
3037
|
+
*
|
|
3038
|
+
* @example
|
|
3039
|
+
* v16abfb945208fc5745061668654680853da4a25202d1a394fcad57bba484e9827ad43ea7d10fb6bf13d44a4adc0e9****
|
|
3040
|
+
*/
|
|
3041
|
+
loginToken?: string;
|
|
3042
|
+
/**
|
|
3043
|
+
* @example
|
|
3044
|
+
* 10
|
|
3045
|
+
*/
|
|
3046
|
+
maxResults?: number;
|
|
3047
|
+
/**
|
|
3048
|
+
* @example
|
|
3049
|
+
* AAAAAV3MpHK1AP0pfERHZN5pu6nmB7qrRFJ8vmttjxPL****
|
|
3050
|
+
*/
|
|
3051
|
+
nextToken?: string;
|
|
3052
|
+
/**
|
|
3053
|
+
* @remarks
|
|
3054
|
+
* This parameter is required.
|
|
3055
|
+
*
|
|
3056
|
+
* @example
|
|
3057
|
+
* cn-hangzhou
|
|
3058
|
+
*/
|
|
3059
|
+
regionId?: string;
|
|
3060
|
+
/**
|
|
3061
|
+
* @example
|
|
3062
|
+
* a99b9aca-bac5-4da2-819e-400ce98f****
|
|
3063
|
+
*/
|
|
3064
|
+
sessionId?: string;
|
|
3065
|
+
/**
|
|
3066
|
+
* @example
|
|
3067
|
+
* s-2ze81owrnv9pity4****
|
|
3068
|
+
*/
|
|
3069
|
+
snapshotId?: string;
|
|
3070
|
+
static names(): { [key: string]: string } {
|
|
3071
|
+
return {
|
|
3072
|
+
clientId: 'ClientId',
|
|
3073
|
+
desktopId: 'DesktopId',
|
|
3074
|
+
loginToken: 'LoginToken',
|
|
3075
|
+
maxResults: 'MaxResults',
|
|
3076
|
+
nextToken: 'NextToken',
|
|
3077
|
+
regionId: 'RegionId',
|
|
3078
|
+
sessionId: 'SessionId',
|
|
3079
|
+
snapshotId: 'SnapshotId',
|
|
3080
|
+
};
|
|
3081
|
+
}
|
|
3082
|
+
|
|
3083
|
+
static types(): { [key: string]: any } {
|
|
3084
|
+
return {
|
|
3085
|
+
clientId: 'string',
|
|
3086
|
+
desktopId: 'string',
|
|
3087
|
+
loginToken: 'string',
|
|
3088
|
+
maxResults: 'number',
|
|
3089
|
+
nextToken: 'string',
|
|
3090
|
+
regionId: 'string',
|
|
3091
|
+
sessionId: 'string',
|
|
3092
|
+
snapshotId: 'string',
|
|
3093
|
+
};
|
|
3094
|
+
}
|
|
3095
|
+
|
|
3096
|
+
validate() {
|
|
3097
|
+
super.validate();
|
|
3098
|
+
}
|
|
3099
|
+
|
|
3100
|
+
constructor(map?: { [key: string]: any }) {
|
|
3101
|
+
super(map);
|
|
3102
|
+
}
|
|
3103
|
+
}
|
|
3104
|
+
|
|
3105
|
+
export class DescribeSnapshotsResponseBody extends $dara.Model {
|
|
3106
|
+
/**
|
|
3107
|
+
* @example
|
|
3108
|
+
* AAAAAV3MpHK1AP0pfERHZN5pu6nmB7qrRFJ8vmttjxPL****
|
|
3109
|
+
*/
|
|
3110
|
+
nextToken?: string;
|
|
3111
|
+
/**
|
|
3112
|
+
* @example
|
|
3113
|
+
* 51592A88-0F2C-55E6-AD2C-2AD9C10D****
|
|
3114
|
+
*/
|
|
3115
|
+
requestId?: string;
|
|
3116
|
+
snapshots?: DescribeSnapshotsResponseBodySnapshots[];
|
|
3117
|
+
static names(): { [key: string]: string } {
|
|
3118
|
+
return {
|
|
3119
|
+
nextToken: 'NextToken',
|
|
3120
|
+
requestId: 'RequestId',
|
|
3121
|
+
snapshots: 'Snapshots',
|
|
3122
|
+
};
|
|
3123
|
+
}
|
|
3124
|
+
|
|
3125
|
+
static types(): { [key: string]: any } {
|
|
3126
|
+
return {
|
|
3127
|
+
nextToken: 'string',
|
|
3128
|
+
requestId: 'string',
|
|
3129
|
+
snapshots: { 'type': 'array', 'itemType': DescribeSnapshotsResponseBodySnapshots },
|
|
3130
|
+
};
|
|
3131
|
+
}
|
|
3132
|
+
|
|
3133
|
+
validate() {
|
|
3134
|
+
if(Array.isArray(this.snapshots)) {
|
|
3135
|
+
$dara.Model.validateArray(this.snapshots);
|
|
3136
|
+
}
|
|
3137
|
+
super.validate();
|
|
3138
|
+
}
|
|
3139
|
+
|
|
3140
|
+
constructor(map?: { [key: string]: any }) {
|
|
3141
|
+
super(map);
|
|
3142
|
+
}
|
|
3143
|
+
}
|
|
3144
|
+
|
|
3145
|
+
export class DescribeSnapshotsResponse extends $dara.Model {
|
|
3146
|
+
headers?: { [key: string]: string };
|
|
3147
|
+
statusCode?: number;
|
|
3148
|
+
body?: DescribeSnapshotsResponseBody;
|
|
3149
|
+
static names(): { [key: string]: string } {
|
|
3150
|
+
return {
|
|
3151
|
+
headers: 'headers',
|
|
3152
|
+
statusCode: 'statusCode',
|
|
3153
|
+
body: 'body',
|
|
3154
|
+
};
|
|
3155
|
+
}
|
|
3156
|
+
|
|
3157
|
+
static types(): { [key: string]: any } {
|
|
3158
|
+
return {
|
|
3159
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3160
|
+
statusCode: 'number',
|
|
3161
|
+
body: DescribeSnapshotsResponseBody,
|
|
3162
|
+
};
|
|
3163
|
+
}
|
|
3164
|
+
|
|
3165
|
+
validate() {
|
|
3166
|
+
if(this.headers) {
|
|
3167
|
+
$dara.Model.validateMap(this.headers);
|
|
3168
|
+
}
|
|
3169
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
3170
|
+
(this.body as any).validate();
|
|
3171
|
+
}
|
|
3172
|
+
super.validate();
|
|
3173
|
+
}
|
|
3174
|
+
|
|
3175
|
+
constructor(map?: { [key: string]: any }) {
|
|
3176
|
+
super(map);
|
|
3177
|
+
}
|
|
3178
|
+
}
|
|
3179
|
+
|
|
3180
|
+
export class DescribeUserResourcesRequest extends $dara.Model {
|
|
3181
|
+
/**
|
|
3182
|
+
* @example
|
|
3183
|
+
* INTERNET
|
|
3184
|
+
*/
|
|
3185
|
+
accessType?: string;
|
|
3186
|
+
/**
|
|
3187
|
+
* @example
|
|
3188
|
+
* false
|
|
3189
|
+
*/
|
|
3190
|
+
autoRefresh?: boolean;
|
|
3191
|
+
/**
|
|
3192
|
+
* @example
|
|
3193
|
+
* 0
|
|
3194
|
+
*/
|
|
3195
|
+
categoryId?: number;
|
|
3196
|
+
/**
|
|
3197
|
+
* @example
|
|
3198
|
+
* 1
|
|
3199
|
+
*/
|
|
3200
|
+
categoryType?: number;
|
|
3201
|
+
/**
|
|
3202
|
+
* @remarks
|
|
3203
|
+
* This parameter is required.
|
|
3204
|
+
*
|
|
3205
|
+
* @example
|
|
3206
|
+
* 54c17e1d-2d72-4b87-aa33-25f3b3f2****
|
|
3207
|
+
*/
|
|
3208
|
+
clientId?: string;
|
|
3209
|
+
/**
|
|
3210
|
+
* @example
|
|
3211
|
+
* windows
|
|
3212
|
+
*/
|
|
3213
|
+
clientType?: string;
|
|
3214
|
+
/**
|
|
3215
|
+
* @example
|
|
3216
|
+
* 7.6.0-R-20241112.222305
|
|
3217
|
+
*/
|
|
3218
|
+
clientVersion?: string;
|
|
3219
|
+
/**
|
|
3220
|
+
* @example
|
|
3221
|
+
* false
|
|
3222
|
+
*/
|
|
3223
|
+
dualCenterForward?: boolean;
|
|
3224
|
+
/**
|
|
3225
|
+
* @example
|
|
3226
|
+
* zh-CN
|
|
3227
|
+
*/
|
|
3228
|
+
language?: string;
|
|
3229
|
+
/**
|
|
3230
|
+
* @example
|
|
3231
|
+
* cn-hangzhou
|
|
3232
|
+
*/
|
|
3233
|
+
loginRegionId?: string;
|
|
3234
|
+
/**
|
|
3235
|
+
* @remarks
|
|
3236
|
+
* This parameter is required.
|
|
3237
|
+
*
|
|
3238
|
+
* @example
|
|
3239
|
+
* v18101ac6a9e69c66b04a163031680463660b4b216cd758f34b60b9ad6a7c7f7334b83dd8f75eef4209c68f9f1080b****
|
|
3240
|
+
*/
|
|
3241
|
+
loginToken?: string;
|
|
3242
|
+
/**
|
|
3243
|
+
* @example
|
|
3244
|
+
* 500
|
|
3245
|
+
*/
|
|
3246
|
+
maxResults?: number;
|
|
3247
|
+
/**
|
|
3248
|
+
* @example
|
|
3249
|
+
* caeba0bbb2be03f84eb48b699f0a4883
|
|
3250
|
+
*/
|
|
3251
|
+
nextToken?: string;
|
|
3252
|
+
officeSiteIds?: string[];
|
|
3253
|
+
/**
|
|
2261
3254
|
* @example
|
|
2262
|
-
*
|
|
3255
|
+
* AssignTime
|
|
2263
3256
|
*/
|
|
2264
|
-
|
|
3257
|
+
orderBy?: string;
|
|
3258
|
+
productTypes?: string[];
|
|
2265
3259
|
/**
|
|
2266
3260
|
* @example
|
|
2267
|
-
*
|
|
3261
|
+
* ASP
|
|
2268
3262
|
*/
|
|
2269
|
-
|
|
3263
|
+
protocolType?: string;
|
|
2270
3264
|
/**
|
|
2271
|
-
* @remarks
|
|
2272
|
-
* This parameter is required.
|
|
2273
|
-
*
|
|
2274
3265
|
* @example
|
|
2275
|
-
*
|
|
3266
|
+
* false
|
|
2276
3267
|
*/
|
|
2277
|
-
|
|
3268
|
+
queryFotaUpdate?: boolean;
|
|
2278
3269
|
/**
|
|
2279
3270
|
* @example
|
|
2280
|
-
*
|
|
3271
|
+
* false
|
|
2281
3272
|
*/
|
|
2282
|
-
|
|
3273
|
+
refreshFotaUpdate?: boolean;
|
|
3274
|
+
resourceIds?: string[];
|
|
2283
3275
|
/**
|
|
2284
3276
|
* @example
|
|
2285
|
-
*
|
|
3277
|
+
* testName
|
|
2286
3278
|
*/
|
|
2287
|
-
|
|
3279
|
+
resourceName?: string;
|
|
3280
|
+
resourceTypes?: string[];
|
|
3281
|
+
/**
|
|
3282
|
+
* @example
|
|
3283
|
+
* desktop
|
|
3284
|
+
*/
|
|
3285
|
+
scene?: string;
|
|
2288
3286
|
/**
|
|
2289
|
-
* @remarks
|
|
2290
|
-
* This parameter is required.
|
|
2291
|
-
*
|
|
2292
3287
|
* @example
|
|
2293
3288
|
* cn-hangzhou
|
|
2294
3289
|
*/
|
|
2295
|
-
|
|
3290
|
+
searchRegionId?: string;
|
|
2296
3291
|
/**
|
|
2297
3292
|
* @example
|
|
2298
|
-
*
|
|
3293
|
+
* cd45e873-650d-4d70-acb9-f996187a****
|
|
2299
3294
|
*/
|
|
2300
3295
|
sessionId?: string;
|
|
2301
3296
|
/**
|
|
2302
3297
|
* @example
|
|
2303
|
-
*
|
|
3298
|
+
* ASC
|
|
2304
3299
|
*/
|
|
2305
|
-
|
|
3300
|
+
sortType?: string;
|
|
2306
3301
|
static names(): { [key: string]: string } {
|
|
2307
3302
|
return {
|
|
3303
|
+
accessType: 'AccessType',
|
|
3304
|
+
autoRefresh: 'AutoRefresh',
|
|
3305
|
+
categoryId: 'CategoryId',
|
|
3306
|
+
categoryType: 'CategoryType',
|
|
2308
3307
|
clientId: 'ClientId',
|
|
2309
|
-
|
|
3308
|
+
clientType: 'ClientType',
|
|
3309
|
+
clientVersion: 'ClientVersion',
|
|
3310
|
+
dualCenterForward: 'DualCenterForward',
|
|
3311
|
+
language: 'Language',
|
|
3312
|
+
loginRegionId: 'LoginRegionId',
|
|
2310
3313
|
loginToken: 'LoginToken',
|
|
2311
3314
|
maxResults: 'MaxResults',
|
|
2312
3315
|
nextToken: 'NextToken',
|
|
2313
|
-
|
|
3316
|
+
officeSiteIds: 'OfficeSiteIds',
|
|
3317
|
+
orderBy: 'OrderBy',
|
|
3318
|
+
productTypes: 'ProductTypes',
|
|
3319
|
+
protocolType: 'ProtocolType',
|
|
3320
|
+
queryFotaUpdate: 'QueryFotaUpdate',
|
|
3321
|
+
refreshFotaUpdate: 'RefreshFotaUpdate',
|
|
3322
|
+
resourceIds: 'ResourceIds',
|
|
3323
|
+
resourceName: 'ResourceName',
|
|
3324
|
+
resourceTypes: 'ResourceTypes',
|
|
3325
|
+
scene: 'Scene',
|
|
3326
|
+
searchRegionId: 'SearchRegionId',
|
|
2314
3327
|
sessionId: 'SessionId',
|
|
2315
|
-
|
|
3328
|
+
sortType: 'SortType',
|
|
2316
3329
|
};
|
|
2317
3330
|
}
|
|
2318
3331
|
|
|
2319
3332
|
static types(): { [key: string]: any } {
|
|
2320
3333
|
return {
|
|
3334
|
+
accessType: 'string',
|
|
3335
|
+
autoRefresh: 'boolean',
|
|
3336
|
+
categoryId: 'number',
|
|
3337
|
+
categoryType: 'number',
|
|
2321
3338
|
clientId: 'string',
|
|
2322
|
-
|
|
3339
|
+
clientType: 'string',
|
|
3340
|
+
clientVersion: 'string',
|
|
3341
|
+
dualCenterForward: 'boolean',
|
|
3342
|
+
language: 'string',
|
|
3343
|
+
loginRegionId: 'string',
|
|
2323
3344
|
loginToken: 'string',
|
|
2324
3345
|
maxResults: 'number',
|
|
2325
3346
|
nextToken: 'string',
|
|
2326
|
-
|
|
3347
|
+
officeSiteIds: { 'type': 'array', 'itemType': 'string' },
|
|
3348
|
+
orderBy: 'string',
|
|
3349
|
+
productTypes: { 'type': 'array', 'itemType': 'string' },
|
|
3350
|
+
protocolType: 'string',
|
|
3351
|
+
queryFotaUpdate: 'boolean',
|
|
3352
|
+
refreshFotaUpdate: 'boolean',
|
|
3353
|
+
resourceIds: { 'type': 'array', 'itemType': 'string' },
|
|
3354
|
+
resourceName: 'string',
|
|
3355
|
+
resourceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
3356
|
+
scene: 'string',
|
|
3357
|
+
searchRegionId: 'string',
|
|
2327
3358
|
sessionId: 'string',
|
|
2328
|
-
|
|
3359
|
+
sortType: 'string',
|
|
2329
3360
|
};
|
|
2330
3361
|
}
|
|
2331
3362
|
|
|
2332
3363
|
validate() {
|
|
3364
|
+
if(Array.isArray(this.officeSiteIds)) {
|
|
3365
|
+
$dara.Model.validateArray(this.officeSiteIds);
|
|
3366
|
+
}
|
|
3367
|
+
if(Array.isArray(this.productTypes)) {
|
|
3368
|
+
$dara.Model.validateArray(this.productTypes);
|
|
3369
|
+
}
|
|
3370
|
+
if(Array.isArray(this.resourceIds)) {
|
|
3371
|
+
$dara.Model.validateArray(this.resourceIds);
|
|
3372
|
+
}
|
|
3373
|
+
if(Array.isArray(this.resourceTypes)) {
|
|
3374
|
+
$dara.Model.validateArray(this.resourceTypes);
|
|
3375
|
+
}
|
|
2333
3376
|
super.validate();
|
|
2334
3377
|
}
|
|
2335
3378
|
|
|
@@ -2338,37 +3381,50 @@ export class DescribeSnapshotsRequest extends $dara.Model {
|
|
|
2338
3381
|
}
|
|
2339
3382
|
}
|
|
2340
3383
|
|
|
2341
|
-
export class
|
|
3384
|
+
export class DescribeUserResourcesResponseBody extends $dara.Model {
|
|
2342
3385
|
/**
|
|
2343
3386
|
* @example
|
|
2344
3387
|
* AAAAAV3MpHK1AP0pfERHZN5pu6nmB7qrRFJ8vmttjxPL****
|
|
2345
3388
|
*/
|
|
2346
3389
|
nextToken?: string;
|
|
3390
|
+
queryFailedResourceTypes?: string[];
|
|
2347
3391
|
/**
|
|
2348
3392
|
* @example
|
|
2349
|
-
*
|
|
3393
|
+
* 1732869815062
|
|
3394
|
+
*/
|
|
3395
|
+
rankVersion?: number;
|
|
3396
|
+
/**
|
|
3397
|
+
* @example
|
|
3398
|
+
* 1CBAFFAB-B697-4049-A9B1-67E1FC5F****
|
|
2350
3399
|
*/
|
|
2351
3400
|
requestId?: string;
|
|
2352
|
-
|
|
3401
|
+
resources?: DescribeUserResourcesResponseBodyResources[];
|
|
2353
3402
|
static names(): { [key: string]: string } {
|
|
2354
3403
|
return {
|
|
2355
3404
|
nextToken: 'NextToken',
|
|
3405
|
+
queryFailedResourceTypes: 'QueryFailedResourceTypes',
|
|
3406
|
+
rankVersion: 'RankVersion',
|
|
2356
3407
|
requestId: 'RequestId',
|
|
2357
|
-
|
|
3408
|
+
resources: 'Resources',
|
|
2358
3409
|
};
|
|
2359
3410
|
}
|
|
2360
3411
|
|
|
2361
3412
|
static types(): { [key: string]: any } {
|
|
2362
3413
|
return {
|
|
2363
3414
|
nextToken: 'string',
|
|
3415
|
+
queryFailedResourceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
3416
|
+
rankVersion: 'number',
|
|
2364
3417
|
requestId: 'string',
|
|
2365
|
-
|
|
3418
|
+
resources: { 'type': 'array', 'itemType': DescribeUserResourcesResponseBodyResources },
|
|
2366
3419
|
};
|
|
2367
3420
|
}
|
|
2368
3421
|
|
|
2369
3422
|
validate() {
|
|
2370
|
-
if(Array.isArray(this.
|
|
2371
|
-
$dara.Model.validateArray(this.
|
|
3423
|
+
if(Array.isArray(this.queryFailedResourceTypes)) {
|
|
3424
|
+
$dara.Model.validateArray(this.queryFailedResourceTypes);
|
|
3425
|
+
}
|
|
3426
|
+
if(Array.isArray(this.resources)) {
|
|
3427
|
+
$dara.Model.validateArray(this.resources);
|
|
2372
3428
|
}
|
|
2373
3429
|
super.validate();
|
|
2374
3430
|
}
|
|
@@ -2378,10 +3434,10 @@ export class DescribeSnapshotsResponseBody extends $dara.Model {
|
|
|
2378
3434
|
}
|
|
2379
3435
|
}
|
|
2380
3436
|
|
|
2381
|
-
export class
|
|
3437
|
+
export class DescribeUserResourcesResponse extends $dara.Model {
|
|
2382
3438
|
headers?: { [key: string]: string };
|
|
2383
3439
|
statusCode?: number;
|
|
2384
|
-
body?:
|
|
3440
|
+
body?: DescribeUserResourcesResponseBody;
|
|
2385
3441
|
static names(): { [key: string]: string } {
|
|
2386
3442
|
return {
|
|
2387
3443
|
headers: 'headers',
|
|
@@ -2394,7 +3450,7 @@ export class DescribeSnapshotsResponse extends $dara.Model {
|
|
|
2394
3450
|
return {
|
|
2395
3451
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2396
3452
|
statusCode: 'number',
|
|
2397
|
-
body:
|
|
3453
|
+
body: DescribeUserResourcesResponseBody,
|
|
2398
3454
|
};
|
|
2399
3455
|
}
|
|
2400
3456
|
|
|
@@ -3640,6 +4696,7 @@ export class RebootDesktopsRequest extends $dara.Model {
|
|
|
3640
4696
|
* v18101ac6a9e69c66b04a163031680463660b4b216cd758f34b60b9ad6a7c7f7334b83dd8f75eef4209c68f9f1080b****
|
|
3641
4697
|
*/
|
|
3642
4698
|
loginToken?: string;
|
|
4699
|
+
osUpdate?: boolean;
|
|
3643
4700
|
/**
|
|
3644
4701
|
* @remarks
|
|
3645
4702
|
* The region ID. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/196646.html) operation to query the regions supported by WUYING Workspace.
|
|
@@ -3682,6 +4739,7 @@ export class RebootDesktopsRequest extends $dara.Model {
|
|
|
3682
4739
|
clientVersion: 'ClientVersion',
|
|
3683
4740
|
desktopId: 'DesktopId',
|
|
3684
4741
|
loginToken: 'LoginToken',
|
|
4742
|
+
osUpdate: 'OsUpdate',
|
|
3685
4743
|
regionId: 'RegionId',
|
|
3686
4744
|
sessionId: 'SessionId',
|
|
3687
4745
|
sessionToken: 'SessionToken',
|
|
@@ -3697,6 +4755,7 @@ export class RebootDesktopsRequest extends $dara.Model {
|
|
|
3697
4755
|
clientVersion: 'string',
|
|
3698
4756
|
desktopId: { 'type': 'array', 'itemType': 'string' },
|
|
3699
4757
|
loginToken: 'string',
|
|
4758
|
+
osUpdate: 'boolean',
|
|
3700
4759
|
regionId: 'string',
|
|
3701
4760
|
sessionId: 'string',
|
|
3702
4761
|
sessionToken: 'string',
|
|
@@ -5270,6 +6329,7 @@ export class StopDesktopsRequest extends $dara.Model {
|
|
|
5270
6329
|
* v18101ac6a9e69c66b04a163031680463660b4b216cd758f34b60b9ad6a7c7f7334b83dd8f75eef4209c68f9f1080b****
|
|
5271
6330
|
*/
|
|
5272
6331
|
loginToken?: string;
|
|
6332
|
+
osUpdate?: boolean;
|
|
5273
6333
|
/**
|
|
5274
6334
|
* @remarks
|
|
5275
6335
|
* The region ID. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/196646.html) operation to query the regions supported by WUYING Workspace.
|
|
@@ -5304,6 +6364,7 @@ export class StopDesktopsRequest extends $dara.Model {
|
|
|
5304
6364
|
clientVersion: 'ClientVersion',
|
|
5305
6365
|
desktopId: 'DesktopId',
|
|
5306
6366
|
loginToken: 'LoginToken',
|
|
6367
|
+
osUpdate: 'OsUpdate',
|
|
5307
6368
|
regionId: 'RegionId',
|
|
5308
6369
|
sessionId: 'SessionId',
|
|
5309
6370
|
sessionToken: 'SessionToken',
|
|
@@ -5318,6 +6379,7 @@ export class StopDesktopsRequest extends $dara.Model {
|
|
|
5318
6379
|
clientVersion: 'string',
|
|
5319
6380
|
desktopId: { 'type': 'array', 'itemType': 'string' },
|
|
5320
6381
|
loginToken: 'string',
|
|
6382
|
+
osUpdate: 'boolean',
|
|
5321
6383
|
regionId: 'string',
|
|
5322
6384
|
sessionId: 'string',
|
|
5323
6385
|
sessionToken: 'string',
|
|
@@ -5877,6 +6939,10 @@ export default class Client extends OpenApi {
|
|
|
5877
6939
|
query["SessionId"] = request.sessionId;
|
|
5878
6940
|
}
|
|
5879
6941
|
|
|
6942
|
+
if (!$dara.isNull(request.targetStatus)) {
|
|
6943
|
+
query["TargetStatus"] = request.targetStatus;
|
|
6944
|
+
}
|
|
6945
|
+
|
|
5880
6946
|
if (!$dara.isNull(request.uuid)) {
|
|
5881
6947
|
query["Uuid"] = request.uuid;
|
|
5882
6948
|
}
|
|
@@ -5895,7 +6961,12 @@ export default class Client extends OpenApi {
|
|
|
5895
6961
|
reqBodyType: "formData",
|
|
5896
6962
|
bodyType: "json",
|
|
5897
6963
|
});
|
|
5898
|
-
|
|
6964
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
6965
|
+
return $dara.cast<ApproveFotaUpdateResponse>(await this.callApi(params, req, runtime), new ApproveFotaUpdateResponse({}));
|
|
6966
|
+
} else {
|
|
6967
|
+
return $dara.cast<ApproveFotaUpdateResponse>(await this.execute(params, req, runtime), new ApproveFotaUpdateResponse({}));
|
|
6968
|
+
}
|
|
6969
|
+
|
|
5899
6970
|
}
|
|
5900
6971
|
|
|
5901
6972
|
/**
|
|
@@ -5963,7 +7034,12 @@ export default class Client extends OpenApi {
|
|
|
5963
7034
|
reqBodyType: "formData",
|
|
5964
7035
|
bodyType: "json",
|
|
5965
7036
|
});
|
|
5966
|
-
|
|
7037
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
7038
|
+
return $dara.cast<ChangePasswordResponse>(await this.callApi(params, req, runtime), new ChangePasswordResponse({}));
|
|
7039
|
+
} else {
|
|
7040
|
+
return $dara.cast<ChangePasswordResponse>(await this.execute(params, req, runtime), new ChangePasswordResponse({}));
|
|
7041
|
+
}
|
|
7042
|
+
|
|
5967
7043
|
}
|
|
5968
7044
|
|
|
5969
7045
|
/**
|
|
@@ -6021,7 +7097,12 @@ export default class Client extends OpenApi {
|
|
|
6021
7097
|
reqBodyType: "formData",
|
|
6022
7098
|
bodyType: "json",
|
|
6023
7099
|
});
|
|
6024
|
-
|
|
7100
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
7101
|
+
return $dara.cast<DeleteFingerPrintTemplateResponse>(await this.callApi(params, req, runtime), new DeleteFingerPrintTemplateResponse({}));
|
|
7102
|
+
} else {
|
|
7103
|
+
return $dara.cast<DeleteFingerPrintTemplateResponse>(await this.execute(params, req, runtime), new DeleteFingerPrintTemplateResponse({}));
|
|
7104
|
+
}
|
|
7105
|
+
|
|
6025
7106
|
}
|
|
6026
7107
|
|
|
6027
7108
|
/**
|
|
@@ -6067,7 +7148,12 @@ export default class Client extends OpenApi {
|
|
|
6067
7148
|
reqBodyType: "formData",
|
|
6068
7149
|
bodyType: "json",
|
|
6069
7150
|
});
|
|
6070
|
-
|
|
7151
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
7152
|
+
return $dara.cast<DescribeDirectoriesResponse>(await this.callApi(params, req, runtime), new DescribeDirectoriesResponse({}));
|
|
7153
|
+
} else {
|
|
7154
|
+
return $dara.cast<DescribeDirectoriesResponse>(await this.execute(params, req, runtime), new DescribeDirectoriesResponse({}));
|
|
7155
|
+
}
|
|
7156
|
+
|
|
6071
7157
|
}
|
|
6072
7158
|
|
|
6073
7159
|
/**
|
|
@@ -6117,7 +7203,12 @@ export default class Client extends OpenApi {
|
|
|
6117
7203
|
reqBodyType: "formData",
|
|
6118
7204
|
bodyType: "json",
|
|
6119
7205
|
});
|
|
6120
|
-
|
|
7206
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
7207
|
+
return $dara.cast<DescribeFingerPrintTemplatesResponse>(await this.callApi(params, req, runtime), new DescribeFingerPrintTemplatesResponse({}));
|
|
7208
|
+
} else {
|
|
7209
|
+
return $dara.cast<DescribeFingerPrintTemplatesResponse>(await this.execute(params, req, runtime), new DescribeFingerPrintTemplatesResponse({}));
|
|
7210
|
+
}
|
|
7211
|
+
|
|
6121
7212
|
}
|
|
6122
7213
|
|
|
6123
7214
|
/**
|
|
@@ -6231,7 +7322,12 @@ export default class Client extends OpenApi {
|
|
|
6231
7322
|
reqBodyType: "formData",
|
|
6232
7323
|
bodyType: "json",
|
|
6233
7324
|
});
|
|
6234
|
-
|
|
7325
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
7326
|
+
return $dara.cast<DescribeGlobalDesktopsResponse>(await this.callApi(params, req, runtime), new DescribeGlobalDesktopsResponse({}));
|
|
7327
|
+
} else {
|
|
7328
|
+
return $dara.cast<DescribeGlobalDesktopsResponse>(await this.execute(params, req, runtime), new DescribeGlobalDesktopsResponse({}));
|
|
7329
|
+
}
|
|
7330
|
+
|
|
6235
7331
|
}
|
|
6236
7332
|
|
|
6237
7333
|
/**
|
|
@@ -6277,7 +7373,12 @@ export default class Client extends OpenApi {
|
|
|
6277
7373
|
reqBodyType: "formData",
|
|
6278
7374
|
bodyType: "json",
|
|
6279
7375
|
});
|
|
6280
|
-
|
|
7376
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
7377
|
+
return $dara.cast<DescribeOfficeSitesResponse>(await this.callApi(params, req, runtime), new DescribeOfficeSitesResponse({}));
|
|
7378
|
+
} else {
|
|
7379
|
+
return $dara.cast<DescribeOfficeSitesResponse>(await this.execute(params, req, runtime), new DescribeOfficeSitesResponse({}));
|
|
7380
|
+
}
|
|
7381
|
+
|
|
6281
7382
|
}
|
|
6282
7383
|
|
|
6283
7384
|
/**
|
|
@@ -6319,7 +7420,12 @@ export default class Client extends OpenApi {
|
|
|
6319
7420
|
reqBodyType: "formData",
|
|
6320
7421
|
bodyType: "json",
|
|
6321
7422
|
});
|
|
6322
|
-
|
|
7423
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
7424
|
+
return $dara.cast<DescribeRegionsResponse>(await this.callApi(params, req, runtime), new DescribeRegionsResponse({}));
|
|
7425
|
+
} else {
|
|
7426
|
+
return $dara.cast<DescribeRegionsResponse>(await this.execute(params, req, runtime), new DescribeRegionsResponse({}));
|
|
7427
|
+
}
|
|
7428
|
+
|
|
6323
7429
|
}
|
|
6324
7430
|
|
|
6325
7431
|
/**
|
|
@@ -6387,7 +7493,12 @@ export default class Client extends OpenApi {
|
|
|
6387
7493
|
reqBodyType: "formData",
|
|
6388
7494
|
bodyType: "json",
|
|
6389
7495
|
});
|
|
6390
|
-
|
|
7496
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
7497
|
+
return $dara.cast<DescribeSnapshotsResponse>(await this.callApi(params, req, runtime), new DescribeSnapshotsResponse({}));
|
|
7498
|
+
} else {
|
|
7499
|
+
return $dara.cast<DescribeSnapshotsResponse>(await this.execute(params, req, runtime), new DescribeSnapshotsResponse({}));
|
|
7500
|
+
}
|
|
7501
|
+
|
|
6391
7502
|
}
|
|
6392
7503
|
|
|
6393
7504
|
/**
|
|
@@ -6401,6 +7512,153 @@ export default class Client extends OpenApi {
|
|
|
6401
7512
|
return await this.describeSnapshotsWithOptions(request, runtime);
|
|
6402
7513
|
}
|
|
6403
7514
|
|
|
7515
|
+
/**
|
|
7516
|
+
* 查询用户资源列表
|
|
7517
|
+
*
|
|
7518
|
+
* @param request - DescribeUserResourcesRequest
|
|
7519
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7520
|
+
* @returns DescribeUserResourcesResponse
|
|
7521
|
+
*/
|
|
7522
|
+
async describeUserResourcesWithOptions(request: DescribeUserResourcesRequest, runtime: $dara.RuntimeOptions): Promise<DescribeUserResourcesResponse> {
|
|
7523
|
+
request.validate();
|
|
7524
|
+
let query = { };
|
|
7525
|
+
if (!$dara.isNull(request.accessType)) {
|
|
7526
|
+
query["AccessType"] = request.accessType;
|
|
7527
|
+
}
|
|
7528
|
+
|
|
7529
|
+
if (!$dara.isNull(request.autoRefresh)) {
|
|
7530
|
+
query["AutoRefresh"] = request.autoRefresh;
|
|
7531
|
+
}
|
|
7532
|
+
|
|
7533
|
+
if (!$dara.isNull(request.categoryId)) {
|
|
7534
|
+
query["CategoryId"] = request.categoryId;
|
|
7535
|
+
}
|
|
7536
|
+
|
|
7537
|
+
if (!$dara.isNull(request.categoryType)) {
|
|
7538
|
+
query["CategoryType"] = request.categoryType;
|
|
7539
|
+
}
|
|
7540
|
+
|
|
7541
|
+
if (!$dara.isNull(request.clientId)) {
|
|
7542
|
+
query["ClientId"] = request.clientId;
|
|
7543
|
+
}
|
|
7544
|
+
|
|
7545
|
+
if (!$dara.isNull(request.clientType)) {
|
|
7546
|
+
query["ClientType"] = request.clientType;
|
|
7547
|
+
}
|
|
7548
|
+
|
|
7549
|
+
if (!$dara.isNull(request.clientVersion)) {
|
|
7550
|
+
query["ClientVersion"] = request.clientVersion;
|
|
7551
|
+
}
|
|
7552
|
+
|
|
7553
|
+
if (!$dara.isNull(request.dualCenterForward)) {
|
|
7554
|
+
query["DualCenterForward"] = request.dualCenterForward;
|
|
7555
|
+
}
|
|
7556
|
+
|
|
7557
|
+
if (!$dara.isNull(request.language)) {
|
|
7558
|
+
query["Language"] = request.language;
|
|
7559
|
+
}
|
|
7560
|
+
|
|
7561
|
+
if (!$dara.isNull(request.loginRegionId)) {
|
|
7562
|
+
query["LoginRegionId"] = request.loginRegionId;
|
|
7563
|
+
}
|
|
7564
|
+
|
|
7565
|
+
if (!$dara.isNull(request.loginToken)) {
|
|
7566
|
+
query["LoginToken"] = request.loginToken;
|
|
7567
|
+
}
|
|
7568
|
+
|
|
7569
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
7570
|
+
query["MaxResults"] = request.maxResults;
|
|
7571
|
+
}
|
|
7572
|
+
|
|
7573
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
7574
|
+
query["NextToken"] = request.nextToken;
|
|
7575
|
+
}
|
|
7576
|
+
|
|
7577
|
+
if (!$dara.isNull(request.officeSiteIds)) {
|
|
7578
|
+
query["OfficeSiteIds"] = request.officeSiteIds;
|
|
7579
|
+
}
|
|
7580
|
+
|
|
7581
|
+
if (!$dara.isNull(request.orderBy)) {
|
|
7582
|
+
query["OrderBy"] = request.orderBy;
|
|
7583
|
+
}
|
|
7584
|
+
|
|
7585
|
+
if (!$dara.isNull(request.productTypes)) {
|
|
7586
|
+
query["ProductTypes"] = request.productTypes;
|
|
7587
|
+
}
|
|
7588
|
+
|
|
7589
|
+
if (!$dara.isNull(request.protocolType)) {
|
|
7590
|
+
query["ProtocolType"] = request.protocolType;
|
|
7591
|
+
}
|
|
7592
|
+
|
|
7593
|
+
if (!$dara.isNull(request.queryFotaUpdate)) {
|
|
7594
|
+
query["QueryFotaUpdate"] = request.queryFotaUpdate;
|
|
7595
|
+
}
|
|
7596
|
+
|
|
7597
|
+
if (!$dara.isNull(request.refreshFotaUpdate)) {
|
|
7598
|
+
query["RefreshFotaUpdate"] = request.refreshFotaUpdate;
|
|
7599
|
+
}
|
|
7600
|
+
|
|
7601
|
+
if (!$dara.isNull(request.resourceIds)) {
|
|
7602
|
+
query["ResourceIds"] = request.resourceIds;
|
|
7603
|
+
}
|
|
7604
|
+
|
|
7605
|
+
if (!$dara.isNull(request.resourceName)) {
|
|
7606
|
+
query["ResourceName"] = request.resourceName;
|
|
7607
|
+
}
|
|
7608
|
+
|
|
7609
|
+
if (!$dara.isNull(request.resourceTypes)) {
|
|
7610
|
+
query["ResourceTypes"] = request.resourceTypes;
|
|
7611
|
+
}
|
|
7612
|
+
|
|
7613
|
+
if (!$dara.isNull(request.scene)) {
|
|
7614
|
+
query["Scene"] = request.scene;
|
|
7615
|
+
}
|
|
7616
|
+
|
|
7617
|
+
if (!$dara.isNull(request.searchRegionId)) {
|
|
7618
|
+
query["SearchRegionId"] = request.searchRegionId;
|
|
7619
|
+
}
|
|
7620
|
+
|
|
7621
|
+
if (!$dara.isNull(request.sessionId)) {
|
|
7622
|
+
query["SessionId"] = request.sessionId;
|
|
7623
|
+
}
|
|
7624
|
+
|
|
7625
|
+
if (!$dara.isNull(request.sortType)) {
|
|
7626
|
+
query["SortType"] = request.sortType;
|
|
7627
|
+
}
|
|
7628
|
+
|
|
7629
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
7630
|
+
query: OpenApiUtil.query(query),
|
|
7631
|
+
});
|
|
7632
|
+
let params = new $OpenApiUtil.Params({
|
|
7633
|
+
action: "DescribeUserResources",
|
|
7634
|
+
version: "2020-10-02",
|
|
7635
|
+
protocol: "HTTPS",
|
|
7636
|
+
pathname: "/",
|
|
7637
|
+
method: "POST",
|
|
7638
|
+
authType: "Anonymous",
|
|
7639
|
+
style: "RPC",
|
|
7640
|
+
reqBodyType: "formData",
|
|
7641
|
+
bodyType: "json",
|
|
7642
|
+
});
|
|
7643
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
7644
|
+
return $dara.cast<DescribeUserResourcesResponse>(await this.callApi(params, req, runtime), new DescribeUserResourcesResponse({}));
|
|
7645
|
+
} else {
|
|
7646
|
+
return $dara.cast<DescribeUserResourcesResponse>(await this.execute(params, req, runtime), new DescribeUserResourcesResponse({}));
|
|
7647
|
+
}
|
|
7648
|
+
|
|
7649
|
+
}
|
|
7650
|
+
|
|
7651
|
+
/**
|
|
7652
|
+
* 查询用户资源列表
|
|
7653
|
+
*
|
|
7654
|
+
* @param request - DescribeUserResourcesRequest
|
|
7655
|
+
* @returns DescribeUserResourcesResponse
|
|
7656
|
+
*/
|
|
7657
|
+
async describeUserResources(request: DescribeUserResourcesRequest): Promise<DescribeUserResourcesResponse> {
|
|
7658
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
7659
|
+
return await this.describeUserResourcesWithOptions(request, runtime);
|
|
7660
|
+
}
|
|
7661
|
+
|
|
6404
7662
|
/**
|
|
6405
7663
|
* @param request - EncryptPasswordRequest
|
|
6406
7664
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6451,7 +7709,12 @@ export default class Client extends OpenApi {
|
|
|
6451
7709
|
reqBodyType: "formData",
|
|
6452
7710
|
bodyType: "json",
|
|
6453
7711
|
});
|
|
6454
|
-
|
|
7712
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
7713
|
+
return $dara.cast<EncryptPasswordResponse>(await this.callApi(params, req, runtime), new EncryptPasswordResponse({}));
|
|
7714
|
+
} else {
|
|
7715
|
+
return $dara.cast<EncryptPasswordResponse>(await this.execute(params, req, runtime), new EncryptPasswordResponse({}));
|
|
7716
|
+
}
|
|
7717
|
+
|
|
6455
7718
|
}
|
|
6456
7719
|
|
|
6457
7720
|
/**
|
|
@@ -6507,7 +7770,12 @@ export default class Client extends OpenApi {
|
|
|
6507
7770
|
reqBodyType: "formData",
|
|
6508
7771
|
bodyType: "json",
|
|
6509
7772
|
});
|
|
6510
|
-
|
|
7773
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
7774
|
+
return $dara.cast<GetCloudDriveServiceMountTokenResponse>(await this.callApi(params, req, runtime), new GetCloudDriveServiceMountTokenResponse({}));
|
|
7775
|
+
} else {
|
|
7776
|
+
return $dara.cast<GetCloudDriveServiceMountTokenResponse>(await this.execute(params, req, runtime), new GetCloudDriveServiceMountTokenResponse({}));
|
|
7777
|
+
}
|
|
7778
|
+
|
|
6511
7779
|
}
|
|
6512
7780
|
|
|
6513
7781
|
/**
|
|
@@ -6603,7 +7871,12 @@ export default class Client extends OpenApi {
|
|
|
6603
7871
|
reqBodyType: "formData",
|
|
6604
7872
|
bodyType: "json",
|
|
6605
7873
|
});
|
|
6606
|
-
|
|
7874
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
7875
|
+
return $dara.cast<GetConnectionTicketResponse>(await this.callApi(params, req, runtime), new GetConnectionTicketResponse({}));
|
|
7876
|
+
} else {
|
|
7877
|
+
return $dara.cast<GetConnectionTicketResponse>(await this.execute(params, req, runtime), new GetConnectionTicketResponse({}));
|
|
7878
|
+
}
|
|
7879
|
+
|
|
6607
7880
|
}
|
|
6608
7881
|
|
|
6609
7882
|
/**
|
|
@@ -6711,7 +7984,12 @@ export default class Client extends OpenApi {
|
|
|
6711
7984
|
reqBodyType: "formData",
|
|
6712
7985
|
bodyType: "json",
|
|
6713
7986
|
});
|
|
6714
|
-
|
|
7987
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
7988
|
+
return $dara.cast<GetLoginTokenResponse>(await this.callApi(params, req, runtime), new GetLoginTokenResponse({}));
|
|
7989
|
+
} else {
|
|
7990
|
+
return $dara.cast<GetLoginTokenResponse>(await this.execute(params, req, runtime), new GetLoginTokenResponse({}));
|
|
7991
|
+
}
|
|
7992
|
+
|
|
6715
7993
|
}
|
|
6716
7994
|
|
|
6717
7995
|
/**
|
|
@@ -6761,7 +8039,12 @@ export default class Client extends OpenApi {
|
|
|
6761
8039
|
reqBodyType: "formData",
|
|
6762
8040
|
bodyType: "json",
|
|
6763
8041
|
});
|
|
6764
|
-
|
|
8042
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
8043
|
+
return $dara.cast<IsKeepAliveResponse>(await this.callApi(params, req, runtime), new IsKeepAliveResponse({}));
|
|
8044
|
+
} else {
|
|
8045
|
+
return $dara.cast<IsKeepAliveResponse>(await this.execute(params, req, runtime), new IsKeepAliveResponse({}));
|
|
8046
|
+
}
|
|
8047
|
+
|
|
6765
8048
|
}
|
|
6766
8049
|
|
|
6767
8050
|
/**
|
|
@@ -6811,7 +8094,12 @@ export default class Client extends OpenApi {
|
|
|
6811
8094
|
reqBodyType: "formData",
|
|
6812
8095
|
bodyType: "json",
|
|
6813
8096
|
});
|
|
6814
|
-
|
|
8097
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
8098
|
+
return $dara.cast<QueryEdsAgentReportConfigResponse>(await this.callApi(params, req, runtime), new QueryEdsAgentReportConfigResponse({}));
|
|
8099
|
+
} else {
|
|
8100
|
+
return $dara.cast<QueryEdsAgentReportConfigResponse>(await this.execute(params, req, runtime), new QueryEdsAgentReportConfigResponse({}));
|
|
8101
|
+
}
|
|
8102
|
+
|
|
6815
8103
|
}
|
|
6816
8104
|
|
|
6817
8105
|
/**
|
|
@@ -6859,6 +8147,10 @@ export default class Client extends OpenApi {
|
|
|
6859
8147
|
query["LoginToken"] = request.loginToken;
|
|
6860
8148
|
}
|
|
6861
8149
|
|
|
8150
|
+
if (!$dara.isNull(request.osUpdate)) {
|
|
8151
|
+
query["OsUpdate"] = request.osUpdate;
|
|
8152
|
+
}
|
|
8153
|
+
|
|
6862
8154
|
if (!$dara.isNull(request.regionId)) {
|
|
6863
8155
|
query["RegionId"] = request.regionId;
|
|
6864
8156
|
}
|
|
@@ -6889,7 +8181,12 @@ export default class Client extends OpenApi {
|
|
|
6889
8181
|
reqBodyType: "formData",
|
|
6890
8182
|
bodyType: "json",
|
|
6891
8183
|
});
|
|
6892
|
-
|
|
8184
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
8185
|
+
return $dara.cast<RebootDesktopsResponse>(await this.callApi(params, req, runtime), new RebootDesktopsResponse({}));
|
|
8186
|
+
} else {
|
|
8187
|
+
return $dara.cast<RebootDesktopsResponse>(await this.execute(params, req, runtime), new RebootDesktopsResponse({}));
|
|
8188
|
+
}
|
|
8189
|
+
|
|
6893
8190
|
}
|
|
6894
8191
|
|
|
6895
8192
|
/**
|
|
@@ -6953,7 +8250,12 @@ export default class Client extends OpenApi {
|
|
|
6953
8250
|
reqBodyType: "formData",
|
|
6954
8251
|
bodyType: "json",
|
|
6955
8252
|
});
|
|
6956
|
-
|
|
8253
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
8254
|
+
return $dara.cast<RefreshLoginTokenResponse>(await this.callApi(params, req, runtime), new RefreshLoginTokenResponse({}));
|
|
8255
|
+
} else {
|
|
8256
|
+
return $dara.cast<RefreshLoginTokenResponse>(await this.execute(params, req, runtime), new RefreshLoginTokenResponse({}));
|
|
8257
|
+
}
|
|
8258
|
+
|
|
6957
8259
|
}
|
|
6958
8260
|
|
|
6959
8261
|
/**
|
|
@@ -7005,7 +8307,12 @@ export default class Client extends OpenApi {
|
|
|
7005
8307
|
reqBodyType: "formData",
|
|
7006
8308
|
bodyType: "json",
|
|
7007
8309
|
});
|
|
7008
|
-
|
|
8310
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
8311
|
+
return $dara.cast<ReportEdsAgentInfoResponse>(await this.callApi(params, req, runtime), new ReportEdsAgentInfoResponse({}));
|
|
8312
|
+
} else {
|
|
8313
|
+
return $dara.cast<ReportEdsAgentInfoResponse>(await this.execute(params, req, runtime), new ReportEdsAgentInfoResponse({}));
|
|
8314
|
+
}
|
|
8315
|
+
|
|
7009
8316
|
}
|
|
7010
8317
|
|
|
7011
8318
|
/**
|
|
@@ -7065,7 +8372,12 @@ export default class Client extends OpenApi {
|
|
|
7065
8372
|
reqBodyType: "formData",
|
|
7066
8373
|
bodyType: "json",
|
|
7067
8374
|
});
|
|
7068
|
-
|
|
8375
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
8376
|
+
return $dara.cast<ReportSessionStatusResponse>(await this.callApi(params, req, runtime), new ReportSessionStatusResponse({}));
|
|
8377
|
+
} else {
|
|
8378
|
+
return $dara.cast<ReportSessionStatusResponse>(await this.execute(params, req, runtime), new ReportSessionStatusResponse({}));
|
|
8379
|
+
}
|
|
8380
|
+
|
|
7069
8381
|
}
|
|
7070
8382
|
|
|
7071
8383
|
/**
|
|
@@ -7127,7 +8439,12 @@ export default class Client extends OpenApi {
|
|
|
7127
8439
|
reqBodyType: "formData",
|
|
7128
8440
|
bodyType: "json",
|
|
7129
8441
|
});
|
|
7130
|
-
|
|
8442
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
8443
|
+
return $dara.cast<ResetPasswordResponse>(await this.callApi(params, req, runtime), new ResetPasswordResponse({}));
|
|
8444
|
+
} else {
|
|
8445
|
+
return $dara.cast<ResetPasswordResponse>(await this.execute(params, req, runtime), new ResetPasswordResponse({}));
|
|
8446
|
+
}
|
|
8447
|
+
|
|
7131
8448
|
}
|
|
7132
8449
|
|
|
7133
8450
|
/**
|
|
@@ -7191,7 +8508,12 @@ export default class Client extends OpenApi {
|
|
|
7191
8508
|
reqBodyType: "formData",
|
|
7192
8509
|
bodyType: "json",
|
|
7193
8510
|
});
|
|
7194
|
-
|
|
8511
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
8512
|
+
return $dara.cast<ResetSnapshotResponse>(await this.callApi(params, req, runtime), new ResetSnapshotResponse({}));
|
|
8513
|
+
} else {
|
|
8514
|
+
return $dara.cast<ResetSnapshotResponse>(await this.execute(params, req, runtime), new ResetSnapshotResponse({}));
|
|
8515
|
+
}
|
|
8516
|
+
|
|
7195
8517
|
}
|
|
7196
8518
|
|
|
7197
8519
|
/**
|
|
@@ -7259,7 +8581,12 @@ export default class Client extends OpenApi {
|
|
|
7259
8581
|
reqBodyType: "formData",
|
|
7260
8582
|
bodyType: "json",
|
|
7261
8583
|
});
|
|
7262
|
-
|
|
8584
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
8585
|
+
return $dara.cast<SendTokenCodeResponse>(await this.callApi(params, req, runtime), new SendTokenCodeResponse({}));
|
|
8586
|
+
} else {
|
|
8587
|
+
return $dara.cast<SendTokenCodeResponse>(await this.execute(params, req, runtime), new SendTokenCodeResponse({}));
|
|
8588
|
+
}
|
|
8589
|
+
|
|
7263
8590
|
}
|
|
7264
8591
|
|
|
7265
8592
|
/**
|
|
@@ -7333,7 +8660,12 @@ export default class Client extends OpenApi {
|
|
|
7333
8660
|
reqBodyType: "formData",
|
|
7334
8661
|
bodyType: "json",
|
|
7335
8662
|
});
|
|
7336
|
-
|
|
8663
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
8664
|
+
return $dara.cast<SetFingerPrintTemplateResponse>(await this.callApi(params, req, runtime), new SetFingerPrintTemplateResponse({}));
|
|
8665
|
+
} else {
|
|
8666
|
+
return $dara.cast<SetFingerPrintTemplateResponse>(await this.execute(params, req, runtime), new SetFingerPrintTemplateResponse({}));
|
|
8667
|
+
}
|
|
8668
|
+
|
|
7337
8669
|
}
|
|
7338
8670
|
|
|
7339
8671
|
/**
|
|
@@ -7395,7 +8727,12 @@ export default class Client extends OpenApi {
|
|
|
7395
8727
|
reqBodyType: "formData",
|
|
7396
8728
|
bodyType: "json",
|
|
7397
8729
|
});
|
|
7398
|
-
|
|
8730
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
8731
|
+
return $dara.cast<SetFingerPrintTemplateDescriptionResponse>(await this.callApi(params, req, runtime), new SetFingerPrintTemplateDescriptionResponse({}));
|
|
8732
|
+
} else {
|
|
8733
|
+
return $dara.cast<SetFingerPrintTemplateDescriptionResponse>(await this.execute(params, req, runtime), new SetFingerPrintTemplateDescriptionResponse({}));
|
|
8734
|
+
}
|
|
8735
|
+
|
|
7399
8736
|
}
|
|
7400
8737
|
|
|
7401
8738
|
/**
|
|
@@ -7470,7 +8807,12 @@ export default class Client extends OpenApi {
|
|
|
7470
8807
|
reqBodyType: "formData",
|
|
7471
8808
|
bodyType: "json",
|
|
7472
8809
|
});
|
|
7473
|
-
|
|
8810
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
8811
|
+
return $dara.cast<StartDesktopsResponse>(await this.callApi(params, req, runtime), new StartDesktopsResponse({}));
|
|
8812
|
+
} else {
|
|
8813
|
+
return $dara.cast<StartDesktopsResponse>(await this.execute(params, req, runtime), new StartDesktopsResponse({}));
|
|
8814
|
+
}
|
|
8815
|
+
|
|
7474
8816
|
}
|
|
7475
8817
|
|
|
7476
8818
|
/**
|
|
@@ -7541,7 +8883,12 @@ export default class Client extends OpenApi {
|
|
|
7541
8883
|
reqBodyType: "formData",
|
|
7542
8884
|
bodyType: "json",
|
|
7543
8885
|
});
|
|
7544
|
-
|
|
8886
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
8887
|
+
return $dara.cast<StartRecordContentResponse>(await this.callApi(params, req, runtime), new StartRecordContentResponse({}));
|
|
8888
|
+
} else {
|
|
8889
|
+
return $dara.cast<StartRecordContentResponse>(await this.execute(params, req, runtime), new StartRecordContentResponse({}));
|
|
8890
|
+
}
|
|
8891
|
+
|
|
7545
8892
|
}
|
|
7546
8893
|
|
|
7547
8894
|
/**
|
|
@@ -7590,6 +8937,10 @@ export default class Client extends OpenApi {
|
|
|
7590
8937
|
query["LoginToken"] = request.loginToken;
|
|
7591
8938
|
}
|
|
7592
8939
|
|
|
8940
|
+
if (!$dara.isNull(request.osUpdate)) {
|
|
8941
|
+
query["OsUpdate"] = request.osUpdate;
|
|
8942
|
+
}
|
|
8943
|
+
|
|
7593
8944
|
if (!$dara.isNull(request.regionId)) {
|
|
7594
8945
|
query["RegionId"] = request.regionId;
|
|
7595
8946
|
}
|
|
@@ -7616,7 +8967,12 @@ export default class Client extends OpenApi {
|
|
|
7616
8967
|
reqBodyType: "formData",
|
|
7617
8968
|
bodyType: "json",
|
|
7618
8969
|
});
|
|
7619
|
-
|
|
8970
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
8971
|
+
return $dara.cast<StopDesktopsResponse>(await this.callApi(params, req, runtime), new StopDesktopsResponse({}));
|
|
8972
|
+
} else {
|
|
8973
|
+
return $dara.cast<StopDesktopsResponse>(await this.execute(params, req, runtime), new StopDesktopsResponse({}));
|
|
8974
|
+
}
|
|
8975
|
+
|
|
7620
8976
|
}
|
|
7621
8977
|
|
|
7622
8978
|
/**
|
|
@@ -7683,7 +9039,12 @@ export default class Client extends OpenApi {
|
|
|
7683
9039
|
reqBodyType: "formData",
|
|
7684
9040
|
bodyType: "json",
|
|
7685
9041
|
});
|
|
7686
|
-
|
|
9042
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
9043
|
+
return $dara.cast<StopRecordContentResponse>(await this.callApi(params, req, runtime), new StopRecordContentResponse({}));
|
|
9044
|
+
} else {
|
|
9045
|
+
return $dara.cast<StopRecordContentResponse>(await this.execute(params, req, runtime), new StopRecordContentResponse({}));
|
|
9046
|
+
}
|
|
9047
|
+
|
|
7687
9048
|
}
|
|
7688
9049
|
|
|
7689
9050
|
/**
|
|
@@ -7747,7 +9108,12 @@ export default class Client extends OpenApi {
|
|
|
7747
9108
|
reqBodyType: "formData",
|
|
7748
9109
|
bodyType: "json",
|
|
7749
9110
|
});
|
|
7750
|
-
|
|
9111
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
9112
|
+
return $dara.cast<UnbindUserDesktopResponse>(await this.callApi(params, req, runtime), new UnbindUserDesktopResponse({}));
|
|
9113
|
+
} else {
|
|
9114
|
+
return $dara.cast<UnbindUserDesktopResponse>(await this.execute(params, req, runtime), new UnbindUserDesktopResponse({}));
|
|
9115
|
+
}
|
|
9116
|
+
|
|
7751
9117
|
}
|
|
7752
9118
|
|
|
7753
9119
|
/**
|
|
@@ -7815,7 +9181,12 @@ export default class Client extends OpenApi {
|
|
|
7815
9181
|
reqBodyType: "formData",
|
|
7816
9182
|
bodyType: "json",
|
|
7817
9183
|
});
|
|
7818
|
-
|
|
9184
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
9185
|
+
return $dara.cast<VerifyCredentialResponse>(await this.callApi(params, req, runtime), new VerifyCredentialResponse({}));
|
|
9186
|
+
} else {
|
|
9187
|
+
return $dara.cast<VerifyCredentialResponse>(await this.execute(params, req, runtime), new VerifyCredentialResponse({}));
|
|
9188
|
+
}
|
|
9189
|
+
|
|
7819
9190
|
}
|
|
7820
9191
|
|
|
7821
9192
|
/**
|