Class: TencentCloud::Cdb::V20170320::DescribeCloneListResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::DescribeCloneListResponse
- Defined in:
- lib/v20170320/models.rb
Overview
DescribeCloneList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, items = nil, requestid = nil) ⇒ DescribeCloneListResponse
constructor
A new instance of DescribeCloneListResponse.
Constructor Details
#initialize(totalcount = nil, items = nil, requestid = nil) ⇒ DescribeCloneListResponse
Returns a new instance of DescribeCloneListResponse.
5804 5805 5806 5807 5808 |
# File 'lib/v20170320/models.rb', line 5804 def initialize(totalcount=nil, items=nil, requestid=nil) @TotalCount = totalcount @Items = items @RequestId = requestid end |
Instance Attribute Details
#Items ⇒ Object
5802 5803 5804 |
# File 'lib/v20170320/models.rb', line 5802 def Items @Items end |
#RequestId ⇒ Object
5802 5803 5804 |
# File 'lib/v20170320/models.rb', line 5802 def RequestId @RequestId end |
#TotalCount ⇒ Object
5802 5803 5804 |
# File 'lib/v20170320/models.rb', line 5802 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 |
# File 'lib/v20170320/models.rb', line 5810 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Items'].nil? @Items = [] params['Items'].each do |i| cloneitem_tmp = CloneItem.new cloneitem_tmp.deserialize(i) @Items << cloneitem_tmp end end @RequestId = params['RequestId'] end |