Class: TencentCloud::Dasb::V20191018::SearchCommandBySidResponse

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

Overview

SearchCommandBySid返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, commandset = nil, requestid = nil) ⇒ SearchCommandBySidResponse



4497
4498
4499
4500
4501
# File 'lib/v20191018/models.rb', line 4497

def initialize(totalcount=nil, commandset=nil, requestid=nil)
  @TotalCount = totalcount
  @CommandSet = commandset
  @RequestId = requestid
end

Instance Attribute Details

#CommandSetObject



4495
4496
4497
# File 'lib/v20191018/models.rb', line 4495

def CommandSet
  @CommandSet
end

#RequestIdObject



4495
4496
4497
# File 'lib/v20191018/models.rb', line 4495

def RequestId
  @RequestId
end

#TotalCountObject



4495
4496
4497
# File 'lib/v20191018/models.rb', line 4495

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
# File 'lib/v20191018/models.rb', line 4503

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