Class: TencentCloud::Dasb::V20191018::SearchCommandResponse

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

Overview

SearchCommand返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, commands = nil, requestid = nil) ⇒ SearchCommandResponse

Returns a new instance of SearchCommandResponse.



4593
4594
4595
4596
4597
# File 'lib/v20191018/models.rb', line 4593

def initialize(totalcount=nil, commands=nil, requestid=nil)
  @TotalCount = totalcount
  @Commands = commands
  @RequestId = requestid
end

Instance Attribute Details

#CommandsObject

Parameters:

  • TotalCount:

    总记录数

  • Commands:

    命令列表

  • RequestId:

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



4591
4592
4593
# File 'lib/v20191018/models.rb', line 4591

def Commands
  @Commands
end

#RequestIdObject

Parameters:

  • TotalCount:

    总记录数

  • Commands:

    命令列表

  • RequestId:

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



4591
4592
4593
# File 'lib/v20191018/models.rb', line 4591

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    总记录数

  • Commands:

    命令列表

  • RequestId:

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



4591
4592
4593
# File 'lib/v20191018/models.rb', line 4591

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
# File 'lib/v20191018/models.rb', line 4599

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['Commands'].nil?
    @Commands = []
    params['Commands'].each do |i|
      searchcommandresult_tmp = SearchCommandResult.new
      searchcommandresult_tmp.deserialize(i)
      @Commands << searchcommandresult_tmp
    end
  end
  @RequestId = params['RequestId']
end