Class: TencentCloud::Cdn::V20180606::BotStatisticsCount

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

Overview

session/ip维度的bot统计复杂对象

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(count = nil, value = nil, country = nil, province = nil, isp = nil) ⇒ BotStatisticsCount

Returns a new instance of BotStatisticsCount.



1889
1890
1891
1892
1893
1894
1895
# File 'lib/v20180606/models.rb', line 1889

def initialize(count=nil, value=nil, country=nil, province=nil, isp=nil)
  @Count = count
  @Value = value
  @Country = country
  @Province = province
  @Isp = isp
end

Instance Attribute Details

#CountObject

Parameters:

  • Count:

    BOT次数

  • Value:

    Top指标值,如果是ip维度就是ip如果是session维度就是域名

  • Country:

    ip所在国家

  • Province:

    ip所在省份

  • Isp:

    ip归属的idc



1887
1888
1889
# File 'lib/v20180606/models.rb', line 1887

def Count
  @Count
end

#CountryObject

Parameters:

  • Count:

    BOT次数

  • Value:

    Top指标值,如果是ip维度就是ip如果是session维度就是域名

  • Country:

    ip所在国家

  • Province:

    ip所在省份

  • Isp:

    ip归属的idc



1887
1888
1889
# File 'lib/v20180606/models.rb', line 1887

def Country
  @Country
end

#IspObject

Parameters:

  • Count:

    BOT次数

  • Value:

    Top指标值,如果是ip维度就是ip如果是session维度就是域名

  • Country:

    ip所在国家

  • Province:

    ip所在省份

  • Isp:

    ip归属的idc



1887
1888
1889
# File 'lib/v20180606/models.rb', line 1887

def Isp
  @Isp
end

#ProvinceObject

Parameters:

  • Count:

    BOT次数

  • Value:

    Top指标值,如果是ip维度就是ip如果是session维度就是域名

  • Country:

    ip所在国家

  • Province:

    ip所在省份

  • Isp:

    ip归属的idc



1887
1888
1889
# File 'lib/v20180606/models.rb', line 1887

def Province
  @Province
end

#ValueObject

Parameters:

  • Count:

    BOT次数

  • Value:

    Top指标值,如果是ip维度就是ip如果是session维度就是域名

  • Country:

    ip所在国家

  • Province:

    ip所在省份

  • Isp:

    ip归属的idc



1887
1888
1889
# File 'lib/v20180606/models.rb', line 1887

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



1897
1898
1899
1900
1901
1902
1903
# File 'lib/v20180606/models.rb', line 1897

def deserialize(params)
  @Count = params['Count']
  @Value = params['Value']
  @Country = params['Country']
  @Province = params['Province']
  @Isp = params['Isp']
end