Class: TencentCloud::Cdn::V20180606::ScdnTopData

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

Overview

SCDN攻击数据Top展示

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(time = nil, value = nil, isp = nil, ip = nil, district = nil) ⇒ ScdnTopData

Returns a new instance of ScdnTopData.



12405
12406
12407
12408
12409
12410
12411
# File 'lib/v20180606/models.rb', line 12405

def initialize(time=nil, value=nil, isp=nil, ip=nil, district=nil)
  @Time = time
  @Value = value
  @Isp = isp
  @Ip = ip
  @District = district
end

Instance Attribute Details

#DistrictObject

Parameters:

  • Time:

    时间

  • Value:

    数值

  • Isp:

    运营商

  • Ip:

    IP地址

  • District:

    区域



12403
12404
12405
# File 'lib/v20180606/models.rb', line 12403

def District
  @District
end

#IpObject

Parameters:

  • Time:

    时间

  • Value:

    数值

  • Isp:

    运营商

  • Ip:

    IP地址

  • District:

    区域



12403
12404
12405
# File 'lib/v20180606/models.rb', line 12403

def Ip
  @Ip
end

#IspObject

Parameters:

  • Time:

    时间

  • Value:

    数值

  • Isp:

    运营商

  • Ip:

    IP地址

  • District:

    区域



12403
12404
12405
# File 'lib/v20180606/models.rb', line 12403

def Isp
  @Isp
end

#TimeObject

Parameters:

  • Time:

    时间

  • Value:

    数值

  • Isp:

    运营商

  • Ip:

    IP地址

  • District:

    区域



12403
12404
12405
# File 'lib/v20180606/models.rb', line 12403

def Time
  @Time
end

#ValueObject

Parameters:

  • Time:

    时间

  • Value:

    数值

  • Isp:

    运营商

  • Ip:

    IP地址

  • District:

    区域



12403
12404
12405
# File 'lib/v20180606/models.rb', line 12403

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



12413
12414
12415
12416
12417
12418
12419
# File 'lib/v20180606/models.rb', line 12413

def deserialize(params)
  @Time = params['Time']
  @Value = params['Value']
  @Isp = params['Isp']
  @Ip = params['Ip']
  @District = params['District']
end