@@ -41,6 +41,9 @@ public class HttpRoute extends TeaModel {
41
41
@ com .aliyun .core .annotation .NameInMap ("match" )
42
42
private HttpRouteMatch match ;
43
43
44
+ @ com .aliyun .core .annotation .NameInMap ("mcpServerInfo" )
45
+ private McpServerInfo mcpServerInfo ;
46
+
44
47
@ com .aliyun .core .annotation .NameInMap ("name" )
45
48
private String name ;
46
49
@@ -59,6 +62,7 @@ private HttpRoute(Builder builder) {
59
62
this .environmentInfo = builder .environmentInfo ;
60
63
this .gatewayStatus = builder .gatewayStatus ;
61
64
this .match = builder .match ;
65
+ this .mcpServerInfo = builder .mcpServerInfo ;
62
66
this .name = builder .name ;
63
67
this .routeId = builder .routeId ;
64
68
this .updateTimestamp = builder .updateTimestamp ;
@@ -132,6 +136,13 @@ public HttpRouteMatch getMatch() {
132
136
return this .match ;
133
137
}
134
138
139
+ /**
140
+ * @return mcpServerInfo
141
+ */
142
+ public McpServerInfo getMcpServerInfo () {
143
+ return this .mcpServerInfo ;
144
+ }
145
+
135
146
/**
136
147
* @return name
137
148
*/
@@ -162,6 +173,7 @@ public static final class Builder {
162
173
private EnvironmentInfo environmentInfo ;
163
174
private java .util .Map <String , String > gatewayStatus ;
164
175
private HttpRouteMatch match ;
176
+ private McpServerInfo mcpServerInfo ;
165
177
private String name ;
166
178
private String routeId ;
167
179
private Long updateTimestamp ;
@@ -178,6 +190,7 @@ private Builder(HttpRoute model) {
178
190
this .environmentInfo = model .environmentInfo ;
179
191
this .gatewayStatus = model .gatewayStatus ;
180
192
this .match = model .match ;
193
+ this .mcpServerInfo = model .mcpServerInfo ;
181
194
this .name = model .name ;
182
195
this .routeId = model .routeId ;
183
196
this .updateTimestamp = model .updateTimestamp ;
@@ -247,6 +260,14 @@ public Builder match(HttpRouteMatch match) {
247
260
return this ;
248
261
}
249
262
263
+ /**
264
+ * mcpServerInfo.
265
+ */
266
+ public Builder mcpServerInfo (McpServerInfo mcpServerInfo ) {
267
+ this .mcpServerInfo = mcpServerInfo ;
268
+ return this ;
269
+ }
270
+
250
271
/**
251
272
* name.
252
273
*/
@@ -703,4 +724,238 @@ public EnvironmentInfo build() {
703
724
}
704
725
705
726
}
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
+ }
706
961
}
0 commit comments