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

Returns a new instance of 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

Parameters:

  • TotalCount:

    总记录数

  • CommandSet:

    命令列表

  • RequestId:

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



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

def CommandSet
  @CommandSet
end

#RequestIdObject

Parameters:

  • TotalCount:

    总记录数

  • CommandSet:

    命令列表

  • RequestId:

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



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

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    总记录数

  • CommandSet:

    命令列表

  • RequestId:

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



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