Class: TencentCloud::Billing::V20180709::BillBusinessLink

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

Overview

产品级联筛选值

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#BusinessCodeObject

Parameters:

  • BusinessCode:

    产品编码

  • BusinessCodeName:

    产品名称

  • Children:

    子产品



2165
2166
2167
# File 'lib/v20180709/models.rb', line 2165

def BusinessCode
  @BusinessCode
end

#BusinessCodeNameObject

Parameters:

  • BusinessCode:

    产品编码

  • BusinessCodeName:

    产品名称

  • Children:

    子产品



2165
2166
2167
# File 'lib/v20180709/models.rb', line 2165

def BusinessCodeName
  @BusinessCodeName
end

#ChildrenObject

Parameters:

  • BusinessCode:

    产品编码

  • BusinessCodeName:

    产品名称

  • Children:

    子产品



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