Class: TencentCloud::Waf::V20180125::DescribeApiDetailResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::DescribeApiDetailResponse
- Defined in:
- lib/v20180125/models.rb
Overview
DescribeApiDetail返回参数结构体
Instance Attribute Summary collapse
- #ApiDetailSampleHistory ⇒ Object
- #EventCount ⇒ Object
- #IpCount ⇒ Object
- #IsActive ⇒ Object
- #Level ⇒ Object
- #Log ⇒ Object
- #MaxQPS ⇒ Object
- #ParameterList ⇒ Object
- #RegionCount ⇒ Object
- #RequestId ⇒ Object
- #RspLog ⇒ Object
- #Scene ⇒ Object
- #SensitiveCount ⇒ Object
- #SensitiveFields ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(log = nil, parameterlist = nil, scene = nil, sensitivefields = nil, isactive = nil, ipcount = nil, regioncount = nil, eventcount = nil, sensitivecount = nil, level = nil, rsplog = nil, maxqps = nil, apidetailsamplehistory = nil, requestid = nil) ⇒ DescribeApiDetailResponse
constructor
A new instance of DescribeApiDetailResponse.
Constructor Details
#initialize(log = nil, parameterlist = nil, scene = nil, sensitivefields = nil, isactive = nil, ipcount = nil, regioncount = nil, eventcount = nil, sensitivecount = nil, level = nil, rsplog = nil, maxqps = nil, apidetailsamplehistory = nil, requestid = nil) ⇒ DescribeApiDetailResponse
5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 |
# File 'lib/v20180125/models.rb', line 5722 def initialize(log=nil, parameterlist=nil, scene=nil, sensitivefields=nil, isactive=nil, ipcount=nil, regioncount=nil, eventcount=nil, sensitivecount=nil, level=nil, rsplog=nil, maxqps=nil, apidetailsamplehistory=nil, requestid=nil) @Log = log @ParameterList = parameterlist @Scene = scene @SensitiveFields = sensitivefields @IsActive = isactive @IpCount = ipcount @RegionCount = regioncount @EventCount = eventcount @SensitiveCount = sensitivecount @Level = level @RspLog = rsplog @MaxQPS = maxqps @ApiDetailSampleHistory = apidetailsamplehistory @RequestId = requestid end |
Instance Attribute Details
#ApiDetailSampleHistory ⇒ Object
5720 5721 5722 |
# File 'lib/v20180125/models.rb', line 5720 def ApiDetailSampleHistory @ApiDetailSampleHistory end |
#EventCount ⇒ Object
5720 5721 5722 |
# File 'lib/v20180125/models.rb', line 5720 def EventCount @EventCount end |
#IpCount ⇒ Object
5720 5721 5722 |
# File 'lib/v20180125/models.rb', line 5720 def IpCount @IpCount end |
#IsActive ⇒ Object
5720 5721 5722 |
# File 'lib/v20180125/models.rb', line 5720 def IsActive @IsActive end |
#Level ⇒ Object
5720 5721 5722 |
# File 'lib/v20180125/models.rb', line 5720 def Level @Level end |
#Log ⇒ Object
5720 5721 5722 |
# File 'lib/v20180125/models.rb', line 5720 def Log @Log end |
#MaxQPS ⇒ Object
5720 5721 5722 |
# File 'lib/v20180125/models.rb', line 5720 def MaxQPS @MaxQPS end |
#ParameterList ⇒ Object
5720 5721 5722 |
# File 'lib/v20180125/models.rb', line 5720 def ParameterList @ParameterList end |
#RegionCount ⇒ Object
5720 5721 5722 |
# File 'lib/v20180125/models.rb', line 5720 def RegionCount @RegionCount end |
#RequestId ⇒ Object
5720 5721 5722 |
# File 'lib/v20180125/models.rb', line 5720 def RequestId @RequestId end |
#RspLog ⇒ Object
5720 5721 5722 |
# File 'lib/v20180125/models.rb', line 5720 def RspLog @RspLog end |
#Scene ⇒ Object
5720 5721 5722 |
# File 'lib/v20180125/models.rb', line 5720 def Scene @Scene end |
#SensitiveCount ⇒ Object
5720 5721 5722 |
# File 'lib/v20180125/models.rb', line 5720 def SensitiveCount @SensitiveCount end |
#SensitiveFields ⇒ Object
5720 5721 5722 |
# File 'lib/v20180125/models.rb', line 5720 def SensitiveFields @SensitiveFields end |
Instance Method Details
#deserialize(params) ⇒ Object
5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 |
# File 'lib/v20180125/models.rb', line 5739 def deserialize(params) @Log = params['Log'] unless params['ParameterList'].nil? @ParameterList = [] params['ParameterList'].each do |i| apiparametertype_tmp = ApiParameterType.new apiparametertype_tmp.deserialize(i) @ParameterList << apiparametertype_tmp end end @Scene = params['Scene'] @SensitiveFields = params['SensitiveFields'] @IsActive = params['IsActive'] @IpCount = params['IpCount'] @RegionCount = params['RegionCount'] @EventCount = params['EventCount'] @SensitiveCount = params['SensitiveCount'] @Level = params['Level'] @RspLog = params['RspLog'] @MaxQPS = params['MaxQPS'] unless params['ApiDetailSampleHistory'].nil? @ApiDetailSampleHistory = [] params['ApiDetailSampleHistory'].each do |i| apidetailsamplehistory_tmp = ApiDetailSampleHistory.new apidetailsamplehistory_tmp.deserialize(i) @ApiDetailSampleHistory << apidetailsamplehistory_tmp end end @RequestId = params['RequestId'] end |