Class: TencentCloud::Tdai::V20250717::Agent
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdai::V20250717::Agent
- Defined in:
- lib/v20250717/models.rb
Overview
智能体
Instance Attribute Summary collapse
- #AgentId ⇒ Object
- #AgentInternalName ⇒ Object
- #AgentName ⇒ Object
- #AgentStatus ⇒ Object
- #AgentType ⇒ Object
- #CreateTime ⇒ Object
- #Creator ⇒ Object
- #DefaultVersion ⇒ Object
- #Description ⇒ Object
- #Updater ⇒ Object
- #UpdateTime ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(agentid = nil, agentname = nil, agentinternalname = nil, agentstatus = nil, defaultversion = nil, agenttype = nil, description = nil, creator = nil, createtime = nil, updater = nil, updatetime = nil) ⇒ Agent
constructor
A new instance of Agent.
Constructor Details
#initialize(agentid = nil, agentname = nil, agentinternalname = nil, agentstatus = nil, defaultversion = nil, agenttype = nil, description = nil, creator = nil, createtime = nil, updater = nil, updatetime = nil) ⇒ Agent
Returns a new instance of Agent.
47 48 49 50 51 52 53 54 55 56 57 58 59 |
# File 'lib/v20250717/models.rb', line 47 def initialize(agentid=nil, agentname=nil, agentinternalname=nil, agentstatus=nil, defaultversion=nil, agenttype=nil, description=nil, creator=nil, createtime=nil, updater=nil, updatetime=nil) @AgentId = agentid @AgentName = agentname @AgentInternalName = agentinternalname @AgentStatus = agentstatus @DefaultVersion = defaultversion @AgentType = agenttype @Description = description @Creator = creator @CreateTime = createtime @Updater = updater @UpdateTime = updatetime end |
Instance Attribute Details
#AgentId ⇒ Object
45 46 47 |
# File 'lib/v20250717/models.rb', line 45 def AgentId @AgentId end |
#AgentInternalName ⇒ Object
45 46 47 |
# File 'lib/v20250717/models.rb', line 45 def AgentInternalName @AgentInternalName end |
#AgentName ⇒ Object
45 46 47 |
# File 'lib/v20250717/models.rb', line 45 def AgentName @AgentName end |
#AgentStatus ⇒ Object
45 46 47 |
# File 'lib/v20250717/models.rb', line 45 def AgentStatus @AgentStatus end |
#AgentType ⇒ Object
45 46 47 |
# File 'lib/v20250717/models.rb', line 45 def AgentType @AgentType end |
#CreateTime ⇒ Object
45 46 47 |
# File 'lib/v20250717/models.rb', line 45 def CreateTime @CreateTime end |
#Creator ⇒ Object
45 46 47 |
# File 'lib/v20250717/models.rb', line 45 def Creator @Creator end |
#DefaultVersion ⇒ Object
45 46 47 |
# File 'lib/v20250717/models.rb', line 45 def DefaultVersion @DefaultVersion end |
#Description ⇒ Object
45 46 47 |
# File 'lib/v20250717/models.rb', line 45 def Description @Description end |
#Updater ⇒ Object
45 46 47 |
# File 'lib/v20250717/models.rb', line 45 def Updater @Updater end |
#UpdateTime ⇒ Object
45 46 47 |
# File 'lib/v20250717/models.rb', line 45 def UpdateTime @UpdateTime end |
Instance Method Details
#deserialize(params) ⇒ Object
61 62 63 64 65 66 67 68 69 70 71 72 73 |
# File 'lib/v20250717/models.rb', line 61 def deserialize(params) @AgentId = params['AgentId'] @AgentName = params['AgentName'] @AgentInternalName = params['AgentInternalName'] @AgentStatus = params['AgentStatus'] @DefaultVersion = params['DefaultVersion'] @AgentType = params['AgentType'] @Description = params['Description'] @Creator = params['Creator'] @CreateTime = params['CreateTime'] @Updater = params['Updater'] @UpdateTime = params['UpdateTime'] end |