Class Translation

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.language_translator.v3.model.Translation
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class Translation
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Translation.
  • Constructor Summary

    Constructors
    Constructor Description
    Translation()  
  • Method Summary

    Modifier and Type Method Description
    String getTranslation()
    Gets the translation.

    Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel

    equals, hashCode, toString

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Translation

      public Translation()
  • Method Details

    • getTranslation

      public String getTranslation()
      Gets the translation.

      Translation output in UTF-8.

      Returns:
      the translation