tencentcloud-sdk-python 3.0.1248__py2.py3-none-any.whl → 3.0.1249__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tencentcloud/__init__.py +1 -1
- tencentcloud/cbs/v20170312/models.py +3 -3
- tencentcloud/cdn/v20180606/models.py +1 -1
- tencentcloud/cdwch/v20200915/models.py +26 -0
- tencentcloud/clb/v20180317/models.py +10 -5
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +1 -1
- tencentcloud/cynosdb/v20190107/models.py +146 -0
- tencentcloud/dsgc/v20190723/models.py +190 -26
- tencentcloud/ess/v20201111/ess_client.py +8 -15
- tencentcloud/ess/v20201111/models.py +98 -10
- tencentcloud/essbasic/v20210526/essbasic_client.py +35 -15
- tencentcloud/essbasic/v20210526/models.py +144 -4
- tencentcloud/iotexplorer/v20190423/errorcodes.py +6 -0
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +46 -0
- tencentcloud/iotexplorer/v20190423/models.py +293 -0
- tencentcloud/lke/v20231130/models.py +1 -2
- tencentcloud/mongodb/v20190725/models.py +3 -4
- tencentcloud/mps/v20190612/errorcodes.py +3 -0
- tencentcloud/mps/v20190612/models.py +981 -17
- tencentcloud/mps/v20190612/mps_client.py +93 -0
- tencentcloud/oceanus/v20190422/models.py +146 -0
- tencentcloud/oceanus/v20190422/oceanus_client.py +23 -0
- tencentcloud/redis/v20180412/models.py +98 -1
- tencentcloud/redis/v20180412/redis_client.py +24 -1
- tencentcloud/tcss/v20201101/tcss_client.py +15 -5
- tencentcloud/tms/v20201229/errorcodes.py +3 -0
- tencentcloud/tms/v20201229/models.py +1 -1
- tencentcloud/trtc/v20190722/models.py +24 -5
- tencentcloud/waf/v20180125/models.py +1456 -515
- tencentcloud/waf/v20180125/waf_client.py +46 -0
- {tencentcloud_sdk_python-3.0.1248.dist-info → tencentcloud_sdk_python-3.0.1249.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1248.dist-info → tencentcloud_sdk_python-3.0.1249.dist-info}/RECORD +35 -35
- {tencentcloud_sdk_python-3.0.1248.dist-info → tencentcloud_sdk_python-3.0.1249.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1248.dist-info → tencentcloud_sdk_python-3.0.1249.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1248.dist-info → tencentcloud_sdk_python-3.0.1249.dist-info}/top_level.txt +0 -0
@@ -2410,204 +2410,220 @@ class AddSpartaProtectionResponse(AbstractModel):
|
|
2410
2410
|
self._RequestId = params.get("RequestId")
|
2411
2411
|
|
2412
2412
|
|
2413
|
-
class
|
2414
|
-
"""
|
2413
|
+
class ApiAsset(AbstractModel):
|
2414
|
+
"""api列表
|
2415
2415
|
|
2416
2416
|
"""
|
2417
2417
|
|
2418
2418
|
def __init__(self):
|
2419
2419
|
r"""
|
2420
|
-
:param
|
2420
|
+
:param _Domain: 域名
|
2421
|
+
:type Domain: str
|
2422
|
+
:param _Method: 请求方法
|
2423
|
+
:type Method: str
|
2424
|
+
:param _ApiName: api名称
|
2425
|
+
:type ApiName: str
|
2426
|
+
:param _Scene: 场景
|
2421
2427
|
注意:此字段可能返回 null,表示取不到有效值。
|
2422
|
-
:type
|
2423
|
-
:param
|
2428
|
+
:type Scene: str
|
2429
|
+
:param _Label: 数据标签
|
2424
2430
|
注意:此字段可能返回 null,表示取不到有效值。
|
2425
|
-
:type
|
2426
|
-
:param
|
2431
|
+
:type Label: list of str
|
2432
|
+
:param _Active: 过去7天是否活跃
|
2427
2433
|
注意:此字段可能返回 null,表示取不到有效值。
|
2428
|
-
:type
|
2429
|
-
:param
|
2434
|
+
:type Active: bool
|
2435
|
+
:param _Timestamp: 最近更新时间
|
2436
|
+
:type Timestamp: int
|
2437
|
+
:param _InsertTime: api发现时间
|
2438
|
+
:type InsertTime: int
|
2439
|
+
:param _Mode: 资产状态,1:新发现,2,确认中,3,已确认,4,已下线,5,已忽略
|
2430
2440
|
注意:此字段可能返回 null,表示取不到有效值。
|
2431
|
-
:type
|
2432
|
-
:param
|
2441
|
+
:type Mode: str
|
2442
|
+
:param _Level: 风险等级,100,200,300对应低中高
|
2433
2443
|
注意:此字段可能返回 null,表示取不到有效值。
|
2434
|
-
:type
|
2435
|
-
:param
|
2444
|
+
:type Level: str
|
2445
|
+
:param _Count: 近30天调用量
|
2436
2446
|
注意:此字段可能返回 null,表示取不到有效值。
|
2437
|
-
:type
|
2438
|
-
:param
|
2447
|
+
:type Count: int
|
2448
|
+
:param _Remark: 备注
|
2439
2449
|
注意:此字段可能返回 null,表示取不到有效值。
|
2440
|
-
:type
|
2441
|
-
:param
|
2450
|
+
:type Remark: str
|
2451
|
+
:param _IsAuth: 是否鉴权,1标识是,0表示否
|
2442
2452
|
注意:此字段可能返回 null,表示取不到有效值。
|
2443
|
-
:type
|
2444
|
-
:param
|
2453
|
+
:type IsAuth: int
|
2454
|
+
:param _ApiRequestRuleId: 如果添加了api入参检测规则,则此id返回值不为0
|
2445
2455
|
注意:此字段可能返回 null,表示取不到有效值。
|
2446
|
-
:type
|
2447
|
-
:param
|
2456
|
+
:type ApiRequestRuleId: int
|
2457
|
+
:param _ApiLimitRuleId: 如果添加了api限流规则,则此id返回值不为0
|
2448
2458
|
注意:此字段可能返回 null,表示取不到有效值。
|
2449
|
-
:type
|
2459
|
+
:type ApiLimitRuleId: int
|
2460
|
+
:param _HostList: 对象接入和泛域名接入时,展示host列表
|
2461
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2462
|
+
:type HostList: list of str
|
2450
2463
|
"""
|
2451
|
-
self.
|
2452
|
-
self.
|
2453
|
-
self.
|
2454
|
-
self.
|
2455
|
-
self.
|
2456
|
-
self.
|
2457
|
-
self.
|
2458
|
-
self.
|
2459
|
-
self.
|
2460
|
-
self.
|
2464
|
+
self._Domain = None
|
2465
|
+
self._Method = None
|
2466
|
+
self._ApiName = None
|
2467
|
+
self._Scene = None
|
2468
|
+
self._Label = None
|
2469
|
+
self._Active = None
|
2470
|
+
self._Timestamp = None
|
2471
|
+
self._InsertTime = None
|
2472
|
+
self._Mode = None
|
2473
|
+
self._Level = None
|
2474
|
+
self._Count = None
|
2475
|
+
self._Remark = None
|
2476
|
+
self._IsAuth = None
|
2477
|
+
self._ApiRequestRuleId = None
|
2478
|
+
self._ApiLimitRuleId = None
|
2479
|
+
self._HostList = None
|
2461
2480
|
|
2462
2481
|
@property
|
2463
|
-
def
|
2464
|
-
return self.
|
2482
|
+
def Domain(self):
|
2483
|
+
return self._Domain
|
2465
2484
|
|
2466
|
-
@
|
2467
|
-
def
|
2468
|
-
self.
|
2485
|
+
@Domain.setter
|
2486
|
+
def Domain(self, Domain):
|
2487
|
+
self._Domain = Domain
|
2469
2488
|
|
2470
2489
|
@property
|
2471
|
-
def
|
2472
|
-
return self.
|
2490
|
+
def Method(self):
|
2491
|
+
return self._Method
|
2473
2492
|
|
2474
|
-
@
|
2475
|
-
def
|
2476
|
-
self.
|
2493
|
+
@Method.setter
|
2494
|
+
def Method(self, Method):
|
2495
|
+
self._Method = Method
|
2477
2496
|
|
2478
2497
|
@property
|
2479
|
-
def
|
2480
|
-
return self.
|
2498
|
+
def ApiName(self):
|
2499
|
+
return self._ApiName
|
2481
2500
|
|
2482
|
-
@
|
2483
|
-
def
|
2484
|
-
self.
|
2501
|
+
@ApiName.setter
|
2502
|
+
def ApiName(self, ApiName):
|
2503
|
+
self._ApiName = ApiName
|
2485
2504
|
|
2486
2505
|
@property
|
2487
|
-
def
|
2488
|
-
return self.
|
2506
|
+
def Scene(self):
|
2507
|
+
return self._Scene
|
2489
2508
|
|
2490
|
-
@
|
2491
|
-
def
|
2492
|
-
self.
|
2509
|
+
@Scene.setter
|
2510
|
+
def Scene(self, Scene):
|
2511
|
+
self._Scene = Scene
|
2493
2512
|
|
2494
2513
|
@property
|
2495
|
-
def
|
2496
|
-
return self.
|
2514
|
+
def Label(self):
|
2515
|
+
return self._Label
|
2497
2516
|
|
2498
|
-
@
|
2499
|
-
def
|
2500
|
-
self.
|
2517
|
+
@Label.setter
|
2518
|
+
def Label(self, Label):
|
2519
|
+
self._Label = Label
|
2501
2520
|
|
2502
2521
|
@property
|
2503
|
-
def
|
2504
|
-
return self.
|
2522
|
+
def Active(self):
|
2523
|
+
return self._Active
|
2505
2524
|
|
2506
|
-
@
|
2507
|
-
def
|
2508
|
-
self.
|
2525
|
+
@Active.setter
|
2526
|
+
def Active(self, Active):
|
2527
|
+
self._Active = Active
|
2509
2528
|
|
2510
2529
|
@property
|
2511
|
-
def
|
2512
|
-
return self.
|
2530
|
+
def Timestamp(self):
|
2531
|
+
return self._Timestamp
|
2513
2532
|
|
2514
|
-
@
|
2515
|
-
def
|
2516
|
-
self.
|
2533
|
+
@Timestamp.setter
|
2534
|
+
def Timestamp(self, Timestamp):
|
2535
|
+
self._Timestamp = Timestamp
|
2517
2536
|
|
2518
2537
|
@property
|
2519
|
-
def
|
2520
|
-
return self.
|
2538
|
+
def InsertTime(self):
|
2539
|
+
return self._InsertTime
|
2521
2540
|
|
2522
|
-
@
|
2523
|
-
def
|
2524
|
-
self.
|
2541
|
+
@InsertTime.setter
|
2542
|
+
def InsertTime(self, InsertTime):
|
2543
|
+
self._InsertTime = InsertTime
|
2525
2544
|
|
2526
2545
|
@property
|
2527
|
-
def
|
2528
|
-
return self.
|
2546
|
+
def Mode(self):
|
2547
|
+
return self._Mode
|
2529
2548
|
|
2530
|
-
@
|
2531
|
-
def
|
2532
|
-
self.
|
2549
|
+
@Mode.setter
|
2550
|
+
def Mode(self, Mode):
|
2551
|
+
self._Mode = Mode
|
2533
2552
|
|
2534
2553
|
@property
|
2535
|
-
def
|
2536
|
-
return self.
|
2554
|
+
def Level(self):
|
2555
|
+
return self._Level
|
2537
2556
|
|
2538
|
-
@
|
2539
|
-
def
|
2540
|
-
self.
|
2557
|
+
@Level.setter
|
2558
|
+
def Level(self, Level):
|
2559
|
+
self._Level = Level
|
2541
2560
|
|
2561
|
+
@property
|
2562
|
+
def Count(self):
|
2563
|
+
return self._Count
|
2542
2564
|
|
2543
|
-
|
2544
|
-
|
2545
|
-
self.
|
2546
|
-
self._Region = params.get("Region")
|
2547
|
-
self._BeginTime = params.get("BeginTime")
|
2548
|
-
self._EndTime = params.get("EndTime")
|
2549
|
-
self._InquireNum = params.get("InquireNum")
|
2550
|
-
self._UsedNum = params.get("UsedNum")
|
2551
|
-
self._RenewFlag = params.get("RenewFlag")
|
2552
|
-
self._BillingItem = params.get("BillingItem")
|
2553
|
-
self._IsAPISecurityTrial = params.get("IsAPISecurityTrial")
|
2554
|
-
memeber_set = set(params.keys())
|
2555
|
-
for name, value in vars(self).items():
|
2556
|
-
property_name = name[1:]
|
2557
|
-
if property_name in memeber_set:
|
2558
|
-
memeber_set.remove(property_name)
|
2559
|
-
if len(memeber_set) > 0:
|
2560
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
2561
|
-
|
2565
|
+
@Count.setter
|
2566
|
+
def Count(self, Count):
|
2567
|
+
self._Count = Count
|
2562
2568
|
|
2569
|
+
@property
|
2570
|
+
def Remark(self):
|
2571
|
+
return self._Remark
|
2563
2572
|
|
2564
|
-
|
2565
|
-
|
2573
|
+
@Remark.setter
|
2574
|
+
def Remark(self, Remark):
|
2575
|
+
self._Remark = Remark
|
2566
2576
|
|
2567
|
-
|
2577
|
+
@property
|
2578
|
+
def IsAuth(self):
|
2579
|
+
return self._IsAuth
|
2568
2580
|
|
2569
|
-
|
2570
|
-
|
2571
|
-
|
2572
|
-
:type ApiName: str
|
2573
|
-
:param _Domain: 域名
|
2574
|
-
:type Domain: str
|
2575
|
-
:param _Method: 请求方法
|
2576
|
-
:type Method: str
|
2577
|
-
"""
|
2578
|
-
self._ApiName = None
|
2579
|
-
self._Domain = None
|
2580
|
-
self._Method = None
|
2581
|
+
@IsAuth.setter
|
2582
|
+
def IsAuth(self, IsAuth):
|
2583
|
+
self._IsAuth = IsAuth
|
2581
2584
|
|
2582
2585
|
@property
|
2583
|
-
def
|
2584
|
-
return self.
|
2586
|
+
def ApiRequestRuleId(self):
|
2587
|
+
return self._ApiRequestRuleId
|
2585
2588
|
|
2586
|
-
@
|
2587
|
-
def
|
2588
|
-
self.
|
2589
|
+
@ApiRequestRuleId.setter
|
2590
|
+
def ApiRequestRuleId(self, ApiRequestRuleId):
|
2591
|
+
self._ApiRequestRuleId = ApiRequestRuleId
|
2589
2592
|
|
2590
2593
|
@property
|
2591
|
-
def
|
2592
|
-
return self.
|
2594
|
+
def ApiLimitRuleId(self):
|
2595
|
+
return self._ApiLimitRuleId
|
2593
2596
|
|
2594
|
-
@
|
2595
|
-
def
|
2596
|
-
self.
|
2597
|
+
@ApiLimitRuleId.setter
|
2598
|
+
def ApiLimitRuleId(self, ApiLimitRuleId):
|
2599
|
+
self._ApiLimitRuleId = ApiLimitRuleId
|
2597
2600
|
|
2598
2601
|
@property
|
2599
|
-
def
|
2600
|
-
return self.
|
2602
|
+
def HostList(self):
|
2603
|
+
return self._HostList
|
2601
2604
|
|
2602
|
-
@
|
2603
|
-
def
|
2604
|
-
self.
|
2605
|
+
@HostList.setter
|
2606
|
+
def HostList(self, HostList):
|
2607
|
+
self._HostList = HostList
|
2605
2608
|
|
2606
2609
|
|
2607
2610
|
def _deserialize(self, params):
|
2608
|
-
self._ApiName = params.get("ApiName")
|
2609
2611
|
self._Domain = params.get("Domain")
|
2610
2612
|
self._Method = params.get("Method")
|
2613
|
+
self._ApiName = params.get("ApiName")
|
2614
|
+
self._Scene = params.get("Scene")
|
2615
|
+
self._Label = params.get("Label")
|
2616
|
+
self._Active = params.get("Active")
|
2617
|
+
self._Timestamp = params.get("Timestamp")
|
2618
|
+
self._InsertTime = params.get("InsertTime")
|
2619
|
+
self._Mode = params.get("Mode")
|
2620
|
+
self._Level = params.get("Level")
|
2621
|
+
self._Count = params.get("Count")
|
2622
|
+
self._Remark = params.get("Remark")
|
2623
|
+
self._IsAuth = params.get("IsAuth")
|
2624
|
+
self._ApiRequestRuleId = params.get("ApiRequestRuleId")
|
2625
|
+
self._ApiLimitRuleId = params.get("ApiLimitRuleId")
|
2626
|
+
self._HostList = params.get("HostList")
|
2611
2627
|
memeber_set = set(params.keys())
|
2612
2628
|
for name, value in vars(self).items():
|
2613
2629
|
property_name = name[1:]
|
@@ -2618,65 +2634,528 @@ class ApiSecKey(AbstractModel):
|
|
2618
2634
|
|
2619
2635
|
|
2620
2636
|
|
2621
|
-
class
|
2622
|
-
"""
|
2637
|
+
class ApiDataFilter(AbstractModel):
|
2638
|
+
"""api资产列表过滤器
|
2623
2639
|
|
2624
2640
|
"""
|
2625
2641
|
|
2626
2642
|
def __init__(self):
|
2627
2643
|
r"""
|
2628
|
-
:param
|
2629
|
-
:type
|
2630
|
-
:param
|
2631
|
-
:type
|
2632
|
-
:param
|
2633
|
-
:type
|
2634
|
-
:param _TimeStamp: CLS返回内容
|
2635
|
-
:type TimeStamp: str
|
2644
|
+
:param _Entity: 数据标签,是否活跃,功能场景
|
2645
|
+
:type Entity: str
|
2646
|
+
:param _Operator: 等于
|
2647
|
+
:type Operator: str
|
2648
|
+
:param _Value: 日期,手机号,邮箱等
|
2649
|
+
:type Value: str
|
2636
2650
|
"""
|
2637
|
-
self.
|
2638
|
-
self.
|
2639
|
-
self.
|
2640
|
-
self._TimeStamp = None
|
2641
|
-
|
2642
|
-
@property
|
2643
|
-
def Content(self):
|
2644
|
-
return self._Content
|
2645
|
-
|
2646
|
-
@Content.setter
|
2647
|
-
def Content(self, Content):
|
2648
|
-
self._Content = Content
|
2651
|
+
self._Entity = None
|
2652
|
+
self._Operator = None
|
2653
|
+
self._Value = None
|
2649
2654
|
|
2650
2655
|
@property
|
2651
|
-
def
|
2652
|
-
return self.
|
2656
|
+
def Entity(self):
|
2657
|
+
return self._Entity
|
2653
2658
|
|
2654
|
-
@
|
2655
|
-
def
|
2656
|
-
self.
|
2659
|
+
@Entity.setter
|
2660
|
+
def Entity(self, Entity):
|
2661
|
+
self._Entity = Entity
|
2657
2662
|
|
2658
2663
|
@property
|
2659
|
-
def
|
2660
|
-
return self.
|
2664
|
+
def Operator(self):
|
2665
|
+
return self._Operator
|
2661
2666
|
|
2662
|
-
@
|
2663
|
-
def
|
2664
|
-
self.
|
2667
|
+
@Operator.setter
|
2668
|
+
def Operator(self, Operator):
|
2669
|
+
self._Operator = Operator
|
2665
2670
|
|
2666
2671
|
@property
|
2667
|
-
def
|
2668
|
-
return self.
|
2672
|
+
def Value(self):
|
2673
|
+
return self._Value
|
2669
2674
|
|
2670
|
-
@
|
2671
|
-
def
|
2672
|
-
self.
|
2675
|
+
@Value.setter
|
2676
|
+
def Value(self, Value):
|
2677
|
+
self._Value = Value
|
2673
2678
|
|
2674
2679
|
|
2675
2680
|
def _deserialize(self, params):
|
2676
|
-
self.
|
2677
|
-
self.
|
2678
|
-
self.
|
2679
|
-
|
2681
|
+
self._Entity = params.get("Entity")
|
2682
|
+
self._Operator = params.get("Operator")
|
2683
|
+
self._Value = params.get("Value")
|
2684
|
+
memeber_set = set(params.keys())
|
2685
|
+
for name, value in vars(self).items():
|
2686
|
+
property_name = name[1:]
|
2687
|
+
if property_name in memeber_set:
|
2688
|
+
memeber_set.remove(property_name)
|
2689
|
+
if len(memeber_set) > 0:
|
2690
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
2691
|
+
|
2692
|
+
|
2693
|
+
|
2694
|
+
class ApiDetailSampleHistory(AbstractModel):
|
2695
|
+
"""api历史样例返回结构体
|
2696
|
+
|
2697
|
+
"""
|
2698
|
+
|
2699
|
+
def __init__(self):
|
2700
|
+
r"""
|
2701
|
+
:param _SampleNme: 样例名称
|
2702
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2703
|
+
:type SampleNme: str
|
2704
|
+
:param _RepLog: 请求样例
|
2705
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2706
|
+
:type RepLog: str
|
2707
|
+
:param _RspLog: 响应样例
|
2708
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2709
|
+
:type RspLog: str
|
2710
|
+
"""
|
2711
|
+
self._SampleNme = None
|
2712
|
+
self._RepLog = None
|
2713
|
+
self._RspLog = None
|
2714
|
+
|
2715
|
+
@property
|
2716
|
+
def SampleNme(self):
|
2717
|
+
return self._SampleNme
|
2718
|
+
|
2719
|
+
@SampleNme.setter
|
2720
|
+
def SampleNme(self, SampleNme):
|
2721
|
+
self._SampleNme = SampleNme
|
2722
|
+
|
2723
|
+
@property
|
2724
|
+
def RepLog(self):
|
2725
|
+
return self._RepLog
|
2726
|
+
|
2727
|
+
@RepLog.setter
|
2728
|
+
def RepLog(self, RepLog):
|
2729
|
+
self._RepLog = RepLog
|
2730
|
+
|
2731
|
+
@property
|
2732
|
+
def RspLog(self):
|
2733
|
+
return self._RspLog
|
2734
|
+
|
2735
|
+
@RspLog.setter
|
2736
|
+
def RspLog(self, RspLog):
|
2737
|
+
self._RspLog = RspLog
|
2738
|
+
|
2739
|
+
|
2740
|
+
def _deserialize(self, params):
|
2741
|
+
self._SampleNme = params.get("SampleNme")
|
2742
|
+
self._RepLog = params.get("RepLog")
|
2743
|
+
self._RspLog = params.get("RspLog")
|
2744
|
+
memeber_set = set(params.keys())
|
2745
|
+
for name, value in vars(self).items():
|
2746
|
+
property_name = name[1:]
|
2747
|
+
if property_name in memeber_set:
|
2748
|
+
memeber_set.remove(property_name)
|
2749
|
+
if len(memeber_set) > 0:
|
2750
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
2751
|
+
|
2752
|
+
|
2753
|
+
|
2754
|
+
class ApiParameterType(AbstractModel):
|
2755
|
+
"""api请求参数类型
|
2756
|
+
|
2757
|
+
"""
|
2758
|
+
|
2759
|
+
def __init__(self):
|
2760
|
+
r"""
|
2761
|
+
:param _ParameterName: 参数名称
|
2762
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2763
|
+
:type ParameterName: str
|
2764
|
+
:param _Type: 参数类型
|
2765
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2766
|
+
:type Type: str
|
2767
|
+
:param _Location: 参数位置
|
2768
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2769
|
+
:type Location: str
|
2770
|
+
:param _Label: 数据标签(敏感字段)
|
2771
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2772
|
+
:type Label: list of str
|
2773
|
+
:param _Timestamp: 时间戳
|
2774
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2775
|
+
:type Timestamp: int
|
2776
|
+
:param _Remark: 备注信息
|
2777
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2778
|
+
:type Remark: str
|
2779
|
+
:param _Source: 来源是请求或者响应
|
2780
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2781
|
+
:type Source: str
|
2782
|
+
:param _IsPan: 是否需要泛化 ,0表示不需要,1表示需要
|
2783
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2784
|
+
:type IsPan: int
|
2785
|
+
:param _IsAuth: 是否鉴权,1表示是,0表示否
|
2786
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2787
|
+
:type IsAuth: int
|
2788
|
+
"""
|
2789
|
+
self._ParameterName = None
|
2790
|
+
self._Type = None
|
2791
|
+
self._Location = None
|
2792
|
+
self._Label = None
|
2793
|
+
self._Timestamp = None
|
2794
|
+
self._Remark = None
|
2795
|
+
self._Source = None
|
2796
|
+
self._IsPan = None
|
2797
|
+
self._IsAuth = None
|
2798
|
+
|
2799
|
+
@property
|
2800
|
+
def ParameterName(self):
|
2801
|
+
return self._ParameterName
|
2802
|
+
|
2803
|
+
@ParameterName.setter
|
2804
|
+
def ParameterName(self, ParameterName):
|
2805
|
+
self._ParameterName = ParameterName
|
2806
|
+
|
2807
|
+
@property
|
2808
|
+
def Type(self):
|
2809
|
+
return self._Type
|
2810
|
+
|
2811
|
+
@Type.setter
|
2812
|
+
def Type(self, Type):
|
2813
|
+
self._Type = Type
|
2814
|
+
|
2815
|
+
@property
|
2816
|
+
def Location(self):
|
2817
|
+
return self._Location
|
2818
|
+
|
2819
|
+
@Location.setter
|
2820
|
+
def Location(self, Location):
|
2821
|
+
self._Location = Location
|
2822
|
+
|
2823
|
+
@property
|
2824
|
+
def Label(self):
|
2825
|
+
return self._Label
|
2826
|
+
|
2827
|
+
@Label.setter
|
2828
|
+
def Label(self, Label):
|
2829
|
+
self._Label = Label
|
2830
|
+
|
2831
|
+
@property
|
2832
|
+
def Timestamp(self):
|
2833
|
+
return self._Timestamp
|
2834
|
+
|
2835
|
+
@Timestamp.setter
|
2836
|
+
def Timestamp(self, Timestamp):
|
2837
|
+
self._Timestamp = Timestamp
|
2838
|
+
|
2839
|
+
@property
|
2840
|
+
def Remark(self):
|
2841
|
+
return self._Remark
|
2842
|
+
|
2843
|
+
@Remark.setter
|
2844
|
+
def Remark(self, Remark):
|
2845
|
+
self._Remark = Remark
|
2846
|
+
|
2847
|
+
@property
|
2848
|
+
def Source(self):
|
2849
|
+
return self._Source
|
2850
|
+
|
2851
|
+
@Source.setter
|
2852
|
+
def Source(self, Source):
|
2853
|
+
self._Source = Source
|
2854
|
+
|
2855
|
+
@property
|
2856
|
+
def IsPan(self):
|
2857
|
+
return self._IsPan
|
2858
|
+
|
2859
|
+
@IsPan.setter
|
2860
|
+
def IsPan(self, IsPan):
|
2861
|
+
self._IsPan = IsPan
|
2862
|
+
|
2863
|
+
@property
|
2864
|
+
def IsAuth(self):
|
2865
|
+
return self._IsAuth
|
2866
|
+
|
2867
|
+
@IsAuth.setter
|
2868
|
+
def IsAuth(self, IsAuth):
|
2869
|
+
self._IsAuth = IsAuth
|
2870
|
+
|
2871
|
+
|
2872
|
+
def _deserialize(self, params):
|
2873
|
+
self._ParameterName = params.get("ParameterName")
|
2874
|
+
self._Type = params.get("Type")
|
2875
|
+
self._Location = params.get("Location")
|
2876
|
+
self._Label = params.get("Label")
|
2877
|
+
self._Timestamp = params.get("Timestamp")
|
2878
|
+
self._Remark = params.get("Remark")
|
2879
|
+
self._Source = params.get("Source")
|
2880
|
+
self._IsPan = params.get("IsPan")
|
2881
|
+
self._IsAuth = params.get("IsAuth")
|
2882
|
+
memeber_set = set(params.keys())
|
2883
|
+
for name, value in vars(self).items():
|
2884
|
+
property_name = name[1:]
|
2885
|
+
if property_name in memeber_set:
|
2886
|
+
memeber_set.remove(property_name)
|
2887
|
+
if len(memeber_set) > 0:
|
2888
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
2889
|
+
|
2890
|
+
|
2891
|
+
|
2892
|
+
class ApiPkg(AbstractModel):
|
2893
|
+
"""API安全资源信息
|
2894
|
+
|
2895
|
+
"""
|
2896
|
+
|
2897
|
+
def __init__(self):
|
2898
|
+
r"""
|
2899
|
+
:param _ResourceIds: 资源id
|
2900
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2901
|
+
:type ResourceIds: str
|
2902
|
+
:param _Status: 状态
|
2903
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2904
|
+
:type Status: int
|
2905
|
+
:param _Region: 地域
|
2906
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2907
|
+
:type Region: int
|
2908
|
+
:param _BeginTime: 开始时间
|
2909
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2910
|
+
:type BeginTime: str
|
2911
|
+
:param _EndTime: 结束时间
|
2912
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2913
|
+
:type EndTime: str
|
2914
|
+
:param _InquireNum: 申请数量
|
2915
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2916
|
+
:type InquireNum: int
|
2917
|
+
:param _UsedNum: 使用数量
|
2918
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2919
|
+
:type UsedNum: int
|
2920
|
+
:param _RenewFlag: 续费标志
|
2921
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2922
|
+
:type RenewFlag: int
|
2923
|
+
:param _BillingItem: 计费项
|
2924
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2925
|
+
:type BillingItem: str
|
2926
|
+
:param _IsAPISecurityTrial: api安全7天试用标识。1试用。0没试用
|
2927
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2928
|
+
:type IsAPISecurityTrial: int
|
2929
|
+
"""
|
2930
|
+
self._ResourceIds = None
|
2931
|
+
self._Status = None
|
2932
|
+
self._Region = None
|
2933
|
+
self._BeginTime = None
|
2934
|
+
self._EndTime = None
|
2935
|
+
self._InquireNum = None
|
2936
|
+
self._UsedNum = None
|
2937
|
+
self._RenewFlag = None
|
2938
|
+
self._BillingItem = None
|
2939
|
+
self._IsAPISecurityTrial = None
|
2940
|
+
|
2941
|
+
@property
|
2942
|
+
def ResourceIds(self):
|
2943
|
+
return self._ResourceIds
|
2944
|
+
|
2945
|
+
@ResourceIds.setter
|
2946
|
+
def ResourceIds(self, ResourceIds):
|
2947
|
+
self._ResourceIds = ResourceIds
|
2948
|
+
|
2949
|
+
@property
|
2950
|
+
def Status(self):
|
2951
|
+
return self._Status
|
2952
|
+
|
2953
|
+
@Status.setter
|
2954
|
+
def Status(self, Status):
|
2955
|
+
self._Status = Status
|
2956
|
+
|
2957
|
+
@property
|
2958
|
+
def Region(self):
|
2959
|
+
return self._Region
|
2960
|
+
|
2961
|
+
@Region.setter
|
2962
|
+
def Region(self, Region):
|
2963
|
+
self._Region = Region
|
2964
|
+
|
2965
|
+
@property
|
2966
|
+
def BeginTime(self):
|
2967
|
+
return self._BeginTime
|
2968
|
+
|
2969
|
+
@BeginTime.setter
|
2970
|
+
def BeginTime(self, BeginTime):
|
2971
|
+
self._BeginTime = BeginTime
|
2972
|
+
|
2973
|
+
@property
|
2974
|
+
def EndTime(self):
|
2975
|
+
return self._EndTime
|
2976
|
+
|
2977
|
+
@EndTime.setter
|
2978
|
+
def EndTime(self, EndTime):
|
2979
|
+
self._EndTime = EndTime
|
2980
|
+
|
2981
|
+
@property
|
2982
|
+
def InquireNum(self):
|
2983
|
+
return self._InquireNum
|
2984
|
+
|
2985
|
+
@InquireNum.setter
|
2986
|
+
def InquireNum(self, InquireNum):
|
2987
|
+
self._InquireNum = InquireNum
|
2988
|
+
|
2989
|
+
@property
|
2990
|
+
def UsedNum(self):
|
2991
|
+
return self._UsedNum
|
2992
|
+
|
2993
|
+
@UsedNum.setter
|
2994
|
+
def UsedNum(self, UsedNum):
|
2995
|
+
self._UsedNum = UsedNum
|
2996
|
+
|
2997
|
+
@property
|
2998
|
+
def RenewFlag(self):
|
2999
|
+
return self._RenewFlag
|
3000
|
+
|
3001
|
+
@RenewFlag.setter
|
3002
|
+
def RenewFlag(self, RenewFlag):
|
3003
|
+
self._RenewFlag = RenewFlag
|
3004
|
+
|
3005
|
+
@property
|
3006
|
+
def BillingItem(self):
|
3007
|
+
return self._BillingItem
|
3008
|
+
|
3009
|
+
@BillingItem.setter
|
3010
|
+
def BillingItem(self, BillingItem):
|
3011
|
+
self._BillingItem = BillingItem
|
3012
|
+
|
3013
|
+
@property
|
3014
|
+
def IsAPISecurityTrial(self):
|
3015
|
+
return self._IsAPISecurityTrial
|
3016
|
+
|
3017
|
+
@IsAPISecurityTrial.setter
|
3018
|
+
def IsAPISecurityTrial(self, IsAPISecurityTrial):
|
3019
|
+
self._IsAPISecurityTrial = IsAPISecurityTrial
|
3020
|
+
|
3021
|
+
|
3022
|
+
def _deserialize(self, params):
|
3023
|
+
self._ResourceIds = params.get("ResourceIds")
|
3024
|
+
self._Status = params.get("Status")
|
3025
|
+
self._Region = params.get("Region")
|
3026
|
+
self._BeginTime = params.get("BeginTime")
|
3027
|
+
self._EndTime = params.get("EndTime")
|
3028
|
+
self._InquireNum = params.get("InquireNum")
|
3029
|
+
self._UsedNum = params.get("UsedNum")
|
3030
|
+
self._RenewFlag = params.get("RenewFlag")
|
3031
|
+
self._BillingItem = params.get("BillingItem")
|
3032
|
+
self._IsAPISecurityTrial = params.get("IsAPISecurityTrial")
|
3033
|
+
memeber_set = set(params.keys())
|
3034
|
+
for name, value in vars(self).items():
|
3035
|
+
property_name = name[1:]
|
3036
|
+
if property_name in memeber_set:
|
3037
|
+
memeber_set.remove(property_name)
|
3038
|
+
if len(memeber_set) > 0:
|
3039
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
3040
|
+
|
3041
|
+
|
3042
|
+
|
3043
|
+
class ApiSecKey(AbstractModel):
|
3044
|
+
"""api列表
|
3045
|
+
|
3046
|
+
"""
|
3047
|
+
|
3048
|
+
def __init__(self):
|
3049
|
+
r"""
|
3050
|
+
:param _ApiName: api名称
|
3051
|
+
:type ApiName: str
|
3052
|
+
:param _Domain: 域名
|
3053
|
+
:type Domain: str
|
3054
|
+
:param _Method: 请求方法
|
3055
|
+
:type Method: str
|
3056
|
+
"""
|
3057
|
+
self._ApiName = None
|
3058
|
+
self._Domain = None
|
3059
|
+
self._Method = None
|
3060
|
+
|
3061
|
+
@property
|
3062
|
+
def ApiName(self):
|
3063
|
+
return self._ApiName
|
3064
|
+
|
3065
|
+
@ApiName.setter
|
3066
|
+
def ApiName(self, ApiName):
|
3067
|
+
self._ApiName = ApiName
|
3068
|
+
|
3069
|
+
@property
|
3070
|
+
def Domain(self):
|
3071
|
+
return self._Domain
|
3072
|
+
|
3073
|
+
@Domain.setter
|
3074
|
+
def Domain(self, Domain):
|
3075
|
+
self._Domain = Domain
|
3076
|
+
|
3077
|
+
@property
|
3078
|
+
def Method(self):
|
3079
|
+
return self._Method
|
3080
|
+
|
3081
|
+
@Method.setter
|
3082
|
+
def Method(self, Method):
|
3083
|
+
self._Method = Method
|
3084
|
+
|
3085
|
+
|
3086
|
+
def _deserialize(self, params):
|
3087
|
+
self._ApiName = params.get("ApiName")
|
3088
|
+
self._Domain = params.get("Domain")
|
3089
|
+
self._Method = params.get("Method")
|
3090
|
+
memeber_set = set(params.keys())
|
3091
|
+
for name, value in vars(self).items():
|
3092
|
+
property_name = name[1:]
|
3093
|
+
if property_name in memeber_set:
|
3094
|
+
memeber_set.remove(property_name)
|
3095
|
+
if len(memeber_set) > 0:
|
3096
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
3097
|
+
|
3098
|
+
|
3099
|
+
|
3100
|
+
class AttackLogInfo(AbstractModel):
|
3101
|
+
"""攻击日志详情
|
3102
|
+
|
3103
|
+
"""
|
3104
|
+
|
3105
|
+
def __init__(self):
|
3106
|
+
r"""
|
3107
|
+
:param _Content: 攻击日志的详情内容
|
3108
|
+
:type Content: str
|
3109
|
+
:param _FileName: CLS返回内容
|
3110
|
+
:type FileName: str
|
3111
|
+
:param _Source: CLS返回内容
|
3112
|
+
:type Source: str
|
3113
|
+
:param _TimeStamp: CLS返回内容
|
3114
|
+
:type TimeStamp: str
|
3115
|
+
"""
|
3116
|
+
self._Content = None
|
3117
|
+
self._FileName = None
|
3118
|
+
self._Source = None
|
3119
|
+
self._TimeStamp = None
|
3120
|
+
|
3121
|
+
@property
|
3122
|
+
def Content(self):
|
3123
|
+
return self._Content
|
3124
|
+
|
3125
|
+
@Content.setter
|
3126
|
+
def Content(self, Content):
|
3127
|
+
self._Content = Content
|
3128
|
+
|
3129
|
+
@property
|
3130
|
+
def FileName(self):
|
3131
|
+
return self._FileName
|
3132
|
+
|
3133
|
+
@FileName.setter
|
3134
|
+
def FileName(self, FileName):
|
3135
|
+
self._FileName = FileName
|
3136
|
+
|
3137
|
+
@property
|
3138
|
+
def Source(self):
|
3139
|
+
return self._Source
|
3140
|
+
|
3141
|
+
@Source.setter
|
3142
|
+
def Source(self, Source):
|
3143
|
+
self._Source = Source
|
3144
|
+
|
3145
|
+
@property
|
3146
|
+
def TimeStamp(self):
|
3147
|
+
return self._TimeStamp
|
3148
|
+
|
3149
|
+
@TimeStamp.setter
|
3150
|
+
def TimeStamp(self, TimeStamp):
|
3151
|
+
self._TimeStamp = TimeStamp
|
3152
|
+
|
3153
|
+
|
3154
|
+
def _deserialize(self, params):
|
3155
|
+
self._Content = params.get("Content")
|
3156
|
+
self._FileName = params.get("FileName")
|
3157
|
+
self._Source = params.get("Source")
|
3158
|
+
self._TimeStamp = params.get("TimeStamp")
|
2680
3159
|
memeber_set = set(params.keys())
|
2681
3160
|
for name, value in vars(self).items():
|
2682
3161
|
property_name = name[1:]
|
@@ -7701,20 +8180,234 @@ class DescribeAntiFakeRulesResponse(AbstractModel):
|
|
7701
8180
|
self._RequestId = None
|
7702
8181
|
|
7703
8182
|
@property
|
7704
|
-
def Total(self):
|
7705
|
-
return self._Total
|
8183
|
+
def Total(self):
|
8184
|
+
return self._Total
|
8185
|
+
|
8186
|
+
@Total.setter
|
8187
|
+
def Total(self, Total):
|
8188
|
+
self._Total = Total
|
8189
|
+
|
8190
|
+
@property
|
8191
|
+
def Data(self):
|
8192
|
+
return self._Data
|
8193
|
+
|
8194
|
+
@Data.setter
|
8195
|
+
def Data(self, Data):
|
8196
|
+
self._Data = Data
|
8197
|
+
|
8198
|
+
@property
|
8199
|
+
def RequestId(self):
|
8200
|
+
return self._RequestId
|
8201
|
+
|
8202
|
+
@RequestId.setter
|
8203
|
+
def RequestId(self, RequestId):
|
8204
|
+
self._RequestId = RequestId
|
8205
|
+
|
8206
|
+
|
8207
|
+
def _deserialize(self, params):
|
8208
|
+
self._Total = params.get("Total")
|
8209
|
+
if params.get("Data") is not None:
|
8210
|
+
self._Data = []
|
8211
|
+
for item in params.get("Data"):
|
8212
|
+
obj = CacheUrlItems()
|
8213
|
+
obj._deserialize(item)
|
8214
|
+
self._Data.append(obj)
|
8215
|
+
self._RequestId = params.get("RequestId")
|
8216
|
+
|
8217
|
+
|
8218
|
+
class DescribeAntiFakeUrlRequest(AbstractModel):
|
8219
|
+
"""DescribeAntiFakeUrl请求参数结构体
|
8220
|
+
|
8221
|
+
"""
|
8222
|
+
|
8223
|
+
def __init__(self):
|
8224
|
+
r"""
|
8225
|
+
:param _Domain: 域名
|
8226
|
+
:type Domain: str
|
8227
|
+
:param _PageInfo: 翻页参数
|
8228
|
+
:type PageInfo: :class:`tencentcloud.waf.v20180125.models.PageInfo`
|
8229
|
+
"""
|
8230
|
+
self._Domain = None
|
8231
|
+
self._PageInfo = None
|
8232
|
+
|
8233
|
+
@property
|
8234
|
+
def Domain(self):
|
8235
|
+
return self._Domain
|
8236
|
+
|
8237
|
+
@Domain.setter
|
8238
|
+
def Domain(self, Domain):
|
8239
|
+
self._Domain = Domain
|
8240
|
+
|
8241
|
+
@property
|
8242
|
+
def PageInfo(self):
|
8243
|
+
return self._PageInfo
|
8244
|
+
|
8245
|
+
@PageInfo.setter
|
8246
|
+
def PageInfo(self, PageInfo):
|
8247
|
+
self._PageInfo = PageInfo
|
8248
|
+
|
8249
|
+
|
8250
|
+
def _deserialize(self, params):
|
8251
|
+
self._Domain = params.get("Domain")
|
8252
|
+
if params.get("PageInfo") is not None:
|
8253
|
+
self._PageInfo = PageInfo()
|
8254
|
+
self._PageInfo._deserialize(params.get("PageInfo"))
|
8255
|
+
memeber_set = set(params.keys())
|
8256
|
+
for name, value in vars(self).items():
|
8257
|
+
property_name = name[1:]
|
8258
|
+
if property_name in memeber_set:
|
8259
|
+
memeber_set.remove(property_name)
|
8260
|
+
if len(memeber_set) > 0:
|
8261
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
8262
|
+
|
8263
|
+
|
8264
|
+
|
8265
|
+
class DescribeAntiFakeUrlResponse(AbstractModel):
|
8266
|
+
"""DescribeAntiFakeUrl返回参数结构体
|
8267
|
+
|
8268
|
+
"""
|
8269
|
+
|
8270
|
+
def __init__(self):
|
8271
|
+
r"""
|
8272
|
+
:param _Total: 总数
|
8273
|
+
:type Total: str
|
8274
|
+
:param _List: 信息
|
8275
|
+
:type List: list of CacheUrlItem
|
8276
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
8277
|
+
:type RequestId: str
|
8278
|
+
"""
|
8279
|
+
self._Total = None
|
8280
|
+
self._List = None
|
8281
|
+
self._RequestId = None
|
8282
|
+
|
8283
|
+
@property
|
8284
|
+
def Total(self):
|
8285
|
+
return self._Total
|
8286
|
+
|
8287
|
+
@Total.setter
|
8288
|
+
def Total(self, Total):
|
8289
|
+
self._Total = Total
|
8290
|
+
|
8291
|
+
@property
|
8292
|
+
def List(self):
|
8293
|
+
return self._List
|
8294
|
+
|
8295
|
+
@List.setter
|
8296
|
+
def List(self, List):
|
8297
|
+
self._List = List
|
8298
|
+
|
8299
|
+
@property
|
8300
|
+
def RequestId(self):
|
8301
|
+
return self._RequestId
|
8302
|
+
|
8303
|
+
@RequestId.setter
|
8304
|
+
def RequestId(self, RequestId):
|
8305
|
+
self._RequestId = RequestId
|
8306
|
+
|
8307
|
+
|
8308
|
+
def _deserialize(self, params):
|
8309
|
+
self._Total = params.get("Total")
|
8310
|
+
if params.get("List") is not None:
|
8311
|
+
self._List = []
|
8312
|
+
for item in params.get("List"):
|
8313
|
+
obj = CacheUrlItem()
|
8314
|
+
obj._deserialize(item)
|
8315
|
+
self._List.append(obj)
|
8316
|
+
self._RequestId = params.get("RequestId")
|
8317
|
+
|
8318
|
+
|
8319
|
+
class DescribeAntiInfoLeakRulesRequest(AbstractModel):
|
8320
|
+
"""DescribeAntiInfoLeakRules请求参数结构体
|
8321
|
+
|
8322
|
+
"""
|
8323
|
+
|
8324
|
+
def __init__(self):
|
8325
|
+
r"""
|
8326
|
+
:param _Domain: 域名
|
8327
|
+
:type Domain: str
|
8328
|
+
:param _ActionType: 动作类型
|
8329
|
+
:type ActionType: int
|
8330
|
+
:param _PageInfo: 翻页
|
8331
|
+
:type PageInfo: :class:`tencentcloud.waf.v20180125.models.PageInfo`
|
8332
|
+
"""
|
8333
|
+
self._Domain = None
|
8334
|
+
self._ActionType = None
|
8335
|
+
self._PageInfo = None
|
8336
|
+
|
8337
|
+
@property
|
8338
|
+
def Domain(self):
|
8339
|
+
return self._Domain
|
8340
|
+
|
8341
|
+
@Domain.setter
|
8342
|
+
def Domain(self, Domain):
|
8343
|
+
self._Domain = Domain
|
8344
|
+
|
8345
|
+
@property
|
8346
|
+
def ActionType(self):
|
8347
|
+
return self._ActionType
|
8348
|
+
|
8349
|
+
@ActionType.setter
|
8350
|
+
def ActionType(self, ActionType):
|
8351
|
+
self._ActionType = ActionType
|
8352
|
+
|
8353
|
+
@property
|
8354
|
+
def PageInfo(self):
|
8355
|
+
return self._PageInfo
|
8356
|
+
|
8357
|
+
@PageInfo.setter
|
8358
|
+
def PageInfo(self, PageInfo):
|
8359
|
+
self._PageInfo = PageInfo
|
8360
|
+
|
8361
|
+
|
8362
|
+
def _deserialize(self, params):
|
8363
|
+
self._Domain = params.get("Domain")
|
8364
|
+
self._ActionType = params.get("ActionType")
|
8365
|
+
if params.get("PageInfo") is not None:
|
8366
|
+
self._PageInfo = PageInfo()
|
8367
|
+
self._PageInfo._deserialize(params.get("PageInfo"))
|
8368
|
+
memeber_set = set(params.keys())
|
8369
|
+
for name, value in vars(self).items():
|
8370
|
+
property_name = name[1:]
|
8371
|
+
if property_name in memeber_set:
|
8372
|
+
memeber_set.remove(property_name)
|
8373
|
+
if len(memeber_set) > 0:
|
8374
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
8375
|
+
|
8376
|
+
|
8377
|
+
|
8378
|
+
class DescribeAntiInfoLeakRulesResponse(AbstractModel):
|
8379
|
+
"""DescribeAntiInfoLeakRules返回参数结构体
|
8380
|
+
|
8381
|
+
"""
|
8382
|
+
|
8383
|
+
def __init__(self):
|
8384
|
+
r"""
|
8385
|
+
:param _TotalCount: 记录条数
|
8386
|
+
:type TotalCount: str
|
8387
|
+
:param _RuleList: 规则列表
|
8388
|
+
:type RuleList: list of DescribeAntiInfoLeakRulesRuleItem
|
8389
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
8390
|
+
:type RequestId: str
|
8391
|
+
"""
|
8392
|
+
self._TotalCount = None
|
8393
|
+
self._RuleList = None
|
8394
|
+
self._RequestId = None
|
8395
|
+
|
8396
|
+
@property
|
8397
|
+
def TotalCount(self):
|
8398
|
+
return self._TotalCount
|
7706
8399
|
|
7707
|
-
@
|
7708
|
-
def
|
7709
|
-
self.
|
8400
|
+
@TotalCount.setter
|
8401
|
+
def TotalCount(self, TotalCount):
|
8402
|
+
self._TotalCount = TotalCount
|
7710
8403
|
|
7711
8404
|
@property
|
7712
|
-
def
|
7713
|
-
return self.
|
8405
|
+
def RuleList(self):
|
8406
|
+
return self._RuleList
|
7714
8407
|
|
7715
|
-
@
|
7716
|
-
def
|
7717
|
-
self.
|
8408
|
+
@RuleList.setter
|
8409
|
+
def RuleList(self, RuleList):
|
8410
|
+
self._RuleList = RuleList
|
7718
8411
|
|
7719
8412
|
@property
|
7720
8413
|
def RequestId(self):
|
@@ -7726,53 +8419,104 @@ class DescribeAntiFakeRulesResponse(AbstractModel):
|
|
7726
8419
|
|
7727
8420
|
|
7728
8421
|
def _deserialize(self, params):
|
7729
|
-
self.
|
7730
|
-
if params.get("
|
7731
|
-
self.
|
7732
|
-
for item in params.get("
|
7733
|
-
obj =
|
8422
|
+
self._TotalCount = params.get("TotalCount")
|
8423
|
+
if params.get("RuleList") is not None:
|
8424
|
+
self._RuleList = []
|
8425
|
+
for item in params.get("RuleList"):
|
8426
|
+
obj = DescribeAntiInfoLeakRulesRuleItem()
|
7734
8427
|
obj._deserialize(item)
|
7735
|
-
self.
|
8428
|
+
self._RuleList.append(obj)
|
7736
8429
|
self._RequestId = params.get("RequestId")
|
7737
8430
|
|
7738
8431
|
|
7739
|
-
class
|
7740
|
-
"""
|
8432
|
+
class DescribeAntiInfoLeakRulesRuleItem(AbstractModel):
|
8433
|
+
"""DescribeAntiInfoLeakRules返回的规则列表元素
|
7741
8434
|
|
7742
8435
|
"""
|
7743
8436
|
|
7744
8437
|
def __init__(self):
|
7745
8438
|
r"""
|
7746
|
-
:param
|
7747
|
-
:type
|
7748
|
-
:param
|
7749
|
-
:type
|
8439
|
+
:param _RuleId: 规则ID
|
8440
|
+
:type RuleId: str
|
8441
|
+
:param _Name: 规则名称
|
8442
|
+
:type Name: str
|
8443
|
+
:param _Status: 规则状态
|
8444
|
+
:type Status: str
|
8445
|
+
:param _ActionType: 规则动作类型
|
8446
|
+
:type ActionType: str
|
8447
|
+
:param _CreateTime: 规则创建时间
|
8448
|
+
:type CreateTime: str
|
8449
|
+
:param _Strategies: 详细的规则
|
8450
|
+
:type Strategies: list of DescribeAntiInfoLeakRulesStrategyItem
|
7750
8451
|
"""
|
7751
|
-
self.
|
7752
|
-
self.
|
8452
|
+
self._RuleId = None
|
8453
|
+
self._Name = None
|
8454
|
+
self._Status = None
|
8455
|
+
self._ActionType = None
|
8456
|
+
self._CreateTime = None
|
8457
|
+
self._Strategies = None
|
7753
8458
|
|
7754
8459
|
@property
|
7755
|
-
def
|
7756
|
-
return self.
|
8460
|
+
def RuleId(self):
|
8461
|
+
return self._RuleId
|
7757
8462
|
|
7758
|
-
@
|
7759
|
-
def
|
7760
|
-
self.
|
8463
|
+
@RuleId.setter
|
8464
|
+
def RuleId(self, RuleId):
|
8465
|
+
self._RuleId = RuleId
|
7761
8466
|
|
7762
8467
|
@property
|
7763
|
-
def
|
7764
|
-
return self.
|
8468
|
+
def Name(self):
|
8469
|
+
return self._Name
|
7765
8470
|
|
7766
|
-
@
|
7767
|
-
def
|
7768
|
-
self.
|
8471
|
+
@Name.setter
|
8472
|
+
def Name(self, Name):
|
8473
|
+
self._Name = Name
|
8474
|
+
|
8475
|
+
@property
|
8476
|
+
def Status(self):
|
8477
|
+
return self._Status
|
8478
|
+
|
8479
|
+
@Status.setter
|
8480
|
+
def Status(self, Status):
|
8481
|
+
self._Status = Status
|
8482
|
+
|
8483
|
+
@property
|
8484
|
+
def ActionType(self):
|
8485
|
+
return self._ActionType
|
8486
|
+
|
8487
|
+
@ActionType.setter
|
8488
|
+
def ActionType(self, ActionType):
|
8489
|
+
self._ActionType = ActionType
|
8490
|
+
|
8491
|
+
@property
|
8492
|
+
def CreateTime(self):
|
8493
|
+
return self._CreateTime
|
8494
|
+
|
8495
|
+
@CreateTime.setter
|
8496
|
+
def CreateTime(self, CreateTime):
|
8497
|
+
self._CreateTime = CreateTime
|
8498
|
+
|
8499
|
+
@property
|
8500
|
+
def Strategies(self):
|
8501
|
+
return self._Strategies
|
8502
|
+
|
8503
|
+
@Strategies.setter
|
8504
|
+
def Strategies(self, Strategies):
|
8505
|
+
self._Strategies = Strategies
|
7769
8506
|
|
7770
8507
|
|
7771
8508
|
def _deserialize(self, params):
|
7772
|
-
self.
|
7773
|
-
|
7774
|
-
|
7775
|
-
|
8509
|
+
self._RuleId = params.get("RuleId")
|
8510
|
+
self._Name = params.get("Name")
|
8511
|
+
self._Status = params.get("Status")
|
8512
|
+
self._ActionType = params.get("ActionType")
|
8513
|
+
self._CreateTime = params.get("CreateTime")
|
8514
|
+
if params.get("Strategies") is not None:
|
8515
|
+
self._Strategies = []
|
8516
|
+
for item in params.get("Strategies"):
|
8517
|
+
obj = DescribeAntiInfoLeakRulesStrategyItem()
|
8518
|
+
obj._deserialize(item)
|
8519
|
+
self._Strategies.append(obj)
|
7776
8520
|
memeber_set = set(params.keys())
|
7777
8521
|
for name, value in vars(self).items():
|
7778
8522
|
property_name = name[1:]
|
@@ -7783,62 +8527,65 @@ class DescribeAntiFakeUrlRequest(AbstractModel):
|
|
7783
8527
|
|
7784
8528
|
|
7785
8529
|
|
7786
|
-
class
|
7787
|
-
"""
|
8530
|
+
class DescribeAntiInfoLeakRulesStrategyItem(AbstractModel):
|
8531
|
+
"""DescribeAntiInfoLeakRules返回的规则元素中的具体的规则元素
|
7788
8532
|
|
7789
8533
|
"""
|
7790
8534
|
|
7791
8535
|
def __init__(self):
|
7792
8536
|
r"""
|
7793
|
-
:param
|
7794
|
-
:type
|
7795
|
-
:param
|
7796
|
-
:type
|
7797
|
-
:param
|
7798
|
-
:type
|
8537
|
+
:param _Field: 字段
|
8538
|
+
:type Field: str
|
8539
|
+
:param _CompareFunc: 条件
|
8540
|
+
:type CompareFunc: str
|
8541
|
+
:param _Content: 内容
|
8542
|
+
:type Content: str
|
7799
8543
|
"""
|
7800
|
-
self.
|
7801
|
-
self.
|
7802
|
-
self.
|
8544
|
+
self._Field = None
|
8545
|
+
self._CompareFunc = None
|
8546
|
+
self._Content = None
|
7803
8547
|
|
7804
8548
|
@property
|
7805
|
-
def
|
7806
|
-
return self.
|
8549
|
+
def Field(self):
|
8550
|
+
return self._Field
|
7807
8551
|
|
7808
|
-
@
|
7809
|
-
def
|
7810
|
-
self.
|
8552
|
+
@Field.setter
|
8553
|
+
def Field(self, Field):
|
8554
|
+
self._Field = Field
|
7811
8555
|
|
7812
8556
|
@property
|
7813
|
-
def
|
7814
|
-
return self.
|
8557
|
+
def CompareFunc(self):
|
8558
|
+
return self._CompareFunc
|
7815
8559
|
|
7816
|
-
@
|
7817
|
-
def
|
7818
|
-
self.
|
8560
|
+
@CompareFunc.setter
|
8561
|
+
def CompareFunc(self, CompareFunc):
|
8562
|
+
self._CompareFunc = CompareFunc
|
7819
8563
|
|
7820
8564
|
@property
|
7821
|
-
def
|
7822
|
-
return self.
|
8565
|
+
def Content(self):
|
8566
|
+
return self._Content
|
7823
8567
|
|
7824
|
-
@
|
7825
|
-
def
|
7826
|
-
self.
|
8568
|
+
@Content.setter
|
8569
|
+
def Content(self, Content):
|
8570
|
+
self._Content = Content
|
7827
8571
|
|
7828
8572
|
|
7829
8573
|
def _deserialize(self, params):
|
7830
|
-
self.
|
7831
|
-
|
7832
|
-
|
7833
|
-
|
7834
|
-
|
7835
|
-
|
7836
|
-
|
7837
|
-
|
8574
|
+
self._Field = params.get("Field")
|
8575
|
+
self._CompareFunc = params.get("CompareFunc")
|
8576
|
+
self._Content = params.get("Content")
|
8577
|
+
memeber_set = set(params.keys())
|
8578
|
+
for name, value in vars(self).items():
|
8579
|
+
property_name = name[1:]
|
8580
|
+
if property_name in memeber_set:
|
8581
|
+
memeber_set.remove(property_name)
|
8582
|
+
if len(memeber_set) > 0:
|
8583
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
8584
|
+
|
7838
8585
|
|
7839
8586
|
|
7840
|
-
class
|
7841
|
-
"""
|
8587
|
+
class DescribeAntiInfoLeakageRulesRequest(AbstractModel):
|
8588
|
+
"""DescribeAntiInfoLeakageRules请求参数结构体
|
7842
8589
|
|
7843
8590
|
"""
|
7844
8591
|
|
@@ -7846,14 +8593,21 @@ class DescribeAntiInfoLeakRulesRequest(AbstractModel):
|
|
7846
8593
|
r"""
|
7847
8594
|
:param _Domain: 域名
|
7848
8595
|
:type Domain: str
|
7849
|
-
:param
|
7850
|
-
:type
|
7851
|
-
:param
|
7852
|
-
:type
|
8596
|
+
:param _Offset: 翻页支持,读取偏移
|
8597
|
+
:type Offset: int
|
8598
|
+
:param _Limit: 翻页支持,读取长度限制
|
8599
|
+
:type Limit: int
|
8600
|
+
:param _Order: 排序方式,asc或者desc
|
8601
|
+
:type Order: str
|
8602
|
+
:param _Filters: 过滤器,可以允许如下的值:
|
8603
|
+
RuleId,Match_field,Name,Action,Status
|
8604
|
+
:type Filters: list of FiltersItemNew
|
7853
8605
|
"""
|
7854
8606
|
self._Domain = None
|
7855
|
-
self.
|
7856
|
-
self.
|
8607
|
+
self._Offset = None
|
8608
|
+
self._Limit = None
|
8609
|
+
self._Order = None
|
8610
|
+
self._Filters = None
|
7857
8611
|
|
7858
8612
|
@property
|
7859
8613
|
def Domain(self):
|
@@ -7864,28 +8618,49 @@ class DescribeAntiInfoLeakRulesRequest(AbstractModel):
|
|
7864
8618
|
self._Domain = Domain
|
7865
8619
|
|
7866
8620
|
@property
|
7867
|
-
def
|
7868
|
-
return self.
|
8621
|
+
def Offset(self):
|
8622
|
+
return self._Offset
|
7869
8623
|
|
7870
|
-
@
|
7871
|
-
def
|
7872
|
-
self.
|
8624
|
+
@Offset.setter
|
8625
|
+
def Offset(self, Offset):
|
8626
|
+
self._Offset = Offset
|
7873
8627
|
|
7874
8628
|
@property
|
7875
|
-
def
|
7876
|
-
return self.
|
8629
|
+
def Limit(self):
|
8630
|
+
return self._Limit
|
7877
8631
|
|
7878
|
-
@
|
7879
|
-
def
|
7880
|
-
self.
|
8632
|
+
@Limit.setter
|
8633
|
+
def Limit(self, Limit):
|
8634
|
+
self._Limit = Limit
|
8635
|
+
|
8636
|
+
@property
|
8637
|
+
def Order(self):
|
8638
|
+
return self._Order
|
8639
|
+
|
8640
|
+
@Order.setter
|
8641
|
+
def Order(self, Order):
|
8642
|
+
self._Order = Order
|
8643
|
+
|
8644
|
+
@property
|
8645
|
+
def Filters(self):
|
8646
|
+
return self._Filters
|
8647
|
+
|
8648
|
+
@Filters.setter
|
8649
|
+
def Filters(self, Filters):
|
8650
|
+
self._Filters = Filters
|
7881
8651
|
|
7882
8652
|
|
7883
8653
|
def _deserialize(self, params):
|
7884
8654
|
self._Domain = params.get("Domain")
|
7885
|
-
self.
|
7886
|
-
|
7887
|
-
|
7888
|
-
|
8655
|
+
self._Offset = params.get("Offset")
|
8656
|
+
self._Limit = params.get("Limit")
|
8657
|
+
self._Order = params.get("Order")
|
8658
|
+
if params.get("Filters") is not None:
|
8659
|
+
self._Filters = []
|
8660
|
+
for item in params.get("Filters"):
|
8661
|
+
obj = FiltersItemNew()
|
8662
|
+
obj._deserialize(item)
|
8663
|
+
self._Filters.append(obj)
|
7889
8664
|
memeber_set = set(params.keys())
|
7890
8665
|
for name, value in vars(self).items():
|
7891
8666
|
property_name = name[1:]
|
@@ -7896,31 +8671,31 @@ class DescribeAntiInfoLeakRulesRequest(AbstractModel):
|
|
7896
8671
|
|
7897
8672
|
|
7898
8673
|
|
7899
|
-
class
|
7900
|
-
"""
|
8674
|
+
class DescribeAntiInfoLeakageRulesResponse(AbstractModel):
|
8675
|
+
"""DescribeAntiInfoLeakageRules返回参数结构体
|
7901
8676
|
|
7902
8677
|
"""
|
7903
8678
|
|
7904
8679
|
def __init__(self):
|
7905
8680
|
r"""
|
7906
|
-
:param
|
7907
|
-
:type
|
8681
|
+
:param _Total: 记录条数
|
8682
|
+
:type Total: int
|
7908
8683
|
:param _RuleList: 规则列表
|
7909
|
-
:type RuleList: list of
|
8684
|
+
:type RuleList: list of DescribeAntiLeakageItem
|
7910
8685
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7911
8686
|
:type RequestId: str
|
7912
8687
|
"""
|
7913
|
-
self.
|
8688
|
+
self._Total = None
|
7914
8689
|
self._RuleList = None
|
7915
8690
|
self._RequestId = None
|
7916
8691
|
|
7917
8692
|
@property
|
7918
|
-
def
|
7919
|
-
return self.
|
8693
|
+
def Total(self):
|
8694
|
+
return self._Total
|
7920
8695
|
|
7921
|
-
@
|
7922
|
-
def
|
7923
|
-
self.
|
8696
|
+
@Total.setter
|
8697
|
+
def Total(self, Total):
|
8698
|
+
self._Total = Total
|
7924
8699
|
|
7925
8700
|
@property
|
7926
8701
|
def RuleList(self):
|
@@ -7940,42 +8715,51 @@ class DescribeAntiInfoLeakRulesResponse(AbstractModel):
|
|
7940
8715
|
|
7941
8716
|
|
7942
8717
|
def _deserialize(self, params):
|
7943
|
-
self.
|
8718
|
+
self._Total = params.get("Total")
|
7944
8719
|
if params.get("RuleList") is not None:
|
7945
8720
|
self._RuleList = []
|
7946
8721
|
for item in params.get("RuleList"):
|
7947
|
-
obj =
|
8722
|
+
obj = DescribeAntiLeakageItem()
|
7948
8723
|
obj._deserialize(item)
|
7949
8724
|
self._RuleList.append(obj)
|
7950
8725
|
self._RequestId = params.get("RequestId")
|
7951
8726
|
|
7952
8727
|
|
7953
|
-
class
|
7954
|
-
"""
|
8728
|
+
class DescribeAntiLeakageItem(AbstractModel):
|
8729
|
+
"""出参
|
7955
8730
|
|
7956
8731
|
"""
|
7957
8732
|
|
7958
8733
|
def __init__(self):
|
7959
8734
|
r"""
|
7960
8735
|
:param _RuleId: 规则ID
|
7961
|
-
:type RuleId:
|
7962
|
-
:param _Name:
|
8736
|
+
:type RuleId: int
|
8737
|
+
:param _Name: 名称
|
7963
8738
|
:type Name: str
|
7964
|
-
:param _Status:
|
7965
|
-
:type Status:
|
7966
|
-
:param
|
7967
|
-
:type
|
7968
|
-
:param _CreateTime:
|
8739
|
+
:param _Status: 状态值
|
8740
|
+
:type Status: int
|
8741
|
+
:param _Action: 动作
|
8742
|
+
:type Action: str
|
8743
|
+
:param _CreateTime: 创建时间
|
7969
8744
|
:type CreateTime: str
|
7970
|
-
:param _Strategies:
|
8745
|
+
:param _Strategies: 匹配条件
|
8746
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
7971
8747
|
:type Strategies: list of DescribeAntiInfoLeakRulesStrategyItem
|
8748
|
+
:param _Uri: 匹配的URL
|
8749
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
8750
|
+
:type Uri: str
|
8751
|
+
:param _ModifyTime: 修改时间
|
8752
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
8753
|
+
:type ModifyTime: str
|
7972
8754
|
"""
|
7973
8755
|
self._RuleId = None
|
7974
8756
|
self._Name = None
|
7975
8757
|
self._Status = None
|
7976
|
-
self.
|
8758
|
+
self._Action = None
|
7977
8759
|
self._CreateTime = None
|
7978
8760
|
self._Strategies = None
|
8761
|
+
self._Uri = None
|
8762
|
+
self._ModifyTime = None
|
7979
8763
|
|
7980
8764
|
@property
|
7981
8765
|
def RuleId(self):
|
@@ -8002,12 +8786,12 @@ class DescribeAntiInfoLeakRulesRuleItem(AbstractModel):
|
|
8002
8786
|
self._Status = Status
|
8003
8787
|
|
8004
8788
|
@property
|
8005
|
-
def
|
8006
|
-
return self.
|
8789
|
+
def Action(self):
|
8790
|
+
return self._Action
|
8007
8791
|
|
8008
|
-
@
|
8009
|
-
def
|
8010
|
-
self.
|
8792
|
+
@Action.setter
|
8793
|
+
def Action(self, Action):
|
8794
|
+
self._Action = Action
|
8011
8795
|
|
8012
8796
|
@property
|
8013
8797
|
def CreateTime(self):
|
@@ -8025,12 +8809,28 @@ class DescribeAntiInfoLeakRulesRuleItem(AbstractModel):
|
|
8025
8809
|
def Strategies(self, Strategies):
|
8026
8810
|
self._Strategies = Strategies
|
8027
8811
|
|
8812
|
+
@property
|
8813
|
+
def Uri(self):
|
8814
|
+
return self._Uri
|
8815
|
+
|
8816
|
+
@Uri.setter
|
8817
|
+
def Uri(self, Uri):
|
8818
|
+
self._Uri = Uri
|
8819
|
+
|
8820
|
+
@property
|
8821
|
+
def ModifyTime(self):
|
8822
|
+
return self._ModifyTime
|
8823
|
+
|
8824
|
+
@ModifyTime.setter
|
8825
|
+
def ModifyTime(self, ModifyTime):
|
8826
|
+
self._ModifyTime = ModifyTime
|
8827
|
+
|
8028
8828
|
|
8029
8829
|
def _deserialize(self, params):
|
8030
8830
|
self._RuleId = params.get("RuleId")
|
8031
8831
|
self._Name = params.get("Name")
|
8032
8832
|
self._Status = params.get("Status")
|
8033
|
-
self.
|
8833
|
+
self._Action = params.get("Action")
|
8034
8834
|
self._CreateTime = params.get("CreateTime")
|
8035
8835
|
if params.get("Strategies") is not None:
|
8036
8836
|
self._Strategies = []
|
@@ -8038,6 +8838,8 @@ class DescribeAntiInfoLeakRulesRuleItem(AbstractModel):
|
|
8038
8838
|
obj = DescribeAntiInfoLeakRulesStrategyItem()
|
8039
8839
|
obj._deserialize(item)
|
8040
8840
|
self._Strategies.append(obj)
|
8841
|
+
self._Uri = params.get("Uri")
|
8842
|
+
self._ModifyTime = params.get("ModifyTime")
|
8041
8843
|
memeber_set = set(params.keys())
|
8042
8844
|
for name, value in vars(self).items():
|
8043
8845
|
property_name = name[1:]
|
@@ -8048,65 +8850,292 @@ class DescribeAntiInfoLeakRulesRuleItem(AbstractModel):
|
|
8048
8850
|
|
8049
8851
|
|
8050
8852
|
|
8051
|
-
class
|
8052
|
-
"""
|
8853
|
+
class DescribeApiDetailRequest(AbstractModel):
|
8854
|
+
"""DescribeApiDetail请求参数结构体
|
8053
8855
|
|
8054
8856
|
"""
|
8055
8857
|
|
8056
8858
|
def __init__(self):
|
8057
8859
|
r"""
|
8058
|
-
:param
|
8059
|
-
:type
|
8060
|
-
:param
|
8061
|
-
:type
|
8062
|
-
:param
|
8063
|
-
:type
|
8860
|
+
:param _Domain: 域名
|
8861
|
+
:type Domain: str
|
8862
|
+
:param _ApiName: Api名称
|
8863
|
+
:type ApiName: str
|
8864
|
+
:param _Method: 请求方法
|
8865
|
+
:type Method: str
|
8866
|
+
:param _IsSensitive: 是否仅查询敏感的,1表示查询,0表示不查询
|
8867
|
+
:type IsSensitive: int
|
8868
|
+
:param _IsPan: 是否仅查询泛化的,1表示查询,0表示不查询
|
8869
|
+
:type IsPan: int
|
8064
8870
|
"""
|
8065
|
-
self.
|
8066
|
-
self.
|
8067
|
-
self.
|
8871
|
+
self._Domain = None
|
8872
|
+
self._ApiName = None
|
8873
|
+
self._Method = None
|
8874
|
+
self._IsSensitive = None
|
8875
|
+
self._IsPan = None
|
8068
8876
|
|
8069
8877
|
@property
|
8070
|
-
def
|
8071
|
-
return self.
|
8878
|
+
def Domain(self):
|
8879
|
+
return self._Domain
|
8072
8880
|
|
8073
|
-
@
|
8074
|
-
def
|
8075
|
-
self.
|
8881
|
+
@Domain.setter
|
8882
|
+
def Domain(self, Domain):
|
8883
|
+
self._Domain = Domain
|
8076
8884
|
|
8077
8885
|
@property
|
8078
|
-
def
|
8079
|
-
return self.
|
8886
|
+
def ApiName(self):
|
8887
|
+
return self._ApiName
|
8080
8888
|
|
8081
|
-
@
|
8082
|
-
def
|
8083
|
-
self.
|
8889
|
+
@ApiName.setter
|
8890
|
+
def ApiName(self, ApiName):
|
8891
|
+
self._ApiName = ApiName
|
8084
8892
|
|
8085
8893
|
@property
|
8086
|
-
def
|
8087
|
-
return self.
|
8894
|
+
def Method(self):
|
8895
|
+
return self._Method
|
8088
8896
|
|
8089
|
-
@
|
8090
|
-
def
|
8091
|
-
self.
|
8897
|
+
@Method.setter
|
8898
|
+
def Method(self, Method):
|
8899
|
+
self._Method = Method
|
8900
|
+
|
8901
|
+
@property
|
8902
|
+
def IsSensitive(self):
|
8903
|
+
return self._IsSensitive
|
8904
|
+
|
8905
|
+
@IsSensitive.setter
|
8906
|
+
def IsSensitive(self, IsSensitive):
|
8907
|
+
self._IsSensitive = IsSensitive
|
8908
|
+
|
8909
|
+
@property
|
8910
|
+
def IsPan(self):
|
8911
|
+
return self._IsPan
|
8912
|
+
|
8913
|
+
@IsPan.setter
|
8914
|
+
def IsPan(self, IsPan):
|
8915
|
+
self._IsPan = IsPan
|
8916
|
+
|
8917
|
+
|
8918
|
+
def _deserialize(self, params):
|
8919
|
+
self._Domain = params.get("Domain")
|
8920
|
+
self._ApiName = params.get("ApiName")
|
8921
|
+
self._Method = params.get("Method")
|
8922
|
+
self._IsSensitive = params.get("IsSensitive")
|
8923
|
+
self._IsPan = params.get("IsPan")
|
8924
|
+
memeber_set = set(params.keys())
|
8925
|
+
for name, value in vars(self).items():
|
8926
|
+
property_name = name[1:]
|
8927
|
+
if property_name in memeber_set:
|
8928
|
+
memeber_set.remove(property_name)
|
8929
|
+
if len(memeber_set) > 0:
|
8930
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
8931
|
+
|
8932
|
+
|
8933
|
+
|
8934
|
+
class DescribeApiDetailResponse(AbstractModel):
|
8935
|
+
"""DescribeApiDetail返回参数结构体
|
8936
|
+
|
8937
|
+
"""
|
8938
|
+
|
8939
|
+
def __init__(self):
|
8940
|
+
r"""
|
8941
|
+
:param _Log: 请求样例,json字符串格式
|
8942
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
8943
|
+
:type Log: str
|
8944
|
+
:param _ParameterList: 请求参数样例列表
|
8945
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
8946
|
+
:type ParameterList: list of ApiParameterType
|
8947
|
+
:param _Scene: 当前场景标签
|
8948
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
8949
|
+
:type Scene: str
|
8950
|
+
:param _SensitiveFields: 敏感字段
|
8951
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
8952
|
+
:type SensitiveFields: list of str
|
8953
|
+
:param _IsActive: 7天内是否活跃
|
8954
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
8955
|
+
:type IsActive: bool
|
8956
|
+
:param _IpCount: 访问ip数
|
8957
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
8958
|
+
:type IpCount: int
|
8959
|
+
:param _RegionCount: 访问地域数量
|
8960
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
8961
|
+
:type RegionCount: int
|
8962
|
+
:param _EventCount: 关联事件数
|
8963
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
8964
|
+
:type EventCount: int
|
8965
|
+
:param _SensitiveCount: 涉敏数据条数
|
8966
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
8967
|
+
:type SensitiveCount: int
|
8968
|
+
:param _Level: 风险等级
|
8969
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
8970
|
+
:type Level: int
|
8971
|
+
:param _RspLog: 响应体
|
8972
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
8973
|
+
:type RspLog: str
|
8974
|
+
:param _MaxQPS: 昨日访问峰值QPS
|
8975
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
8976
|
+
:type MaxQPS: int
|
8977
|
+
:param _ApiDetailSampleHistory: 历史样例
|
8978
|
+
:type ApiDetailSampleHistory: list of ApiDetailSampleHistory
|
8979
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
8980
|
+
:type RequestId: str
|
8981
|
+
"""
|
8982
|
+
self._Log = None
|
8983
|
+
self._ParameterList = None
|
8984
|
+
self._Scene = None
|
8985
|
+
self._SensitiveFields = None
|
8986
|
+
self._IsActive = None
|
8987
|
+
self._IpCount = None
|
8988
|
+
self._RegionCount = None
|
8989
|
+
self._EventCount = None
|
8990
|
+
self._SensitiveCount = None
|
8991
|
+
self._Level = None
|
8992
|
+
self._RspLog = None
|
8993
|
+
self._MaxQPS = None
|
8994
|
+
self._ApiDetailSampleHistory = None
|
8995
|
+
self._RequestId = None
|
8996
|
+
|
8997
|
+
@property
|
8998
|
+
def Log(self):
|
8999
|
+
return self._Log
|
9000
|
+
|
9001
|
+
@Log.setter
|
9002
|
+
def Log(self, Log):
|
9003
|
+
self._Log = Log
|
9004
|
+
|
9005
|
+
@property
|
9006
|
+
def ParameterList(self):
|
9007
|
+
return self._ParameterList
|
9008
|
+
|
9009
|
+
@ParameterList.setter
|
9010
|
+
def ParameterList(self, ParameterList):
|
9011
|
+
self._ParameterList = ParameterList
|
9012
|
+
|
9013
|
+
@property
|
9014
|
+
def Scene(self):
|
9015
|
+
return self._Scene
|
9016
|
+
|
9017
|
+
@Scene.setter
|
9018
|
+
def Scene(self, Scene):
|
9019
|
+
self._Scene = Scene
|
9020
|
+
|
9021
|
+
@property
|
9022
|
+
def SensitiveFields(self):
|
9023
|
+
return self._SensitiveFields
|
9024
|
+
|
9025
|
+
@SensitiveFields.setter
|
9026
|
+
def SensitiveFields(self, SensitiveFields):
|
9027
|
+
self._SensitiveFields = SensitiveFields
|
9028
|
+
|
9029
|
+
@property
|
9030
|
+
def IsActive(self):
|
9031
|
+
return self._IsActive
|
9032
|
+
|
9033
|
+
@IsActive.setter
|
9034
|
+
def IsActive(self, IsActive):
|
9035
|
+
self._IsActive = IsActive
|
9036
|
+
|
9037
|
+
@property
|
9038
|
+
def IpCount(self):
|
9039
|
+
return self._IpCount
|
9040
|
+
|
9041
|
+
@IpCount.setter
|
9042
|
+
def IpCount(self, IpCount):
|
9043
|
+
self._IpCount = IpCount
|
9044
|
+
|
9045
|
+
@property
|
9046
|
+
def RegionCount(self):
|
9047
|
+
return self._RegionCount
|
9048
|
+
|
9049
|
+
@RegionCount.setter
|
9050
|
+
def RegionCount(self, RegionCount):
|
9051
|
+
self._RegionCount = RegionCount
|
9052
|
+
|
9053
|
+
@property
|
9054
|
+
def EventCount(self):
|
9055
|
+
return self._EventCount
|
9056
|
+
|
9057
|
+
@EventCount.setter
|
9058
|
+
def EventCount(self, EventCount):
|
9059
|
+
self._EventCount = EventCount
|
9060
|
+
|
9061
|
+
@property
|
9062
|
+
def SensitiveCount(self):
|
9063
|
+
return self._SensitiveCount
|
9064
|
+
|
9065
|
+
@SensitiveCount.setter
|
9066
|
+
def SensitiveCount(self, SensitiveCount):
|
9067
|
+
self._SensitiveCount = SensitiveCount
|
9068
|
+
|
9069
|
+
@property
|
9070
|
+
def Level(self):
|
9071
|
+
return self._Level
|
9072
|
+
|
9073
|
+
@Level.setter
|
9074
|
+
def Level(self, Level):
|
9075
|
+
self._Level = Level
|
9076
|
+
|
9077
|
+
@property
|
9078
|
+
def RspLog(self):
|
9079
|
+
return self._RspLog
|
9080
|
+
|
9081
|
+
@RspLog.setter
|
9082
|
+
def RspLog(self, RspLog):
|
9083
|
+
self._RspLog = RspLog
|
9084
|
+
|
9085
|
+
@property
|
9086
|
+
def MaxQPS(self):
|
9087
|
+
return self._MaxQPS
|
9088
|
+
|
9089
|
+
@MaxQPS.setter
|
9090
|
+
def MaxQPS(self, MaxQPS):
|
9091
|
+
self._MaxQPS = MaxQPS
|
9092
|
+
|
9093
|
+
@property
|
9094
|
+
def ApiDetailSampleHistory(self):
|
9095
|
+
return self._ApiDetailSampleHistory
|
9096
|
+
|
9097
|
+
@ApiDetailSampleHistory.setter
|
9098
|
+
def ApiDetailSampleHistory(self, ApiDetailSampleHistory):
|
9099
|
+
self._ApiDetailSampleHistory = ApiDetailSampleHistory
|
9100
|
+
|
9101
|
+
@property
|
9102
|
+
def RequestId(self):
|
9103
|
+
return self._RequestId
|
9104
|
+
|
9105
|
+
@RequestId.setter
|
9106
|
+
def RequestId(self, RequestId):
|
9107
|
+
self._RequestId = RequestId
|
8092
9108
|
|
8093
9109
|
|
8094
9110
|
def _deserialize(self, params):
|
8095
|
-
self.
|
8096
|
-
|
8097
|
-
|
8098
|
-
|
8099
|
-
|
8100
|
-
|
8101
|
-
|
8102
|
-
|
8103
|
-
|
8104
|
-
|
8105
|
-
|
9111
|
+
self._Log = params.get("Log")
|
9112
|
+
if params.get("ParameterList") is not None:
|
9113
|
+
self._ParameterList = []
|
9114
|
+
for item in params.get("ParameterList"):
|
9115
|
+
obj = ApiParameterType()
|
9116
|
+
obj._deserialize(item)
|
9117
|
+
self._ParameterList.append(obj)
|
9118
|
+
self._Scene = params.get("Scene")
|
9119
|
+
self._SensitiveFields = params.get("SensitiveFields")
|
9120
|
+
self._IsActive = params.get("IsActive")
|
9121
|
+
self._IpCount = params.get("IpCount")
|
9122
|
+
self._RegionCount = params.get("RegionCount")
|
9123
|
+
self._EventCount = params.get("EventCount")
|
9124
|
+
self._SensitiveCount = params.get("SensitiveCount")
|
9125
|
+
self._Level = params.get("Level")
|
9126
|
+
self._RspLog = params.get("RspLog")
|
9127
|
+
self._MaxQPS = params.get("MaxQPS")
|
9128
|
+
if params.get("ApiDetailSampleHistory") is not None:
|
9129
|
+
self._ApiDetailSampleHistory = []
|
9130
|
+
for item in params.get("ApiDetailSampleHistory"):
|
9131
|
+
obj = ApiDetailSampleHistory()
|
9132
|
+
obj._deserialize(item)
|
9133
|
+
self._ApiDetailSampleHistory.append(obj)
|
9134
|
+
self._RequestId = params.get("RequestId")
|
8106
9135
|
|
8107
9136
|
|
8108
|
-
class
|
8109
|
-
"""
|
9137
|
+
class DescribeApiListVersionTwoRequest(AbstractModel):
|
9138
|
+
"""DescribeApiListVersionTwo请求参数结构体
|
8110
9139
|
|
8111
9140
|
"""
|
8112
9141
|
|
@@ -8114,21 +9143,29 @@ class DescribeAntiInfoLeakageRulesRequest(AbstractModel):
|
|
8114
9143
|
r"""
|
8115
9144
|
:param _Domain: 域名
|
8116
9145
|
:type Domain: str
|
8117
|
-
:param
|
8118
|
-
:type
|
8119
|
-
:param
|
8120
|
-
:type
|
8121
|
-
:param
|
8122
|
-
:type
|
8123
|
-
:param
|
8124
|
-
|
8125
|
-
:
|
9146
|
+
:param _PageIndex: 页面索引,第几页
|
9147
|
+
:type PageIndex: int
|
9148
|
+
:param _PageSize: 页面大小
|
9149
|
+
:type PageSize: int
|
9150
|
+
:param _Filters: 过滤条件
|
9151
|
+
:type Filters: list of ApiDataFilter
|
9152
|
+
:param _Sort: 排序方法,1 升序,-1 降序
|
9153
|
+
:type Sort: list of str
|
9154
|
+
:param _NeedTotalCount: 是否进行总数查询
|
9155
|
+
:type NeedTotalCount: bool
|
9156
|
+
:param _StartTs: 查询开始时间
|
9157
|
+
:type StartTs: int
|
9158
|
+
:param _EndTs: 查询结束时间
|
9159
|
+
:type EndTs: int
|
8126
9160
|
"""
|
8127
9161
|
self._Domain = None
|
8128
|
-
self.
|
8129
|
-
self.
|
8130
|
-
self._Order = None
|
9162
|
+
self._PageIndex = None
|
9163
|
+
self._PageSize = None
|
8131
9164
|
self._Filters = None
|
9165
|
+
self._Sort = None
|
9166
|
+
self._NeedTotalCount = None
|
9167
|
+
self._StartTs = None
|
9168
|
+
self._EndTs = None
|
8132
9169
|
|
8133
9170
|
@property
|
8134
9171
|
def Domain(self):
|
@@ -8139,28 +9176,20 @@ RuleId,Match_field,Name,Action,Status
|
|
8139
9176
|
self._Domain = Domain
|
8140
9177
|
|
8141
9178
|
@property
|
8142
|
-
def
|
8143
|
-
return self.
|
8144
|
-
|
8145
|
-
@Offset.setter
|
8146
|
-
def Offset(self, Offset):
|
8147
|
-
self._Offset = Offset
|
8148
|
-
|
8149
|
-
@property
|
8150
|
-
def Limit(self):
|
8151
|
-
return self._Limit
|
9179
|
+
def PageIndex(self):
|
9180
|
+
return self._PageIndex
|
8152
9181
|
|
8153
|
-
@
|
8154
|
-
def
|
8155
|
-
self.
|
9182
|
+
@PageIndex.setter
|
9183
|
+
def PageIndex(self, PageIndex):
|
9184
|
+
self._PageIndex = PageIndex
|
8156
9185
|
|
8157
9186
|
@property
|
8158
|
-
def
|
8159
|
-
return self.
|
9187
|
+
def PageSize(self):
|
9188
|
+
return self._PageSize
|
8160
9189
|
|
8161
|
-
@
|
8162
|
-
def
|
8163
|
-
self.
|
9190
|
+
@PageSize.setter
|
9191
|
+
def PageSize(self, PageSize):
|
9192
|
+
self._PageSize = PageSize
|
8164
9193
|
|
8165
9194
|
@property
|
8166
9195
|
def Filters(self):
|
@@ -8170,18 +9199,53 @@ RuleId,Match_field,Name,Action,Status
|
|
8170
9199
|
def Filters(self, Filters):
|
8171
9200
|
self._Filters = Filters
|
8172
9201
|
|
9202
|
+
@property
|
9203
|
+
def Sort(self):
|
9204
|
+
return self._Sort
|
9205
|
+
|
9206
|
+
@Sort.setter
|
9207
|
+
def Sort(self, Sort):
|
9208
|
+
self._Sort = Sort
|
9209
|
+
|
9210
|
+
@property
|
9211
|
+
def NeedTotalCount(self):
|
9212
|
+
return self._NeedTotalCount
|
9213
|
+
|
9214
|
+
@NeedTotalCount.setter
|
9215
|
+
def NeedTotalCount(self, NeedTotalCount):
|
9216
|
+
self._NeedTotalCount = NeedTotalCount
|
9217
|
+
|
9218
|
+
@property
|
9219
|
+
def StartTs(self):
|
9220
|
+
return self._StartTs
|
9221
|
+
|
9222
|
+
@StartTs.setter
|
9223
|
+
def StartTs(self, StartTs):
|
9224
|
+
self._StartTs = StartTs
|
9225
|
+
|
9226
|
+
@property
|
9227
|
+
def EndTs(self):
|
9228
|
+
return self._EndTs
|
9229
|
+
|
9230
|
+
@EndTs.setter
|
9231
|
+
def EndTs(self, EndTs):
|
9232
|
+
self._EndTs = EndTs
|
9233
|
+
|
8173
9234
|
|
8174
9235
|
def _deserialize(self, params):
|
8175
9236
|
self._Domain = params.get("Domain")
|
8176
|
-
self.
|
8177
|
-
self.
|
8178
|
-
self._Order = params.get("Order")
|
9237
|
+
self._PageIndex = params.get("PageIndex")
|
9238
|
+
self._PageSize = params.get("PageSize")
|
8179
9239
|
if params.get("Filters") is not None:
|
8180
9240
|
self._Filters = []
|
8181
9241
|
for item in params.get("Filters"):
|
8182
|
-
obj =
|
9242
|
+
obj = ApiDataFilter()
|
8183
9243
|
obj._deserialize(item)
|
8184
9244
|
self._Filters.append(obj)
|
9245
|
+
self._Sort = params.get("Sort")
|
9246
|
+
self._NeedTotalCount = params.get("NeedTotalCount")
|
9247
|
+
self._StartTs = params.get("StartTs")
|
9248
|
+
self._EndTs = params.get("EndTs")
|
8185
9249
|
memeber_set = set(params.keys())
|
8186
9250
|
for name, value in vars(self).items():
|
8187
9251
|
property_name = name[1:]
|
@@ -8192,24 +9256,34 @@ RuleId,Match_field,Name,Action,Status
|
|
8192
9256
|
|
8193
9257
|
|
8194
9258
|
|
8195
|
-
class
|
8196
|
-
"""
|
9259
|
+
class DescribeApiListVersionTwoResponse(AbstractModel):
|
9260
|
+
"""DescribeApiListVersionTwo返回参数结构体
|
8197
9261
|
|
8198
9262
|
"""
|
8199
9263
|
|
8200
9264
|
def __init__(self):
|
8201
9265
|
r"""
|
8202
|
-
:param
|
9266
|
+
:param _Data: api资产列表
|
9267
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
9268
|
+
:type Data: list of ApiAsset
|
9269
|
+
:param _Total: 总数
|
9270
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
8203
9271
|
:type Total: int
|
8204
|
-
:param _RuleList: 规则列表
|
8205
|
-
:type RuleList: list of DescribeAntiLeakageItem
|
8206
9272
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
8207
9273
|
:type RequestId: str
|
8208
9274
|
"""
|
9275
|
+
self._Data = None
|
8209
9276
|
self._Total = None
|
8210
|
-
self._RuleList = None
|
8211
9277
|
self._RequestId = None
|
8212
9278
|
|
9279
|
+
@property
|
9280
|
+
def Data(self):
|
9281
|
+
return self._Data
|
9282
|
+
|
9283
|
+
@Data.setter
|
9284
|
+
def Data(self, Data):
|
9285
|
+
self._Data = Data
|
9286
|
+
|
8213
9287
|
@property
|
8214
9288
|
def Total(self):
|
8215
9289
|
return self._Total
|
@@ -8218,14 +9292,6 @@ class DescribeAntiInfoLeakageRulesResponse(AbstractModel):
|
|
8218
9292
|
def Total(self, Total):
|
8219
9293
|
self._Total = Total
|
8220
9294
|
|
8221
|
-
@property
|
8222
|
-
def RuleList(self):
|
8223
|
-
return self._RuleList
|
8224
|
-
|
8225
|
-
@RuleList.setter
|
8226
|
-
def RuleList(self, RuleList):
|
8227
|
-
self._RuleList = RuleList
|
8228
|
-
|
8229
9295
|
@property
|
8230
9296
|
def RequestId(self):
|
8231
9297
|
return self._RequestId
|
@@ -8236,141 +9302,16 @@ class DescribeAntiInfoLeakageRulesResponse(AbstractModel):
|
|
8236
9302
|
|
8237
9303
|
|
8238
9304
|
def _deserialize(self, params):
|
8239
|
-
|
8240
|
-
|
8241
|
-
|
8242
|
-
|
8243
|
-
obj = DescribeAntiLeakageItem()
|
9305
|
+
if params.get("Data") is not None:
|
9306
|
+
self._Data = []
|
9307
|
+
for item in params.get("Data"):
|
9308
|
+
obj = ApiAsset()
|
8244
9309
|
obj._deserialize(item)
|
8245
|
-
self.
|
9310
|
+
self._Data.append(obj)
|
9311
|
+
self._Total = params.get("Total")
|
8246
9312
|
self._RequestId = params.get("RequestId")
|
8247
9313
|
|
8248
9314
|
|
8249
|
-
class DescribeAntiLeakageItem(AbstractModel):
|
8250
|
-
"""出参
|
8251
|
-
|
8252
|
-
"""
|
8253
|
-
|
8254
|
-
def __init__(self):
|
8255
|
-
r"""
|
8256
|
-
:param _RuleId: 规则ID
|
8257
|
-
:type RuleId: int
|
8258
|
-
:param _Name: 名称
|
8259
|
-
:type Name: str
|
8260
|
-
:param _Status: 状态值
|
8261
|
-
:type Status: int
|
8262
|
-
:param _Action: 动作
|
8263
|
-
:type Action: str
|
8264
|
-
:param _CreateTime: 创建时间
|
8265
|
-
:type CreateTime: str
|
8266
|
-
:param _Strategies: 匹配条件
|
8267
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
8268
|
-
:type Strategies: list of DescribeAntiInfoLeakRulesStrategyItem
|
8269
|
-
:param _Uri: 匹配的URL
|
8270
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
8271
|
-
:type Uri: str
|
8272
|
-
:param _ModifyTime: 修改时间
|
8273
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
8274
|
-
:type ModifyTime: str
|
8275
|
-
"""
|
8276
|
-
self._RuleId = None
|
8277
|
-
self._Name = None
|
8278
|
-
self._Status = None
|
8279
|
-
self._Action = None
|
8280
|
-
self._CreateTime = None
|
8281
|
-
self._Strategies = None
|
8282
|
-
self._Uri = None
|
8283
|
-
self._ModifyTime = None
|
8284
|
-
|
8285
|
-
@property
|
8286
|
-
def RuleId(self):
|
8287
|
-
return self._RuleId
|
8288
|
-
|
8289
|
-
@RuleId.setter
|
8290
|
-
def RuleId(self, RuleId):
|
8291
|
-
self._RuleId = RuleId
|
8292
|
-
|
8293
|
-
@property
|
8294
|
-
def Name(self):
|
8295
|
-
return self._Name
|
8296
|
-
|
8297
|
-
@Name.setter
|
8298
|
-
def Name(self, Name):
|
8299
|
-
self._Name = Name
|
8300
|
-
|
8301
|
-
@property
|
8302
|
-
def Status(self):
|
8303
|
-
return self._Status
|
8304
|
-
|
8305
|
-
@Status.setter
|
8306
|
-
def Status(self, Status):
|
8307
|
-
self._Status = Status
|
8308
|
-
|
8309
|
-
@property
|
8310
|
-
def Action(self):
|
8311
|
-
return self._Action
|
8312
|
-
|
8313
|
-
@Action.setter
|
8314
|
-
def Action(self, Action):
|
8315
|
-
self._Action = Action
|
8316
|
-
|
8317
|
-
@property
|
8318
|
-
def CreateTime(self):
|
8319
|
-
return self._CreateTime
|
8320
|
-
|
8321
|
-
@CreateTime.setter
|
8322
|
-
def CreateTime(self, CreateTime):
|
8323
|
-
self._CreateTime = CreateTime
|
8324
|
-
|
8325
|
-
@property
|
8326
|
-
def Strategies(self):
|
8327
|
-
return self._Strategies
|
8328
|
-
|
8329
|
-
@Strategies.setter
|
8330
|
-
def Strategies(self, Strategies):
|
8331
|
-
self._Strategies = Strategies
|
8332
|
-
|
8333
|
-
@property
|
8334
|
-
def Uri(self):
|
8335
|
-
return self._Uri
|
8336
|
-
|
8337
|
-
@Uri.setter
|
8338
|
-
def Uri(self, Uri):
|
8339
|
-
self._Uri = Uri
|
8340
|
-
|
8341
|
-
@property
|
8342
|
-
def ModifyTime(self):
|
8343
|
-
return self._ModifyTime
|
8344
|
-
|
8345
|
-
@ModifyTime.setter
|
8346
|
-
def ModifyTime(self, ModifyTime):
|
8347
|
-
self._ModifyTime = ModifyTime
|
8348
|
-
|
8349
|
-
|
8350
|
-
def _deserialize(self, params):
|
8351
|
-
self._RuleId = params.get("RuleId")
|
8352
|
-
self._Name = params.get("Name")
|
8353
|
-
self._Status = params.get("Status")
|
8354
|
-
self._Action = params.get("Action")
|
8355
|
-
self._CreateTime = params.get("CreateTime")
|
8356
|
-
if params.get("Strategies") is not None:
|
8357
|
-
self._Strategies = []
|
8358
|
-
for item in params.get("Strategies"):
|
8359
|
-
obj = DescribeAntiInfoLeakRulesStrategyItem()
|
8360
|
-
obj._deserialize(item)
|
8361
|
-
self._Strategies.append(obj)
|
8362
|
-
self._Uri = params.get("Uri")
|
8363
|
-
self._ModifyTime = params.get("ModifyTime")
|
8364
|
-
memeber_set = set(params.keys())
|
8365
|
-
for name, value in vars(self).items():
|
8366
|
-
property_name = name[1:]
|
8367
|
-
if property_name in memeber_set:
|
8368
|
-
memeber_set.remove(property_name)
|
8369
|
-
if len(memeber_set) > 0:
|
8370
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
8371
|
-
|
8372
|
-
|
8373
|
-
|
8374
9315
|
class DescribeAreaBanAreasRequest(AbstractModel):
|
8375
9316
|
"""DescribeAreaBanAreas请求参数结构体
|
8376
9317
|
|