Class: TencentCloud::Live::V20180801::BillCountryInfo

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

Overview

海外分区直播带宽出参国家带宽信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, bandinfolist = nil) ⇒ BillCountryInfo

Returns a new instance of BillCountryInfo.



714
715
716
717
# File 'lib/v20180801/models.rb', line 714

def initialize(name=nil, bandinfolist=nil)
  @Name = name
  @BandInfoList = bandinfolist
end

Instance Attribute Details

#BandInfoListObject

Parameters:

  • Name:

    国家名称

  • BandInfoList:

    带宽明细数据信息。



712
713
714
# File 'lib/v20180801/models.rb', line 712

def BandInfoList
  @BandInfoList
end

#NameObject

Parameters:

  • Name:

    国家名称

  • BandInfoList:

    带宽明细数据信息。



712
713
714
# File 'lib/v20180801/models.rb', line 712

def Name
  @Name
end

Instance Method Details

#deserialize(params) ⇒ Object



719
720
721
722
723
724
725
726
727
728
729
# File 'lib/v20180801/models.rb', line 719

def deserialize(params)
  @Name = params['Name']
  unless params['BandInfoList'].nil?
    @BandInfoList = []
    params['BandInfoList'].each do |i|
      billdatainfo_tmp = BillDataInfo.new
      billdatainfo_tmp.deserialize(i)
      @BandInfoList << billdatainfo_tmp
    end
  end
end