Class: TencentCloud::Ivld::V20210903::CreateCustomCategoryRequest

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

Overview

CreateCustomCategory请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(l1category = nil, l2category = nil) ⇒ CreateCustomCategoryRequest

Returns a new instance of CreateCustomCategoryRequest.



330
331
332
333
# File 'lib/v20210903/models.rb', line 330

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

Instance Attribute Details

#L1CategoryObject

Parameters:

  • L1Category:

    自定义一级类型

  • L2Category:

    自定义二级类型



328
329
330
# File 'lib/v20210903/models.rb', line 328

def L1Category
  @L1Category
end

#L2CategoryObject

Parameters:

  • L1Category:

    自定义一级类型

  • L2Category:

    自定义二级类型



328
329
330
# File 'lib/v20210903/models.rb', line 328

def L2Category
  @L2Category
end

Instance Method Details

#deserialize(params) ⇒ Object



335
336
337
338
# File 'lib/v20210903/models.rb', line 335

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