Class: TencentCloud::Lighthouse::V20200324::DescribeModifyInstanceBundlesResponse

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

Overview

DescribeModifyInstanceBundles返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, modifybundleset = nil, requestid = nil) ⇒ DescribeModifyInstanceBundlesResponse

Returns a new instance of DescribeModifyInstanceBundlesResponse.



3811
3812
3813
3814
3815
# File 'lib/v20200324/models.rb', line 3811

def initialize(totalcount=nil, modifybundleset=nil, requestid=nil)
  @TotalCount = totalcount
  @ModifyBundleSet = modifybundleset
  @RequestId = requestid
end

Instance Attribute Details

#ModifyBundleSetObject

Parameters:

  • TotalCount:

    符合条件的套餐数量。

  • ModifyBundleSet:

    变更套餐详细信息。

  • RequestId:

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



3809
3810
3811
# File 'lib/v20200324/models.rb', line 3809

def ModifyBundleSet
  @ModifyBundleSet
end

#RequestIdObject

Parameters:

  • TotalCount:

    符合条件的套餐数量。

  • ModifyBundleSet:

    变更套餐详细信息。

  • RequestId:

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



3809
3810
3811
# File 'lib/v20200324/models.rb', line 3809

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    符合条件的套餐数量。

  • ModifyBundleSet:

    变更套餐详细信息。

  • RequestId:

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



3809
3810
3811
# File 'lib/v20200324/models.rb', line 3809

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
# File 'lib/v20200324/models.rb', line 3817

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['ModifyBundleSet'].nil?
    @ModifyBundleSet = []
    params['ModifyBundleSet'].each do |i|
      modifybundle_tmp = ModifyBundle.new
      modifybundle_tmp.deserialize(i)
      @ModifyBundleSet << modifybundle_tmp
    end
  end
  @RequestId = params['RequestId']
end