lib/v20200910/models.rb in tencentcloud-sdk-mrs-3.0.940 vs lib/v20200910/models.rb in tencentcloud-sdk-mrs-3.0.941

- old
+ new

@@ -5398,16 +5398,19 @@ class ImageMaskAsyncRequest < TencentCloud::Common::AbstractModel # @param Image: 图片信息,目前只支持传图片base64 # @type Image: :class:`Tencentcloud::Mrs.v20200910.models.ImageInfo` # @param MaskFlag: 图片脱敏选项, 不传默认都脱敏 # @type MaskFlag: :class:`Tencentcloud::Mrs.v20200910.models.ImageMaskFlags` + # @param AutoFixImageDirection: 是否自动矫正图片方向 + # @type AutoFixImageDirection: Boolean - attr_accessor :Image, :MaskFlag + attr_accessor :Image, :MaskFlag, :AutoFixImageDirection - def initialize(image=nil, maskflag=nil) + def initialize(image=nil, maskflag=nil, autofiximagedirection=nil) @Image = image @MaskFlag = maskflag + @AutoFixImageDirection = autofiximagedirection end def deserialize(params) unless params['Image'].nil? @Image = ImageInfo.new @@ -5415,10 +5418,11 @@ end unless params['MaskFlag'].nil? @MaskFlag = ImageMaskFlags.new @MaskFlag.deserialize(params['MaskFlag']) end + @AutoFixImageDirection = params['AutoFixImageDirection'] end end # ImageMaskAsync返回参数结构体 class ImageMaskAsyncResponse < TencentCloud::Common::AbstractModel @@ -5473,16 +5477,19 @@ class ImageMaskRequest < TencentCloud::Common::AbstractModel # @param Image: 图片信息,目前只支持传图片base64 # @type Image: :class:`Tencentcloud::Mrs.v20200910.models.ImageInfo` # @param MaskFlag: 图片脱敏选项, 不传默认都脱敏 # @type MaskFlag: :class:`Tencentcloud::Mrs.v20200910.models.ImageMaskFlags` + # @param AutoFixImageDirection: 是否自动矫正图片方向 + # @type AutoFixImageDirection: Boolean - attr_accessor :Image, :MaskFlag + attr_accessor :Image, :MaskFlag, :AutoFixImageDirection - def initialize(image=nil, maskflag=nil) + def initialize(image=nil, maskflag=nil, autofiximagedirection=nil) @Image = image @MaskFlag = maskflag + @AutoFixImageDirection = autofiximagedirection end def deserialize(params) unless params['Image'].nil? @Image = ImageInfo.new @@ -5490,9 +5497,10 @@ end unless params['MaskFlag'].nil? @MaskFlag = ImageMaskFlags.new @MaskFlag.deserialize(params['MaskFlag']) end + @AutoFixImageDirection = params['AutoFixImageDirection'] end end # ImageMask返回参数结构体 class ImageMaskResponse < TencentCloud::Common::AbstractModel