Class: TencentCloud::Keewidb::V20220308::DescribeInstanceParamsResponse

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

Overview

DescribeInstanceParams返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of DescribeInstanceParamsResponse.



977
978
979
980
981
982
983
984
# File 'lib/v20220308/models.rb', line 977

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

Instance Attribute Details

#InstanceEnumParamObject

Parameters:

  • TotalCount:

    实例参数总数量。

  • InstanceEnumParam:

    实例枚举类型参数数组。

  • InstanceIntegerParam:

    实例整型参数数组。

  • InstanceTextParam:

    实例字符型参数数组。

  • InstanceMultiParam:

    实例多选项型参数数组。

  • RequestId:

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



975
976
977
# File 'lib/v20220308/models.rb', line 975

def InstanceEnumParam
  @InstanceEnumParam
end

#InstanceIntegerParamObject

Parameters:

  • TotalCount:

    实例参数总数量。

  • InstanceEnumParam:

    实例枚举类型参数数组。

  • InstanceIntegerParam:

    实例整型参数数组。

  • InstanceTextParam:

    实例字符型参数数组。

  • InstanceMultiParam:

    实例多选项型参数数组。

  • RequestId:

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



975
976
977
# File 'lib/v20220308/models.rb', line 975

def InstanceIntegerParam
  @InstanceIntegerParam
end

#InstanceMultiParamObject

Parameters:

  • TotalCount:

    实例参数总数量。

  • InstanceEnumParam:

    实例枚举类型参数数组。

  • InstanceIntegerParam:

    实例整型参数数组。

  • InstanceTextParam:

    实例字符型参数数组。

  • InstanceMultiParam:

    实例多选项型参数数组。

  • RequestId:

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



975
976
977
# File 'lib/v20220308/models.rb', line 975

def InstanceMultiParam
  @InstanceMultiParam
end

#InstanceTextParamObject

Parameters:

  • TotalCount:

    实例参数总数量。

  • InstanceEnumParam:

    实例枚举类型参数数组。

  • InstanceIntegerParam:

    实例整型参数数组。

  • InstanceTextParam:

    实例字符型参数数组。

  • InstanceMultiParam:

    实例多选项型参数数组。

  • RequestId:

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



975
976
977
# File 'lib/v20220308/models.rb', line 975

def InstanceTextParam
  @InstanceTextParam
end

#RequestIdObject

Parameters:

  • TotalCount:

    实例参数总数量。

  • InstanceEnumParam:

    实例枚举类型参数数组。

  • InstanceIntegerParam:

    实例整型参数数组。

  • InstanceTextParam:

    实例字符型参数数组。

  • InstanceMultiParam:

    实例多选项型参数数组。

  • RequestId:

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



975
976
977
# File 'lib/v20220308/models.rb', line 975

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    实例参数总数量。

  • InstanceEnumParam:

    实例枚举类型参数数组。

  • InstanceIntegerParam:

    实例整型参数数组。

  • InstanceTextParam:

    实例字符型参数数组。

  • InstanceMultiParam:

    实例多选项型参数数组。

  • RequestId:

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



975
976
977
# File 'lib/v20220308/models.rb', line 975

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
# File 'lib/v20220308/models.rb', line 986

def deserialize(params)
  @TotalCount = params['TotalCount']
  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
  @RequestId = params['RequestId']
end