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.



12465
12466
12467
12468
# File 'lib/v20180606/models.rb', line 12465

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

Instance Attribute Details

#AttackTypeObject

Parameters:

  • AttackType:

    攻击类型

  • Value:

    攻击值



12463
12464
12465
# File 'lib/v20180606/models.rb', line 12463

def AttackType
  @AttackType
end

#ValueObject

Parameters:

  • AttackType:

    攻击类型

  • Value:

    攻击值



12463
12464
12465
# File 'lib/v20180606/models.rb', line 12463

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



12470
12471
12472
12473
# File 'lib/v20180606/models.rb', line 12470

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