Class: TencentCloud::Tdai::V20250717::AgentInstance
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdai::V20250717::AgentInstance
- Defined in:
- lib/v20250717/models.rb
Overview
智能体实例
Instance Attribute Summary collapse
- #AgentId ⇒ Object
- #AgentInternalName ⇒ Object
- #AgentName ⇒ Object
- #AgentType ⇒ Object
- #AgentVersion ⇒ Object
- #CreateTime ⇒ Object
- #InstanceId ⇒ Object
- #InstanceName ⇒ Object
- #Parameters ⇒ Object
- #Status ⇒ Object
- #Tags ⇒ Object
- #UpdateTime ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, instancename = nil, agentid = nil, agentname = nil, agentinternalname = nil, agenttype = nil, agentversion = nil, status = nil, parameters = nil, createtime = nil, updatetime = nil, tags = nil) ⇒ AgentInstance
constructor
A new instance of AgentInstance.
Constructor Details
#initialize(instanceid = nil, instancename = nil, agentid = nil, agentname = nil, agentinternalname = nil, agenttype = nil, agentversion = nil, status = nil, parameters = nil, createtime = nil, updatetime = nil, tags = nil) ⇒ AgentInstance
105 106 107 108 109 110 111 112 113 114 115 116 117 118 |
# File 'lib/v20250717/models.rb', line 105 def initialize(instanceid=nil, instancename=nil, agentid=nil, agentname=nil, agentinternalname=nil, agenttype=nil, agentversion=nil, status=nil, parameters=nil, createtime=nil, updatetime=nil, =nil) @InstanceId = instanceid @InstanceName = instancename @AgentId = agentid @AgentName = agentname @AgentInternalName = agentinternalname @AgentType = agenttype @AgentVersion = agentversion @Status = status @Parameters = parameters @CreateTime = createtime @UpdateTime = updatetime @Tags = end |
Instance Attribute Details
#AgentId ⇒ Object
103 104 105 |
# File 'lib/v20250717/models.rb', line 103 def AgentId @AgentId end |
#AgentInternalName ⇒ Object
103 104 105 |
# File 'lib/v20250717/models.rb', line 103 def AgentInternalName @AgentInternalName end |
#AgentName ⇒ Object
103 104 105 |
# File 'lib/v20250717/models.rb', line 103 def AgentName @AgentName end |
#AgentType ⇒ Object
103 104 105 |
# File 'lib/v20250717/models.rb', line 103 def AgentType @AgentType end |
#AgentVersion ⇒ Object
103 104 105 |
# File 'lib/v20250717/models.rb', line 103 def AgentVersion @AgentVersion end |
#CreateTime ⇒ Object
103 104 105 |
# File 'lib/v20250717/models.rb', line 103 def CreateTime @CreateTime end |
#InstanceId ⇒ Object
103 104 105 |
# File 'lib/v20250717/models.rb', line 103 def InstanceId @InstanceId end |
#InstanceName ⇒ Object
103 104 105 |
# File 'lib/v20250717/models.rb', line 103 def InstanceName @InstanceName end |
#Parameters ⇒ Object
103 104 105 |
# File 'lib/v20250717/models.rb', line 103 def Parameters @Parameters end |
#Status ⇒ Object
103 104 105 |
# File 'lib/v20250717/models.rb', line 103 def Status @Status end |
#Tags ⇒ Object
103 104 105 |
# File 'lib/v20250717/models.rb', line 103 def Tags @Tags end |
#UpdateTime ⇒ Object
103 104 105 |
# File 'lib/v20250717/models.rb', line 103 def UpdateTime @UpdateTime end |
Instance Method Details
#deserialize(params) ⇒ Object
120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 |
# File 'lib/v20250717/models.rb', line 120 def deserialize(params) @InstanceId = params['InstanceId'] @InstanceName = params['InstanceName'] @AgentId = params['AgentId'] @AgentName = params['AgentName'] @AgentInternalName = params['AgentInternalName'] @AgentType = params['AgentType'] @AgentVersion = params['AgentVersion'] @Status = params['Status'] unless params['Parameters'].nil? @Parameters = [] params['Parameters'].each do |i| parameter_tmp = Parameter.new parameter_tmp.deserialize(i) @Parameters << parameter_tmp end end @CreateTime = params['CreateTime'] @UpdateTime = params['UpdateTime'] unless params['Tags'].nil? @Tags = [] params['Tags'].each do |i| tagitem_tmp = TagItem.new tagitem_tmp.deserialize(i) @Tags << tagitem_tmp end end end |