Class: TencentCloud::Sqlserver::V20180328::DescribeProductConfigResponse

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

Overview

DescribeProductConfig返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(specinfolist = nil, totalcount = nil, requestid = nil) ⇒ DescribeProductConfigResponse

Returns a new instance of DescribeProductConfigResponse.



5984
5985
5986
5987
5988
# File 'lib/v20180328/models.rb', line 5984

def initialize(specinfolist=nil, totalcount=nil, requestid=nil)
  @SpecInfoList = specinfolist
  @TotalCount = totalcount
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • SpecInfoList:

    规格信息数组

  • TotalCount:

    返回总共多少条数据

  • RequestId:

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



5982
5983
5984
# File 'lib/v20180328/models.rb', line 5982

def RequestId
  @RequestId
end

#SpecInfoListObject

Parameters:

  • SpecInfoList:

    规格信息数组

  • TotalCount:

    返回总共多少条数据

  • RequestId:

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



5982
5983
5984
# File 'lib/v20180328/models.rb', line 5982

def SpecInfoList
  @SpecInfoList
end

#TotalCountObject

Parameters:

  • SpecInfoList:

    规格信息数组

  • TotalCount:

    返回总共多少条数据

  • RequestId:

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



5982
5983
5984
# File 'lib/v20180328/models.rb', line 5982

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
# File 'lib/v20180328/models.rb', line 5990

def deserialize(params)
  unless params['SpecInfoList'].nil?
    @SpecInfoList = []
    params['SpecInfoList'].each do |i|
      specinfo_tmp = SpecInfo.new
      specinfo_tmp.deserialize(i)
      @SpecInfoList << specinfo_tmp
    end
  end
  @TotalCount = params['TotalCount']
  @RequestId = params['RequestId']
end