Class: TencentCloud::Hunyuan::V20230901::RelevantEntity

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

Overview

相关组织及人物

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, content = nil, reference = nil) ⇒ RelevantEntity

Returns a new instance of RelevantEntity.



2142
2143
2144
2145
2146
# File 'lib/v20230901/models.rb', line 2142

def initialize(name=nil, content=nil, reference=nil)
  @Name = name
  @Content = content
  @Reference = reference
end

Instance Attribute Details

#ContentObject

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

Parameters:

  • Name:

    相关组织及人物名称

  • Content:

    相关组织及人物内容

  • Reference:

    相关事件引用文章标号



2140
2141
2142
# File 'lib/v20230901/models.rb', line 2140

def Content
  @Content
end

#NameObject

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

Parameters:

  • Name:

    相关组织及人物名称

  • Content:

    相关组织及人物内容

  • Reference:

    相关事件引用文章标号



2140
2141
2142
# File 'lib/v20230901/models.rb', line 2140

def Name
  @Name
end

#ReferenceObject

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

Parameters:

  • Name:

    相关组织及人物名称

  • Content:

    相关组织及人物内容

  • Reference:

    相关事件引用文章标号



2140
2141
2142
# File 'lib/v20230901/models.rb', line 2140

def Reference
  @Reference
end

Instance Method Details

#deserialize(params) ⇒ Object



2148
2149
2150
2151
2152
# File 'lib/v20230901/models.rb', line 2148

def deserialize(params)
  @Name = params['Name']
  @Content = params['Content']
  @Reference = params['Reference']
end