Request
public struct Request
-
The text to translate.
Declaration
Swift
public let textToTranslate: String
-
The language to translate
Declaration
Swift
public let targetLanguage: Predictions.Language?
-
Source language of the text given.
Declaration
Swift
public let language: Predictions.Language?
-
Options to adjust the behavior of this request, including plugin options
Declaration
Swift
public let options: Options
-
Declaration
Swift
public init( textToTranslate: String, targetLanguage: Predictions.Language?, language: Predictions.Language?, options: Options )