Class: TencentCloud::Ecm::V20190719::Country
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ecm::V20190719::Country
- Defined in:
- lib/v20190719/models.rb
Overview
国家信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(countryid = nil, countryname = nil) ⇒ Country
constructor
A new instance of Country.
Constructor Details
#initialize(countryid = nil, countryname = nil) ⇒ Country
Returns a new instance of Country.
1076 1077 1078 1079 |
# File 'lib/v20190719/models.rb', line 1076 def initialize(countryid=nil, countryname=nil) @CountryId = countryid @CountryName = countryname end |
Instance Attribute Details
#CountryId ⇒ Object
1074 1075 1076 |
# File 'lib/v20190719/models.rb', line 1074 def CountryId @CountryId end |
#CountryName ⇒ Object
1074 1075 1076 |
# File 'lib/v20190719/models.rb', line 1074 def CountryName @CountryName end |
Instance Method Details
#deserialize(params) ⇒ Object
1081 1082 1083 1084 |
# File 'lib/v20190719/models.rb', line 1081 def deserialize(params) @CountryId = params['CountryId'] @CountryName = params['CountryName'] end |