Class: TencentCloud::Vod::V20180717::CreateImageSpriteTask2017
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Vod::V20180717::CreateImageSpriteTask2017
- Defined in:
- lib/v20180717/models.rb
Overview
视频截取雪碧图任务,该结构仅用于对 2017 版(cloud.tencent.com/document/product/266/8101)接口发起的任务。
Instance Attribute Summary collapse
-
#Definition ⇒ Object
<li>0:成功;</li> <li>其他值:失败。</li>.
-
#ErrCode ⇒ Object
<li>0:成功;</li> <li>其他值:失败。</li>.
-
#FileId ⇒ Object
<li>0:成功;</li> <li>其他值:失败。</li>.
-
#ImageSpriteUrlSet ⇒ Object
<li>0:成功;</li> <li>其他值:失败。</li>.
-
#Message ⇒ Object
<li>0:成功;</li> <li>其他值:失败。</li>.
-
#TaskId ⇒ Object
<li>0:成功;</li> <li>其他值:失败。</li>.
-
#TotalCount ⇒ Object
<li>0:成功;</li> <li>其他值:失败。</li>.
-
#WebVttUrl ⇒ Object
<li>0:成功;</li> <li>其他值:失败。</li>.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(taskid = nil, errcode = nil, message = nil, fileid = nil, definition = nil, totalcount = nil, imagespriteurlset = nil, webvtturl = nil) ⇒ CreateImageSpriteTask2017
constructor
A new instance of CreateImageSpriteTask2017.
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, =nil, fileid=nil, definition=nil, totalcount=nil, imagespriteurlset=nil, webvtturl=nil) @TaskId = taskid @ErrCode = errcode @Message = @FileId = fileid @Definition = definition @TotalCount = totalcount @ImageSpriteUrlSet = imagespriteurlset @WebVttUrl = webvtturl end |
Instance Attribute Details
#Definition ⇒ Object
<li>0:成功;</li> <li>其他值:失败。</li>
7165 7166 7167 |
# File 'lib/v20180717/models.rb', line 7165 def Definition @Definition end |
#ErrCode ⇒ Object
<li>0:成功;</li> <li>其他值:失败。</li>
7165 7166 7167 |
# File 'lib/v20180717/models.rb', line 7165 def ErrCode @ErrCode end |
#FileId ⇒ Object
<li>0:成功;</li> <li>其他值:失败。</li>
7165 7166 7167 |
# File 'lib/v20180717/models.rb', line 7165 def FileId @FileId end |
#ImageSpriteUrlSet ⇒ Object
<li>0:成功;</li> <li>其他值:失败。</li>
7165 7166 7167 |
# File 'lib/v20180717/models.rb', line 7165 def ImageSpriteUrlSet @ImageSpriteUrlSet end |
#Message ⇒ Object
<li>0:成功;</li> <li>其他值:失败。</li>
7165 7166 7167 |
# File 'lib/v20180717/models.rb', line 7165 def Message @Message end |
#TaskId ⇒ Object
<li>0:成功;</li> <li>其他值:失败。</li>
7165 7166 7167 |
# File 'lib/v20180717/models.rb', line 7165 def TaskId @TaskId end |
#TotalCount ⇒ Object
<li>0:成功;</li> <li>其他值:失败。</li>
7165 7166 7167 |
# File 'lib/v20180717/models.rb', line 7165 def TotalCount @TotalCount end |
#WebVttUrl ⇒ Object
<li>0:成功;</li> <li>其他值:失败。</li>
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 |