Class: TencentCloud::Keewidb::V20220308::RegionConf
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Keewidb::V20220308::RegionConf
- Defined in:
- lib/v20220308/models.rb
Overview
地域售卖信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(regionid = nil, regionname = nil, regionshortname = nil, area = nil, zoneset = nil) ⇒ RegionConf
constructor
A new instance of RegionConf.
Constructor Details
#initialize(regionid = nil, regionname = nil, regionshortname = nil, area = nil, zoneset = nil) ⇒ RegionConf
2894 2895 2896 2897 2898 2899 2900 |
# File 'lib/v20220308/models.rb', line 2894 def initialize(regionid=nil, regionname=nil, regionshortname=nil, area=nil, zoneset=nil) @RegionId = regionid @RegionName = regionname @RegionShortName = regionshortname @Area = area @ZoneSet = zoneset end |
Instance Attribute Details
#Area ⇒ Object
2892 2893 2894 |
# File 'lib/v20220308/models.rb', line 2892 def Area @Area end |
#RegionId ⇒ Object
2892 2893 2894 |
# File 'lib/v20220308/models.rb', line 2892 def RegionId @RegionId end |
#RegionName ⇒ Object
2892 2893 2894 |
# File 'lib/v20220308/models.rb', line 2892 def RegionName @RegionName end |
#RegionShortName ⇒ Object
2892 2893 2894 |
# File 'lib/v20220308/models.rb', line 2892 def RegionShortName @RegionShortName end |
#ZoneSet ⇒ Object
2892 2893 2894 |
# File 'lib/v20220308/models.rb', line 2892 def ZoneSet @ZoneSet end |
Instance Method Details
#deserialize(params) ⇒ Object
2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 |
# File 'lib/v20220308/models.rb', line 2902 def deserialize(params) @RegionId = params['RegionId'] @RegionName = params['RegionName'] @RegionShortName = params['RegionShortName'] @Area = params['Area'] unless params['ZoneSet'].nil? @ZoneSet = [] params['ZoneSet'].each do |i| zonecapacityconf_tmp = ZoneCapacityConf.new zonecapacityconf_tmp.deserialize(i) @ZoneSet << zonecapacityconf_tmp end end end |