Class: TencentCloud::Waf::V20180125::IpHitItem
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::IpHitItem
- Defined in:
- lib/v20180125/models.rb
Overview
ip封堵状态数据
Instance Attribute Summary collapse
- #Action ⇒ Object
- #Category ⇒ Object
- #Ip ⇒ Object
- #Name ⇒ Object
- #TsVersion ⇒ Object
- #ValidTs ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(action = nil, category = nil, ip = nil, name = nil, tsversion = nil, validts = nil) ⇒ IpHitItem
constructor
A new instance of IpHitItem.
Constructor Details
#initialize(action = nil, category = nil, ip = nil, name = nil, tsversion = nil, validts = nil) ⇒ IpHitItem
Returns a new instance of IpHitItem.
9017 9018 9019 9020 9021 9022 9023 9024 |
# File 'lib/v20180125/models.rb', line 9017 def initialize(action=nil, category=nil, ip=nil, name=nil, tsversion=nil, validts=nil) @Action = action @Category = category @Ip = ip @Name = name @TsVersion = tsversion @ValidTs = validts end |
Instance Attribute Details
#Action ⇒ Object
9015 9016 9017 |
# File 'lib/v20180125/models.rb', line 9015 def Action @Action end |
#Category ⇒ Object
9015 9016 9017 |
# File 'lib/v20180125/models.rb', line 9015 def Category @Category end |
#Ip ⇒ Object
9015 9016 9017 |
# File 'lib/v20180125/models.rb', line 9015 def Ip @Ip end |
#Name ⇒ Object
9015 9016 9017 |
# File 'lib/v20180125/models.rb', line 9015 def Name @Name end |
#TsVersion ⇒ Object
9015 9016 9017 |
# File 'lib/v20180125/models.rb', line 9015 def TsVersion @TsVersion end |
#ValidTs ⇒ Object
9015 9016 9017 |
# File 'lib/v20180125/models.rb', line 9015 def ValidTs @ValidTs end |
Instance Method Details
#deserialize(params) ⇒ Object
9026 9027 9028 9029 9030 9031 9032 9033 |
# File 'lib/v20180125/models.rb', line 9026 def deserialize(params) @Action = params['Action'] @Category = params['Category'] @Ip = params['Ip'] @Name = params['Name'] @TsVersion = params['TsVersion'] @ValidTs = params['ValidTs'] end |