Class: TencentCloud::Ses::V20201002::TemplatesMetadata

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

Overview

模板列表结构

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(createdtimestamp = nil, templatename = nil, templatestatus = nil, templateid = nil, reviewreason = nil) ⇒ TemplatesMetadata

Returns a new instance of TemplatesMetadata.



1975
1976
1977
1978
1979
1980
1981
# File 'lib/v20201002/models.rb', line 1975

def initialize(createdtimestamp=nil, templatename=nil, templatestatus=nil, templateid=nil, reviewreason=nil)
  @CreatedTimestamp = createdtimestamp
  @TemplateName = templatename
  @TemplateStatus = templatestatus
  @TemplateID = templateid
  @ReviewReason = reviewreason
end

Instance Attribute Details

#CreatedTimestampObject

Parameters:

  • CreatedTimestamp:

    创建时间

  • TemplateName:

    模板名称

  • TemplateStatus:

    模板状态。1-审核中|0-已通过|2-拒绝|其它-不可用

  • TemplateID:

    模板ID

  • ReviewReason:

    审核原因



1973
1974
1975
# File 'lib/v20201002/models.rb', line 1973

def CreatedTimestamp
  @CreatedTimestamp
end

#ReviewReasonObject

Parameters:

  • CreatedTimestamp:

    创建时间

  • TemplateName:

    模板名称

  • TemplateStatus:

    模板状态。1-审核中|0-已通过|2-拒绝|其它-不可用

  • TemplateID:

    模板ID

  • ReviewReason:

    审核原因



1973
1974
1975
# File 'lib/v20201002/models.rb', line 1973

def ReviewReason
  @ReviewReason
end

#TemplateIDObject

Parameters:

  • CreatedTimestamp:

    创建时间

  • TemplateName:

    模板名称

  • TemplateStatus:

    模板状态。1-审核中|0-已通过|2-拒绝|其它-不可用

  • TemplateID:

    模板ID

  • ReviewReason:

    审核原因



1973
1974
1975
# File 'lib/v20201002/models.rb', line 1973

def TemplateID
  @TemplateID
end

#TemplateNameObject

Parameters:

  • CreatedTimestamp:

    创建时间

  • TemplateName:

    模板名称

  • TemplateStatus:

    模板状态。1-审核中|0-已通过|2-拒绝|其它-不可用

  • TemplateID:

    模板ID

  • ReviewReason:

    审核原因



1973
1974
1975
# File 'lib/v20201002/models.rb', line 1973

def TemplateName
  @TemplateName
end

#TemplateStatusObject

Parameters:

  • CreatedTimestamp:

    创建时间

  • TemplateName:

    模板名称

  • TemplateStatus:

    模板状态。1-审核中|0-已通过|2-拒绝|其它-不可用

  • TemplateID:

    模板ID

  • ReviewReason:

    审核原因



1973
1974
1975
# File 'lib/v20201002/models.rb', line 1973

def TemplateStatus
  @TemplateStatus
end

Instance Method Details

#deserialize(params) ⇒ Object



1983
1984
1985
1986
1987
1988
1989
# File 'lib/v20201002/models.rb', line 1983

def deserialize(params)
  @CreatedTimestamp = params['CreatedTimestamp']
  @TemplateName = params['TemplateName']
  @TemplateStatus = params['TemplateStatus']
  @TemplateID = params['TemplateID']
  @ReviewReason = params['ReviewReason']
end