@@ -7564,6 +7564,63 @@ public ModifyApiGroupResponse modifyApiGroup(ModifyApiGroupRequest request) thro
7564
7564
return this .modifyApiGroupWithOptions (request , runtime );
7565
7565
}
7566
7566
7567
+ public ModifyApiGroupNetworkPolicyResponse modifyApiGroupNetworkPolicyWithOptions (ModifyApiGroupNetworkPolicyRequest request , com .aliyun .teautil .models .RuntimeOptions runtime ) throws Exception {
7568
+ com .aliyun .teautil .Common .validateModel (request );
7569
+ java .util .Map <String , Object > query = new java .util .HashMap <>();
7570
+ if (!com .aliyun .teautil .Common .isUnset (request .groupId )) {
7571
+ query .put ("GroupId" , request .groupId );
7572
+ }
7573
+
7574
+ if (!com .aliyun .teautil .Common .isUnset (request .httpsPolicy )) {
7575
+ query .put ("HttpsPolicy" , request .httpsPolicy );
7576
+ }
7577
+
7578
+ if (!com .aliyun .teautil .Common .isUnset (request .innerDomainEnable )) {
7579
+ query .put ("InnerDomainEnable" , request .innerDomainEnable );
7580
+ }
7581
+
7582
+ if (!com .aliyun .teautil .Common .isUnset (request .internetEnable )) {
7583
+ query .put ("InternetEnable" , request .internetEnable );
7584
+ }
7585
+
7586
+ if (!com .aliyun .teautil .Common .isUnset (request .internetIPV6Enable )) {
7587
+ query .put ("InternetIPV6Enable" , request .internetIPV6Enable );
7588
+ }
7589
+
7590
+ if (!com .aliyun .teautil .Common .isUnset (request .securityToken )) {
7591
+ query .put ("SecurityToken" , request .securityToken );
7592
+ }
7593
+
7594
+ if (!com .aliyun .teautil .Common .isUnset (request .vpcIntranetEnable )) {
7595
+ query .put ("VpcIntranetEnable" , request .vpcIntranetEnable );
7596
+ }
7597
+
7598
+ if (!com .aliyun .teautil .Common .isUnset (request .vpcSlbIntranetEnable )) {
7599
+ query .put ("VpcSlbIntranetEnable" , request .vpcSlbIntranetEnable );
7600
+ }
7601
+
7602
+ com .aliyun .teaopenapi .models .OpenApiRequest req = com .aliyun .teaopenapi .models .OpenApiRequest .build (TeaConverter .buildMap (
7603
+ new TeaPair ("query" , com .aliyun .openapiutil .Client .query (query ))
7604
+ ));
7605
+ com .aliyun .teaopenapi .models .Params params = com .aliyun .teaopenapi .models .Params .build (TeaConverter .buildMap (
7606
+ new TeaPair ("action" , "ModifyApiGroupNetworkPolicy" ),
7607
+ new TeaPair ("version" , "2016-07-14" ),
7608
+ new TeaPair ("protocol" , "HTTPS" ),
7609
+ new TeaPair ("pathname" , "/" ),
7610
+ new TeaPair ("method" , "POST" ),
7611
+ new TeaPair ("authType" , "AK" ),
7612
+ new TeaPair ("style" , "RPC" ),
7613
+ new TeaPair ("reqBodyType" , "formData" ),
7614
+ new TeaPair ("bodyType" , "json" )
7615
+ ));
7616
+ return TeaModel .toModel (this .callApi (params , req , runtime ), new ModifyApiGroupNetworkPolicyResponse ());
7617
+ }
7618
+
7619
+ public ModifyApiGroupNetworkPolicyResponse modifyApiGroupNetworkPolicy (ModifyApiGroupNetworkPolicyRequest request ) throws Exception {
7620
+ com .aliyun .teautil .models .RuntimeOptions runtime = new com .aliyun .teautil .models .RuntimeOptions ();
7621
+ return this .modifyApiGroupNetworkPolicyWithOptions (request , runtime );
7622
+ }
7623
+
7567
7624
public ModifyApiGroupVpcWhitelistResponse modifyApiGroupVpcWhitelistWithOptions (ModifyApiGroupVpcWhitelistRequest request , com .aliyun .teautil .models .RuntimeOptions runtime ) throws Exception {
7568
7625
com .aliyun .teautil .Common .validateModel (request );
7569
7626
java .util .Map <String , Object > query = new java .util .HashMap <>();
0 commit comments