Class: TencentCloud::Vod::V20180717::CreateImageSpriteTask2017

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

Overview

视频截取雪碧图任务,该结构仅用于对 2017 (cloud.tencent.com/document/product/266/8101)接口发起的任务。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(taskid = nil, errcode = nil, message = nil, fileid = nil, definition = nil, totalcount = nil, imagespriteurlset = nil, webvtturl = nil) ⇒ CreateImageSpriteTask2017

Returns a new instance of CreateImageSpriteTask2017.



7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
# File 'lib/v20180717/models.rb', line 7167

def initialize(taskid=nil, errcode=nil, message=nil, fileid=nil, definition=nil, totalcount=nil, imagespriteurlset=nil, webvtturl=nil)
  @TaskId = taskid
  @ErrCode = errcode
  @Message = message
  @FileId = fileid
  @Definition = definition
  @TotalCount = totalcount
  @ImageSpriteUrlSet = imagespriteurlset
  @WebVttUrl = webvtturl
end

Instance Attribute Details

#DefinitionObject

<li>0:成功;</li> <li>其他值:失败。</li>

Parameters:



7165
7166
7167
# File 'lib/v20180717/models.rb', line 7165

def Definition
  @Definition
end

#ErrCodeObject

<li>0:成功;</li> <li>其他值:失败。</li>

Parameters:



7165
7166
7167
# File 'lib/v20180717/models.rb', line 7165

def ErrCode
  @ErrCode
end

#FileIdObject

<li>0:成功;</li> <li>其他值:失败。</li>

Parameters:



7165
7166
7167
# File 'lib/v20180717/models.rb', line 7165

def FileId
  @FileId
end

#ImageSpriteUrlSetObject

<li>0:成功;</li> <li>其他值:失败。</li>

Parameters:



7165
7166
7167
# File 'lib/v20180717/models.rb', line 7165

def ImageSpriteUrlSet
  @ImageSpriteUrlSet
end

#MessageObject

<li>0:成功;</li> <li>其他值:失败。</li>

Parameters:



7165
7166
7167
# File 'lib/v20180717/models.rb', line 7165

def Message
  @Message
end

#TaskIdObject

<li>0:成功;</li> <li>其他值:失败。</li>

Parameters:



7165
7166
7167
# File 'lib/v20180717/models.rb', line 7165

def TaskId
  @TaskId
end

#TotalCountObject

<li>0:成功;</li> <li>其他值:失败。</li>

Parameters:



7165
7166
7167
# File 'lib/v20180717/models.rb', line 7165

def TotalCount
  @TotalCount
end

#WebVttUrlObject

<li>0:成功;</li> <li>其他值:失败。</li>

Parameters:



7165
7166
7167
# File 'lib/v20180717/models.rb', line 7165

def WebVttUrl
  @WebVttUrl
end

Instance Method Details

#deserialize(params) ⇒ Object



7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
# File 'lib/v20180717/models.rb', line 7178

def deserialize(params)
  @TaskId = params['TaskId']
  @ErrCode = params['ErrCode']
  @Message = params['Message']
  @FileId = params['FileId']
  @Definition = params['Definition']
  @TotalCount = params['TotalCount']
  @ImageSpriteUrlSet = params['ImageSpriteUrlSet']
  @WebVttUrl = params['WebVttUrl']
end