Class: TencentCloud::Cme::V20191029::MaterialBasicInfo
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cme::V20191029::MaterialBasicInfo
- Extended by:
- Gem::Deprecate
- Defined in:
- lib/v20191029/models.rb
Overview
媒体基本信息。
Instance Attribute Summary collapse
-
#ClassPath ⇒ Object
- AUDIO :音频;
- VIDEO :视频;
- IMAGE :图片;
- LINK :链接.
- OTHER : 其他.
该字段已废弃。 注意:此字段可能返回 null,表示取不到有效值。. -
#CreateTime ⇒ Object
- AUDIO :音频;
- VIDEO :视频;
- IMAGE :图片;
- LINK :链接.
- OTHER : 其他.
该字段已废弃。 注意:此字段可能返回 null,表示取不到有效值。. -
#MaterialId ⇒ Object
- AUDIO :音频;
- VIDEO :视频;
- IMAGE :图片;
- LINK :链接.
- OTHER : 其他.
该字段已废弃。 注意:此字段可能返回 null,表示取不到有效值。. -
#MaterialType ⇒ Object
- AUDIO :音频;
- VIDEO :视频;
- IMAGE :图片;
- LINK :链接.
- OTHER : 其他.
该字段已废弃。 注意:此字段可能返回 null,表示取不到有效值。. -
#Name ⇒ Object
- AUDIO :音频;
- VIDEO :视频;
- IMAGE :图片;
- LINK :链接.
- OTHER : 其他.
该字段已废弃。 注意:此字段可能返回 null,表示取不到有效值。. -
#Owner ⇒ Object
- AUDIO :音频;
- VIDEO :视频;
- IMAGE :图片;
- LINK :链接.
- OTHER : 其他.
该字段已废弃。 注意:此字段可能返回 null,表示取不到有效值。. -
#PresetTagSet ⇒ Object
- AUDIO :音频;
- VIDEO :视频;
- IMAGE :图片;
- LINK :链接.
- OTHER : 其他.
该字段已废弃。 注意:此字段可能返回 null,表示取不到有效值。. -
#PreviewUrl ⇒ Object
- AUDIO :音频;
- VIDEO :视频;
- IMAGE :图片;
- LINK :链接.
- OTHER : 其他.
该字段已废弃。 注意:此字段可能返回 null,表示取不到有效值。. -
#TagInfoSet ⇒ Object
- AUDIO :音频;
- VIDEO :视频;
- IMAGE :图片;
- LINK :链接.
- OTHER : 其他.
该字段已废弃。 注意:此字段可能返回 null,表示取不到有效值。. -
#TagSet ⇒ Object
- AUDIO :音频;
- VIDEO :视频;
- IMAGE :图片;
- LINK :链接.
- OTHER : 其他.
该字段已废弃。 注意:此字段可能返回 null,表示取不到有效值。. -
#UpdateTime ⇒ Object
- AUDIO :音频;
- VIDEO :视频;
- IMAGE :图片;
- LINK :链接.
- OTHER : 其他.
该字段已废弃。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(materialid = nil, materialtype = nil, owner = nil, name = nil, createtime = nil, updatetime = nil, classpath = nil, presettagset = nil, tagset = nil, previewurl = nil, taginfoset = nil) ⇒ MaterialBasicInfo
constructor
A new instance of MaterialBasicInfo.
Constructor Details
#initialize(materialid = nil, materialtype = nil, owner = nil, name = nil, createtime = nil, updatetime = nil, classpath = nil, presettagset = nil, tagset = nil, previewurl = nil, taginfoset = nil) ⇒ MaterialBasicInfo
Returns a new instance of MaterialBasicInfo.
3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 |
# File 'lib/v20191029/models.rb', line 3593 def initialize(materialid=nil, materialtype=nil, owner=nil, name=nil, createtime=nil, updatetime=nil, classpath=nil, =nil, =nil, previewurl=nil, taginfoset=nil) @MaterialId = materialid @MaterialType = materialtype @Owner = owner @Name = name @CreateTime = createtime @UpdateTime = updatetime @ClassPath = classpath @PresetTagSet = @TagSet = @PreviewUrl = previewurl @TagInfoSet = taginfoset end |
Instance Attribute Details
#ClassPath ⇒ Object
3588 3589 3590 |
# File 'lib/v20191029/models.rb', line 3588 def ClassPath @ClassPath end |
#CreateTime ⇒ Object
3588 3589 3590 |
# File 'lib/v20191029/models.rb', line 3588 def CreateTime @CreateTime end |
#MaterialId ⇒ Object
3588 3589 3590 |
# File 'lib/v20191029/models.rb', line 3588 def MaterialId @MaterialId end |
#MaterialType ⇒ Object
3588 3589 3590 |
# File 'lib/v20191029/models.rb', line 3588 def MaterialType @MaterialType end |
#Name ⇒ Object
3588 3589 3590 |
# File 'lib/v20191029/models.rb', line 3588 def Name @Name end |
#Owner ⇒ Object
3588 3589 3590 |
# File 'lib/v20191029/models.rb', line 3588 def Owner @Owner end |
#PresetTagSet ⇒ Object
3588 3589 3590 |
# File 'lib/v20191029/models.rb', line 3588 def PresetTagSet @PresetTagSet end |
#PreviewUrl ⇒ Object
3588 3589 3590 |
# File 'lib/v20191029/models.rb', line 3588 def PreviewUrl @PreviewUrl end |
#TagInfoSet ⇒ Object
3588 3589 3590 |
# File 'lib/v20191029/models.rb', line 3588 def TagInfoSet @TagInfoSet end |
#TagSet ⇒ Object
3588 3589 3590 |
# File 'lib/v20191029/models.rb', line 3588 def TagSet @TagSet end |
#UpdateTime ⇒ Object
3588 3589 3590 |
# File 'lib/v20191029/models.rb', line 3588 def UpdateTime @UpdateTime end |
Instance Method Details
#deserialize(params) ⇒ Object
3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 |
# File 'lib/v20191029/models.rb', line 3607 def deserialize(params) @MaterialId = params['MaterialId'] @MaterialType = params['MaterialType'] unless params['Owner'].nil? @Owner = Entity.new @Owner.deserialize(params['Owner']) end @Name = params['Name'] @CreateTime = params['CreateTime'] @UpdateTime = params['UpdateTime'] @ClassPath = params['ClassPath'] unless params['PresetTagSet'].nil? @PresetTagSet = [] params['PresetTagSet'].each do |i| presettaginfo_tmp = PresetTagInfo.new presettaginfo_tmp.deserialize(i) @PresetTagSet << presettaginfo_tmp end end @TagSet = params['TagSet'] @PreviewUrl = params['PreviewUrl'] unless params['TagInfoSet'].nil? @TagInfoSet = [] params['TagInfoSet'].each do |i| materialtaginfo_tmp = MaterialTagInfo.new materialtaginfo_tmp.deserialize(i) @TagInfoSet << materialtaginfo_tmp end end end |