Class: TencentCloud::Hunyuan::V20230901::CreateThreadResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Hunyuan::V20230901::CreateThreadResponse
- Defined in:
- lib/v20230901/models.rb
Overview
CreateThread返回参数结构体
Instance Attribute Summary collapse
-
#CreatedAt ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#ID ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Object ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#ToolResources ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(id = nil, object = nil, createdat = nil, toolresources = nil, requestid = nil) ⇒ CreateThreadResponse
constructor
A new instance of CreateThreadResponse.
Constructor Details
#initialize(id = nil, object = nil, createdat = nil, toolresources = nil, requestid = nil) ⇒ CreateThreadResponse
Returns a new instance of CreateThreadResponse.
631 632 633 634 635 636 637 |
# File 'lib/v20230901/models.rb', line 631 def initialize(id=nil, object=nil, createdat=nil, toolresources=nil, requestid=nil) @ID = id @Object = object @CreatedAt = createdat @ToolResources = toolresources @RequestId = requestid end |
Instance Attribute Details
#CreatedAt ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
629 630 631 |
# File 'lib/v20230901/models.rb', line 629 def CreatedAt @CreatedAt end |
#ID ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
629 630 631 |
# File 'lib/v20230901/models.rb', line 629 def ID @ID end |
#Object ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
629 630 631 |
# File 'lib/v20230901/models.rb', line 629 def Object @Object end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
629 630 631 |
# File 'lib/v20230901/models.rb', line 629 def RequestId @RequestId end |
#ToolResources ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
629 630 631 |
# File 'lib/v20230901/models.rb', line 629 def ToolResources @ToolResources end |
Instance Method Details
#deserialize(params) ⇒ Object
639 640 641 642 643 644 645 646 647 648 |
# File 'lib/v20230901/models.rb', line 639 def deserialize(params) @ID = params['ID'] @Object = params['Object'] @CreatedAt = params['CreatedAt'] unless params['ToolResources'].nil? @ToolResources = ThreadToolResources.new @ToolResources.deserialize(params['ToolResources']) end @RequestId = params['RequestId'] end |