Class: TencentCloud::Teo::V20220901::TimingDataRecord

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

Overview

时序数据信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(typekey = nil, typevalue = nil) ⇒ TimingDataRecord

Returns a new instance of TimingDataRecord.



22368
22369
22370
22371
# File 'lib/v20220901/models.rb', line 22368

def initialize(typekey=nil, typevalue=nil)
  @TypeKey = typekey
  @TypeValue = typevalue
end

Instance Attribute Details

#TypeKeyObject

Parameters:

  • TypeKey:

    查询维度值。

  • TypeValue:

    详细时序数据。



22366
22367
22368
# File 'lib/v20220901/models.rb', line 22366

def TypeKey
  @TypeKey
end

#TypeValueObject

Parameters:

  • TypeKey:

    查询维度值。

  • TypeValue:

    详细时序数据。



22366
22367
22368
# File 'lib/v20220901/models.rb', line 22366

def TypeValue
  @TypeValue
end

Instance Method Details

#deserialize(params) ⇒ Object



22373
22374
22375
22376
22377
22378
22379
22380
22381
22382
22383
# File 'lib/v20220901/models.rb', line 22373

def deserialize(params)
  @TypeKey = params['TypeKey']
  unless params['TypeValue'].nil?
    @TypeValue = []
    params['TypeValue'].each do |i|
      timingtypevalue_tmp = TimingTypeValue.new
      timingtypevalue_tmp.deserialize(i)
      @TypeValue << timingtypevalue_tmp
    end
  end
end