Class: TencentCloud::Tci::V20190318::SubmitHighlightsRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tci::V20190318::SubmitHighlightsRequest
- Defined in:
- lib/v20190318/models.rb
Overview
SubmitHighlights请求参数结构体
Instance Attribute Summary collapse
- #FileContent ⇒ Object
- #FileType ⇒ Object
- #FrameInterval ⇒ Object
- #Functions ⇒ Object
- #KeywordsLanguage ⇒ Object
- #KeywordsStrings ⇒ Object
- #LibIds ⇒ Object
- #MaxVideoDuration ⇒ Object
- #SimThreshold ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(functions = nil, filecontent = nil, filetype = nil, libids = nil, frameinterval = nil, keywordslanguage = nil, keywordsstrings = nil, maxvideoduration = nil, simthreshold = nil) ⇒ SubmitHighlightsRequest
constructor
A new instance of SubmitHighlightsRequest.
Constructor Details
#initialize(functions = nil, filecontent = nil, filetype = nil, libids = nil, frameinterval = nil, keywordslanguage = nil, keywordsstrings = nil, maxvideoduration = nil, simthreshold = nil) ⇒ SubmitHighlightsRequest
Returns a new instance of SubmitHighlightsRequest.
3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 |
# File 'lib/v20190318/models.rb', line 3587 def initialize(functions=nil, filecontent=nil, filetype=nil, libids=nil, frameinterval=nil, keywordslanguage=nil, keywordsstrings=nil, maxvideoduration=nil, simthreshold=nil) @Functions = functions @FileContent = filecontent @FileType = filetype @LibIds = libids @FrameInterval = frameinterval @KeywordsLanguage = keywordslanguage @KeywordsStrings = keywordsstrings @MaxVideoDuration = maxvideoduration @SimThreshold = simthreshold end |
Instance Attribute Details
#FileContent ⇒ Object
3585 3586 3587 |
# File 'lib/v20190318/models.rb', line 3585 def FileContent @FileContent end |
#FileType ⇒ Object
3585 3586 3587 |
# File 'lib/v20190318/models.rb', line 3585 def FileType @FileType end |
#FrameInterval ⇒ Object
3585 3586 3587 |
# File 'lib/v20190318/models.rb', line 3585 def FrameInterval @FrameInterval end |
#Functions ⇒ Object
3585 3586 3587 |
# File 'lib/v20190318/models.rb', line 3585 def Functions @Functions end |
#KeywordsLanguage ⇒ Object
3585 3586 3587 |
# File 'lib/v20190318/models.rb', line 3585 def KeywordsLanguage @KeywordsLanguage end |
#KeywordsStrings ⇒ Object
3585 3586 3587 |
# File 'lib/v20190318/models.rb', line 3585 def KeywordsStrings @KeywordsStrings end |
#LibIds ⇒ Object
3585 3586 3587 |
# File 'lib/v20190318/models.rb', line 3585 def LibIds @LibIds end |
#MaxVideoDuration ⇒ Object
3585 3586 3587 |
# File 'lib/v20190318/models.rb', line 3585 def MaxVideoDuration @MaxVideoDuration end |
#SimThreshold ⇒ Object
3585 3586 3587 |
# File 'lib/v20190318/models.rb', line 3585 def SimThreshold @SimThreshold end |
Instance Method Details
#deserialize(params) ⇒ Object
3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 |
# File 'lib/v20190318/models.rb', line 3599 def deserialize(params) unless params['Functions'].nil? @Functions = HLFunction.new @Functions.deserialize(params['Functions']) end @FileContent = params['FileContent'] @FileType = params['FileType'] @LibIds = params['LibIds'] @FrameInterval = params['FrameInterval'] @KeywordsLanguage = params['KeywordsLanguage'] @KeywordsStrings = params['KeywordsStrings'] @MaxVideoDuration = params['MaxVideoDuration'] @SimThreshold = params['SimThreshold'] end |