Class: TencentCloud::Cdb::V20170320::CheckMigrateClusterResponse

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

Overview

CheckMigrateCluster返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#CheckResultObject

Parameters:

  • CheckResult:

    校验是否通过,通过为pass,失败为fail

  • Items:

    校验项

  • RequestId:

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



1806
1807
1808
# File 'lib/v20170320/models.rb', line 1806

def CheckResult
  @CheckResult
end

#ItemsObject

Parameters:

  • CheckResult:

    校验是否通过,通过为pass,失败为fail

  • Items:

    校验项

  • RequestId:

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



1806
1807
1808
# File 'lib/v20170320/models.rb', line 1806

def Items
  @Items
end

#RequestIdObject

Parameters:

  • CheckResult:

    校验是否通过,通过为pass,失败为fail

  • Items:

    校验项

  • RequestId:

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



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