Class: TencentCloud::Ims::V20201229::CreateImageModerationAsyncTaskRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ims::V20201229::CreateImageModerationAsyncTaskRequest
- Defined in:
- lib/v20201229/models.rb
Overview
CreateImageModerationAsyncTask请求参数结构体
Instance Attribute Summary collapse
- #BizType ⇒ Object
- #CallbackUrl ⇒ Object
- #DataId ⇒ Object
- #Device ⇒ Object
- #FileContent ⇒ Object
- #FileUrl ⇒ Object
- #Interval ⇒ Object
- #MaxFrames ⇒ Object
- #User ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(callbackurl = nil, biztype = nil, dataid = nil, filecontent = nil, fileurl = nil, interval = nil, maxframes = nil, user = nil, device = nil) ⇒ CreateImageModerationAsyncTaskRequest
constructor
A new instance of CreateImageModerationAsyncTaskRequest.
Constructor Details
#initialize(callbackurl = nil, biztype = nil, dataid = nil, filecontent = nil, fileurl = nil, interval = nil, maxframes = nil, user = nil, device = nil) ⇒ CreateImageModerationAsyncTaskRequest
Returns a new instance of CreateImageModerationAsyncTaskRequest.
43 44 45 46 47 48 49 50 51 52 53 |
# File 'lib/v20201229/models.rb', line 43 def initialize(callbackurl=nil, biztype=nil, dataid=nil, filecontent=nil, fileurl=nil, interval=nil, maxframes=nil, user=nil, device=nil) @CallbackUrl = callbackurl @BizType = biztype @DataId = dataid @FileContent = filecontent @FileUrl = fileurl @Interval = interval @MaxFrames = maxframes @User = user @Device = device end |
Instance Attribute Details
#BizType ⇒ Object
41 42 43 |
# File 'lib/v20201229/models.rb', line 41 def BizType @BizType end |
#CallbackUrl ⇒ Object
41 42 43 |
# File 'lib/v20201229/models.rb', line 41 def CallbackUrl @CallbackUrl end |
#DataId ⇒ Object
41 42 43 |
# File 'lib/v20201229/models.rb', line 41 def DataId @DataId end |
#Device ⇒ Object
41 42 43 |
# File 'lib/v20201229/models.rb', line 41 def Device @Device end |
#FileContent ⇒ Object
41 42 43 |
# File 'lib/v20201229/models.rb', line 41 def FileContent @FileContent end |
#FileUrl ⇒ Object
41 42 43 |
# File 'lib/v20201229/models.rb', line 41 def FileUrl @FileUrl end |
#Interval ⇒ Object
41 42 43 |
# File 'lib/v20201229/models.rb', line 41 def Interval @Interval end |
#MaxFrames ⇒ Object
41 42 43 |
# File 'lib/v20201229/models.rb', line 41 def MaxFrames @MaxFrames end |
#User ⇒ Object
41 42 43 |
# File 'lib/v20201229/models.rb', line 41 def User @User end |
Instance Method Details
#deserialize(params) ⇒ Object
55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 |
# File 'lib/v20201229/models.rb', line 55 def deserialize(params) @CallbackUrl = params['CallbackUrl'] @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 end |