Class: TencentCloud::Cme::V20191029::MaterialAddedEvent

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

Overview

媒体添加事件。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(materialidset = nil, owner = nil, classpath = nil) ⇒ MaterialAddedEvent

Returns a new instance of MaterialAddedEvent.



3540
3541
3542
3543
3544
# File 'lib/v20191029/models.rb', line 3540

def initialize(materialidset=nil, owner=nil, classpath=nil)
  @MaterialIdSet = materialidset
  @Owner = owner
  @ClassPath = classpath
end

Instance Attribute Details

#ClassPathObject

Parameters:

  • MaterialIdSet:

    添加的媒体 Id 列表。

  • Owner:

    添加的媒体归属。

  • ClassPath:

    添加的媒体分类路径。



3538
3539
3540
# File 'lib/v20191029/models.rb', line 3538

def ClassPath
  @ClassPath
end

#MaterialIdSetObject

Parameters:

  • MaterialIdSet:

    添加的媒体 Id 列表。

  • Owner:

    添加的媒体归属。

  • ClassPath:

    添加的媒体分类路径。



3538
3539
3540
# File 'lib/v20191029/models.rb', line 3538

def MaterialIdSet
  @MaterialIdSet
end

#OwnerObject

Parameters:

  • MaterialIdSet:

    添加的媒体 Id 列表。

  • Owner:

    添加的媒体归属。

  • ClassPath:

    添加的媒体分类路径。



3538
3539
3540
# File 'lib/v20191029/models.rb', line 3538

def Owner
  @Owner
end

Instance Method Details

#deserialize(params) ⇒ Object



3546
3547
3548
3549
3550
3551
3552
3553
# File 'lib/v20191029/models.rb', line 3546

def deserialize(params)
  @MaterialIdSet = params['MaterialIdSet']
  unless params['Owner'].nil?
    @Owner = Entity.new
    @Owner.deserialize(params['Owner'])
  end
  @ClassPath = params['ClassPath']
end