Class: TencentCloud::Tdai::V20250717::AgentInstance

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

Overview

智能体实例

Instance Attribute Summary collapse

Instance Method Summary collapse

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, tags=nil)
  @InstanceId = instanceid
  @InstanceName = instancename
  @AgentId = agentid
  @AgentName = agentname
  @AgentInternalName = agentinternalname
  @AgentType = agenttype
  @AgentVersion = agentversion
  @Status = status
  @Parameters = parameters
  @CreateTime = createtime
  @UpdateTime = updatetime
  @Tags = tags
end

Instance Attribute Details

#AgentIdObject



103
104
105
# File 'lib/v20250717/models.rb', line 103

def AgentId
  @AgentId
end

#AgentInternalNameObject



103
104
105
# File 'lib/v20250717/models.rb', line 103

def AgentInternalName
  @AgentInternalName
end

#AgentNameObject



103
104
105
# File 'lib/v20250717/models.rb', line 103

def AgentName
  @AgentName
end

#AgentTypeObject



103
104
105
# File 'lib/v20250717/models.rb', line 103

def AgentType
  @AgentType
end

#AgentVersionObject



103
104
105
# File 'lib/v20250717/models.rb', line 103

def AgentVersion
  @AgentVersion
end

#CreateTimeObject



103
104
105
# File 'lib/v20250717/models.rb', line 103

def CreateTime
  @CreateTime
end

#InstanceIdObject



103
104
105
# File 'lib/v20250717/models.rb', line 103

def InstanceId
  @InstanceId
end

#InstanceNameObject



103
104
105
# File 'lib/v20250717/models.rb', line 103

def InstanceName
  @InstanceName
end

#ParametersObject



103
104
105
# File 'lib/v20250717/models.rb', line 103

def Parameters
  @Parameters
end

#StatusObject



103
104
105
# File 'lib/v20250717/models.rb', line 103

def Status
  @Status
end

#TagsObject



103
104
105
# File 'lib/v20250717/models.rb', line 103

def Tags
  @Tags
end

#UpdateTimeObject



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