Class: TencentCloud::Cynosdb::V20190107::DescribeClusterDetailDatabasesResponse

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

Overview

DescribeClusterDetailDatabases返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(dbinfos = nil, totalcount = nil, requestid = nil) ⇒ DescribeClusterDetailDatabasesResponse

Returns a new instance of DescribeClusterDetailDatabasesResponse.



5812
5813
5814
5815
5816
# File 'lib/v20190107/models.rb', line 5812

def initialize(dbinfos=nil, totalcount=nil, requestid=nil)
  @DbInfos = dbinfos
  @TotalCount = totalcount
  @RequestId = requestid
end

Instance Attribute Details

#DbInfosObject

Parameters:

  • DbInfos:

    数据库信息

  • TotalCount:

    总数

  • RequestId:

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



5810
5811
5812
# File 'lib/v20190107/models.rb', line 5810

def DbInfos
  @DbInfos
end

#RequestIdObject

Parameters:

  • DbInfos:

    数据库信息

  • TotalCount:

    总数

  • RequestId:

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



5810
5811
5812
# File 'lib/v20190107/models.rb', line 5810

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • DbInfos:

    数据库信息

  • TotalCount:

    总数

  • RequestId:

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



5810
5811
5812
# File 'lib/v20190107/models.rb', line 5810

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
# File 'lib/v20190107/models.rb', line 5818

def deserialize(params)
  unless params['DbInfos'].nil?
    @DbInfos = []
    params['DbInfos'].each do |i|
      dbinfo_tmp = DbInfo.new
      dbinfo_tmp.deserialize(i)
      @DbInfos << dbinfo_tmp
    end
  end
  @TotalCount = params['TotalCount']
  @RequestId = params['RequestId']
end