Class: TencentCloud::Cdb::V20170320::DescribeDBImportRecordsResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::DescribeDBImportRecordsResponse
- Defined in:
- lib/v20170320/models.rb
Overview
DescribeDBImportRecords返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, items = nil, requestid = nil) ⇒ DescribeDBImportRecordsResponse
constructor
A new instance of DescribeDBImportRecordsResponse.
Constructor Details
#initialize(totalcount = nil, items = nil, requestid = nil) ⇒ DescribeDBImportRecordsResponse
Returns a new instance of DescribeDBImportRecordsResponse.
6026 6027 6028 6029 6030 |
# File 'lib/v20170320/models.rb', line 6026 def initialize(totalcount=nil, items=nil, requestid=nil) @TotalCount = totalcount @Items = items @RequestId = requestid end |
Instance Attribute Details
#Items ⇒ Object
6024 6025 6026 |
# File 'lib/v20170320/models.rb', line 6024 def Items @Items end |
#RequestId ⇒ Object
6024 6025 6026 |
# File 'lib/v20170320/models.rb', line 6024 def RequestId @RequestId end |
#TotalCount ⇒ Object
6024 6025 6026 |
# File 'lib/v20170320/models.rb', line 6024 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 |
# File 'lib/v20170320/models.rb', line 6032 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Items'].nil? @Items = [] params['Items'].each do |i| importrecord_tmp = ImportRecord.new importrecord_tmp.deserialize(i) @Items << importrecord_tmp end end @RequestId = params['RequestId'] end |