Class: TencentCloud::Vod::V20180717::ProcessImageRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180717/models.rb

Overview

ProcessImage请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(fileid = nil, operation = nil, subappid = nil, contentreviewinput = nil) ⇒ ProcessImageRequest



22359
22360
22361
22362
22363
22364
# File 'lib/v20180717/models.rb', line 22359

def initialize(fileid=nil, operation=nil, subappid=nil, contentreviewinput=nil)
  @FileId = fileid
  @Operation = operation
  @SubAppId = subappid
  @ContentReviewInput = contentreviewinput
end

Instance Attribute Details

#ContentReviewInputObject



22357
22358
22359
# File 'lib/v20180717/models.rb', line 22357

def ContentReviewInput
  @ContentReviewInput
end

#FileIdObject



22357
22358
22359
# File 'lib/v20180717/models.rb', line 22357

def FileId
  @FileId
end

#OperationObject



22357
22358
22359
# File 'lib/v20180717/models.rb', line 22357

def Operation
  @Operation
end

#SubAppIdObject



22357
22358
22359
# File 'lib/v20180717/models.rb', line 22357

def SubAppId
  @SubAppId
end

Instance Method Details

#deserialize(params) ⇒ Object



22366
22367
22368
22369
22370
22371
22372
22373
22374
# File 'lib/v20180717/models.rb', line 22366

def deserialize(params)
  @FileId = params['FileId']
  @Operation = params['Operation']
  @SubAppId = params['SubAppId']
  unless params['ContentReviewInput'].nil?
    @ContentReviewInput = ImageContentReviewInput.new
    @ContentReviewInput.deserialize(params['ContentReviewInput'])
  end
end