Class: TencentCloud::Postgres::V20170312::RegionInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Postgres::V20170312::RegionInfo
- Defined in:
- lib/v20170312/models.rb
Overview
描述地域的编码和状态等信息
Instance Attribute Summary collapse
- #Region ⇒ Object
- #RegionId ⇒ Object
- #RegionName ⇒ Object
- #RegionState ⇒ Object
- #SupportInternational ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(region = nil, regionname = nil, regionid = nil, regionstate = nil, supportinternational = nil) ⇒ RegionInfo
constructor
A new instance of RegionInfo.
Constructor Details
#initialize(region = nil, regionname = nil, regionid = nil, regionstate = nil, supportinternational = nil) ⇒ RegionInfo
Returns a new instance of RegionInfo.
6980 6981 6982 6983 6984 6985 6986 |
# File 'lib/v20170312/models.rb', line 6980 def initialize(region=nil, regionname=nil, regionid=nil, regionstate=nil, supportinternational=nil) @Region = region @RegionName = regionname @RegionId = regionid @RegionState = regionstate @SupportInternational = supportinternational end |
Instance Attribute Details
#Region ⇒ Object
6978 6979 6980 |
# File 'lib/v20170312/models.rb', line 6978 def Region @Region end |
#RegionId ⇒ Object
6978 6979 6980 |
# File 'lib/v20170312/models.rb', line 6978 def RegionId @RegionId end |
#RegionName ⇒ Object
6978 6979 6980 |
# File 'lib/v20170312/models.rb', line 6978 def RegionName @RegionName end |
#RegionState ⇒ Object
6978 6979 6980 |
# File 'lib/v20170312/models.rb', line 6978 def RegionState @RegionState end |
#SupportInternational ⇒ Object
6978 6979 6980 |
# File 'lib/v20170312/models.rb', line 6978 def SupportInternational @SupportInternational end |
Instance Method Details
#deserialize(params) ⇒ Object
6988 6989 6990 6991 6992 6993 6994 |
# File 'lib/v20170312/models.rb', line 6988 def deserialize(params) @Region = params['Region'] @RegionName = params['RegionName'] @RegionId = params['RegionId'] @RegionState = params['RegionState'] @SupportInternational = params['SupportInternational'] end |