Class: TencentCloud::Cdn::V20180606::ScdnTypeData

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

Overview

Scdn饼图数据,waf仅有

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attacktype = nil, value = nil) ⇒ ScdnTypeData

Returns a new instance of ScdnTypeData.



12484
12485
12486
12487
# File 'lib/v20180606/models.rb', line 12484

def initialize(attacktype=nil, value=nil)
  @AttackType = attacktype
  @Value = value
end

Instance Attribute Details

#AttackTypeObject

Parameters:

  • AttackType:

    攻击类型

  • Value:

    攻击值



12482
12483
12484
# File 'lib/v20180606/models.rb', line 12482

def AttackType
  @AttackType
end

#ValueObject

Parameters:

  • AttackType:

    攻击类型

  • Value:

    攻击值



12482
12483
12484
# File 'lib/v20180606/models.rb', line 12482

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



12489
12490
12491
12492
# File 'lib/v20180606/models.rb', line 12489

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