Class: TencentCloud::Tione::V20211111::DataPoint

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

Overview

数据点

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, value = nil) ⇒ DataPoint

Returns a new instance of DataPoint.



1688
1689
1690
1691
# File 'lib/v20211111/models.rb', line 1688

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

Instance Attribute Details

#NameObject

Parameters:

  • Name:

    指标名字

  • Value:



1686
1687
1688
# File 'lib/v20211111/models.rb', line 1686

def Name
  @Name
end

#ValueObject

Parameters:

  • Name:

    指标名字

  • Value:



1686
1687
1688
# File 'lib/v20211111/models.rb', line 1686

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



1693
1694
1695
1696
# File 'lib/v20211111/models.rb', line 1693

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