Class: TencentCloud::Tiia::V20190529::DetectEnvelopeRequest

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

Overview

DetectEnvelope请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(imageurl = nil, imagebase64 = nil) ⇒ DetectEnvelopeRequest

Returns a new instance of DetectEnvelopeRequest.



913
914
915
916
# File 'lib/v20190529/models.rb', line 913

def initialize(imageurl=nil, imagebase64=nil)
  @ImageUrl = imageurl
  @ImageBase64 = imagebase64
end

Instance Attribute Details

#ImageBase64Object

非腾讯云存储的Url速度和稳定性可能受一定影响。图片大小的限制为4M,图片像素的限制为4k。图片大小的限制为4M,图片像素的限制为4k。**注意:图片需要base64编码,并且要去掉编码头部。

Parameters:

  • ImageUrl:

    图片的URL地址。图片存储于腾讯云的Url可保障更高下载速度和稳定性,建议图片存储于腾讯云。

  • ImageBase64:

    图片经过base64编码的内容。与ImageUrl同时存在时优先使用ImageUrl字段。



911
912
913
# File 'lib/v20190529/models.rb', line 911

def ImageBase64
  @ImageBase64
end

#ImageUrlObject

非腾讯云存储的Url速度和稳定性可能受一定影响。图片大小的限制为4M,图片像素的限制为4k。图片大小的限制为4M,图片像素的限制为4k。**注意:图片需要base64编码,并且要去掉编码头部。

Parameters:

  • ImageUrl:

    图片的URL地址。图片存储于腾讯云的Url可保障更高下载速度和稳定性,建议图片存储于腾讯云。

  • ImageBase64:

    图片经过base64编码的内容。与ImageUrl同时存在时优先使用ImageUrl字段。



911
912
913
# File 'lib/v20190529/models.rb', line 911

def ImageUrl
  @ImageUrl
end

Instance Method Details

#deserialize(params) ⇒ Object



918
919
920
921
# File 'lib/v20190529/models.rb', line 918

def deserialize(params)
  @ImageUrl = params['ImageUrl']
  @ImageBase64 = params['ImageBase64']
end