Class: TencentCloud::Ims::V20201229::ImageModerationRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ims::V20201229::ImageModerationRequest
- Defined in:
- lib/v20201229/models.rb
Overview
ImageModeration请求参数结构体
Instance Attribute Summary collapse
-
#BizType ⇒ Object
备注:不同Biztype关联不同的业务场景与识别能力策略,调用前请确认正确的Biztype。.
-
#DataId ⇒ Object
备注:不同Biztype关联不同的业务场景与识别能力策略,调用前请确认正确的Biztype。.
-
#Device ⇒ Object
备注:不同Biztype关联不同的业务场景与识别能力策略,调用前请确认正确的Biztype。.
-
#FileContent ⇒ Object
备注:不同Biztype关联不同的业务场景与识别能力策略,调用前请确认正确的Biztype。.
-
#FileUrl ⇒ Object
备注:不同Biztype关联不同的业务场景与识别能力策略,调用前请确认正确的Biztype。.
-
#Interval ⇒ Object
备注:不同Biztype关联不同的业务场景与识别能力策略,调用前请确认正确的Biztype。.
-
#MaxFrames ⇒ Object
备注:不同Biztype关联不同的业务场景与识别能力策略,调用前请确认正确的Biztype。.
-
#Type ⇒ Object
备注:不同Biztype关联不同的业务场景与识别能力策略,调用前请确认正确的Biztype。.
-
#User ⇒ Object
备注:不同Biztype关联不同的业务场景与识别能力策略,调用前请确认正确的Biztype。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(biztype = nil, dataid = nil, filecontent = nil, fileurl = nil, interval = nil, maxframes = nil, user = nil, device = nil, type = nil) ⇒ ImageModerationRequest
constructor
A new instance of ImageModerationRequest.
Constructor Details
#initialize(biztype = nil, dataid = nil, filecontent = nil, fileurl = nil, interval = nil, maxframes = nil, user = nil, device = nil, type = nil) ⇒ ImageModerationRequest
Returns a new instance of ImageModerationRequest.
163 164 165 166 167 168 169 170 171 172 173 |
# File 'lib/v20201229/models.rb', line 163 def initialize(biztype=nil, dataid=nil, filecontent=nil, fileurl=nil, interval=nil, maxframes=nil, user=nil, device=nil, type=nil) @BizType = biztype @DataId = dataid @FileContent = filecontent @FileUrl = fileurl @Interval = interval @MaxFrames = maxframes @User = user @Device = device @Type = type end |
Instance Attribute Details
#BizType ⇒ Object
备注:不同Biztype关联不同的业务场景与识别能力策略,调用前请确认正确的Biztype。
161 162 163 |
# File 'lib/v20201229/models.rb', line 161 def BizType @BizType end |
#DataId ⇒ Object
备注:不同Biztype关联不同的业务场景与识别能力策略,调用前请确认正确的Biztype。
161 162 163 |
# File 'lib/v20201229/models.rb', line 161 def DataId @DataId end |
#Device ⇒ Object
备注:不同Biztype关联不同的业务场景与识别能力策略,调用前请确认正确的Biztype。
161 162 163 |
# File 'lib/v20201229/models.rb', line 161 def Device @Device end |
#FileContent ⇒ Object
备注:不同Biztype关联不同的业务场景与识别能力策略,调用前请确认正确的Biztype。
161 162 163 |
# File 'lib/v20201229/models.rb', line 161 def FileContent @FileContent end |
#FileUrl ⇒ Object
备注:不同Biztype关联不同的业务场景与识别能力策略,调用前请确认正确的Biztype。
161 162 163 |
# File 'lib/v20201229/models.rb', line 161 def FileUrl @FileUrl end |
#Interval ⇒ Object
备注:不同Biztype关联不同的业务场景与识别能力策略,调用前请确认正确的Biztype。
161 162 163 |
# File 'lib/v20201229/models.rb', line 161 def Interval @Interval end |
#MaxFrames ⇒ Object
备注:不同Biztype关联不同的业务场景与识别能力策略,调用前请确认正确的Biztype。
161 162 163 |
# File 'lib/v20201229/models.rb', line 161 def MaxFrames @MaxFrames end |
#Type ⇒ Object
备注:不同Biztype关联不同的业务场景与识别能力策略,调用前请确认正确的Biztype。
161 162 163 |
# File 'lib/v20201229/models.rb', line 161 def Type @Type end |
#User ⇒ Object
备注:不同Biztype关联不同的业务场景与识别能力策略,调用前请确认正确的Biztype。
161 162 163 |
# File 'lib/v20201229/models.rb', line 161 def User @User end |
Instance Method Details
#deserialize(params) ⇒ Object
175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 |
# File 'lib/v20201229/models.rb', line 175 def deserialize(params) @BizType = params['BizType'] @DataId = params['DataId'] @FileContent = params['FileContent'] @FileUrl = params['FileUrl'] @Interval = params['Interval'] @MaxFrames = params['MaxFrames'] unless params['User'].nil? @User = User.new @User.deserialize(params['User']) end unless params['Device'].nil? @Device = Device.new @Device.deserialize(params['Device']) end @Type = params['Type'] end |