Class: TencentCloud::Bh::V20230418::SearchCommandBySidResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Bh::V20230418::SearchCommandBySidResponse
- Defined in:
- lib/v20230418/models.rb
Overview
SearchCommandBySid返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, commandset = nil, requestid = nil) ⇒ SearchCommandBySidResponse
constructor
A new instance of SearchCommandBySidResponse.
Constructor Details
#initialize(totalcount = nil, commandset = nil, requestid = nil) ⇒ SearchCommandBySidResponse
Returns a new instance of SearchCommandBySidResponse.
5630 5631 5632 5633 5634 |
# File 'lib/v20230418/models.rb', line 5630 def initialize(totalcount=nil, commandset=nil, requestid=nil) @TotalCount = totalcount @CommandSet = commandset @RequestId = requestid end |
Instance Attribute Details
#CommandSet ⇒ Object
5628 5629 5630 |
# File 'lib/v20230418/models.rb', line 5628 def CommandSet @CommandSet end |
#RequestId ⇒ Object
5628 5629 5630 |
# File 'lib/v20230418/models.rb', line 5628 def RequestId @RequestId end |
#TotalCount ⇒ Object
5628 5629 5630 |
# File 'lib/v20230418/models.rb', line 5628 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 |
# File 'lib/v20230418/models.rb', line 5636 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 |