@@ -116,22 +116,22 @@ class SrcAreaInfoSchema(schema.ResponseSchema):
116
116
}
117
117
118
118
119
- class ForwardTaskSchema (schema .ResponseSchema ):
120
- """ForwardTask - 全球统一接入转发端口任务信息 """
119
+ class OutPublicIpInfoSchema (schema .ResponseSchema ):
120
+ """OutPublicIpInfo - 线路回源IP信息 """
121
121
122
122
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" ),
126
125
}
127
126
128
127
129
- class OutPublicIpInfoSchema (schema .ResponseSchema ):
130
- """OutPublicIpInfo - 线路回源IP信息 """
128
+ class ForwardTaskSchema (schema .ResponseSchema ):
129
+ """ForwardTask - 全球统一接入转发端口任务信息 """
131
130
132
131
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" ),
135
135
}
136
136
137
137
@@ -212,49 +212,49 @@ class AccelerationInfoSchema(schema.ResponseSchema):
212
212
}
213
213
214
214
215
- class UPathSetSchema (schema .ResponseSchema ):
216
- """UPathSet - uga关联的upath信息 """
215
+ class UGAL7ForwarderSchema (schema .ResponseSchema ):
216
+ """UGAL7Forwarder - UGA实例 7层转发器信息 """
217
217
218
218
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" ),
227
224
}
228
225
229
226
230
- class UGAATaskSchema (schema .ResponseSchema ):
231
- """UGAATask - 用户在UGAA实例下配置的多端口任务 """
227
+ class UGAL4ForwarderSchema (schema .ResponseSchema ):
228
+ """UGAL4Forwarder - UGA实例 4层转发器信息 """
232
229
233
230
fields = {
234
231
"Port" : fields .Int (required = True , load_from = "Port" ),
235
232
"Protocol" : fields .Str (required = True , load_from = "Protocol" ),
233
+ "RSPort" : fields .Int (required = True , load_from = "RSPort" ),
236
234
}
237
235
238
236
239
- class UGAL7ForwarderSchema (schema .ResponseSchema ):
240
- """UGAL7Forwarder - UGA实例 7层转发器信息 """
237
+ class UGAATaskSchema (schema .ResponseSchema ):
238
+ """UGAATask - 用户在UGAA实例下配置的多端口任务 """
241
239
242
240
fields = {
243
241
"Port" : fields .Int (required = True , load_from = "Port" ),
244
242
"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" ),
248
243
}
249
244
250
245
251
- class UGAL4ForwarderSchema (schema .ResponseSchema ):
252
- """UGAL4Forwarder - UGA实例 4层转发器信息 """
246
+ class UPathSetSchema (schema .ResponseSchema ):
247
+ """UPathSet - uga关联的upath信息 """
253
248
254
249
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" ),
258
258
}
259
259
260
260
0 commit comments