Class: TencentCloud::Tat::V20201028::RegionInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tat::V20201028::RegionInfo
- Defined in:
- lib/v20201028/models.rb
Overview
描述单个地域信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(region = nil, regionname = nil, regionstate = nil) ⇒ RegionInfo
constructor
A new instance of RegionInfo.
Constructor Details
#initialize(region = nil, regionname = nil, regionstate = nil) ⇒ RegionInfo
Returns a new instance of RegionInfo.
2358 2359 2360 2361 2362 |
# File 'lib/v20201028/models.rb', line 2358 def initialize(region=nil, regionname=nil, regionstate=nil) @Region = region @RegionName = regionname @RegionState = regionstate end |
Instance Attribute Details
#Region ⇒ Object
2356 2357 2358 |
# File 'lib/v20201028/models.rb', line 2356 def Region @Region end |
#RegionName ⇒ Object
2356 2357 2358 |
# File 'lib/v20201028/models.rb', line 2356 def RegionName @RegionName end |
#RegionState ⇒ Object
2356 2357 2358 |
# File 'lib/v20201028/models.rb', line 2356 def RegionState @RegionState end |
Instance Method Details
#deserialize(params) ⇒ Object
2364 2365 2366 2367 2368 |
# File 'lib/v20201028/models.rb', line 2364 def deserialize(params) @Region = params['Region'] @RegionName = params['RegionName'] @RegionState = params['RegionState'] end |