Class: TencentCloud::Cdb::V20170320::DescribeUploadedFilesResponse

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

Overview

DescribeUploadedFiles返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, items = nil, requestid = nil) ⇒ DescribeUploadedFilesResponse

Returns a new instance of DescribeUploadedFilesResponse.



8656
8657
8658
8659
8660
# File 'lib/v20170320/models.rb', line 8656

def initialize(totalcount=nil, items=nil, requestid=nil)
  @TotalCount = totalcount
  @Items = items
  @RequestId = requestid
end

Instance Attribute Details

#ItemsObject

Parameters:

  • TotalCount:

    符合查询条件的SQL文件总数。

  • Items:

    返回的SQL文件列表。

  • RequestId:

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



8654
8655
8656
# File 'lib/v20170320/models.rb', line 8654

def Items
  @Items
end

#RequestIdObject

Parameters:

  • TotalCount:

    符合查询条件的SQL文件总数。

  • Items:

    返回的SQL文件列表。

  • RequestId:

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



8654
8655
8656
# File 'lib/v20170320/models.rb', line 8654

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    符合查询条件的SQL文件总数。

  • Items:

    返回的SQL文件列表。

  • RequestId:

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



8654
8655
8656
# File 'lib/v20170320/models.rb', line 8654

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
# File 'lib/v20170320/models.rb', line 8662

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['Items'].nil?
    @Items = []
    params['Items'].each do |i|
      sqlfileinfo_tmp = SqlFileInfo.new
      sqlfileinfo_tmp.deserialize(i)
      @Items << sqlfileinfo_tmp
    end
  end
  @RequestId = params['RequestId']
end