Class: TencentCloud::Billing::V20180709::AnalyseConditionDetail

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180709/models.rb

Overview

成本分析过滤框复杂类型

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#ActionTypeObject

Parameters:

  • Business:

    产品

  • Project:

    项目

  • Region:

    地域

  • PayMode:

    计费模式

  • ActionType:

    交易类型

  • Zone:

    可用区

  • OwnerUin:

    资源所有者Uin

  • Amount:

    费用类型



1752
1753
1754
# File 'lib/v20180709/models.rb', line 1752

def ActionType
  @ActionType
end

#AmountObject

Parameters:

  • Business:

    产品

  • Project:

    项目

  • Region:

    地域

  • PayMode:

    计费模式

  • ActionType:

    交易类型

  • Zone:

    可用区

  • OwnerUin:

    资源所有者Uin

  • Amount:

    费用类型



1752
1753
1754
# File 'lib/v20180709/models.rb', line 1752

def Amount
  @Amount
end

#BusinessObject

Parameters:

  • Business:

    产品

  • Project:

    项目

  • Region:

    地域

  • PayMode:

    计费模式

  • ActionType:

    交易类型

  • Zone:

    可用区

  • OwnerUin:

    资源所有者Uin

  • Amount:

    费用类型



1752
1753
1754
# File 'lib/v20180709/models.rb', line 1752

def Business
  @Business
end

#OwnerUinObject

Parameters:

  • Business:

    产品

  • Project:

    项目

  • Region:

    地域

  • PayMode:

    计费模式

  • ActionType:

    交易类型

  • Zone:

    可用区

  • OwnerUin:

    资源所有者Uin

  • Amount:

    费用类型



1752
1753
1754
# File 'lib/v20180709/models.rb', line 1752

def OwnerUin
  @OwnerUin
end

#PayModeObject

Parameters:

  • Business:

    产品

  • Project:

    项目

  • Region:

    地域

  • PayMode:

    计费模式

  • ActionType:

    交易类型

  • Zone:

    可用区

  • OwnerUin:

    资源所有者Uin

  • Amount:

    费用类型



1752
1753
1754
# File 'lib/v20180709/models.rb', line 1752

def PayMode
  @PayMode
end

#ProjectObject

Parameters:

  • Business:

    产品

  • Project:

    项目

  • Region:

    地域

  • PayMode:

    计费模式

  • ActionType:

    交易类型

  • Zone:

    可用区

  • OwnerUin:

    资源所有者Uin

  • Amount:

    费用类型



1752
1753
1754
# File 'lib/v20180709/models.rb', line 1752

def Project
  @Project
end

#RegionObject

Parameters:

  • Business:

    产品

  • Project:

    项目

  • Region:

    地域

  • PayMode:

    计费模式

  • ActionType:

    交易类型

  • Zone:

    可用区

  • OwnerUin:

    资源所有者Uin

  • Amount:

    费用类型



1752
1753
1754
# File 'lib/v20180709/models.rb', line 1752

def Region
  @Region
end

#ZoneObject

Parameters:

  • Business:

    产品

  • Project:

    项目

  • Region:

    地域

  • PayMode:

    计费模式

  • ActionType:

    交易类型

  • Zone:

    可用区

  • OwnerUin:

    资源所有者Uin

  • Amount:

    费用类型



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