Class: TencentCloud::Billing::V20180709::DescribeAllocateConditionsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Billing::V20180709::DescribeAllocateConditionsResponse
- Defined in:
- lib/v20180709/models.rb
Overview
DescribeAllocateConditions返回参数结构体
Instance Attribute Summary collapse
- #ActionType ⇒ Object
- #Business ⇒ Object
- #InstanceType ⇒ Object
- #Item ⇒ Object
- #OperateUin ⇒ Object
- #OwnerUin ⇒ Object
- #PayMode ⇒ Object
- #Product ⇒ Object
- #Project ⇒ Object
- #Region ⇒ Object
- #RequestId ⇒ Object
- #Tag ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(business = nil, product = nil, item = nil, region = nil, instancetype = nil, paymode = nil, project = nil, tag = nil, owneruin = nil, operateuin = nil, actiontype = nil, requestid = nil) ⇒ DescribeAllocateConditionsResponse
constructor
A new instance of DescribeAllocateConditionsResponse.
Constructor Details
#initialize(business = nil, product = nil, item = nil, region = nil, instancetype = nil, paymode = nil, project = nil, tag = nil, owneruin = nil, operateuin = nil, actiontype = nil, requestid = nil) ⇒ DescribeAllocateConditionsResponse
Returns a new instance of DescribeAllocateConditionsResponse.
5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 |
# File 'lib/v20180709/models.rb', line 5586 def initialize(business=nil, product=nil, item=nil, region=nil, instancetype=nil, paymode=nil, project=nil, tag=nil, owneruin=nil, operateuin=nil, actiontype=nil, requestid=nil) @Business = business @Product = product @Item = item @Region = region @InstanceType = instancetype @PayMode = paymode @Project = project @Tag = tag @OwnerUin = owneruin @OperateUin = operateuin @ActionType = actiontype @RequestId = requestid end |
Instance Attribute Details
#ActionType ⇒ Object
5584 5585 5586 |
# File 'lib/v20180709/models.rb', line 5584 def ActionType @ActionType end |
#Business ⇒ Object
5584 5585 5586 |
# File 'lib/v20180709/models.rb', line 5584 def Business @Business end |
#InstanceType ⇒ Object
5584 5585 5586 |
# File 'lib/v20180709/models.rb', line 5584 def InstanceType @InstanceType end |
#Item ⇒ Object
5584 5585 5586 |
# File 'lib/v20180709/models.rb', line 5584 def Item @Item end |
#OperateUin ⇒ Object
5584 5585 5586 |
# File 'lib/v20180709/models.rb', line 5584 def OperateUin @OperateUin end |
#OwnerUin ⇒ Object
5584 5585 5586 |
# File 'lib/v20180709/models.rb', line 5584 def OwnerUin @OwnerUin end |
#PayMode ⇒ Object
5584 5585 5586 |
# File 'lib/v20180709/models.rb', line 5584 def PayMode @PayMode end |
#Product ⇒ Object
5584 5585 5586 |
# File 'lib/v20180709/models.rb', line 5584 def Product @Product end |
#Project ⇒ Object
5584 5585 5586 |
# File 'lib/v20180709/models.rb', line 5584 def Project @Project end |
#Region ⇒ Object
5584 5585 5586 |
# File 'lib/v20180709/models.rb', line 5584 def Region @Region end |
#RequestId ⇒ Object
5584 5585 5586 |
# File 'lib/v20180709/models.rb', line 5584 def RequestId @RequestId end |
#Tag ⇒ Object
5584 5585 5586 |
# File 'lib/v20180709/models.rb', line 5584 def Tag @Tag end |
Instance Method Details
#deserialize(params) ⇒ Object
5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 |
# File 'lib/v20180709/models.rb', line 5601 def deserialize(params) unless params['Business'].nil? @Business = [] params['Business'].each do |i| billbusinesslink_tmp = BillBusinessLink.new billbusinesslink_tmp.deserialize(i) @Business << billbusinesslink_tmp end end unless params['Product'].nil? @Product = [] params['Product'].each do |i| billproduct_tmp = BillProduct.new billproduct_tmp.deserialize(i) @Product << billproduct_tmp end end unless params['Item'].nil? @Item = [] params['Item'].each do |i| billitem_tmp = BillItem.new billitem_tmp.deserialize(i) @Item << billitem_tmp end end unless params['Region'].nil? @Region = [] params['Region'].each do |i| billregion_tmp = BillRegion.new billregion_tmp.deserialize(i) @Region << billregion_tmp end end unless params['InstanceType'].nil? @InstanceType = [] params['InstanceType'].each do |i| billinstancetype_tmp = BillInstanceType.new billinstancetype_tmp.deserialize(i) @InstanceType << billinstancetype_tmp end end unless params['PayMode'].nil? @PayMode = [] params['PayMode'].each do |i| billpaymode_tmp = BillPayMode.new billpaymode_tmp.deserialize(i) @PayMode << billpaymode_tmp end end unless params['Project'].nil? @Project = [] params['Project'].each do |i| billproject_tmp = BillProject.new billproject_tmp.deserialize(i) @Project << billproject_tmp end end unless params['Tag'].nil? @Tag = [] params['Tag'].each do |i| billtag_tmp = BillTag.new billtag_tmp.deserialize(i) @Tag << billtag_tmp end end unless params['OwnerUin'].nil? @OwnerUin = [] params['OwnerUin'].each do |i| billowneruin_tmp = BillOwnerUin.new billowneruin_tmp.deserialize(i) @OwnerUin << billowneruin_tmp end end unless params['OperateUin'].nil? @OperateUin = [] params['OperateUin'].each do |i| billoperateuin_tmp = BillOperateUin.new billoperateuin_tmp.deserialize(i) @OperateUin << billoperateuin_tmp end end unless params['ActionType'].nil? @ActionType = [] params['ActionType'].each do |i| billactiontype_tmp = BillActionType.new billactiontype_tmp.deserialize(i) @ActionType << billactiontype_tmp end end @RequestId = params['RequestId'] end |