Class: TencentCloud::Intlpartnersmgt::V20220928::CountryCodeItem
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Intlpartnersmgt::V20220928::CountryCodeItem
- Defined in:
- lib/v20220928/models.rb
Overview
获取国家码接口的一个元素类型
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(enname = nil, name = nil, ios2 = nil, ios3 = nil, code = nil) ⇒ CountryCodeItem
constructor
A new instance of CountryCodeItem.
Constructor Details
#initialize(enname = nil, name = nil, ios2 = nil, ios3 = nil, code = nil) ⇒ CountryCodeItem
Returns a new instance of CountryCodeItem.
79 80 81 82 83 84 85 |
# File 'lib/v20220928/models.rb', line 79 def initialize(enname=nil, name=nil, ios2=nil, ios3=nil, code=nil) @EnName = enname @Name = name @IOS2 = ios2 @IOS3 = ios3 @Code = code end |
Instance Attribute Details
#Code ⇒ Object
77 78 79 |
# File 'lib/v20220928/models.rb', line 77 def Code @Code end |
#EnName ⇒ Object
77 78 79 |
# File 'lib/v20220928/models.rb', line 77 def EnName @EnName end |
#IOS2 ⇒ Object
77 78 79 |
# File 'lib/v20220928/models.rb', line 77 def IOS2 @IOS2 end |
#IOS3 ⇒ Object
77 78 79 |
# File 'lib/v20220928/models.rb', line 77 def IOS3 @IOS3 end |
#Name ⇒ Object
77 78 79 |
# File 'lib/v20220928/models.rb', line 77 def Name @Name end |
Instance Method Details
#deserialize(params) ⇒ Object
87 88 89 90 91 92 93 |
# File 'lib/v20220928/models.rb', line 87 def deserialize(params) @EnName = params['EnName'] @Name = params['Name'] @IOS2 = params['IOS2'] @IOS3 = params['IOS3'] @Code = params['Code'] end |