Class: TencentCloud::Mongodb::V20190725::DescribeInstanceParamsResponse

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

Overview

DescribeInstanceParams返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instanceenumparam = nil, instanceintegerparam = nil, instancetextparam = nil, instancemultiparam = nil, totalcount = nil, requestid = nil) ⇒ DescribeInstanceParamsResponse

Returns a new instance of DescribeInstanceParamsResponse.



2703
2704
2705
2706
2707
2708
2709
2710
# File 'lib/v20190725/models.rb', line 2703

def initialize(instanceenumparam=nil, instanceintegerparam=nil, instancetextparam=nil, instancemultiparam=nil, totalcount=nil, requestid=nil)
  @InstanceEnumParam = instanceenumparam
  @InstanceIntegerParam = instanceintegerparam
  @InstanceTextParam = instancetextparam
  @InstanceMultiParam = instancemultiparam
  @TotalCount = totalcount
  @RequestId = requestid
end

Instance Attribute Details

#InstanceEnumParamObject

Parameters:

  • InstanceEnumParam:

    参数值为枚举类型的参数集合。

  • InstanceIntegerParam:

    参数值为 Integer 类型的参数集合。

  • InstanceTextParam:

    参数值为 Text 类型的参数集合。

  • InstanceMultiParam:

    参数值为混合类型的参数集合。

  • TotalCount:

    当前实例支持修改的参数数量。

  • RequestId:

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



2701
2702
2703
# File 'lib/v20190725/models.rb', line 2701

def InstanceEnumParam
  @InstanceEnumParam
end

#InstanceIntegerParamObject

Parameters:

  • InstanceEnumParam:

    参数值为枚举类型的参数集合。

  • InstanceIntegerParam:

    参数值为 Integer 类型的参数集合。

  • InstanceTextParam:

    参数值为 Text 类型的参数集合。

  • InstanceMultiParam:

    参数值为混合类型的参数集合。

  • TotalCount:

    当前实例支持修改的参数数量。

  • RequestId:

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



2701
2702
2703
# File 'lib/v20190725/models.rb', line 2701

def InstanceIntegerParam
  @InstanceIntegerParam
end

#InstanceMultiParamObject

Parameters:

  • InstanceEnumParam:

    参数值为枚举类型的参数集合。

  • InstanceIntegerParam:

    参数值为 Integer 类型的参数集合。

  • InstanceTextParam:

    参数值为 Text 类型的参数集合。

  • InstanceMultiParam:

    参数值为混合类型的参数集合。

  • TotalCount:

    当前实例支持修改的参数数量。

  • RequestId:

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



2701
2702
2703
# File 'lib/v20190725/models.rb', line 2701

def InstanceMultiParam
  @InstanceMultiParam
end

#InstanceTextParamObject

Parameters:

  • InstanceEnumParam:

    参数值为枚举类型的参数集合。

  • InstanceIntegerParam:

    参数值为 Integer 类型的参数集合。

  • InstanceTextParam:

    参数值为 Text 类型的参数集合。

  • InstanceMultiParam:

    参数值为混合类型的参数集合。

  • TotalCount:

    当前实例支持修改的参数数量。

  • RequestId:

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



2701
2702
2703
# File 'lib/v20190725/models.rb', line 2701

def InstanceTextParam
  @InstanceTextParam
end

#RequestIdObject

Parameters:

  • InstanceEnumParam:

    参数值为枚举类型的参数集合。

  • InstanceIntegerParam:

    参数值为 Integer 类型的参数集合。

  • InstanceTextParam:

    参数值为 Text 类型的参数集合。

  • InstanceMultiParam:

    参数值为混合类型的参数集合。

  • TotalCount:

    当前实例支持修改的参数数量。

  • RequestId:

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



2701
2702
2703
# File 'lib/v20190725/models.rb', line 2701

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • InstanceEnumParam:

    参数值为枚举类型的参数集合。

  • InstanceIntegerParam:

    参数值为 Integer 类型的参数集合。

  • InstanceTextParam:

    参数值为 Text 类型的参数集合。

  • InstanceMultiParam:

    参数值为混合类型的参数集合。

  • TotalCount:

    当前实例支持修改的参数数量。

  • RequestId:

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



2701
2702
2703
# File 'lib/v20190725/models.rb', line 2701

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
# File 'lib/v20190725/models.rb', line 2712

def deserialize(params)
  unless params['InstanceEnumParam'].nil?
    @InstanceEnumParam = []
    params['InstanceEnumParam'].each do |i|
      instanceenumparam_tmp = InstanceEnumParam.new
      instanceenumparam_tmp.deserialize(i)
      @InstanceEnumParam << instanceenumparam_tmp
    end
  end
  unless params['InstanceIntegerParam'].nil?
    @InstanceIntegerParam = []
    params['InstanceIntegerParam'].each do |i|
      instanceintegerparam_tmp = InstanceIntegerParam.new
      instanceintegerparam_tmp.deserialize(i)
      @InstanceIntegerParam << instanceintegerparam_tmp
    end
  end
  unless params['InstanceTextParam'].nil?
    @InstanceTextParam = []
    params['InstanceTextParam'].each do |i|
      instancetextparam_tmp = InstanceTextParam.new
      instancetextparam_tmp.deserialize(i)
      @InstanceTextParam << instancetextparam_tmp
    end
  end
  unless params['InstanceMultiParam'].nil?
    @InstanceMultiParam = []
    params['InstanceMultiParam'].each do |i|
      instancemultiparam_tmp = InstanceMultiParam.new
      instancemultiparam_tmp.deserialize(i)
      @InstanceMultiParam << instancemultiparam_tmp
    end
  end
  @TotalCount = params['TotalCount']
  @RequestId = params['RequestId']
end