public class CreatePersonSampleRequest extends AbstractModel
Constructor and Description |
---|
CreatePersonSampleRequest() |
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Get Figure description.
|
String[] |
getFaceContents()
Get String generated by [Base64-encoding](https://tools.ietf.org/html/rfc4648) a face image.
|
String |
getName()
Get Name of a figure.
|
String[] |
getTags()
Get Figure tag
Array length limit: 20 tags;
Tag length limit: 128 characters.
|
String[] |
getUsages()
Get Figure sample use case.
|
void |
setDescription(String Description)
Set Figure description.
|
void |
setFaceContents(String[] FaceContents)
Set String generated by [Base64-encoding](https://tools.ietf.org/html/rfc4648) a face image.
|
void |
setName(String Name)
Set Name of a figure.
|
void |
setTags(String[] Tags)
Set Figure tag
Array length limit: 20 tags;
Tag length limit: 128 characters.
|
void |
setUsages(String[] Usages)
Set Figure sample use case.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public String getName()
public void setName(String Name)
Name
- Name of a figure. Length limit: 20 characters.public String[] getUsages()
public void setUsages(String[] Usages)
Usages
- Figure sample use case. Valid values:
1. Recognition: It is used for content recognition, equivalent to `Recognition.Face`.
2. Review: It is used for content audit, equivalent to `Review.Face`.
3. All: It is used for content recognition and content audit, equivalent to 1+2 above.public String getDescription()
public void setDescription(String Description)
Description
- Figure description. Length limit: 1,024 characters.public String[] getFaceContents()
public void setFaceContents(String[] FaceContents)
FaceContents
- String generated by [Base64-encoding](https://tools.ietf.org/html/rfc4648) a face image. Only JPEG and PNG images are supported. Array length limit: 5 images.
Note: The image must be a relatively clear full-face photo of a figure in at least 200 * 200 px.public String[] getTags()
public void setTags(String[] Tags)
Tags
- Figure tag
Copyright © 2020. All rights reserved.