public class MainlandPermitOCRRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
MainlandPermitOCRRequest() |
MainlandPermitOCRRequest(MainlandPermitOCRRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getImageBase64()
Get The Base64-encoded value of the image.
|
String |
getImageUrl()
Get The URL of the image.
|
Boolean |
getRetProfile()
Get Whether to return the ID photo.
|
void |
setImageBase64(String ImageBase64)
Set The Base64-encoded value of the image.
|
void |
setImageUrl(String ImageUrl)
Set The URL of the image.
|
void |
setRetProfile(Boolean RetProfile)
Set Whether to return the ID photo.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public MainlandPermitOCRRequest()
public MainlandPermitOCRRequest(MainlandPermitOCRRequest source)
public String getImageBase64()
public void setImageBase64(String ImageBase64)
ImageBase64
- The Base64-encoded value of the image.
Supported image formats: PNG, JPG, and JPEG. GIF is currently not supported.
Supported image size: The downloaded image after Base64 encoding can be up to 7 MB. The download time of the image cannot exceed 3s.
Either `ImageUrl` or `ImageBase64` of the image must be provided. If both are provided, only `ImageUrl` is used.public String getImageUrl()
public void setImageUrl(String ImageUrl)
ImageUrl
- The URL of the image.
Supported image formats: PNG, JPG, and JPEG. GIF is currently not supported.
Supported image size: The downloaded image after Base64 encoding can be up to 7 MB. The download time of the image cannot exceed 3s.
We recommend that you store the image in Tencent Cloud for higher download speed and stability.
The download speed and stability of non-Tencent Cloud URLs may be low.public Boolean getRetProfile()
public void setRetProfile(Boolean RetProfile)
RetProfile
- Whether to return the ID photo. By default, the ID photo is not returned.Copyright © 2024. All rights reserved.