public class ListModelsOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
ListModelsOptions.Builder
Builder.
|
Modifier and Type | Method and Description |
---|---|
ListModelsOptions.Builder |
newBuilder()
New builder.
|
String |
source()
Gets the source.
|
String |
target()
Gets the target.
|
Boolean |
xDefault()
Gets the xDefault.
|
public ListModelsOptions.Builder newBuilder()
public String source()
Specify a language code to filter results by source language.
public String target()
Specify a language code to filter results by target language.
public Boolean xDefault()
If the `default` parameter isn't specified, the service returns all models (default and non-default) for each language pair. To return only default models, set this parameter to `true`. To return only non-default models, set this parameter to `false`. There is exactly one default model, the IBM-provided base model, per language pair.
Copyright © 2021 IBM Cloud. All rights reserved.