Class: TencentCloud::Tat::V20201028::DescribeAutomationAgentStatusResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tat::V20201028::DescribeAutomationAgentStatusResponse
- Defined in:
- lib/v20201028/models.rb
Overview
DescribeAutomationAgentStatus返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(automationagentset = nil, totalcount = nil, requestid = nil) ⇒ DescribeAutomationAgentStatusResponse
constructor
A new instance of DescribeAutomationAgentStatusResponse.
Constructor Details
#initialize(automationagentset = nil, totalcount = nil, requestid = nil) ⇒ DescribeAutomationAgentStatusResponse
Returns a new instance of DescribeAutomationAgentStatusResponse.
753 754 755 756 757 |
# File 'lib/v20201028/models.rb', line 753 def initialize(automationagentset=nil, totalcount=nil, requestid=nil) @AutomationAgentSet = automationagentset @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#AutomationAgentSet ⇒ Object
751 752 753 |
# File 'lib/v20201028/models.rb', line 751 def AutomationAgentSet @AutomationAgentSet end |
#RequestId ⇒ Object
751 752 753 |
# File 'lib/v20201028/models.rb', line 751 def RequestId @RequestId end |
#TotalCount ⇒ Object
751 752 753 |
# File 'lib/v20201028/models.rb', line 751 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
759 760 761 762 763 764 765 766 767 768 769 770 |
# File 'lib/v20201028/models.rb', line 759 def deserialize(params) unless params['AutomationAgentSet'].nil? @AutomationAgentSet = [] params['AutomationAgentSet'].each do |i| automationagentinfo_tmp = AutomationAgentInfo.new automationagentinfo_tmp.deserialize(i) @AutomationAgentSet << automationagentinfo_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |