Class: TencentCloud::Tci::V20190318::SubmitImageTaskRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tci::V20190318::SubmitImageTaskRequest
- Defined in:
- lib/v20190318/models.rb
Overview
SubmitImageTask请求参数结构体
Instance Attribute Summary collapse
- #EventsCallBack ⇒ Object
- #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, eventscallback = nil, frameinterval = nil, libraryset = nil, maxvideoduration = nil, simthreshold = nil) ⇒ SubmitImageTaskRequest
constructor
A new instance of SubmitImageTaskRequest.
Constructor Details
#initialize(filecontent = nil, filetype = nil, functions = nil, lightstandardset = nil, eventscallback = nil, frameinterval = nil, libraryset = nil, maxvideoduration = nil, simthreshold = nil) ⇒ SubmitImageTaskRequest
Returns a new instance of SubmitImageTaskRequest.
3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 |
# File 'lib/v20190318/models.rb', line 3751 def initialize(filecontent=nil, filetype=nil, functions=nil, lightstandardset=nil, eventscallback=nil, frameinterval=nil, libraryset=nil, maxvideoduration=nil, simthreshold=nil) @FileContent = filecontent @FileType = filetype @Functions = functions @LightStandardSet = lightstandardset @EventsCallBack = eventscallback @FrameInterval = frameinterval @LibrarySet = libraryset @MaxVideoDuration = maxvideoduration @SimThreshold = simthreshold end |
Instance Attribute Details
#EventsCallBack ⇒ Object
3749 3750 3751 |
# File 'lib/v20190318/models.rb', line 3749 def EventsCallBack @EventsCallBack end |
#FileContent ⇒ Object
3749 3750 3751 |
# File 'lib/v20190318/models.rb', line 3749 def FileContent @FileContent end |
#FileType ⇒ Object
3749 3750 3751 |
# File 'lib/v20190318/models.rb', line 3749 def FileType @FileType end |
#FrameInterval ⇒ Object
3749 3750 3751 |
# File 'lib/v20190318/models.rb', line 3749 def FrameInterval @FrameInterval end |
#Functions ⇒ Object
3749 3750 3751 |
# File 'lib/v20190318/models.rb', line 3749 def Functions @Functions end |
#LibrarySet ⇒ Object
3749 3750 3751 |
# File 'lib/v20190318/models.rb', line 3749 def LibrarySet @LibrarySet end |
#LightStandardSet ⇒ Object
3749 3750 3751 |
# File 'lib/v20190318/models.rb', line 3749 def LightStandardSet @LightStandardSet end |
#MaxVideoDuration ⇒ Object
3749 3750 3751 |
# File 'lib/v20190318/models.rb', line 3749 def MaxVideoDuration @MaxVideoDuration end |
#SimThreshold ⇒ Object
3749 3750 3751 |
# File 'lib/v20190318/models.rb', line 3749 def SimThreshold @SimThreshold end |
Instance Method Details
#deserialize(params) ⇒ Object
3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 |
# File 'lib/v20190318/models.rb', line 3763 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 @EventsCallBack = params['EventsCallBack'] @FrameInterval = params['FrameInterval'] @LibrarySet = params['LibrarySet'] @MaxVideoDuration = params['MaxVideoDuration'] @SimThreshold = params['SimThreshold'] end |