Class: TencentCloud::Ses::V20201002::CreateEmailTemplateResponse

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

Overview

CreateEmailTemplate返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(templateid = nil, requestid = nil) ⇒ CreateEmailTemplateResponse

Returns a new instance of CreateEmailTemplateResponse.



375
376
377
378
# File 'lib/v20201002/models.rb', line 375

def initialize(templateid=nil, requestid=nil)
  @TemplateID = templateid
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • TemplateID:

    模板id

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



373
374
375
# File 'lib/v20201002/models.rb', line 373

def RequestId
  @RequestId
end

#TemplateIDObject

Parameters:

  • TemplateID:

    模板id

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



373
374
375
# File 'lib/v20201002/models.rb', line 373

def TemplateID
  @TemplateID
end

Instance Method Details

#deserialize(params) ⇒ Object



380
381
382
383
# File 'lib/v20201002/models.rb', line 380

def deserialize(params)
  @TemplateID = params['TemplateID']
  @RequestId = params['RequestId']
end