Class: TencentCloud::Tdai::V20250717::Parameter

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

Overview

智能体实例的参数值

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(key = nil, value = nil, valuetype = nil) ⇒ Parameter

Returns a new instance of Parameter.



1079
1080
1081
1082
1083
# File 'lib/v20250717/models.rb', line 1079

def initialize(key=nil, value=nil, valuetype=nil)
  @Key = key
  @Value = value
  @ValueType = valuetype
end

Instance Attribute Details

#KeyObject

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

Parameters:

  • Key:

    参数键

  • Value:

    参数值

  • ValueType:

    枚举值,可取值包括:string(字符串), int(整型), float(浮点型), bool(布尔型), struct(结构体), array(数组),



1077
1078
1079
# File 'lib/v20250717/models.rb', line 1077

def Key
  @Key
end

#ValueObject

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

Parameters:

  • Key:

    参数键

  • Value:

    参数值

  • ValueType:

    枚举值,可取值包括:string(字符串), int(整型), float(浮点型), bool(布尔型), struct(结构体), array(数组),



1077
1078
1079
# File 'lib/v20250717/models.rb', line 1077

def Value
  @Value
end

#ValueTypeObject

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

Parameters:

  • Key:

    参数键

  • Value:

    参数值

  • ValueType:

    枚举值,可取值包括:string(字符串), int(整型), float(浮点型), bool(布尔型), struct(结构体), array(数组),



1077
1078
1079
# File 'lib/v20250717/models.rb', line 1077

def ValueType
  @ValueType
end

Instance Method Details

#deserialize(params) ⇒ Object



1085
1086
1087
1088
1089
# File 'lib/v20250717/models.rb', line 1085

def deserialize(params)
  @Key = params['Key']
  @Value = params['Value']
  @ValueType = params['ValueType']
end