Class: TencentCloud::Cwp::V20180228::DescribeLogExportsResponse

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

Overview

DescribeLogExports返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, exports = nil, requestid = nil) ⇒ DescribeLogExportsResponse

Returns a new instance of DescribeLogExportsResponse.



16441
16442
16443
16444
16445
# File 'lib/v20180228/models.rb', line 16441

def initialize(totalcount=nil, exports=nil, requestid=nil)
  @TotalCount = totalcount
  @Exports = exports
  @RequestId = requestid
end

Instance Attribute Details

#ExportsObject

Parameters:

  • TotalCount:

    总数目

  • Exports:

    日志导出列表

  • RequestId:

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



16439
16440
16441
# File 'lib/v20180228/models.rb', line 16439

def Exports
  @Exports
end

#RequestIdObject

Parameters:

  • TotalCount:

    总数目

  • Exports:

    日志导出列表

  • RequestId:

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



16439
16440
16441
# File 'lib/v20180228/models.rb', line 16439

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    总数目

  • Exports:

    日志导出列表

  • RequestId:

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



16439
16440
16441
# File 'lib/v20180228/models.rb', line 16439

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



16447
16448
16449
16450
16451
16452
16453
16454
16455
16456
16457
16458
# File 'lib/v20180228/models.rb', line 16447

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['Exports'].nil?
    @Exports = []
    params['Exports'].each do |i|
      exportinfo_tmp = ExportInfo.new
      exportinfo_tmp.deserialize(i)
      @Exports << exportinfo_tmp
    end
  end
  @RequestId = params['RequestId']
end