Class: TencentCloud::Live::V20180801::BillCountryInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Live::V20180801::BillCountryInfo
- Defined in:
- lib/v20180801/models.rb
Overview
海外分区直播带宽出参国家带宽信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, bandinfolist = nil) ⇒ BillCountryInfo
constructor
A new instance of BillCountryInfo.
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
#BandInfoList ⇒ Object
712 713 714 |
# File 'lib/v20180801/models.rb', line 712 def BandInfoList @BandInfoList end |
#Name ⇒ Object
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 |