SearchOptionalParameter 类
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. search. websearch. models. SearchOptionalParameter
- com.
public class SearchOptionalParameter
SearchOptionalParameter 模型。
方法摘要
方法详细信息
acceptLanguage
public String acceptLanguage()
获取 acceptLanguage 值。
Returns:
answerCount
public Integer answerCount()
获取 answerCount 值。
Returns:
clientId
public String clientId()
获取 clientId 值。
Returns:
clientIp
public String clientIp()
获取 clientIp 值。
Returns:
count
public Integer count()
获取计数值。
Returns:
countryCode
public String countryCode()
获取 countryCode 值。
Returns:
freshness
public Freshness freshness()
获取新鲜度值。
Returns:
location
public String location()
获取位置值。
Returns:
market
public String market()
获取市场价值。
Returns:
offset
public Integer offset()
获取偏移量值。
Returns:
pragma
public String pragma()
获取杂注值。
Returns:
promote
public List
获取提升值。
Returns:
responseFilter
public List
获取 responseFilter 值。
Returns:
safeSearch
public SafeSearch safeSearch()
获取 safeSearch 值。
Returns:
setLang
public String setLang()
获取 setLang 值。
Returns:
textDecorations
public Boolean textDecorations()
获取 textDecorations 值。
Returns:
textFormat
public TextFormat textFormat()
获取 textFormat 值。
Returns:
userAgent
public String userAgent()
获取 userAgent 值。
Returns:
withAcceptLanguage
public SearchOptionalParameter withAcceptLanguage(String acceptLanguage)
设置 acceptLanguage 值。
Parameters:
Returns:
withAnswerCount
public SearchOptionalParameter withAnswerCount(Integer answerCount)
设置 answerCount 值。
Parameters:
Returns:
withClientId
public SearchOptionalParameter withClientId(String clientId)
设置 clientId 值。
Parameters:
Returns:
withClientIp
public SearchOptionalParameter withClientIp(String clientIp)
设置 clientIp 值。
Parameters:
Returns:
withCount
public SearchOptionalParameter withCount(Integer count)
设置计数值。
Parameters:
Returns:
withCountryCode
public SearchOptionalParameter withCountryCode(String countryCode)
设置 countryCode 值。
Parameters:
Returns:
withFreshness
public SearchOptionalParameter withFreshness(Freshness freshness)
设置新鲜度值。
Parameters:
Returns:
withLocation
public SearchOptionalParameter withLocation(String location)
设置位置值。
Parameters:
Returns:
withMarket
public SearchOptionalParameter withMarket(String market)
设置市场值。
Parameters:
Returns:
withOffset
public SearchOptionalParameter withOffset(Integer offset)
设置偏移值。
Parameters:
Returns:
withPragma
public SearchOptionalParameter withPragma(String pragma)
设置杂注值。
Parameters:
Returns:
withPromote
public SearchOptionalParameter withPromote(List
设置升级值。
Parameters:
Returns:
withResponseFilter
public SearchOptionalParameter withResponseFilter(List
设置 responseFilter 值。
Parameters:
Returns:
withSafeSearch
public SearchOptionalParameter withSafeSearch(SafeSearch safeSearch)
设置 safeSearch 值。
Parameters:
Returns:
withSetLang
public SearchOptionalParameter withSetLang(String setLang)
设置 setLang 值。
Parameters:
Returns:
withTextDecorations
public SearchOptionalParameter withTextDecorations(Boolean textDecorations)
设置 textDecorations 值。
Parameters:
Returns:
withTextFormat
public SearchOptionalParameter withTextFormat(TextFormat textFormat)
设置 textFormat 值。
Parameters:
Returns:
withUserAgent
public SearchOptionalParameter withUserAgent(String userAgent)
设置 userAgent 值。
Parameters:
Returns: