@@ -54,6 +54,10 @@ public GetConnectionTicketResponse getConnectionTicketWithOptions(GetConnectionT
54
54
body .put ("AppInstanceId" , request .appInstanceId );
55
55
}
56
56
57
+ if (!com .aliyun .teautil .Common .isUnset (request .appPolicyId )) {
58
+ body .put ("AppPolicyId" , request .appPolicyId );
59
+ }
60
+
57
61
if (!com .aliyun .teautil .Common .isUnset (request .appVersion )) {
58
62
body .put ("AppVersion" , request .appVersion );
59
63
}
@@ -148,12 +152,7 @@ public GetConnectionTicketResponse getConnectionTicketWithOptions(GetConnectionT
148
152
new TeaPair ("reqBodyType" , "formData" ),
149
153
new TeaPair ("bodyType" , "json" )
150
154
));
151
- if (com .aliyun .teautil .Common .isUnset (_signatureVersion ) || !com .aliyun .teautil .Common .equalString (_signatureVersion , "v4" )) {
152
- return TeaModel .toModel (this .callApi (params , req , runtime ), new GetConnectionTicketResponse ());
153
- } else {
154
- return TeaModel .toModel (this .execute (params , req , runtime ), new GetConnectionTicketResponse ());
155
- }
156
-
155
+ return TeaModel .toModel (this .callApi (params , req , runtime ), new GetConnectionTicketResponse ());
157
156
}
158
157
159
158
/**
@@ -253,12 +252,7 @@ public ListPublishedAppInfoResponse listPublishedAppInfoWithOptions(ListPublishe
253
252
new TeaPair ("reqBodyType" , "formData" ),
254
253
new TeaPair ("bodyType" , "json" )
255
254
));
256
- if (com .aliyun .teautil .Common .isUnset (_signatureVersion ) || !com .aliyun .teautil .Common .equalString (_signatureVersion , "v4" )) {
257
- return TeaModel .toModel (this .callApi (params , req , runtime ), new ListPublishedAppInfoResponse ());
258
- } else {
259
- return TeaModel .toModel (this .execute (params , req , runtime ), new ListPublishedAppInfoResponse ());
260
- }
261
-
255
+ return TeaModel .toModel (this .callApi (params , req , runtime ), new ListPublishedAppInfoResponse ());
262
256
}
263
257
264
258
/**
@@ -346,12 +340,7 @@ public ListRunningAppsResponse listRunningAppsWithOptions(ListRunningAppsRequest
346
340
new TeaPair ("reqBodyType" , "formData" ),
347
341
new TeaPair ("bodyType" , "json" )
348
342
));
349
- if (com .aliyun .teautil .Common .isUnset (_signatureVersion ) || !com .aliyun .teautil .Common .equalString (_signatureVersion , "v4" )) {
350
- return TeaModel .toModel (this .callApi (params , req , runtime ), new ListRunningAppsResponse ());
351
- } else {
352
- return TeaModel .toModel (this .execute (params , req , runtime ), new ListRunningAppsResponse ());
353
- }
354
-
343
+ return TeaModel .toModel (this .callApi (params , req , runtime ), new ListRunningAppsResponse ());
355
344
}
356
345
357
346
/**
@@ -443,12 +432,7 @@ public ResetAppResourcesResponse resetAppResourcesWithOptions(ResetAppResourcesR
443
432
new TeaPair ("reqBodyType" , "formData" ),
444
433
new TeaPair ("bodyType" , "json" )
445
434
));
446
- if (com .aliyun .teautil .Common .isUnset (_signatureVersion ) || !com .aliyun .teautil .Common .equalString (_signatureVersion , "v4" )) {
447
- return TeaModel .toModel (this .callApi (params , req , runtime ), new ResetAppResourcesResponse ());
448
- } else {
449
- return TeaModel .toModel (this .execute (params , req , runtime ), new ResetAppResourcesResponse ());
450
- }
451
-
435
+ return TeaModel .toModel (this .callApi (params , req , runtime ), new ResetAppResourcesResponse ());
452
436
}
453
437
454
438
/**
@@ -540,12 +524,7 @@ public RestartAppResourcesResponse restartAppResourcesWithOptions(RestartAppReso
540
524
new TeaPair ("reqBodyType" , "formData" ),
541
525
new TeaPair ("bodyType" , "json" )
542
526
));
543
- if (com .aliyun .teautil .Common .isUnset (_signatureVersion ) || !com .aliyun .teautil .Common .equalString (_signatureVersion , "v4" )) {
544
- return TeaModel .toModel (this .callApi (params , req , runtime ), new RestartAppResourcesResponse ());
545
- } else {
546
- return TeaModel .toModel (this .execute (params , req , runtime ), new RestartAppResourcesResponse ());
547
- }
548
-
527
+ return TeaModel .toModel (this .callApi (params , req , runtime ), new RestartAppResourcesResponse ());
549
528
}
550
529
551
530
/**
@@ -637,12 +616,7 @@ public StartAppResourcesResponse startAppResourcesWithOptions(StartAppResourcesR
637
616
new TeaPair ("reqBodyType" , "formData" ),
638
617
new TeaPair ("bodyType" , "json" )
639
618
));
640
- if (com .aliyun .teautil .Common .isUnset (_signatureVersion ) || !com .aliyun .teautil .Common .equalString (_signatureVersion , "v4" )) {
641
- return TeaModel .toModel (this .callApi (params , req , runtime ), new StartAppResourcesResponse ());
642
- } else {
643
- return TeaModel .toModel (this .execute (params , req , runtime ), new StartAppResourcesResponse ());
644
- }
645
-
619
+ return TeaModel .toModel (this .callApi (params , req , runtime ), new StartAppResourcesResponse ());
646
620
}
647
621
648
622
/**
@@ -766,12 +740,7 @@ public StopAppResponse stopAppWithOptions(StopAppRequest request, com.aliyun.tea
766
740
new TeaPair ("reqBodyType" , "formData" ),
767
741
new TeaPair ("bodyType" , "json" )
768
742
));
769
- if (com .aliyun .teautil .Common .isUnset (_signatureVersion ) || !com .aliyun .teautil .Common .equalString (_signatureVersion , "v4" )) {
770
- return TeaModel .toModel (this .callApi (params , req , runtime ), new StopAppResponse ());
771
- } else {
772
- return TeaModel .toModel (this .execute (params , req , runtime ), new StopAppResponse ());
773
- }
774
-
743
+ return TeaModel .toModel (this .callApi (params , req , runtime ), new StopAppResponse ());
775
744
}
776
745
777
746
/**
@@ -863,12 +832,7 @@ public StopAppResourcesResponse stopAppResourcesWithOptions(StopAppResourcesRequ
863
832
new TeaPair ("reqBodyType" , "formData" ),
864
833
new TeaPair ("bodyType" , "json" )
865
834
));
866
- if (com .aliyun .teautil .Common .isUnset (_signatureVersion ) || !com .aliyun .teautil .Common .equalString (_signatureVersion , "v4" )) {
867
- return TeaModel .toModel (this .callApi (params , req , runtime ), new StopAppResourcesResponse ());
868
- } else {
869
- return TeaModel .toModel (this .execute (params , req , runtime ), new StopAppResourcesResponse ());
870
- }
871
-
835
+ return TeaModel .toModel (this .callApi (params , req , runtime ), new StopAppResourcesResponse ());
872
836
}
873
837
874
838
/**
@@ -960,12 +924,7 @@ public UnbindResponse unbindWithOptions(UnbindRequest request, com.aliyun.teauti
960
924
new TeaPair ("reqBodyType" , "formData" ),
961
925
new TeaPair ("bodyType" , "json" )
962
926
));
963
- if (com .aliyun .teautil .Common .isUnset (_signatureVersion ) || !com .aliyun .teautil .Common .equalString (_signatureVersion , "v4" )) {
964
- return TeaModel .toModel (this .callApi (params , req , runtime ), new UnbindResponse ());
965
- } else {
966
- return TeaModel .toModel (this .execute (params , req , runtime ), new UnbindResponse ());
967
- }
968
-
927
+ return TeaModel .toModel (this .callApi (params , req , runtime ), new UnbindResponse ());
969
928
}
970
929
971
930
/**
0 commit comments