public class Expansion
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
Expansion.Builder
Builder.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.List<java.lang.String> |
expandedTerms |
protected java.util.List<java.lang.String> |
inputTerms |
Modifier | Constructor and Description |
---|---|
protected |
Expansion(Expansion.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
expandedTerms()
Gets the expandedTerms.
|
java.util.List<java.lang.String> |
inputTerms()
Gets the inputTerms.
|
Expansion.Builder |
newBuilder()
New builder.
|
@SerializedName(value="input_terms") protected java.util.List<java.lang.String> inputTerms
@SerializedName(value="expanded_terms") protected java.util.List<java.lang.String> expandedTerms
protected Expansion(Expansion.Builder builder)
public Expansion.Builder newBuilder()
public java.util.List<java.lang.String> inputTerms()
A list of terms that will be expanded for this expansion. If specified, only the items in this list are expanded.
public java.util.List<java.lang.String> expandedTerms()
A list of terms that this expansion will be expanded to. If specified without **input_terms**, it also functions as the input term list.