Skip to content

Commit a003290

Browse files
committed
Generated java-async 2024-03-27 for APIG.
1 parent 500b6fe commit a003290

File tree

3 files changed

+259
-1
lines changed

3 files changed

+259
-1
lines changed

apig-20240327/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-06-06 Version: 4.0.4
2+
- Generated java-async 2024-03-27 for APIG.
3+
14
2025-06-03 Version: 4.0.3
25
- Generated java-async 2024-03-27 for APIG.
36

apig-20240327/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>com.aliyun</groupId>
55
<artifactId>alibabacloud-apig20240327</artifactId>
6-
<version>4.0.3</version>
6+
<version>4.0.4</version>
77
<packaging>jar</packaging>
88
<name>alibabacloud-apig20240327</name>
99
<description>Alibaba Cloud APIG (20240327) Async SDK for Java

apig-20240327/src/main/java/com/aliyun/sdk/service/apig20240327/models/HttpRoute.java

Lines changed: 255 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ public class HttpRoute extends TeaModel {
4141
@com.aliyun.core.annotation.NameInMap("match")
4242
private HttpRouteMatch match;
4343

44+
@com.aliyun.core.annotation.NameInMap("mcpServerInfo")
45+
private McpServerInfo mcpServerInfo;
46+
4447
@com.aliyun.core.annotation.NameInMap("name")
4548
private String name;
4649

@@ -59,6 +62,7 @@ private HttpRoute(Builder builder) {
5962
this.environmentInfo = builder.environmentInfo;
6063
this.gatewayStatus = builder.gatewayStatus;
6164
this.match = builder.match;
65+
this.mcpServerInfo = builder.mcpServerInfo;
6266
this.name = builder.name;
6367
this.routeId = builder.routeId;
6468
this.updateTimestamp = builder.updateTimestamp;
@@ -132,6 +136,13 @@ public HttpRouteMatch getMatch() {
132136
return this.match;
133137
}
134138

139+
/**
140+
* @return mcpServerInfo
141+
*/
142+
public McpServerInfo getMcpServerInfo() {
143+
return this.mcpServerInfo;
144+
}
145+
135146
/**
136147
* @return name
137148
*/
@@ -162,6 +173,7 @@ public static final class Builder {
162173
private EnvironmentInfo environmentInfo;
163174
private java.util.Map<String, String> gatewayStatus;
164175
private HttpRouteMatch match;
176+
private McpServerInfo mcpServerInfo;
165177
private String name;
166178
private String routeId;
167179
private Long updateTimestamp;
@@ -178,6 +190,7 @@ private Builder(HttpRoute model) {
178190
this.environmentInfo = model.environmentInfo;
179191
this.gatewayStatus = model.gatewayStatus;
180192
this.match = model.match;
193+
this.mcpServerInfo = model.mcpServerInfo;
181194
this.name = model.name;
182195
this.routeId = model.routeId;
183196
this.updateTimestamp = model.updateTimestamp;
@@ -247,6 +260,14 @@ public Builder match(HttpRouteMatch match) {
247260
return this;
248261
}
249262

263+
/**
264+
* mcpServerInfo.
265+
*/
266+
public Builder mcpServerInfo(McpServerInfo mcpServerInfo) {
267+
this.mcpServerInfo = mcpServerInfo;
268+
return this;
269+
}
270+
250271
/**
251272
* name.
252273
*/
@@ -703,4 +724,238 @@ public EnvironmentInfo build() {
703724
}
704725

705726
}
727+
/**
728+
*
729+
* {@link HttpRoute} extends {@link TeaModel}
730+
*
731+
* <p>HttpRoute</p>
732+
*/
733+
public static class McpRouteConfig extends TeaModel {
734+
@com.aliyun.core.annotation.NameInMap("exposedUriPath")
735+
private String exposedUriPath;
736+
737+
@com.aliyun.core.annotation.NameInMap("protocol")
738+
private String protocol;
739+
740+
private McpRouteConfig(Builder builder) {
741+
this.exposedUriPath = builder.exposedUriPath;
742+
this.protocol = builder.protocol;
743+
}
744+
745+
public static Builder builder() {
746+
return new Builder();
747+
}
748+
749+
public static McpRouteConfig create() {
750+
return builder().build();
751+
}
752+
753+
/**
754+
* @return exposedUriPath
755+
*/
756+
public String getExposedUriPath() {
757+
return this.exposedUriPath;
758+
}
759+
760+
/**
761+
* @return protocol
762+
*/
763+
public String getProtocol() {
764+
return this.protocol;
765+
}
766+
767+
public static final class Builder {
768+
private String exposedUriPath;
769+
private String protocol;
770+
771+
private Builder() {
772+
}
773+
774+
private Builder(McpRouteConfig model) {
775+
this.exposedUriPath = model.exposedUriPath;
776+
this.protocol = model.protocol;
777+
}
778+
779+
/**
780+
* exposedUriPath.
781+
*/
782+
public Builder exposedUriPath(String exposedUriPath) {
783+
this.exposedUriPath = exposedUriPath;
784+
return this;
785+
}
786+
787+
/**
788+
* protocol.
789+
*/
790+
public Builder protocol(String protocol) {
791+
this.protocol = protocol;
792+
return this;
793+
}
794+
795+
public McpRouteConfig build() {
796+
return new McpRouteConfig(this);
797+
}
798+
799+
}
800+
801+
}
802+
/**
803+
*
804+
* {@link HttpRoute} extends {@link TeaModel}
805+
*
806+
* <p>HttpRoute</p>
807+
*/
808+
public static class McpServerInfo extends TeaModel {
809+
@com.aliyun.core.annotation.NameInMap("createFromType")
810+
private String createFromType;
811+
812+
@com.aliyun.core.annotation.NameInMap("importInstanceId")
813+
private String importInstanceId;
814+
815+
@com.aliyun.core.annotation.NameInMap("importMcpServerId")
816+
private String importMcpServerId;
817+
818+
@com.aliyun.core.annotation.NameInMap("importNamespace")
819+
private String importNamespace;
820+
821+
@com.aliyun.core.annotation.NameInMap("mcpRouteConfig")
822+
private McpRouteConfig mcpRouteConfig;
823+
824+
@com.aliyun.core.annotation.NameInMap("mcpServerConfig")
825+
private String mcpServerConfig;
826+
827+
private McpServerInfo(Builder builder) {
828+
this.createFromType = builder.createFromType;
829+
this.importInstanceId = builder.importInstanceId;
830+
this.importMcpServerId = builder.importMcpServerId;
831+
this.importNamespace = builder.importNamespace;
832+
this.mcpRouteConfig = builder.mcpRouteConfig;
833+
this.mcpServerConfig = builder.mcpServerConfig;
834+
}
835+
836+
public static Builder builder() {
837+
return new Builder();
838+
}
839+
840+
public static McpServerInfo create() {
841+
return builder().build();
842+
}
843+
844+
/**
845+
* @return createFromType
846+
*/
847+
public String getCreateFromType() {
848+
return this.createFromType;
849+
}
850+
851+
/**
852+
* @return importInstanceId
853+
*/
854+
public String getImportInstanceId() {
855+
return this.importInstanceId;
856+
}
857+
858+
/**
859+
* @return importMcpServerId
860+
*/
861+
public String getImportMcpServerId() {
862+
return this.importMcpServerId;
863+
}
864+
865+
/**
866+
* @return importNamespace
867+
*/
868+
public String getImportNamespace() {
869+
return this.importNamespace;
870+
}
871+
872+
/**
873+
* @return mcpRouteConfig
874+
*/
875+
public McpRouteConfig getMcpRouteConfig() {
876+
return this.mcpRouteConfig;
877+
}
878+
879+
/**
880+
* @return mcpServerConfig
881+
*/
882+
public String getMcpServerConfig() {
883+
return this.mcpServerConfig;
884+
}
885+
886+
public static final class Builder {
887+
private String createFromType;
888+
private String importInstanceId;
889+
private String importMcpServerId;
890+
private String importNamespace;
891+
private McpRouteConfig mcpRouteConfig;
892+
private String mcpServerConfig;
893+
894+
private Builder() {
895+
}
896+
897+
private Builder(McpServerInfo model) {
898+
this.createFromType = model.createFromType;
899+
this.importInstanceId = model.importInstanceId;
900+
this.importMcpServerId = model.importMcpServerId;
901+
this.importNamespace = model.importNamespace;
902+
this.mcpRouteConfig = model.mcpRouteConfig;
903+
this.mcpServerConfig = model.mcpServerConfig;
904+
}
905+
906+
/**
907+
* createFromType.
908+
*/
909+
public Builder createFromType(String createFromType) {
910+
this.createFromType = createFromType;
911+
return this;
912+
}
913+
914+
/**
915+
* importInstanceId.
916+
*/
917+
public Builder importInstanceId(String importInstanceId) {
918+
this.importInstanceId = importInstanceId;
919+
return this;
920+
}
921+
922+
/**
923+
* importMcpServerId.
924+
*/
925+
public Builder importMcpServerId(String importMcpServerId) {
926+
this.importMcpServerId = importMcpServerId;
927+
return this;
928+
}
929+
930+
/**
931+
* importNamespace.
932+
*/
933+
public Builder importNamespace(String importNamespace) {
934+
this.importNamespace = importNamespace;
935+
return this;
936+
}
937+
938+
/**
939+
* mcpRouteConfig.
940+
*/
941+
public Builder mcpRouteConfig(McpRouteConfig mcpRouteConfig) {
942+
this.mcpRouteConfig = mcpRouteConfig;
943+
return this;
944+
}
945+
946+
/**
947+
* mcpServerConfig.
948+
*/
949+
public Builder mcpServerConfig(String mcpServerConfig) {
950+
this.mcpServerConfig = mcpServerConfig;
951+
return this;
952+
}
953+
954+
public McpServerInfo build() {
955+
return new McpServerInfo(this);
956+
}
957+
958+
}
959+
960+
}
706961
}

0 commit comments

Comments
 (0)