Class: TencentCloud::Cdb::V20170320::DescribeInstanceParamRecordsResponse

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

Overview

DescribeInstanceParamRecords返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of DescribeInstanceParamRecordsResponse.



7245
7246
7247
7248
7249
# File 'lib/v20170320/models.rb', line 7245

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。



7243
7244
7245
# File 'lib/v20170320/models.rb', line 7243

def Items
  @Items
end

#RequestIdObject

Parameters:

  • TotalCount:

    符合条件的记录数。

  • Items:

    参数修改记录。

  • RequestId:

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



7243
7244
7245
# File 'lib/v20170320/models.rb', line 7243

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    符合条件的记录数。

  • Items:

    参数修改记录。

  • RequestId:

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



7243
7244
7245
# File 'lib/v20170320/models.rb', line 7243

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
# File 'lib/v20170320/models.rb', line 7251

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