@@ -116,17 +116,6 @@ class SrcAreaInfoSchema(schema.ResponseSchema):
116
116
}
117
117
118
118
119
- class AccelerationAreaInfosSchema (schema .ResponseSchema ):
120
- """AccelerationAreaInfos - 加速大区信息"""
121
-
122
- fields = {
123
- "AccelerationArea" : fields .Str (
124
- required = True , load_from = "AccelerationArea"
125
- ),
126
- "AccelerationNodes" : fields .List (SrcAreaInfoSchema ()),
127
- }
128
-
129
-
130
119
class OutPublicIpInfoSchema (schema .ResponseSchema ):
131
120
"""OutPublicIpInfo - 线路回源IP信息"""
132
121
@@ -146,6 +135,17 @@ class ForwardTaskSchema(schema.ResponseSchema):
146
135
}
147
136
148
137
138
+ class AccelerationAreaInfosSchema (schema .ResponseSchema ):
139
+ """AccelerationAreaInfos - 加速大区信息"""
140
+
141
+ fields = {
142
+ "AccelerationArea" : fields .Str (
143
+ required = True , load_from = "AccelerationArea"
144
+ ),
145
+ "AccelerationNodes" : fields .List (SrcAreaInfoSchema ()),
146
+ }
147
+
148
+
149
149
class ForwardInfoSchema (schema .ResponseSchema ):
150
150
"""ForwardInfo - 全球统一接入加速实例配置信息"""
151
151
@@ -212,12 +212,18 @@ class AccelerationInfoSchema(schema.ResponseSchema):
212
212
}
213
213
214
214
215
- class UGAATaskSchema (schema .ResponseSchema ):
216
- """UGAATask - 用户在UGAA实例下配置的多端口任务 """
215
+ class UPathSetSchema (schema .ResponseSchema ):
216
+ """UPathSet - uga关联的upath信息 """
217
217
218
218
fields = {
219
- "Port" : fields .Int (required = True , load_from = "Port" ),
220
- "Protocol" : fields .Str (required = True , load_from = "Protocol" ),
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" ),
221
227
}
222
228
223
229
@@ -231,18 +237,12 @@ class UGAL4ForwarderSchema(schema.ResponseSchema):
231
237
}
232
238
233
239
234
- class UPathSetSchema (schema .ResponseSchema ):
235
- """UPathSet - uga关联的upath信息 """
240
+ class UGAATaskSchema (schema .ResponseSchema ):
241
+ """UGAATask - 用户在UGAA实例下配置的多端口任务 """
236
242
237
243
fields = {
238
- "Bandwidth" : fields .Int (required = False , load_from = "Bandwidth" ),
239
- "LineFrom" : fields .Str (required = False , load_from = "LineFrom" ),
240
- "LineFromName" : fields .Str (required = False , load_from = "LineFromName" ),
241
- "LineId" : fields .Str (required = False , load_from = "LineId" ),
242
- "LineTo" : fields .Str (required = False , load_from = "LineTo" ),
243
- "LineToName" : fields .Str (required = False , load_from = "LineToName" ),
244
- "UPathId" : fields .Str (required = False , load_from = "UPathId" ),
245
- "UPathName" : fields .Str (required = False , load_from = "UPathName" ),
244
+ "Port" : fields .Int (required = True , load_from = "Port" ),
245
+ "Protocol" : fields .Str (required = True , load_from = "Protocol" ),
246
246
}
247
247
248
248
0 commit comments