public class LibDetail extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| LibDetail() | 
| LibDetail(LibDetail 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 | 
|---|---|
| Long | getId()Get This field is used to return the ID of the recognized object for easier recognition and distinction. | 
| String | getImageId()Get This field is used to return the ID of the recognized image object for easier file management. | 
| String | getLabel()Get This field is used to return the maliciousness tag in the detection result. Returned values: **Normal**: normal; **Porn**: pornographic; **Abuse**: abusive; **Ad**: advertising; **Custom**: custom type of non-compliant content and other offensive, unsafe, or inappropriate types of content. | 
| String | getLibId()Get This field is **valid only when `Label` is `Custom` (custom keyword)**. | 
| String | getLibName()Get This field is **valid only when `Label` is `Custom` (custom keyword)**. | 
| Long | getScore()Get This field is used to return the hit score of the model. | 
| String | getTag()Get This field is used to return other custom tags to meet the needs in your customized scenarios. | 
| void | setId(Long Id)Set This field is used to return the ID of the recognized object for easier recognition and distinction. | 
| void | setImageId(String ImageId)Set This field is used to return the ID of the recognized image object for easier file management. | 
| void | setLabel(String Label)Set This field is used to return the maliciousness tag in the detection result. Returned values: **Normal**: normal; **Porn**: pornographic; **Abuse**: abusive; **Ad**: advertising; **Custom**: custom type of non-compliant content and other offensive, unsafe, or inappropriate types of content. | 
| void | setLibId(String LibId)Set This field is **valid only when `Label` is `Custom` (custom keyword)**. | 
| void | setLibName(String LibName)Set This field is **valid only when `Label` is `Custom` (custom keyword)**. | 
| void | setScore(Long Score)Set This field is used to return the hit score of the model. | 
| void | setTag(String Tag)Set This field is used to return other custom tags to meet the needs in your customized scenarios. | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic LibDetail()
public LibDetail(LibDetail source)
public Long getId()
public void setId(Long Id)
Id - This field is used to return the ID of the recognized object for easier recognition and distinction.public String getLibId()
public void setLibId(String LibId)
LibId - This field is **valid only when `Label` is `Custom` (custom keyword)**. It is used to return the ID of the custom library for easier custom library management and configuration.public String getLibName()
public void setLibName(String LibName)
LibName - This field is **valid only when `Label` is `Custom` (custom keyword)**. It is used to return the name of the custom library for easier custom library management and configuration.
Note: this field may return null, indicating that no valid values can be obtained.public String getImageId()
public void setImageId(String ImageId)
ImageId - This field is used to return the ID of the recognized image object for easier file management.public String getLabel()
public void setLabel(String Label)
Label - This field is used to return the maliciousness tag in the detection result.public String getTag()
public void setTag(String Tag)
Tag - This field is used to return other custom tags to meet the needs in your customized scenarios. It can be skipped if you have no custom needs.
Note: this field may return null, indicating that no valid values can be obtained.public Long getScore()
public void setScore(Long Score)
Score - This field is used to return the hit score of the model. Value range: **0–100**; for example, *Porn 99* indicates that the hit score of the porn tag for the recognized content is 99.Copyright © 2025. All rights reserved.