Class: TencentCloud::Ivld::V20210903::CustomCategory
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ivld::V20210903::CustomCategory
- Defined in:
- lib/v20210903/models.rb
Overview
自定义分类信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(categoryid = nil, l1category = nil, l2category = nil) ⇒ CustomCategory
constructor
A new instance of CustomCategory.
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
#CategoryId ⇒ Object
647 648 649 |
# File 'lib/v20210903/models.rb', line 647 def CategoryId @CategoryId end |
#L1Category ⇒ Object
647 648 649 |
# File 'lib/v20210903/models.rb', line 647 def L1Category @L1Category end |
#L2Category ⇒ Object
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 |