Class: TencentCloud::Billing::V20180709::BillProductLink
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Billing::V20180709::BillProductLink
- Defined in:
- lib/v20180709/models.rb
Overview
分账条件子产品筛选
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(productcode = nil, productcodename = nil, children = nil) ⇒ BillProductLink
constructor
A new instance of BillProductLink.
Constructor Details
#initialize(productcode = nil, productcodename = nil, children = nil) ⇒ BillProductLink
Returns a new instance of BillProductLink.
2898 2899 2900 2901 2902 |
# File 'lib/v20180709/models.rb', line 2898 def initialize(productcode=nil, productcodename=nil, children=nil) @ProductCode = productcode @ProductCodeName = productcodename @Children = children end |
Instance Attribute Details
#Children ⇒ Object
2896 2897 2898 |
# File 'lib/v20180709/models.rb', line 2896 def Children @Children end |
#ProductCode ⇒ Object
2896 2897 2898 |
# File 'lib/v20180709/models.rb', line 2896 def ProductCode @ProductCode end |
#ProductCodeName ⇒ Object
2896 2897 2898 |
# File 'lib/v20180709/models.rb', line 2896 def ProductCodeName @ProductCodeName end |
Instance Method Details
#deserialize(params) ⇒ Object
2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 |
# File 'lib/v20180709/models.rb', line 2904 def deserialize(params) @ProductCode = params['ProductCode'] @ProductCodeName = params['ProductCodeName'] unless params['Children'].nil? @Children = [] params['Children'].each do |i| billitem_tmp = BillItem.new billitem_tmp.deserialize(i) @Children << billitem_tmp end end end |