Class: TencentCloud::Zj::V20190121::ModifySmsTemplateResponse

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20190121/models.rb

Overview

ModifySmsTemplate返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data = nil, requestid = nil) ⇒ ModifySmsTemplateResponse

Returns a new instance of ModifySmsTemplateResponse.



1371
1372
1373
1374
# File 'lib/v20190121/models.rb', line 1371

def initialize(data=nil, requestid=nil)
  @Data = data
  @RequestId = requestid
end

Instance Attribute Details

#DataObject

Parameters:

  • Data:

    返回

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



1369
1370
1371
# File 'lib/v20190121/models.rb', line 1369

def Data
  @Data
end

#RequestIdObject

Parameters:

  • Data:

    返回

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



1369
1370
1371
# File 'lib/v20190121/models.rb', line 1369

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



1376
1377
1378
1379
1380
1381
1382
# File 'lib/v20190121/models.rb', line 1376

def deserialize(params)
  unless params['Data'].nil?
    @Data = ModifySmsTemplateDataStruct.new
    @Data.deserialize(params['Data'])
  end
  @RequestId = params['RequestId']
end