Class: TencentCloud::Tdai::V20250717::DescribeAgentInstancesResponse

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

Overview

DescribeAgentInstances返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, items = nil, requestid = nil) ⇒ DescribeAgentInstancesResponse



655
656
657
658
659
# File 'lib/v20250717/models.rb', line 655

def initialize(totalcount=nil, items=nil, requestid=nil)
  @TotalCount = totalcount
  @Items = items
  @RequestId = requestid
end

Instance Attribute Details

#ItemsObject



653
654
655
# File 'lib/v20250717/models.rb', line 653

def Items
  @Items
end

#RequestIdObject



653
654
655
# File 'lib/v20250717/models.rb', line 653

def RequestId
  @RequestId
end

#TotalCountObject



653
654
655
# File 'lib/v20250717/models.rb', line 653

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



661
662
663
664
665
666
667
668
669
670
671
672
# File 'lib/v20250717/models.rb', line 661

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['Items'].nil?
    @Items = []
    params['Items'].each do |i|
      agentinstance_tmp = AgentInstance.new
      agentinstance_tmp.deserialize(i)
      @Items << agentinstance_tmp
    end
  end
  @RequestId = params['RequestId']
end