Class: TencentCloud::Tdai::V20250717::DescribeAgentsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdai::V20250717::DescribeAgentsResponse
- Defined in:
- lib/v20250717/models.rb
Overview
DescribeAgents返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, items = nil, requestid = nil) ⇒ DescribeAgentsResponse
constructor
A new instance of DescribeAgentsResponse.
Constructor Details
#initialize(totalcount = nil, items = nil, requestid = nil) ⇒ DescribeAgentsResponse
722 723 724 725 726 |
# File 'lib/v20250717/models.rb', line 722 def initialize(totalcount=nil, items=nil, requestid=nil) @TotalCount = totalcount @Items = items @RequestId = requestid end |
Instance Attribute Details
#Items ⇒ Object
720 721 722 |
# File 'lib/v20250717/models.rb', line 720 def Items @Items end |
#RequestId ⇒ Object
720 721 722 |
# File 'lib/v20250717/models.rb', line 720 def RequestId @RequestId end |
#TotalCount ⇒ Object
720 721 722 |
# File 'lib/v20250717/models.rb', line 720 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
728 729 730 731 732 733 734 735 736 737 738 739 |
# File 'lib/v20250717/models.rb', line 728 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Items'].nil? @Items = [] params['Items'].each do |i| agent_tmp = Agent.new agent_tmp.deserialize(i) @Items << agent_tmp end end @RequestId = params['RequestId'] end |