public class CreateGroupRequest extends AbstractModel
Constructor and Description |
---|
CreateGroupRequest() |
CreateGroupRequest(CreateGroupRequest 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 |
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 64 B.
|
String |
getGroupName()
Get Group name, which is modifiable, must be unique, and can contain 1 to 60 characters.
|
String |
getTag()
Get Group remarks, which can contain 0 to 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 64 B.
|
void |
setGroupName(String GroupName)
Set Group name, which is modifiable, must be unique, and can contain 1 to 60 characters.
|
void |
setTag(String Tag)
Set Group remarks, which can contain 0 to 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 CreateGroupRequest()
public CreateGroupRequest(CreateGroupRequest source)
public String getGroupName()
public void setGroupName(String GroupName)
GroupName
- Group name, which is modifiable, must be unique, and can contain 1 to 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 64 B.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 to 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 to 40 characters.public String getFaceModelVersion()
public void setFaceModelVersion(String FaceModelVersion)
FaceModelVersion
- Algorithm model version used by the Face Recognition service.
Currently, `2.0` and `3.0` are supported.
This parameter is `3.0` by default starting from April 2, 2020. If it is left empty for accounts that used this API, `2.0` will be used by default.
The parameter can be set only to `3.0` for accounts that purchase the service after November 26, 2020.
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 recommended.Copyright © 2023. All rights reserved.