Class: TencentCloud::Waf::V20180125::IpHitItem

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180125/models.rb

Overview

ip封堵状态数据

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#ActionObject

Parameters:

  • Action:

    动作

  • Category:

    类别

  • Ip:

    ip

  • Name:

    规则名称

  • TsVersion:

    时间戳

  • ValidTs:

    有效截止时间戳



9015
9016
9017
# File 'lib/v20180125/models.rb', line 9015

def Action
  @Action
end

#CategoryObject

Parameters:

  • Action:

    动作

  • Category:

    类别

  • Ip:

    ip

  • Name:

    规则名称

  • TsVersion:

    时间戳

  • ValidTs:

    有效截止时间戳



9015
9016
9017
# File 'lib/v20180125/models.rb', line 9015

def Category
  @Category
end

#IpObject

Parameters:

  • Action:

    动作

  • Category:

    类别

  • Ip:

    ip

  • Name:

    规则名称

  • TsVersion:

    时间戳

  • ValidTs:

    有效截止时间戳



9015
9016
9017
# File 'lib/v20180125/models.rb', line 9015

def Ip
  @Ip
end

#NameObject

Parameters:

  • Action:

    动作

  • Category:

    类别

  • Ip:

    ip

  • Name:

    规则名称

  • TsVersion:

    时间戳

  • ValidTs:

    有效截止时间戳



9015
9016
9017
# File 'lib/v20180125/models.rb', line 9015

def Name
  @Name
end

#TsVersionObject

Parameters:

  • Action:

    动作

  • Category:

    类别

  • Ip:

    ip

  • Name:

    规则名称

  • TsVersion:

    时间戳

  • ValidTs:

    有效截止时间戳



9015
9016
9017
# File 'lib/v20180125/models.rb', line 9015

def TsVersion
  @TsVersion
end

#ValidTsObject

Parameters:

  • Action:

    动作

  • Category:

    类别

  • Ip:

    ip

  • Name:

    规则名称

  • TsVersion:

    时间戳

  • ValidTs:

    有效截止时间戳



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