Class: TencentCloud::Ivld::V20210903::CustomCategory

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

Overview

自定义分类信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(categoryid = nil, l1category = nil, l2category = nil) ⇒ CustomCategory

Returns a new instance of CustomCategory.



649
650
651
652
653
# File 'lib/v20210903/models.rb', line 649

def initialize(categoryid=nil, l1category=nil, l2category=nil)
  @CategoryId = categoryid
  @L1Category = l1category
  @L2Category = l2category
end

Instance Attribute Details

#CategoryIdObject

Parameters:

  • CategoryId:

    自定义分类ID

  • L1Category:

    一级自定义类型

  • L2Category:

    二级自定义类型



647
648
649
# File 'lib/v20210903/models.rb', line 647

def CategoryId
  @CategoryId
end

#L1CategoryObject

Parameters:

  • CategoryId:

    自定义分类ID

  • L1Category:

    一级自定义类型

  • L2Category:

    二级自定义类型



647
648
649
# File 'lib/v20210903/models.rb', line 647

def L1Category
  @L1Category
end

#L2CategoryObject

Parameters:

  • CategoryId:

    自定义分类ID

  • L1Category:

    一级自定义类型

  • L2Category:

    二级自定义类型



647
648
649
# File 'lib/v20210903/models.rb', line 647

def L2Category
  @L2Category
end

Instance Method Details

#deserialize(params) ⇒ Object



655
656
657
658
659
# File 'lib/v20210903/models.rb', line 655

def deserialize(params)
  @CategoryId = params['CategoryId']
  @L1Category = params['L1Category']
  @L2Category = params['L2Category']
end