Class: TencentCloud::Tat::V20201028::DescribeCommandsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tat::V20201028::DescribeCommandsResponse
- Defined in:
- lib/v20201028/models.rb
Overview
DescribeCommands返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, commandset = nil, requestid = nil) ⇒ DescribeCommandsResponse
constructor
A new instance of DescribeCommandsResponse.
Constructor Details
#initialize(totalcount = nil, commandset = nil, requestid = nil) ⇒ DescribeCommandsResponse
Returns a new instance of DescribeCommandsResponse.
830 831 832 833 834 |
# File 'lib/v20201028/models.rb', line 830 def initialize(totalcount=nil, commandset=nil, requestid=nil) @TotalCount = totalcount @CommandSet = commandset @RequestId = requestid end |
Instance Attribute Details
#CommandSet ⇒ Object
828 829 830 |
# File 'lib/v20201028/models.rb', line 828 def CommandSet @CommandSet end |
#RequestId ⇒ Object
828 829 830 |
# File 'lib/v20201028/models.rb', line 828 def RequestId @RequestId end |
#TotalCount ⇒ Object
828 829 830 |
# File 'lib/v20201028/models.rb', line 828 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
836 837 838 839 840 841 842 843 844 845 846 847 |
# File 'lib/v20201028/models.rb', line 836 def deserialize(params) @TotalCount = params['TotalCount'] unless params['CommandSet'].nil? @CommandSet = [] params['CommandSet'].each do |i| command_tmp = Command.new command_tmp.deserialize(i) @CommandSet << command_tmp end end @RequestId = params['RequestId'] end |