public class CreateGroupRequest extends AbstractModel
Constructor and Description |
---|
CreateGroupRequest() |
Modifier and Type | Method and Description |
---|---|
String |
getFaceModelVersion()
Get Algorithm model version used by the Face Recognition service.
|
String[] |
getGroupExDescriptions()
Get Custom group description field that describes the person attributes in the group, which will be applied to all persons in the group.
|
String |
getGroupId()
Get Group ID, which is unmodifiable, must be unique, and can contain letters, digits, and special symbols (-%@#&_) of up to 64B.
|
String |
getGroupName()
Get Group name, which is modifiable, must be unique, and can contain 1-60 characters.
|
String |
getTag()
Get Group remarks, which can contain 0-40 characters.
|
void |
setFaceModelVersion(String FaceModelVersion)
Set Algorithm model version used by the Face Recognition service.
|
void |
setGroupExDescriptions(String[] GroupExDescriptions)
Set Custom group description field that describes the person attributes in the group, which will be applied to all persons in the group.
|
void |
setGroupId(String GroupId)
Set Group ID, which is unmodifiable, must be unique, and can contain letters, digits, and special symbols (-%@#&_) of up to 64B.
|
void |
setGroupName(String GroupName)
Set Group name, which is modifiable, must be unique, and can contain 1-60 characters.
|
void |
setTag(String Tag)
Set Group remarks, which can contain 0-40 characters.
|
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 getGroupName()
public void setGroupName(String GroupName)
GroupName
- Group name, which is modifiable, must be unique, and can contain 1-60 characters.public String getGroupId()
public void setGroupId(String GroupId)
GroupId
- Group ID, which is unmodifiable, must be unique, and can contain letters, digits, and special symbols (-%@#&_) of up to 64B.public String[] getGroupExDescriptions()
public void setGroupExDescriptions(String[] GroupExDescriptions)
GroupExDescriptions
- Custom group description field that describes the person attributes in the group, which will be applied to all persons in the group.
Up to 5 ones can be created.
Each custom description field can contain 1-30 characters.
The custom description field must be unique in the group.
Example: if you set the "custom description field" of a group to ["student ID","employee ID","mobile number"],
then all the persons in the group will have description fields named "student ID", "employee ID", and "mobile number".
You can enter content in the corresponding field to register a person's student ID, employee ID, and mobile number.public String getTag()
public void setTag(String Tag)
Tag
- Group remarks, which can contain 0-40 characters.public String getFaceModelVersion()
public void setFaceModelVersion(String FaceModelVersion)
FaceModelVersion
- Algorithm model version used by the Face Recognition service. Valid values: 2.0, 3.0.
This parameter is `3.0` by default starting from April 2, 2020. If it is left empty for accounts that used this API previously, `2.0` will be used by default.
Different algorithm model versions correspond to different face recognition algorithms. The 3.0 version has a better overall effect than the legacy version and is thus recommended.Copyright © 2020. All rights reserved.