Class: TencentCloud::Zj::V20190121::DescribeSmsTemplateListResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Zj::V20190121::DescribeSmsTemplateListResponse
- Defined in:
- lib/v20190121/models.rb
Overview
DescribeSmsTemplateList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(data = nil, requestid = nil) ⇒ DescribeSmsTemplateListResponse
constructor
A new instance of DescribeSmsTemplateListResponse.
Constructor Details
#initialize(data = nil, requestid = nil) ⇒ DescribeSmsTemplateListResponse
Returns a new instance of DescribeSmsTemplateListResponse.
957 958 959 960 |
# File 'lib/v20190121/models.rb', line 957 def initialize(data=nil, requestid=nil) @Data = data @RequestId = requestid end |
Instance Attribute Details
#Data ⇒ Object
955 956 957 |
# File 'lib/v20190121/models.rb', line 955 def Data @Data end |
#RequestId ⇒ Object
955 956 957 |
# File 'lib/v20190121/models.rb', line 955 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
962 963 964 965 966 967 968 969 970 971 972 |
# File 'lib/v20190121/models.rb', line 962 def deserialize(params) unless params['Data'].nil? @Data = [] params['Data'].each do |i| describesmstemplatelistdatastruct_tmp = DescribeSmsTemplateListDataStruct.new describesmstemplatelistdatastruct_tmp.deserialize(i) @Data << describesmstemplatelistdatastruct_tmp end end @RequestId = params['RequestId'] end |