Class: TencentCloud::Live::V20180801::BillAreaInfo

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, countrys = nil) ⇒ BillAreaInfo

Returns a new instance of BillAreaInfo.



687
688
689
690
# File 'lib/v20180801/models.rb', line 687

def initialize(name=nil, countrys=nil)
  @Name = name
  @Countrys = countrys
end

Instance Attribute Details

#CountrysObject

Parameters:

  • Name:

    大区名称。

  • Countrys:

    国家或地区明细数据。



685
686
687
# File 'lib/v20180801/models.rb', line 685

def Countrys
  @Countrys
end

#NameObject

Parameters:

  • Name:

    大区名称。

  • Countrys:

    国家或地区明细数据。



685
686
687
# File 'lib/v20180801/models.rb', line 685

def Name
  @Name
end

Instance Method Details

#deserialize(params) ⇒ Object



692
693
694
695
696
697
698
699
700
701
702
# File 'lib/v20180801/models.rb', line 692

def deserialize(params)
  @Name = params['Name']
  unless params['Countrys'].nil?
    @Countrys = []
    params['Countrys'].each do |i|
      billcountryinfo_tmp = BillCountryInfo.new
      billcountryinfo_tmp.deserialize(i)
      @Countrys << billcountryinfo_tmp
    end
  end
end