Class: TencentCloud::Intlpartnersmgt::V20220928::GetCountryCodesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Intlpartnersmgt::V20220928::GetCountryCodesResponse
- Defined in:
- lib/v20220928/models.rb
Overview
GetCountryCodes返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(data = nil, requestid = nil) ⇒ GetCountryCodesResponse
constructor
A new instance of GetCountryCodesResponse.
Constructor Details
#initialize(data = nil, requestid = nil) ⇒ GetCountryCodesResponse
Returns a new instance of GetCountryCodesResponse.
184 185 186 187 |
# File 'lib/v20220928/models.rb', line 184 def initialize(data=nil, requestid=nil) @Data = data @RequestId = requestid end |
Instance Attribute Details
#Data ⇒ Object
182 183 184 |
# File 'lib/v20220928/models.rb', line 182 def Data @Data end |
#RequestId ⇒ Object
182 183 184 |
# File 'lib/v20220928/models.rb', line 182 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
189 190 191 192 193 194 195 196 197 198 199 |
# File 'lib/v20220928/models.rb', line 189 def deserialize(params) unless params['Data'].nil? @Data = [] params['Data'].each do |i| countrycodeitem_tmp = CountryCodeItem.new countrycodeitem_tmp.deserialize(i) @Data << countrycodeitem_tmp end end @RequestId = params['RequestId'] end |