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