Class: TencentCloud::Cdb::V20170320::DescribeBinlogsResponse

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

Overview

DescribeBinlogs返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of DescribeBinlogsResponse.



5599
5600
5601
5602
5603
# File 'lib/v20170320/models.rb', line 5599

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

Instance Attribute Details

#ItemsObject

Parameters:

  • TotalCount:

    符合查询条件的日志文件总数。

  • Items:

    符合查询条件的二进制日志文件详情。

  • RequestId:

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



5597
5598
5599
# File 'lib/v20170320/models.rb', line 5597

def Items
  @Items
end

#RequestIdObject

Parameters:

  • TotalCount:

    符合查询条件的日志文件总数。

  • Items:

    符合查询条件的二进制日志文件详情。

  • RequestId:

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



5597
5598
5599
# File 'lib/v20170320/models.rb', line 5597

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    符合查询条件的日志文件总数。

  • Items:

    符合查询条件的二进制日志文件详情。

  • RequestId:

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



5597
5598
5599
# File 'lib/v20170320/models.rb', line 5597

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
# File 'lib/v20170320/models.rb', line 5605

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