Class: TencentCloud::Ie::V20200304::MediaSourceInfo

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

Overview

编辑处理的媒体源

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(downinfo = nil, id = nil, type = nil) ⇒ MediaSourceInfo



2108
2109
2110
2111
2112
# File 'lib/v20200304/models.rb', line 2108

def initialize(downinfo=nil, id=nil, type=nil)
  @DownInfo = downinfo
  @Id = id
  @Type = type
end

Instance Attribute Details

#DownInfoObject

ID只能包含字母、数字、下划线、中划线,长读不能超过128。Video:视频Image:图片Audio:音频



2106
2107
2108
# File 'lib/v20200304/models.rb', line 2106

def DownInfo
  @DownInfo
end

#IdObject

ID只能包含字母、数字、下划线、中划线,长读不能超过128。Video:视频Image:图片Audio:音频



2106
2107
2108
# File 'lib/v20200304/models.rb', line 2106

def Id
  @Id
end

#TypeObject

ID只能包含字母、数字、下划线、中划线,长读不能超过128。Video:视频Image:图片Audio:音频



2106
2107
2108
# File 'lib/v20200304/models.rb', line 2106

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



2114
2115
2116
2117
2118
2119
2120
2121
# File 'lib/v20200304/models.rb', line 2114

def deserialize(params)
  unless params['DownInfo'].nil?
    @DownInfo = DownInfo.new
    @DownInfo.deserialize(params['DownInfo'])
  end
  @Id = params['Id']
  @Type = params['Type']
end