Class: TencentCloud::Billing::V20180709::DescribeAllocationBillConditionsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Billing::V20180709::DescribeAllocationBillConditionsResponse
- Defined in:
- lib/v20180709/models.rb
Overview
DescribeAllocationBillConditions返回参数结构体
Instance Attribute Summary collapse
- #ActionType ⇒ Object
- #AllocationTreeNode ⇒ Object
- #BillDay ⇒ Object
- #Business ⇒ Object
- #Component ⇒ Object
- #InstanceType ⇒ Object
- #Item ⇒ Object
- #OperateUin ⇒ Object
- #OwnerUin ⇒ Object
- #PayMode ⇒ Object
- #Product ⇒ Object
- #Project ⇒ Object
- #Region ⇒ Object
- #RequestId ⇒ Object
- #Tag ⇒ Object
- #TagKey ⇒ Object
- #Zone ⇒ 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, billday = nil, actiontype = nil, component = nil, zone = nil, allocationtreenode = nil, tagkey = nil, requestid = nil) ⇒ DescribeAllocationBillConditionsResponse
constructor
A new instance of DescribeAllocationBillConditionsResponse.
Constructor Details
#initialize(business = nil, product = nil, item = nil, region = nil, instancetype = nil, paymode = nil, project = nil, tag = nil, owneruin = nil, operateuin = nil, billday = nil, actiontype = nil, component = nil, zone = nil, allocationtreenode = nil, tagkey = nil, requestid = nil) ⇒ DescribeAllocationBillConditionsResponse
Returns a new instance of DescribeAllocationBillConditionsResponse.
5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 |
# File 'lib/v20180709/models.rb', line 5817 def initialize(business=nil, product=nil, item=nil, region=nil, instancetype=nil, paymode=nil, project=nil, tag=nil, owneruin=nil, operateuin=nil, billday=nil, actiontype=nil, component=nil, zone=nil, allocationtreenode=nil, tagkey=nil, requestid=nil) @Business = business @Product = product @Item = item @Region = region @InstanceType = instancetype @PayMode = paymode @Project = project @Tag = tag @OwnerUin = owneruin @OperateUin = operateuin @BillDay = billday @ActionType = actiontype @Component = component @Zone = zone @AllocationTreeNode = allocationtreenode @TagKey = tagkey @RequestId = requestid end |
Instance Attribute Details
#ActionType ⇒ Object
5815 5816 5817 |
# File 'lib/v20180709/models.rb', line 5815 def ActionType @ActionType end |
#AllocationTreeNode ⇒ Object
5815 5816 5817 |
# File 'lib/v20180709/models.rb', line 5815 def AllocationTreeNode @AllocationTreeNode end |
#BillDay ⇒ Object
5815 5816 5817 |
# File 'lib/v20180709/models.rb', line 5815 def BillDay @BillDay end |
#Business ⇒ Object
5815 5816 5817 |
# File 'lib/v20180709/models.rb', line 5815 def Business @Business end |
#Component ⇒ Object
5815 5816 5817 |
# File 'lib/v20180709/models.rb', line 5815 def Component @Component end |
#InstanceType ⇒ Object
5815 5816 5817 |
# File 'lib/v20180709/models.rb', line 5815 def InstanceType @InstanceType end |
#Item ⇒ Object
5815 5816 5817 |
# File 'lib/v20180709/models.rb', line 5815 def Item @Item end |
#OperateUin ⇒ Object
5815 5816 5817 |
# File 'lib/v20180709/models.rb', line 5815 def OperateUin @OperateUin end |
#OwnerUin ⇒ Object
5815 5816 5817 |
# File 'lib/v20180709/models.rb', line 5815 def OwnerUin @OwnerUin end |
#PayMode ⇒ Object
5815 5816 5817 |
# File 'lib/v20180709/models.rb', line 5815 def PayMode @PayMode end |
#Product ⇒ Object
5815 5816 5817 |
# File 'lib/v20180709/models.rb', line 5815 def Product @Product end |
#Project ⇒ Object
5815 5816 5817 |
# File 'lib/v20180709/models.rb', line 5815 def Project @Project end |
#Region ⇒ Object
5815 5816 5817 |
# File 'lib/v20180709/models.rb', line 5815 def Region @Region end |
#RequestId ⇒ Object
5815 5816 5817 |
# File 'lib/v20180709/models.rb', line 5815 def RequestId @RequestId end |
#Tag ⇒ Object
5815 5816 5817 |
# File 'lib/v20180709/models.rb', line 5815 def Tag @Tag end |
#TagKey ⇒ Object
5815 5816 5817 |
# File 'lib/v20180709/models.rb', line 5815 def TagKey @TagKey end |
#Zone ⇒ Object
5815 5816 5817 |
# File 'lib/v20180709/models.rb', line 5815 def Zone @Zone end |
Instance Method Details
#deserialize(params) ⇒ Object
5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 |
# File 'lib/v20180709/models.rb', line 5837 def deserialize(params) unless params['Business'].nil? @Business = [] params['Business'].each do |i| billbusiness_tmp = BillBusiness.new billbusiness_tmp.deserialize(i) @Business << billbusiness_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['BillDay'].nil? @BillDay = [] params['BillDay'].each do |i| billdays_tmp = BillDays.new billdays_tmp.deserialize(i) @BillDay << billdays_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 unless params['Component'].nil? @Component = [] params['Component'].each do |i| billcomponent_tmp = BillComponent.new billcomponent_tmp.deserialize(i) @Component << billcomponent_tmp end end unless params['Zone'].nil? @Zone = [] params['Zone'].each do |i| billzoneid_tmp = BillZoneId.new billzoneid_tmp.deserialize(i) @Zone << billzoneid_tmp end end unless params['AllocationTreeNode'].nil? @AllocationTreeNode = [] params['AllocationTreeNode'].each do |i| allocationtreenode_tmp = AllocationTreeNode.new allocationtreenode_tmp.deserialize(i) @AllocationTreeNode << allocationtreenode_tmp end end @TagKey = params['TagKey'] @RequestId = params['RequestId'] end |