Class: TencentCloud::Billing::V20180709::AnalyseConditionDetail
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Billing::V20180709::AnalyseConditionDetail
- Defined in:
- lib/v20180709/models.rb
Overview
成本分析过滤框复杂类型
Instance Attribute Summary collapse
- #ActionType ⇒ Object
- #Amount ⇒ Object
- #Business ⇒ Object
- #OwnerUin ⇒ Object
- #PayMode ⇒ Object
- #Project ⇒ Object
- #Region ⇒ Object
- #Zone ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(business = nil, project = nil, region = nil, paymode = nil, actiontype = nil, zone = nil, owneruin = nil, amount = nil) ⇒ AnalyseConditionDetail
constructor
A new instance of AnalyseConditionDetail.
Constructor Details
#initialize(business = nil, project = nil, region = nil, paymode = nil, actiontype = nil, zone = nil, owneruin = nil, amount = nil) ⇒ AnalyseConditionDetail
Returns a new instance of AnalyseConditionDetail.
1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 |
# File 'lib/v20180709/models.rb', line 1754 def initialize(business=nil, project=nil, region=nil, paymode=nil, actiontype=nil, zone=nil, owneruin=nil, amount=nil) @Business = business @Project = project @Region = region @PayMode = paymode @ActionType = actiontype @Zone = zone @OwnerUin = owneruin @Amount = amount end |
Instance Attribute Details
#ActionType ⇒ Object
1752 1753 1754 |
# File 'lib/v20180709/models.rb', line 1752 def ActionType @ActionType end |
#Amount ⇒ Object
1752 1753 1754 |
# File 'lib/v20180709/models.rb', line 1752 def Amount @Amount end |
#Business ⇒ Object
1752 1753 1754 |
# File 'lib/v20180709/models.rb', line 1752 def Business @Business end |
#OwnerUin ⇒ Object
1752 1753 1754 |
# File 'lib/v20180709/models.rb', line 1752 def OwnerUin @OwnerUin end |
#PayMode ⇒ Object
1752 1753 1754 |
# File 'lib/v20180709/models.rb', line 1752 def PayMode @PayMode end |
#Project ⇒ Object
1752 1753 1754 |
# File 'lib/v20180709/models.rb', line 1752 def Project @Project end |
#Region ⇒ Object
1752 1753 1754 |
# File 'lib/v20180709/models.rb', line 1752 def Region @Region end |
#Zone ⇒ Object
1752 1753 1754 |
# File 'lib/v20180709/models.rb', line 1752 def Zone @Zone end |
Instance Method Details
#deserialize(params) ⇒ Object
1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 |
# File 'lib/v20180709/models.rb', line 1765 def deserialize(params) unless params['Business'].nil? @Business = [] params['Business'].each do |i| analysebusinessdetail_tmp = AnalyseBusinessDetail.new analysebusinessdetail_tmp.deserialize(i) @Business << analysebusinessdetail_tmp end end unless params['Project'].nil? @Project = [] params['Project'].each do |i| analyseprojectdetail_tmp = AnalyseProjectDetail.new analyseprojectdetail_tmp.deserialize(i) @Project << analyseprojectdetail_tmp end end unless params['Region'].nil? @Region = [] params['Region'].each do |i| analyseregiondetail_tmp = AnalyseRegionDetail.new analyseregiondetail_tmp.deserialize(i) @Region << analyseregiondetail_tmp end end unless params['PayMode'].nil? @PayMode = [] params['PayMode'].each do |i| analysepaymodedetail_tmp = AnalysePayModeDetail.new analysepaymodedetail_tmp.deserialize(i) @PayMode << analysepaymodedetail_tmp end end unless params['ActionType'].nil? @ActionType = [] params['ActionType'].each do |i| analyseactiontypedetail_tmp = AnalyseActionTypeDetail.new analyseactiontypedetail_tmp.deserialize(i) @ActionType << analyseactiontypedetail_tmp end end unless params['Zone'].nil? @Zone = [] params['Zone'].each do |i| analysezonedetail_tmp = AnalyseZoneDetail.new analysezonedetail_tmp.deserialize(i) @Zone << analysezonedetail_tmp end end unless params['OwnerUin'].nil? @OwnerUin = [] params['OwnerUin'].each do |i| analyseowneruindetail_tmp = AnalyseOwnerUinDetail.new analyseowneruindetail_tmp.deserialize(i) @OwnerUin << analyseowneruindetail_tmp end end unless params['Amount'].nil? @Amount = [] params['Amount'].each do |i| analyseamountdetail_tmp = AnalyseAmountDetail.new analyseamountdetail_tmp.deserialize(i) @Amount << analyseamountdetail_tmp end end end |