SpellCheckerOptionalParameter Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.language.spellcheck.models.SpellCheckerOptionalParameter

public class SpellCheckerOptionalParameter

The SpellCheckerOptionalParameter model.

Constructor Summary

Constructor Description
SpellCheckerOptionalParameter()

Method Summary

Modifier and Type Method and Description
java.lang.String acceptLanguage()

Get the acceptLanguage value.

ActionType actionType()

Get the actionType value.

java.lang.String appName()

Get the appName value.

java.lang.String clientId()

Get the clientId value.

java.lang.String clientIp()

Get the clientIp value.

java.lang.String clientMachineName()

Get the clientMachineName value.

java.lang.String countryCode()

Get the countryCode value.

java.lang.String docId()

Get the docId value.

java.lang.String location()

Get the location value.

java.lang.String market()

Get the market value.

java.lang.String mode()

Get the mode value.

java.lang.String postContextText()

Get the postContextText value.

java.lang.String pragma()

Get the pragma value.

java.lang.String preContextText()

Get the preContextText value.

java.lang.String sessionId()

Get the sessionId value.

java.lang.String setLang()

Get the setLang value.

java.lang.String userAgent()

Get the userAgent value.

java.lang.String userId()

Get the userId value.

SpellCheckerOptionalParameter withAcceptLanguage(String acceptLanguage)

Set the acceptLanguage value.

SpellCheckerOptionalParameter withActionType(ActionType actionType)

Set the actionType value.

SpellCheckerOptionalParameter withAppName(String appName)

Set the appName value.

SpellCheckerOptionalParameter withClientId(String clientId)

Set the clientId value.

SpellCheckerOptionalParameter withClientIp(String clientIp)

Set the clientIp value.

SpellCheckerOptionalParameter withClientMachineName(String clientMachineName)

Set the clientMachineName value.

SpellCheckerOptionalParameter withCountryCode(String countryCode)

Set the countryCode value.

SpellCheckerOptionalParameter withDocId(String docId)

Set the docId value.

SpellCheckerOptionalParameter withLocation(String location)

Set the location value.

SpellCheckerOptionalParameter withMarket(String market)

Set the market value.

SpellCheckerOptionalParameter withMode(String mode)

Set the mode value.

SpellCheckerOptionalParameter withPostContextText(String postContextText)

Set the postContextText value.

SpellCheckerOptionalParameter withPragma(String pragma)

Set the pragma value.

SpellCheckerOptionalParameter withPreContextText(String preContextText)

Set the preContextText value.

SpellCheckerOptionalParameter withSessionId(String sessionId)

Set the sessionId value.

SpellCheckerOptionalParameter withSetLang(String setLang)

Set the setLang value.

SpellCheckerOptionalParameter withUserAgent(String userAgent)

Set the userAgent value.

SpellCheckerOptionalParameter withUserId(String userId)

Set the userId value.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

SpellCheckerOptionalParameter

public SpellCheckerOptionalParameter()

Method Details

acceptLanguage

public String acceptLanguage()

Get the acceptLanguage value.

Returns:

the acceptLanguage value

actionType

public ActionType actionType()

Get the actionType value.

Returns:

the actionType value

appName

public String appName()

Get the appName value.

Returns:

the appName value

clientId

public String clientId()

Get the clientId value.

Returns:

the clientId value

clientIp

public String clientIp()

Get the clientIp value.

Returns:

the clientIp value

clientMachineName

public String clientMachineName()

Get the clientMachineName value.

Returns:

the clientMachineName value

countryCode

public String countryCode()

Get the countryCode value.

Returns:

the countryCode value

docId

public String docId()

Get the docId value.

Returns:

the docId value

location

public String location()

Get the location value.

Returns:

the location value

market

public String market()

Get the market value.

Returns:

the market value

mode

public String mode()

Get the mode value.

Returns:

the mode value

postContextText

public String postContextText()

Get the postContextText value.

Returns:

the postContextText value

pragma

public String pragma()

Get the pragma value.

Returns:

the pragma value

preContextText

public String preContextText()

Get the preContextText value.

Returns:

the preContextText value

sessionId

public String sessionId()

Get the sessionId value.

Returns:

