Class InputTranslationModuleResult
java.lang.Object
com.sap.ai.sdk.orchestration.model.InputTranslationModuleResult
Input Translation module result
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for InputTranslationModuleResult. -
Method Summary
Modifier and TypeMethodDescriptioncreate()Create a type-safe, fluent-api builder object to construct a newInputTranslationModuleResultinstance with all required arguments.Set the data of thisInputTranslationModuleResultinstance and return the same instance.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theInputTranslationModuleResult.getData()Get dataStatus message describing the translation operation outcome.inthashCode()Set the message of thisInputTranslationModuleResultinstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisInputTranslationModuleResultinstance.voidSet the data of thisInputTranslationModuleResultinstance.voidsetMessage(String message) Set the message of thisInputTranslationModuleResultinstance.toMap()Get the value of all properties of thisInputTranslationModuleResultinstance including unrecognized properties.toString()
-
Constructor Details
-
InputTranslationModuleResult
protected InputTranslationModuleResult()Default constructor for InputTranslationModuleResult.
-
-
Method Details
-
message
Set the message of thisInputTranslationModuleResultinstance and return the same instance.- Parameters:
message- Status message describing the translation operation outcome.- Returns:
- The same instance of this
InputTranslationModuleResultclass
-
getMessage
Status message describing the translation operation outcome.- Returns:
- message The message of this
InputTranslationModuleResultinstance.
-
setMessage
Set the message of thisInputTranslationModuleResultinstance.- Parameters:
message- Status message describing the translation operation outcome.
-
data
Set the data of thisInputTranslationModuleResultinstance and return the same instance.- Parameters:
data- The data of thisInputTranslationModuleResult- Returns:
- The same instance of this
InputTranslationModuleResultclass
-
getData
Get data- Returns:
- data The data of this
InputTranslationModuleResultinstance.
-
setData
Set the data of thisInputTranslationModuleResultinstance.- Parameters:
data- The data of thisInputTranslationModuleResult
-
getCustomFieldNames
Get the names of the unrecognizable properties of theInputTranslationModuleResult.- Returns:
- The set of properties names
-
getCustomField
@Nullable @Deprecated public Object getCustomField(@Nonnull String name) throws NoSuchElementException Deprecated.UsetoMap()instead.Get the value of an unrecognizable property of thisInputTranslationModuleResultinstance.- Parameters:
name- The name of the property- Returns:
- The value of the property
- Throws:
NoSuchElementException- If no property with the given name could be found.
-
toMap
Get the value of all properties of thisInputTranslationModuleResultinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisInputTranslationModuleResultinstance. If the map previously contained a mapping for the key, the old value is replaced by the specified value.- Parameters:
customFieldName- The name of the propertycustomFieldValue- The value of the property
-
equals
-
hashCode
public int hashCode() -
toString
-
create
Create a type-safe, fluent-api builder object to construct a newInputTranslationModuleResultinstance with all required arguments.
-
toMap()instead.