Class: TencentCloud::Cdn::V20180606::TopDetailDataMore

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

Overview

排序类型的数据结构,同时附带上该项的在总值的占比

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, value = nil, percent = nil) ⇒ TopDetailDataMore



9809
9810
9811
9812
9813
# File 'lib/v20180606/models.rb', line 9809

def initialize(name=nil, value=nil, percent=nil)
  @Name = name
  @Value = value
  @Percent = percent
end

Instance Attribute Details

#NameObject

注意:此字段可能返回 null,表示取不到有效值。



9807
9808
9809
# File 'lib/v20180606/models.rb', line 9807

def Name
  @Name
end

#PercentObject

注意:此字段可能返回 null,表示取不到有效值。



9807
9808
9809
# File 'lib/v20180606/models.rb', line 9807

def Percent
  @Percent
end

#ValueObject

注意:此字段可能返回 null,表示取不到有效值。



9807
9808
9809
# File 'lib/v20180606/models.rb', line 9807

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



9815
9816
9817
9818
9819
# File 'lib/v20180606/models.rb', line 9815

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