Class: TencentCloud::Hunyuan::V20230901::Character
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Hunyuan::V20230901::Character
- Defined in:
- lib/v20230901/models.rb
Overview
人物描述
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, systemprompt = nil) ⇒ Character
constructor
A new instance of Character.
Constructor Details
#initialize(name = nil, systemprompt = nil) ⇒ Character
Returns a new instance of Character.
93 94 95 96 |
# File 'lib/v20230901/models.rb', line 93 def initialize(name=nil, systemprompt=nil) @Name = name @SystemPrompt = systemprompt end |
Instance Attribute Details
#Name ⇒ Object
91 92 93 |
# File 'lib/v20230901/models.rb', line 91 def Name @Name end |
#SystemPrompt ⇒ Object
91 92 93 |
# File 'lib/v20230901/models.rb', line 91 def SystemPrompt @SystemPrompt end |
Instance Method Details
#deserialize(params) ⇒ Object
98 99 100 101 |
# File 'lib/v20230901/models.rb', line 98 def deserialize(params) @Name = params['Name'] @SystemPrompt = params['SystemPrompt'] end |