Class: TencentCloud::Sqlserver::V20180328::DescribeProductSpecResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Sqlserver::V20180328::DescribeProductSpecResponse
- Defined in:
- lib/v20180328/models.rb
Overview
DescribeProductSpec返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, specinfolist = nil, requestid = nil) ⇒ DescribeProductSpecResponse
constructor
A new instance of DescribeProductSpecResponse.
Constructor Details
#initialize(totalcount = nil, specinfolist = nil, requestid = nil) ⇒ DescribeProductSpecResponse
Returns a new instance of DescribeProductSpecResponse.
6026 6027 6028 6029 6030 |
# File 'lib/v20180328/models.rb', line 6026 def initialize(totalcount=nil, specinfolist=nil, requestid=nil) @TotalCount = totalcount @SpecInfoList = specinfolist @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
6024 6025 6026 |
# File 'lib/v20180328/models.rb', line 6024 def RequestId @RequestId end |
#SpecInfoList ⇒ Object
6024 6025 6026 |
# File 'lib/v20180328/models.rb', line 6024 def SpecInfoList @SpecInfoList end |
#TotalCount ⇒ Object
6024 6025 6026 |
# File 'lib/v20180328/models.rb', line 6024 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 |
# File 'lib/v20180328/models.rb', line 6032 def deserialize(params) @TotalCount = params['TotalCount'] unless params['SpecInfoList'].nil? @SpecInfoList = [] params['SpecInfoList'].each do |i| productspec_tmp = ProductSpec.new productspec_tmp.deserialize(i) @SpecInfoList << productspec_tmp end end @RequestId = params['RequestId'] end |