Class: TencentCloud::Sqlserver::V20180328::DescribeOrdersResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Sqlserver::V20180328::DescribeOrdersResponse
- Defined in:
- lib/v20180328/models.rb
Overview
DescribeOrders返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(deals = nil, totalcount = nil, requestid = nil) ⇒ DescribeOrdersResponse
constructor
A new instance of DescribeOrdersResponse.
Constructor Details
#initialize(deals = nil, totalcount = nil, requestid = nil) ⇒ DescribeOrdersResponse
Returns a new instance of DescribeOrdersResponse.
5933 5934 5935 5936 5937 |
# File 'lib/v20180328/models.rb', line 5933 def initialize(deals=nil, totalcount=nil, requestid=nil) @Deals = deals @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#Deals ⇒ Object
5931 5932 5933 |
# File 'lib/v20180328/models.rb', line 5931 def Deals @Deals end |
#RequestId ⇒ Object
5931 5932 5933 |
# File 'lib/v20180328/models.rb', line 5931 def RequestId @RequestId end |
#TotalCount ⇒ Object
5931 5932 5933 |
# File 'lib/v20180328/models.rb', line 5931 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 |
# File 'lib/v20180328/models.rb', line 5939 def deserialize(params) unless params['Deals'].nil? @Deals = [] params['Deals'].each do |i| dealinfo_tmp = DealInfo.new dealinfo_tmp.deserialize(i) @Deals << dealinfo_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |