Class: TencentCloud::Zj::V20190121::AddSmsTemplateResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Zj::V20190121::AddSmsTemplateResponse
- Defined in:
- lib/v20190121/models.rb
Overview
AddSmsTemplate返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(data = nil, requestid = nil) ⇒ AddSmsTemplateResponse
constructor
A new instance of AddSmsTemplateResponse.
Constructor Details
#initialize(data = nil, requestid = nil) ⇒ AddSmsTemplateResponse
Returns a new instance of AddSmsTemplateResponse.
238 239 240 241 |
# File 'lib/v20190121/models.rb', line 238 def initialize(data=nil, requestid=nil) @Data = data @RequestId = requestid end |
Instance Attribute Details
#Data ⇒ Object
236 237 238 |
# File 'lib/v20190121/models.rb', line 236 def Data @Data end |
#RequestId ⇒ Object
236 237 238 |
# File 'lib/v20190121/models.rb', line 236 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
243 244 245 246 247 248 249 |
# File 'lib/v20190121/models.rb', line 243 def deserialize(params) unless params['Data'].nil? @Data = AddSmsTemplateDataStruct.new @Data.deserialize(params['Data']) end @RequestId = params['RequestId'] end |