public class ProfileOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static interface |
ProfileOptions.AcceptLanguage
The desired language of the response.
|
static class |
ProfileOptions.Builder
Builder.
|
static interface |
ProfileOptions.ContentLanguage
The language of the input text for the request: Arabic, English, Japanese, Korean, or Spanish.
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
acceptLanguage |
protected java.lang.String |
body |
protected java.lang.Boolean |
consumptionPreferences |
protected Content |
content |
protected java.lang.String |
contentLanguage |
protected java.lang.String |
contentType |
protected java.lang.Boolean |
csvHeaders |
protected java.lang.Boolean |
rawScores |
Modifier | Constructor and Description |
---|---|
protected |
ProfileOptions(ProfileOptions.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
acceptLanguage()
Gets the acceptLanguage.
|
java.lang.String |
body()
Gets the body.
|
java.lang.Boolean |
consumptionPreferences()
Gets the consumptionPreferences.
|
Content |
content()
Gets the content.
|
java.lang.String |
contentLanguage()
Gets the contentLanguage.
|
java.lang.String |
contentType()
Gets the contentType.
|
java.lang.Boolean |
csvHeaders()
Gets the csvHeaders.
|
ProfileOptions.Builder |
newBuilder()
New builder.
|
java.lang.Boolean |
rawScores()
Gets the rawScores.
|
protected Content content
protected java.lang.String body
protected java.lang.String contentType
protected java.lang.String contentLanguage
protected java.lang.String acceptLanguage
protected java.lang.Boolean rawScores
protected java.lang.Boolean csvHeaders
protected java.lang.Boolean consumptionPreferences
protected ProfileOptions(ProfileOptions.Builder builder)
public ProfileOptions.Builder newBuilder()
public Content content()
public java.lang.String body()
public java.lang.String contentType()
public java.lang.String contentLanguage()
public java.lang.String acceptLanguage()
public java.lang.Boolean rawScores()
public java.lang.Boolean csvHeaders()
public java.lang.Boolean consumptionPreferences()