public class ToneOptions extends GenericModel
Modifier and Type | Class and Description |
---|---|
static interface |
ToneOptions.AcceptLanguage
The desired language of the response.
|
static class |
ToneOptions.Builder
Builder.
|
static interface |
ToneOptions.ContentLanguage
The language of the input text for the request: English or French.
|
static interface |
ToneOptions.ContentType
The type of the input.
|
static interface |
ToneOptions.Tone |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
acceptLanguage()
Gets the acceptLanguage.
|
java.lang.String |
body()
Gets the body.
|
java.lang.String |
contentLanguage()
Gets the contentLanguage.
|
java.lang.String |
contentType()
Gets the contentType.
|
ToneOptions.Builder |
newBuilder()
New builder.
|
java.lang.Boolean |
sentences()
Gets the sentences.
|
ToneInput |
toneInput()
Gets the toneInput.
|
java.util.List<java.lang.String> |
tones()
Gets the tones.
|
equals, hashCode, toString
public ToneOptions.Builder newBuilder()
public ToneInput toneInput()
public java.lang.String body()
public java.lang.String contentType()
public java.lang.Boolean sentences()
public java.util.List<java.lang.String> tones()
public java.lang.String contentLanguage()
public java.lang.String acceptLanguage()