Class: TencentCloud::Asr::V20190614::UsageByDateInfoData

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

Overview

用户用量信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(usagebydateinfolist = nil) ⇒ UsageByDateInfoData

Returns a new instance of UsageByDateInfoData.



2026
2027
2028
# File 'lib/v20190614/models.rb', line 2026

def initialize(usagebydateinfolist=nil)
  @UsageByDateInfoList = usagebydateinfolist
end

Instance Attribute Details

#UsageByDateInfoListObject

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

Parameters:

  • UsageByDateInfoList:

    用量信息列表



2024
2025
2026
# File 'lib/v20190614/models.rb', line 2024

def UsageByDateInfoList
  @UsageByDateInfoList
end

Instance Method Details

#deserialize(params) ⇒ Object



2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
# File 'lib/v20190614/models.rb', line 2030

def deserialize(params)
  unless params['UsageByDateInfoList'].nil?
    @UsageByDateInfoList = []
    params['UsageByDateInfoList'].each do |i|
      usagebydateinfo_tmp = UsageByDateInfo.new
      usagebydateinfo_tmp.deserialize(i)
      @UsageByDateInfoList << usagebydateinfo_tmp
    end
  end
end