Class: TencentCloud::Cdn::V20180606::ScdnTopDomainData

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(domain = nil, value = nil, percent = nil) ⇒ ScdnTopDomainData

Returns a new instance of ScdnTopDomainData.



12433
12434
12435
12436
12437
# File 'lib/v20180606/models.rb', line 12433

def initialize(domain=nil, value=nil, percent=nil)
  @Domain = domain
  @Value = value
  @Percent = percent
end

Instance Attribute Details

#DomainObject

Parameters:

  • Domain:

    域名

  • Value:

    请求量

  • Percent:

    百分比



12431
12432
12433
# File 'lib/v20180606/models.rb', line 12431

def Domain
  @Domain
end

#PercentObject

Parameters:

  • Domain:

    域名

  • Value:

    请求量

  • Percent:

    百分比



12431
12432
12433
# File 'lib/v20180606/models.rb', line 12431

def Percent
  @Percent
end

#ValueObject

Parameters:

  • Domain:

    域名

  • Value:

    请求量

  • Percent:

    百分比



12431
12432
12433
# File 'lib/v20180606/models.rb', line 12431

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



12439
12440
12441
12442
12443
# File 'lib/v20180606/models.rb', line 12439

def deserialize(params)
  @Domain = params['Domain']
  @Value = params['Value']
  @Percent = params['Percent']
end