@Generated(value="OracleSDKGenerator", comments="API Version: 20200601") public final class SuggestOutput extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Typeahead results
Note: Objects should always be created or deserialized using the SuggestOutput.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the SuggestOutput.Builder
, which maintain a
set of all explicitly set fields called SuggestOutput.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
SuggestOutput.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
SuggestOutput(Integer position,
List<String> commands,
List<String> fields,
List<String> fieldValues,
List<String> terms,
List<String> options,
List<String> examples)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static SuggestOutput.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
List<String> |
getCommands()
Context specific list of querylanguage commands if input is seeking command suggestions.
|
List<String> |
getExamples()
Context specific list of querylanguage querystring examples if input is seeking queryString
example suggestions.
|
List<String> |
getFields()
Context specific list of querylanguage fields / columns if input is seeking field / column
suggestions.
|
List<String> |
getFieldValues()
Context specific list of field values if input is seeking field value suggestions.
|
List<String> |
getOptions()
Context specific list of querylanguage command options if input is seeking command option
suggestions.
|
Integer |
getPosition()
Character position suggestion should be placed in queryString provided as input.
|
List<String> |
getTerms()
Context specific list of terms / phrases if input is seeking terms / phrase suggestions.
|
int |
hashCode() |
SuggestOutput.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"position","commands","fields","fieldValues","terms","options","examples"}) public SuggestOutput(Integer position, List<String> commands, List<String> fields, List<String> fieldValues, List<String> terms, List<String> options, List<String> examples)
public static SuggestOutput.Builder builder()
Create a new builder.
public SuggestOutput.Builder toBuilder()
public Integer getPosition()
Character position suggestion should be placed in queryString provided as input.
public List<String> getCommands()
Context specific list of querylanguage commands if input is seeking command suggestions.
public List<String> getFields()
Context specific list of querylanguage fields / columns if input is seeking field / column suggestions.
public List<String> getFieldValues()
Context specific list of field values if input is seeking field value suggestions.
public List<String> getTerms()
Context specific list of terms / phrases if input is seeking terms / phrase suggestions.
public List<String> getOptions()
Context specific list of querylanguage command options if input is seeking command option suggestions.
public List<String> getExamples()
Context specific list of querylanguage querystring examples if input is seeking queryString example suggestions.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.