Class: TencentCloud::Tci::V20190318::SubmitImageTaskPlusRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tci::V20190318::SubmitImageTaskPlusRequest
- Defined in:
- lib/v20190318/models.rb
Overview
SubmitImageTaskPlus请求参数结构体
Instance Attribute Summary collapse
- #FileContent ⇒ Object
- #FileType ⇒ Object
- #FrameInterval ⇒ Object
- #Functions ⇒ Object
- #LibrarySet ⇒ Object
- #LightStandardSet ⇒ Object
- #MaxVideoDuration ⇒ Object
- #SimThreshold ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(filecontent = nil, filetype = nil, functions = nil, lightstandardset = nil, frameinterval = nil, libraryset = nil, maxvideoduration = nil, simthreshold = nil) ⇒ SubmitImageTaskPlusRequest
constructor
A new instance of SubmitImageTaskPlusRequest.
Constructor Details
#initialize(filecontent = nil, filetype = nil, functions = nil, lightstandardset = nil, frameinterval = nil, libraryset = nil, maxvideoduration = nil, simthreshold = nil) ⇒ SubmitImageTaskPlusRequest
Returns a new instance of SubmitImageTaskPlusRequest.
3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 |
# File 'lib/v20190318/models.rb', line 3656 def initialize(filecontent=nil, filetype=nil, functions=nil, lightstandardset=nil, frameinterval=nil, libraryset=nil, maxvideoduration=nil, simthreshold=nil) @FileContent = filecontent @FileType = filetype @Functions = functions @LightStandardSet = lightstandardset @FrameInterval = frameinterval @LibrarySet = libraryset @MaxVideoDuration = maxvideoduration @SimThreshold = simthreshold end |
Instance Attribute Details
#FileContent ⇒ Object
3654 3655 3656 |
# File 'lib/v20190318/models.rb', line 3654 def FileContent @FileContent end |
#FileType ⇒ Object
3654 3655 3656 |
# File 'lib/v20190318/models.rb', line 3654 def FileType @FileType end |
#FrameInterval ⇒ Object
3654 3655 3656 |
# File 'lib/v20190318/models.rb', line 3654 def FrameInterval @FrameInterval end |
#Functions ⇒ Object
3654 3655 3656 |
# File 'lib/v20190318/models.rb', line 3654 def Functions @Functions end |
#LibrarySet ⇒ Object
3654 3655 3656 |
# File 'lib/v20190318/models.rb', line 3654 def LibrarySet @LibrarySet end |
#LightStandardSet ⇒ Object
3654 3655 3656 |
# File 'lib/v20190318/models.rb', line 3654 def LightStandardSet @LightStandardSet end |
#MaxVideoDuration ⇒ Object
3654 3655 3656 |
# File 'lib/v20190318/models.rb', line 3654 def MaxVideoDuration @MaxVideoDuration end |
#SimThreshold ⇒ Object
3654 3655 3656 |
# File 'lib/v20190318/models.rb', line 3654 def SimThreshold @SimThreshold end |
Instance Method Details
#deserialize(params) ⇒ Object
3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 |
# File 'lib/v20190318/models.rb', line 3667 def deserialize(params) @FileContent = params['FileContent'] @FileType = params['FileType'] unless params['Functions'].nil? @Functions = ImageTaskFunction.new @Functions.deserialize(params['Functions']) end unless params['LightStandardSet'].nil? @LightStandardSet = [] params['LightStandardSet'].each do |i| lightstandard_tmp = LightStandard.new lightstandard_tmp.deserialize(i) @LightStandardSet << lightstandard_tmp end end @FrameInterval = params['FrameInterval'] @LibrarySet = params['LibrarySet'] @MaxVideoDuration = params['MaxVideoDuration'] @SimThreshold = params['SimThreshold'] end |