public class PersonInfo extends AbstractModel
skipSign
Constructor and Description |
---|
PersonInfo() |
PersonInfo(PersonInfo 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 |
---|---|
AppearInfo |
getAppearInfo()
Get 人物出现信息
|
Rectf |
getAppearRect()
Get 人脸在图片中的位置,仅在图片标签任务有效
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getFirstAppear()
Get 首次出现模态,可选值为[1,3],详细参见AppearIndex定义
|
String |
getJob()
Get 公众人物职务
|
String |
getName()
Get 公众人物姓名
|
void |
setAppearInfo(AppearInfo AppearInfo)
Set 人物出现信息
|
void |
setAppearRect(Rectf AppearRect)
Set 人脸在图片中的位置,仅在图片标签任务有效
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setFirstAppear(Long FirstAppear)
Set 首次出现模态,可选值为[1,3],详细参见AppearIndex定义
|
void |
setJob(String Job)
Set 公众人物职务
|
void |
setName(String Name)
Set 公众人物姓名
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, getSkipSign, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public PersonInfo()
public PersonInfo(PersonInfo source)
public String getName()
public void setName(String Name)
Name
- 公众人物姓名public String getJob()
public void setJob(String Job)
Job
- 公众人物职务public Long getFirstAppear()
public void setFirstAppear(Long FirstAppear)
FirstAppear
- 首次出现模态,可选值为[1,3],详细参见AppearIndex定义public AppearInfo getAppearInfo()
public void setAppearInfo(AppearInfo AppearInfo)
AppearInfo
- 人物出现信息public Rectf getAppearRect()
public void setAppearRect(Rectf AppearRect)
AppearRect
- 人脸在图片中的位置,仅在图片标签任务有效
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2023. All rights reserved.