Class: TencentCloud::Bh::V20230418::SearchCommandBySidResponse

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

Overview

SearchCommandBySid返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#CommandSetObject

Parameters:

  • TotalCount:

    总记录数

  • CommandSet:

    命令列表

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



5628
5629
5630
# File 'lib/v20230418/models.rb', line 5628

def CommandSet
  @CommandSet
end

#RequestIdObject

Parameters:

  • TotalCount:

    总记录数

  • CommandSet:

    命令列表

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



5628
5629
5630
# File 'lib/v20230418/models.rb', line 5628

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    总记录数

  • CommandSet:

    命令列表

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



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