Class: TencentCloud::Ams::V20200608::CreateBizConfigRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ams::V20200608::CreateBizConfigRequest
- Defined in:
- lib/v20200608/models.rb
Overview
CreateBizConfig请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(biztype = nil, mediamoderation = nil, bizname = nil, moderationcategories = nil) ⇒ CreateBizConfigRequest
constructor
A new instance of CreateBizConfigRequest.
Constructor Details
#initialize(biztype = nil, mediamoderation = nil, bizname = nil, moderationcategories = nil) ⇒ CreateBizConfigRequest
Returns a new instance of CreateBizConfigRequest.
459 460 461 462 463 464 |
# File 'lib/v20200608/models.rb', line 459 def initialize(biztype=nil, mediamoderation=nil, bizname=nil, moderationcategories=nil) @BizType = biztype @MediaModeration = mediamoderation @BizName = bizname @ModerationCategories = moderationcategories end |
Instance Attribute Details
#BizName ⇒ Object
457 458 459 |
# File 'lib/v20200608/models.rb', line 457 def BizName @BizName end |
#BizType ⇒ Object
457 458 459 |
# File 'lib/v20200608/models.rb', line 457 def BizType @BizType end |
#MediaModeration ⇒ Object
457 458 459 |
# File 'lib/v20200608/models.rb', line 457 def MediaModeration @MediaModeration end |
#ModerationCategories ⇒ Object
457 458 459 |
# File 'lib/v20200608/models.rb', line 457 def ModerationCategories @ModerationCategories end |
Instance Method Details
#deserialize(params) ⇒ Object
466 467 468 469 470 471 472 473 474 |
# File 'lib/v20200608/models.rb', line 466 def deserialize(params) @BizType = params['BizType'] unless params['MediaModeration'].nil? @MediaModeration = MediaModerationConfig.new @MediaModeration.deserialize(params['MediaModeration']) end @BizName = params['BizName'] @ModerationCategories = params['ModerationCategories'] end |