public class HighlightInfo extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
HighlightInfo()  | 
HighlightInfo(HighlightInfo 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[] | 
getAudioSelectorNames()
Get Audio selector list is optional and can be empty. 
 | 
String | 
getBucket()
Get Valid when Type is COS, the bucket name stored in COS. 
 | 
String | 
getFilename()
Get Valid when Type is COS, the file name stored in cos. 
 | 
Long | 
getHighlightEnabled()
Get Whether to enable input recognition 0: Disable 1 Enable Default value 0 Disable. 
 | 
String | 
getPath()
Get Valid when Type is COS, the path where cos is stored. 
 | 
String | 
getRegion()
Get Valid when Type is COS, the region where COS is stored. 
 | 
String | 
getTimestampFormat()
Get Valid when Type is COS, the file name suffix stored in COS is automatically generated in the time format, optional values: unix, utc. 
 | 
String | 
getType()
Get The product where the results are saved, optional: COS. 
 | 
void | 
setAudioSelectorNames(String[] AudioSelectorNames)
Set Audio selector list is optional and can be empty. 
 | 
void | 
setBucket(String Bucket)
Set Valid when Type is COS, the bucket name stored in COS. 
 | 
void | 
setFilename(String Filename)
Set Valid when Type is COS, the file name stored in cos. 
 | 
void | 
setHighlightEnabled(Long HighlightEnabled)
Set Whether to enable input recognition 0: Disable 1 Enable Default value 0 Disable. 
 | 
void | 
setPath(String Path)
Set Valid when Type is COS, the path where cos is stored. 
 | 
void | 
setRegion(String Region)
Set Valid when Type is COS, the region where COS is stored. 
 | 
void | 
setTimestampFormat(String TimestampFormat)
Set Valid when Type is COS, the file name suffix stored in COS is automatically generated in the time format, optional values: unix, utc. 
 | 
void | 
setType(String Type)
Set The product where the results are saved, optional: COS. 
 | 
void | 
toMap(HashMap<String,String> map,
     String prefix)
Internal implementation, normal users should not use it. 
 | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic HighlightInfo()
public HighlightInfo(HighlightInfo source)
public Long getHighlightEnabled()
public void setHighlightEnabled(Long HighlightEnabled)
HighlightEnabled - Whether to enable input recognition 0: Disable 1 Enable Default value 0 Disable.public String getType()
public void setType(String Type)
Type - The product where the results are saved, optional: COS. Currently, only Tencent Cloud COS is supported. In the future, it will be connected to AWS S3 and COS will be used by default.public String getRegion()
public void setRegion(String Region)
Region - Valid when Type is COS, the region where COS is stored.public String getBucket()
public void setBucket(String Bucket)
Bucket - Valid when Type is COS, the bucket name stored in COS.public String getPath()
public void setPath(String Path)
Path - Valid when Type is COS, the path where cos is stored.public String getFilename()
public void setFilename(String Filename)
Filename - Valid when Type is COS, the file name stored in cos.public String getTimestampFormat()
public void setTimestampFormat(String TimestampFormat)
TimestampFormat - Valid when Type is COS, the file name suffix stored in COS is automatically generated in the time format, optional values: unix, utc. Unix is the second-level timestamp and UTC is the year, month and day represented by the zero time zone.public String[] getAudioSelectorNames()
public void setAudioSelectorNames(String[] AudioSelectorNames)
AudioSelectorNames - Audio selector list is optional and can be empty. If not filled in, an audio will be used as the output of the recognition result by default.Copyright © 2025. All rights reserved.