Class: TencentCloud::Cdb::V20170320::CheckMigrateClusterResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::CheckMigrateClusterResponse
- Defined in:
- lib/v20170320/models.rb
Overview
CheckMigrateCluster返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(checkresult = nil, items = nil, requestid = nil) ⇒ CheckMigrateClusterResponse
constructor
A new instance of CheckMigrateClusterResponse.
Constructor Details
#initialize(checkresult = nil, items = nil, requestid = nil) ⇒ CheckMigrateClusterResponse
Returns a new instance of CheckMigrateClusterResponse.
1808 1809 1810 1811 1812 |
# File 'lib/v20170320/models.rb', line 1808 def initialize(checkresult=nil, items=nil, requestid=nil) @CheckResult = checkresult @Items = items @RequestId = requestid end |
Instance Attribute Details
#CheckResult ⇒ Object
1806 1807 1808 |
# File 'lib/v20170320/models.rb', line 1806 def CheckResult @CheckResult end |
#Items ⇒ Object
1806 1807 1808 |
# File 'lib/v20170320/models.rb', line 1806 def Items @Items end |
#RequestId ⇒ Object
1806 1807 1808 |
# File 'lib/v20170320/models.rb', line 1806 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 |
# File 'lib/v20170320/models.rb', line 1814 def deserialize(params) @CheckResult = params['CheckResult'] unless params['Items'].nil? @Items = [] params['Items'].each do |i| checkmigrateresult_tmp = CheckMigrateResult.new checkmigrateresult_tmp.deserialize(i) @Items << checkmigrateresult_tmp end end @RequestId = params['RequestId'] end |