Class: TencentCloud::Tci::V20190318::SubmitDoubleVideoHighlightsRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tci::V20190318::SubmitDoubleVideoHighlightsRequest
- Defined in:
- lib/v20190318/models.rb
Overview
SubmitDoubleVideoHighlights请求参数结构体
Instance Attribute Summary collapse
- #FileContent ⇒ Object
- #FrameInterval ⇒ Object
- #Functions ⇒ Object
- #LibIds ⇒ Object
- #PersonIds ⇒ Object
- #PersonInfoList ⇒ Object
- #SimThreshold ⇒ Object
- #TeacherFileContent ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(filecontent = nil, libids = nil, functions = nil, personinfolist = nil, frameinterval = nil, personids = nil, simthreshold = nil, teacherfilecontent = nil) ⇒ SubmitDoubleVideoHighlightsRequest
constructor
A new instance of SubmitDoubleVideoHighlightsRequest.
Constructor Details
#initialize(filecontent = nil, libids = nil, functions = nil, personinfolist = nil, frameinterval = nil, personids = nil, simthreshold = nil, teacherfilecontent = nil) ⇒ SubmitDoubleVideoHighlightsRequest
Returns a new instance of SubmitDoubleVideoHighlightsRequest.
3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 |
# File 'lib/v20190318/models.rb', line 3432 def initialize(filecontent=nil, libids=nil, functions=nil, personinfolist=nil, frameinterval=nil, personids=nil, simthreshold=nil, teacherfilecontent=nil) @FileContent = filecontent @LibIds = libids @Functions = functions @PersonInfoList = personinfolist @FrameInterval = frameinterval @PersonIds = personids @SimThreshold = simthreshold @TeacherFileContent = teacherfilecontent end |
Instance Attribute Details
#FileContent ⇒ Object
3430 3431 3432 |
# File 'lib/v20190318/models.rb', line 3430 def FileContent @FileContent end |
#FrameInterval ⇒ Object
3430 3431 3432 |
# File 'lib/v20190318/models.rb', line 3430 def FrameInterval @FrameInterval end |
#Functions ⇒ Object
3430 3431 3432 |
# File 'lib/v20190318/models.rb', line 3430 def Functions @Functions end |
#LibIds ⇒ Object
3430 3431 3432 |
# File 'lib/v20190318/models.rb', line 3430 def LibIds @LibIds end |
#PersonIds ⇒ Object
3430 3431 3432 |
# File 'lib/v20190318/models.rb', line 3430 def PersonIds @PersonIds end |
#PersonInfoList ⇒ Object
3430 3431 3432 |
# File 'lib/v20190318/models.rb', line 3430 def PersonInfoList @PersonInfoList end |
#SimThreshold ⇒ Object
3430 3431 3432 |
# File 'lib/v20190318/models.rb', line 3430 def SimThreshold @SimThreshold end |
#TeacherFileContent ⇒ Object
3430 3431 3432 |
# File 'lib/v20190318/models.rb', line 3430 def TeacherFileContent @TeacherFileContent end |
Instance Method Details
#deserialize(params) ⇒ Object
3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 |
# File 'lib/v20190318/models.rb', line 3443 def deserialize(params) @FileContent = params['FileContent'] @LibIds = params['LibIds'] unless params['Functions'].nil? @Functions = DoubleVideoFunction.new @Functions.deserialize(params['Functions']) end unless params['PersonInfoList'].nil? @PersonInfoList = [] params['PersonInfoList'].each do |i| personinfo_tmp = PersonInfo.new personinfo_tmp.deserialize(i) @PersonInfoList << personinfo_tmp end end @FrameInterval = params['FrameInterval'] @PersonIds = params['PersonIds'] @SimThreshold = params['SimThreshold'] @TeacherFileContent = params['TeacherFileContent'] end |