Class: TencentCloud::Ims::V20200713::ImageModerationRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ims::V20200713::ImageModerationRequest
- Defined in:
- lib/v20200713/models.rb
Overview
ImageModeration请求参数结构体
Instance Attribute Summary collapse
- #BizType ⇒ Object
- #DataId ⇒ Object
- #Device ⇒ Object
- #FileContent ⇒ Object
- #FileUrl ⇒ Object
- #Interval ⇒ Object
- #MaxFrames ⇒ Object
- #User ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(biztype = nil, dataid = nil, filecontent = nil, fileurl = nil, interval = nil, maxframes = nil, user = nil, device = 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) ⇒ ImageModerationRequest
Returns a new instance of ImageModerationRequest.
85 86 87 88 89 90 91 92 93 94 |
# File 'lib/v20200713/models.rb', line 85 def initialize(biztype=nil, dataid=nil, filecontent=nil, fileurl=nil, interval=nil, maxframes=nil, user=nil, device=nil) @BizType = biztype @DataId = dataid @FileContent = filecontent @FileUrl = fileurl @Interval = interval @MaxFrames = maxframes @User = user @Device = device end |
Instance Attribute Details
#BizType ⇒ Object
83 84 85 |
# File 'lib/v20200713/models.rb', line 83 def BizType @BizType end |
#DataId ⇒ Object
83 84 85 |
# File 'lib/v20200713/models.rb', line 83 def DataId @DataId end |
#Device ⇒ Object
83 84 85 |
# File 'lib/v20200713/models.rb', line 83 def Device @Device end |
#FileContent ⇒ Object
83 84 85 |
# File 'lib/v20200713/models.rb', line 83 def FileContent @FileContent end |
#FileUrl ⇒ Object
83 84 85 |
# File 'lib/v20200713/models.rb', line 83 def FileUrl @FileUrl end |
#Interval ⇒ Object
83 84 85 |
# File 'lib/v20200713/models.rb', line 83 def Interval @Interval end |
#MaxFrames ⇒ Object
83 84 85 |
# File 'lib/v20200713/models.rb', line 83 def MaxFrames @MaxFrames end |
#User ⇒ Object
83 84 85 |
# File 'lib/v20200713/models.rb', line 83 def User @User end |
Instance Method Details
#deserialize(params) ⇒ Object
96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 |
# File 'lib/v20200713/models.rb', line 96 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 end |