public class AiSampleFaceOperation extends AbstractModel
Constructor and Description |
---|
AiSampleFaceOperation() |
AiSampleFaceOperation(AiSampleFaceOperation 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[] |
getFaceContents()
Get String set generated by [Base64-encoding](https://tools.ietf.org/html/rfc4648) the face image.
|
String[] |
getFaceIds()
Get Face ID set.
|
String |
getType()
Get Operation type.
|
void |
setFaceContents(String[] FaceContents)
Set String set generated by [Base64-encoding](https://tools.ietf.org/html/rfc4648) the face image.
|
void |
setFaceIds(String[] FaceIds)
Set Face ID set.
|
void |
setType(String Type)
Set Operation type.
|
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 AiSampleFaceOperation()
public AiSampleFaceOperation(AiSampleFaceOperation source)
public String getType()
public void setType(String Type)
Type
- Operation type. Valid values: add, delete, reset. The `reset` operation will clear the existing face data of a figure and add `FaceContents` as the specified face data.public String[] getFaceIds()
public void setFaceIds(String[] FaceIds)
FaceIds
- Face ID set. This field is required when `Type` is `delete`.public String[] getFaceContents()
public void setFaceContents(String[] FaceContents)
FaceContents
- String set generated by [Base64-encoding](https://tools.ietf.org/html/rfc4648) the face image.
Copyright © 2023. All rights reserved.