Class: TencentCloud::Cwp::V20180228::DescribeBanStatusResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::DescribeBanStatusResponse
- Defined in:
- lib/v20180228/models.rb
Overview
DescribeBanStatus返回参数结构体
Instance Attribute Summary collapse
- #BanBlackIp ⇒ Object
- #BanByRule ⇒ Object
- #BanVulIp ⇒ Object
- #OpenSmartMode ⇒ Object
- #RequestId ⇒ Object
- #ShowTips ⇒ Object
- #Status ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(status = nil, showtips = nil, opensmartmode = nil, banblackip = nil, banvulip = nil, banbyrule = nil, requestid = nil) ⇒ DescribeBanStatusResponse
constructor
A new instance of DescribeBanStatusResponse.
Constructor Details
#initialize(status = nil, showtips = nil, opensmartmode = nil, banblackip = nil, banvulip = nil, banbyrule = nil, requestid = nil) ⇒ DescribeBanStatusResponse
Returns a new instance of DescribeBanStatusResponse.
11498 11499 11500 11501 11502 11503 11504 11505 11506 |
# File 'lib/v20180228/models.rb', line 11498 def initialize(status=nil, showtips=nil, opensmartmode=nil, banblackip=nil, banvulip=nil, banbyrule=nil, requestid=nil) @Status = status @ShowTips = showtips @OpenSmartMode = opensmartmode @BanBlackIp = banblackip @BanVulIp = banvulip @BanByRule = banbyrule @RequestId = requestid end |
Instance Attribute Details
#BanBlackIp ⇒ Object
11496 11497 11498 |
# File 'lib/v20180228/models.rb', line 11496 def BanBlackIp @BanBlackIp end |
#BanByRule ⇒ Object
11496 11497 11498 |
# File 'lib/v20180228/models.rb', line 11496 def BanByRule @BanByRule end |
#BanVulIp ⇒ Object
11496 11497 11498 |
# File 'lib/v20180228/models.rb', line 11496 def BanVulIp @BanVulIp end |
#OpenSmartMode ⇒ Object
11496 11497 11498 |
# File 'lib/v20180228/models.rb', line 11496 def OpenSmartMode @OpenSmartMode end |
#RequestId ⇒ Object
11496 11497 11498 |
# File 'lib/v20180228/models.rb', line 11496 def RequestId @RequestId end |
#ShowTips ⇒ Object
11496 11497 11498 |
# File 'lib/v20180228/models.rb', line 11496 def ShowTips @ShowTips end |
#Status ⇒ Object
11496 11497 11498 |
# File 'lib/v20180228/models.rb', line 11496 def Status @Status end |
Instance Method Details
#deserialize(params) ⇒ Object
11508 11509 11510 11511 11512 11513 11514 11515 11516 |
# File 'lib/v20180228/models.rb', line 11508 def deserialize(params) @Status = params['Status'] @ShowTips = params['ShowTips'] @OpenSmartMode = params['OpenSmartMode'] @BanBlackIp = params['BanBlackIp'] @BanVulIp = params['BanVulIp'] @BanByRule = params['BanByRule'] @RequestId = params['RequestId'] end |