Class: TencentCloud::Billing::V20180709::BillBusinessLink
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Billing::V20180709::BillBusinessLink
- Defined in:
- lib/v20180709/models.rb
Overview
产品级联筛选值
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(businesscode = nil, businesscodename = nil, children = nil) ⇒ BillBusinessLink
constructor
A new instance of BillBusinessLink.
Constructor Details
#initialize(businesscode = nil, businesscodename = nil, children = nil) ⇒ BillBusinessLink
Returns a new instance of BillBusinessLink.
2167 2168 2169 2170 2171 |
# File 'lib/v20180709/models.rb', line 2167 def initialize(businesscode=nil, businesscodename=nil, children=nil) @BusinessCode = businesscode @BusinessCodeName = businesscodename @Children = children end |
Instance Attribute Details
#BusinessCode ⇒ Object
2165 2166 2167 |
# File 'lib/v20180709/models.rb', line 2165 def BusinessCode @BusinessCode end |
#BusinessCodeName ⇒ Object
2165 2166 2167 |
# File 'lib/v20180709/models.rb', line 2165 def BusinessCodeName @BusinessCodeName end |
#Children ⇒ Object
2165 2166 2167 |
# File 'lib/v20180709/models.rb', line 2165 def Children @Children end |
Instance Method Details
#deserialize(params) ⇒ Object
2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 |
# File 'lib/v20180709/models.rb', line 2173 def deserialize(params) @BusinessCode = params['BusinessCode'] @BusinessCodeName = params['BusinessCodeName'] unless params['Children'].nil? @Children = [] params['Children'].each do |i| billproductlink_tmp = BillProductLink.new billproductlink_tmp.deserialize(i) @Children << billproductlink_tmp end end end |