@@ -116,22 +116,22 @@ class SrcAreaInfoSchema(schema.ResponseSchema):
116116 }
117117
118118
119- class ForwardTaskSchema (schema .ResponseSchema ):
120- """ForwardTask - 全球统一接入转发端口任务信息 """
119+ class OutPublicIpInfoSchema (schema .ResponseSchema ):
120+ """OutPublicIpInfo - 线路回源IP信息 """
121121
122122 fields = {
123- "Port" : fields .Int (required = True , load_from = "Port" ),
124- "Protocol" : fields .Str (required = True , load_from = "Protocol" ),
125- "RSPort" : fields .Int (required = True , load_from = "RSPort" ),
123+ "Area" : fields .Str (required = False , load_from = "Area" ),
124+ "IP" : fields .Str (required = False , load_from = "IP" ),
126125 }
127126
128127
129- class OutPublicIpInfoSchema (schema .ResponseSchema ):
130- """OutPublicIpInfo - 线路回源IP信息 """
128+ class ForwardTaskSchema (schema .ResponseSchema ):
129+ """ForwardTask - 全球统一接入转发端口任务信息 """
131130
132131 fields = {
133- "Area" : fields .Str (required = False , load_from = "Area" ),
134- "IP" : fields .Str (required = False , load_from = "IP" ),
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" ),
135135 }
136136
137137
@@ -212,49 +212,49 @@ class AccelerationInfoSchema(schema.ResponseSchema):
212212 }
213213
214214
215- class UPathSetSchema (schema .ResponseSchema ):
216- """UPathSet - uga关联的upath信息 """
215+ class UGAL7ForwarderSchema (schema .ResponseSchema ):
216+ """UGAL7Forwarder - UGA实例 7层转发器信息 """
217217
218218 fields = {
219- "Bandwidth" : fields .Int (required = False , load_from = "Bandwidth" ),
220- "LineFrom" : fields .Str (required = False , load_from = "LineFrom" ),
221- "LineFromName" : fields .Str (required = False , load_from = "LineFromName" ),
222- "LineId" : fields .Str (required = False , load_from = "LineId" ),
223- "LineTo" : fields .Str (required = False , load_from = "LineTo" ),
224- "LineToName" : fields .Str (required = False , load_from = "LineToName" ),
225- "UPathId" : fields .Str (required = False , load_from = "UPathId" ),
226- "UPathName" : fields .Str (required = False , load_from = "UPathName" ),
219+ "Port" : fields .Int (required = True , load_from = "Port" ),
220+ "Protocol" : fields .Str (required = True , load_from = "Protocol" ),
221+ "RSPort" : fields .Int (required = True , load_from = "RSPort" ),
222+ "SSLId" : fields .Str (required = False , load_from = "SSLId" ),
223+ "SSLName" : fields .Str (required = False , load_from = "SSLName" ),
227224 }
228225
229226
230- class UGAATaskSchema (schema .ResponseSchema ):
231- """UGAATask - 用户在UGAA实例下配置的多端口任务 """
227+ class UGAL4ForwarderSchema (schema .ResponseSchema ):
228+ """UGAL4Forwarder - UGA实例 4层转发器信息 """
232229
233230 fields = {
234231 "Port" : fields .Int (required = True , load_from = "Port" ),
235232 "Protocol" : fields .Str (required = True , load_from = "Protocol" ),
233+ "RSPort" : fields .Int (required = True , load_from = "RSPort" ),
236234 }
237235
238236
239- class UGAL7ForwarderSchema (schema .ResponseSchema ):
240- """UGAL7Forwarder - UGA实例 7层转发器信息 """
237+ class UGAATaskSchema (schema .ResponseSchema ):
238+ """UGAATask - 用户在UGAA实例下配置的多端口任务 """
241239
242240 fields = {
243241 "Port" : fields .Int (required = True , load_from = "Port" ),
244242 "Protocol" : fields .Str (required = True , load_from = "Protocol" ),
245- "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" ),
248243 }
249244
250245
251- class UGAL4ForwarderSchema (schema .ResponseSchema ):
252- """UGAL4Forwarder - UGA实例 4层转发器信息 """
246+ class UPathSetSchema (schema .ResponseSchema ):
247+ """UPathSet - uga关联的upath信息 """
253248
254249 fields = {
255- "Port" : fields .Int (required = True , load_from = "Port" ),
256- "Protocol" : fields .Str (required = True , load_from = "Protocol" ),
257- "RSPort" : fields .Int (required = True , load_from = "RSPort" ),
250+ "Bandwidth" : fields .Int (required = False , load_from = "Bandwidth" ),
251+ "LineFrom" : fields .Str (required = False , load_from = "LineFrom" ),
252+ "LineFromName" : fields .Str (required = False , load_from = "LineFromName" ),
253+ "LineId" : fields .Str (required = False , load_from = "LineId" ),
254+ "LineTo" : fields .Str (required = False , load_from = "LineTo" ),
255+ "LineToName" : fields .Str (required = False , load_from = "LineToName" ),
256+ "UPathId" : fields .Str (required = False , load_from = "UPathId" ),
257+ "UPathName" : fields .Str (required = False , load_from = "UPathName" ),
258258 }
259259
260260
0 commit comments