the sessionId value

setLang

public String setLang()

Get the setLang value.

Returns:

the setLang value

userAgent

public String userAgent()

Get the userAgent value.

Returns:

the userAgent value

userId

public String userId()

Get the userId value.

Returns:

the userId value

withAcceptLanguage

public SpellCheckerOptionalParameter withAcceptLanguage(String acceptLanguage)

Set the acceptLanguage value.

Parameters:

acceptLanguage - the acceptLanguage value to set

Returns:

the SpellCheckerOptionalParameter object itself.

withActionType

public SpellCheckerOptionalParameter withActionType(ActionType actionType)

Set the actionType value.

Parameters:

actionType - the actionType value to set

Returns:

the SpellCheckerOptionalParameter object itself.

withAppName

public SpellCheckerOptionalParameter withAppName(String appName)

Set the appName value.

Parameters:

appName - the appName value to set

Returns:

the SpellCheckerOptionalParameter object itself.

withClientId

public SpellCheckerOptionalParameter withClientId(String clientId)

Set the clientId value.

Parameters:

clientId - the clientId value to set

Returns:

the SpellCheckerOptionalParameter object itself.

withClientIp

public SpellCheckerOptionalParameter withClientIp(String clientIp)

Set the clientIp value.

Parameters:

clientIp - the clientIp value to set

Returns:

the SpellCheckerOptionalParameter object itself.

withClientMachineName

public SpellCheckerOptionalParameter withClientMachineName(String clientMachineName)

Set the clientMachineName value.

Parameters:

clientMachineName - the clientMachineName value to set

Returns:

the SpellCheckerOptionalParameter object itself.

withCountryCode

public SpellCheckerOptionalParameter withCountryCode(String countryCode)

Set the countryCode value.

Parameters:

countryCode - the countryCode value to set

Returns:

the SpellCheckerOptionalParameter object itself.

withDocId

public SpellCheckerOptionalParameter withDocId(String docId)

Set the docId value.

Parameters:

docId - the docId value to set

Returns:

the SpellCheckerOptionalParameter object itself.

withLocation

public SpellCheckerOptionalParameter withLocation(String location)

Set the location value.

Parameters:

location - the location value to set

Returns:

the SpellCheckerOptionalParameter object itself.

withMarket

public SpellCheckerOptionalParameter withMarket(String market)

Set the market value.

Parameters:

market - the market value to set

Returns:

the SpellCheckerOptionalParameter object itself.

withMode

public SpellCheckerOptionalParameter withMode(String mode)

Set the mode value.

Parameters:

mode - the mode value to set

Returns:

the SpellCheckerOptionalParameter object itself.

withPostContextText

public SpellCheckerOptionalParameter withPostContextText(String postContextText)

Set the postContextText value.

Parameters:

postContextText - the postContextText value to set

Returns:

the SpellCheckerOptionalParameter object itself.

withPragma

public SpellCheckerOptionalParameter withPragma(String pragma)

Set the pragma value.

Parameters:

pragma - the pragma value to set

Returns:

the SpellCheckerOptionalParameter object itself.

withPreContextText

public SpellCheckerOptionalParameter withPreContextText(String preContextText)

Set the preContextText value.

Parameters:

preContextText - the preContextText value to set

Returns:

the SpellCheckerOptionalParameter object itself.

withSessionId

public SpellCheckerOptionalParameter withSessionId(String sessionId)

Set the sessionId value.

Parameters:

sessionId - the sessionId value to set

Returns:

the SpellCheckerOptionalParameter object itself.

withSetLang

public SpellCheckerOptionalParameter withSetLang(String setLang)

Set the setLang value.

Parameters:

setLang - the setLang value to set

Returns:

the SpellCheckerOptionalParameter object itself.

withUserAgent

public SpellCheckerOptionalParameter withUserAgent(String userAgent)

Set the userAgent value.

Parameters:

userAgent - the userAgent value to set

Returns:

the SpellCheckerOptionalParameter object itself.

withUserId

public SpellCheckerOptionalParameter withUserId(String userId)

Set the userId value.

Parameters:

userId - the userId value to set

Returns:

the SpellCheckerOptionalParameter object itself.

Applies to