TranslationModel
public struct TranslationModel : Codable, Equatable
Response payload for models.
-
Availability of a model.
See moreDeclaration
Swift
public enum Status : String
-
A globally unique string that identifies the underlying model that is used for translation.
Declaration
Swift
public var modelID: String
-
Optional name that can be specified when the model is created.
Declaration
Swift
public var name: String?
-
Translation source language code.
Declaration
Swift
public var source: String?
-
Translation target language code.
Declaration
Swift
public var target: String?
-
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.
Declaration
Swift
public var baseModelID: String?
-
The domain of the translation model.
Declaration
Swift
public var domain: String?
-
Whether this model can be used as a base for customization. Customized models are not further customizable, and some base models are not customizable.
Declaration
Swift
public var customizable: Bool?
-
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.
Declaration
Swift
public var defaultModel: Bool?
-
Either an empty string, indicating the model is not a custom model, or the ID of the service instance that created the model.
Declaration
Swift
public var owner: String?
-
Availability of a model.
Declaration
Swift
public var status: String?