Class: TencentCloud::Hunyuan::V20230901::ToolCallFunction
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Hunyuan::V20230901::ToolCallFunction
- Defined in:
- lib/v20230901/models.rb
Overview
具体的function调用
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, arguments = nil) ⇒ ToolCallFunction
constructor
A new instance of ToolCallFunction.
Constructor Details
#initialize(name = nil, arguments = nil) ⇒ ToolCallFunction
Returns a new instance of ToolCallFunction.
2969 2970 2971 2972 |
# File 'lib/v20230901/models.rb', line 2969 def initialize(name=nil, arguments=nil) @Name = name @Arguments = arguments end |
Instance Attribute Details
#Arguments ⇒ Object
2967 2968 2969 |
# File 'lib/v20230901/models.rb', line 2967 def Arguments @Arguments end |
#Name ⇒ Object
2967 2968 2969 |
# File 'lib/v20230901/models.rb', line 2967 def Name @Name end |
Instance Method Details
#deserialize(params) ⇒ Object
2974 2975 2976 2977 |
# File 'lib/v20230901/models.rb', line 2974 def deserialize(params) @Name = params['Name'] @Arguments = params['Arguments'] end |