@@ -125,6 +125,16 @@ class OutPublicIpInfoSchema(schema.ResponseSchema):
125125 }
126126
127127
128+ class ForwardTaskSchema (schema .ResponseSchema ):
129+ """ForwardTask - 全球统一接入转发端口任务信息"""
130+
131+ fields = {
132+ "Port" : fields .Int (required = True , load_from = "Port" ),
133+ "Protocol" : fields .Str (required = True , load_from = "Protocol" ),
134+ "RSPort" : fields .Int (required = True , load_from = "RSPort" ),
135+ }
136+
137+
128138class AccelerationAreaInfosSchema (schema .ResponseSchema ):
129139 """AccelerationAreaInfos - 加速大区信息"""
130140
@@ -136,16 +146,6 @@ class AccelerationAreaInfosSchema(schema.ResponseSchema):
136146 }
137147
138148
139- class ForwardTaskSchema (schema .ResponseSchema ):
140- """ForwardTask - 全球统一接入转发端口任务信息"""
141-
142- fields = {
143- "Port" : fields .Int (required = True , load_from = "Port" ),
144- "Protocol" : fields .Str (required = True , load_from = "Protocol" ),
145- "RSPort" : fields .Int (required = True , load_from = "RSPort" ),
146- }
147-
148-
149149class ForwardInfoSchema (schema .ResponseSchema ):
150150 """ForwardInfo - 全球统一接入加速实例配置信息"""
151151
@@ -227,34 +227,34 @@ class UPathSetSchema(schema.ResponseSchema):
227227 }
228228
229229
230- class UGAL7ForwarderSchema (schema .ResponseSchema ):
231- """UGAL7Forwarder - UGA实例 7层转发器信息 """
230+ class UGAATaskSchema (schema .ResponseSchema ):
231+ """UGAATask - 用户在UGAA实例下配置的多端口任务 """
232232
233233 fields = {
234234 "Port" : fields .Int (required = True , load_from = "Port" ),
235235 "Protocol" : fields .Str (required = True , load_from = "Protocol" ),
236- "RSPort" : fields .Int (required = True , load_from = "RSPort" ),
237- "SSLId" : fields .Str (required = False , load_from = "SSLId" ),
238- "SSLName" : fields .Str (required = False , load_from = "SSLName" ),
239236 }
240237
241238
242- class UGAL4ForwarderSchema (schema .ResponseSchema ):
243- """UGAL4Forwarder - UGA实例 4层转发器信息 """
239+ class UGAL7ForwarderSchema (schema .ResponseSchema ):
240+ """UGAL7Forwarder - UGA实例 7层转发器信息 """
244241
245242 fields = {
246243 "Port" : fields .Int (required = True , load_from = "Port" ),
247244 "Protocol" : fields .Str (required = True , load_from = "Protocol" ),
248245 "RSPort" : fields .Int (required = True , load_from = "RSPort" ),
246+ "SSLId" : fields .Str (required = False , load_from = "SSLId" ),
247+ "SSLName" : fields .Str (required = False , load_from = "SSLName" ),
249248 }
250249
251250
252- class UGAATaskSchema (schema .ResponseSchema ):
253- """UGAATask - 用户在UGAA实例下配置的多端口任务 """
251+ class UGAL4ForwarderSchema (schema .ResponseSchema ):
252+ """UGAL4Forwarder - UGA实例 4层转发器信息 """
254253
255254 fields = {
256255 "Port" : fields .Int (required = True , load_from = "Port" ),
257256 "Protocol" : fields .Str (required = True , load_from = "Protocol" ),
257+ "RSPort" : fields .Int (required = True , load_from = "RSPort" ),
258258 }
259259
260260
0 commit comments