Class: TencentCloud::Cme::V20191029::MaterialImportedEvent

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(mediainfoset = nil, owner = nil, classpath = nil) ⇒ MaterialImportedEvent

Returns a new instance of MaterialImportedEvent.



3666
3667
3668
3669
3670
# File 'lib/v20191029/models.rb', line 3666

def initialize(mediainfoset=nil, owner=nil, classpath=nil)
  @MediaInfoSet = mediainfoset
  @Owner = owner
  @ClassPath = classpath
end

Instance Attribute Details

#ClassPathObject

Parameters:

  • MediaInfoSet:

    导入的媒体信息列表。

  • Owner:

    媒体归属。

  • ClassPath:

    媒体分类路径。



3664
3665
3666
# File 'lib/v20191029/models.rb', line 3664

def ClassPath
  @ClassPath
end

#MediaInfoSetObject

Parameters:

  • MediaInfoSet:

    导入的媒体信息列表。

  • Owner:

    媒体归属。

  • ClassPath:

    媒体分类路径。



3664
3665
3666
# File 'lib/v20191029/models.rb', line 3664

def MediaInfoSet
  @MediaInfoSet
end

#OwnerObject

Parameters:

  • MediaInfoSet:

    导入的媒体信息列表。

  • Owner:

    媒体归属。

  • ClassPath:

    媒体分类路径。



3664
3665
3666
# File 'lib/v20191029/models.rb', line 3664

def Owner
  @Owner
end

Instance Method Details

#deserialize(params) ⇒ Object



3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
# File 'lib/v20191029/models.rb', line 3672

def deserialize(params)
  unless params['MediaInfoSet'].nil?
    @MediaInfoSet = []
    params['MediaInfoSet'].each do |i|
      importmediainfo_tmp = ImportMediaInfo.new
      importmediainfo_tmp.deserialize(i)
      @MediaInfoSet << importmediainfo_tmp
    end
  end
  unless params['Owner'].nil?
    @Owner = Entity.new
    @Owner.deserialize(params['Owner'])
  end
  @ClassPath = params['ClassPath']
end