public class TranslationModel
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static interface |
TranslationModel.Status
Availability of a model.
|
Modifier and Type | Method and Description |
---|---|
String |
getBaseModelId()
Gets the baseModelId.
|
String |
getDomain()
Gets the domain.
|
String |
getModelId()
Gets the modelId.
|
String |
getName()
Gets the name.
|
String |
getOwner()
Gets the owner.
|
String |
getSource()
Gets the source.
|
String |
getStatus()
Gets the status.
|
String |
getTarget()
Gets the target.
|
Boolean |
isCustomizable()
Gets the customizable.
|
Boolean |
isDefaultModel()
Gets the defaultModel.
|
public String getModelId()
A globally unique string that identifies the underlying model that is used for translation.
public String getName()
Optional name that can be specified when the model is created.
public String getSource()
Translation source language code.
public String getTarget()
Translation target language code.
public String getBaseModelId()
Model ID of the base model that was used to customize the model. If the model is not a custom model, this will be an empty string.
public String getDomain()
The domain of the translation model.
public Boolean isCustomizable()
Whether this model can be used as a base for customization. Customized models are not further customizable, and some base models are not customizable.
public Boolean isDefaultModel()
Whether or not the model is a default model. A default model is the model for a given language pair that will be used when that language pair is specified in the source and target parameters.
public String getOwner()
Either an empty string, indicating the model is not a custom model, or the ID of the service instance that created the model.
public String getStatus()
Availability of a model.
Copyright © 2024 IBM Cloud. All rights reserved.