Class: TencentCloud::Billing::V20180709::DescribeDealsByCondResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Billing::V20180709::DescribeDealsByCondResponse
- Defined in:
- lib/v20180709/models.rb
Overview
DescribeDealsByCond返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(deals = nil, totalcount = nil, requestid = nil) ⇒ DescribeDealsByCondResponse
constructor
A new instance of DescribeDealsByCondResponse.
Constructor Details
#initialize(deals = nil, totalcount = nil, requestid = nil) ⇒ DescribeDealsByCondResponse
Returns a new instance of DescribeDealsByCondResponse.
8989 8990 8991 8992 8993 |
# File 'lib/v20180709/models.rb', line 8989 def initialize(deals=nil, totalcount=nil, requestid=nil) @Deals = deals @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#Deals ⇒ Object
8987 8988 8989 |
# File 'lib/v20180709/models.rb', line 8987 def Deals @Deals end |
#RequestId ⇒ Object
8987 8988 8989 |
# File 'lib/v20180709/models.rb', line 8987 def RequestId @RequestId end |
#TotalCount ⇒ Object
8987 8988 8989 |
# File 'lib/v20180709/models.rb', line 8987 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
8995 8996 8997 8998 8999 9000 9001 9002 9003 9004 9005 9006 |
# File 'lib/v20180709/models.rb', line 8995 def deserialize(params) unless params['Deals'].nil? @Deals = [] params['Deals'].each do |i| deal_tmp = Deal.new deal_tmp.deserialize(i) @Deals << deal_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |