Class: TencentCloud::Solar::V20181011::ResourceTemplateHeader

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

Overview

素材模板消息标题的样例列表

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(content = nil, example = nil, keyarray = nil, templateid = nil, title = nil) ⇒ ResourceTemplateHeader

Returns a new instance of ResourceTemplateHeader.



1302
1303
1304
1305
1306
1307
1308
# File 'lib/v20181011/models.rb', line 1302

def initialize(content=nil, example=nil, keyarray=nil, templateid=nil, title=nil)
  @Content = content
  @Example = example
  @KeyArray = keyarray
  @TemplateId = templateid
  @Title = title
end

Instance Attribute Details

#Content ⇒ Object

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Content: —

    模板预览区内容

  • Example: —

    模板预览示例

  • KeyArray: —

    模板预览区域键数组

  • TemplateId: —

    模板id

  • Title: —

    模板标题



1300
1301
1302
# File 'lib/v20181011/models.rb', line 1300

def Content
  @Content
end

#Example ⇒ Object

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Content: —

    模板预览区内容

  • Example: —

    模板预览示例

  • KeyArray: —

    模板预览区域键数组

  • TemplateId: —

    模板id

  • Title: —

    模板标题



1300
1301
1302
# File 'lib/v20181011/models.rb', line 1300

def Example
  @Example
end

#KeyArray ⇒ Object

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Content: —

    模板预览区内容

  • Example: —

    模板预览示例

  • KeyArray: —

    模板预览区域键数组

  • TemplateId: —

    模板id

  • Title: —

    模板标题



1300
1301
1302
# File 'lib/v20181011/models.rb', line 1300

def KeyArray
  @KeyArray
end

#TemplateId ⇒ Object

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Content: —

    模板预览区内容

  • Example: —

    模板预览示例

  • KeyArray: —

    模板预览区域键数组

  • TemplateId: —

    模板id

  • Title: —

    模板标题



1300
1301
1302
# File 'lib/v20181011/models.rb', line 1300

def TemplateId
  @TemplateId
end

#Title ⇒ Object

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Content: —

    模板预览区内容

  • Example: —

    模板预览示例

  • KeyArray: —

    模板预览区域键数组

  • TemplateId: —

    模板id

  • Title: —

    模板标题



1300
1301
1302
# File 'lib/v20181011/models.rb', line 1300

def Title
  @Title
end

Instance Method Details

#deserialize(params) ⇒ Object



1310
1311
1312
1313
1314
1315
1316
# File 'lib/v20181011/models.rb', line 1310

def deserialize(params)
  @Content = params['Content']
  @Example = params['Example']
  @KeyArray = params['KeyArray']
  @TemplateId = params['TemplateId']
  @Title = params['Title']
end