Class: TencentCloud::Cdb::V20170320::DescribeDBInstanceRebootTimeResponse

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

Overview

DescribeDBInstanceRebootTime返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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



6321
6322
6323
6324
6325
# File 'lib/v20170320/models.rb', line 6321

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

Instance Attribute Details

#ItemsObject



6319
6320
6321
# File 'lib/v20170320/models.rb', line 6319

def Items
  @Items
end

#RequestIdObject



6319
6320
6321
# File 'lib/v20170320/models.rb', line 6319

def RequestId
  @RequestId
end

#TotalCountObject



6319
6320
6321
# File 'lib/v20170320/models.rb', line 6319

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
# File 'lib/v20170320/models.rb', line 6327

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