Class PromptTemplateSubstitutionRequest
java.lang.Object
com.sap.ai.sdk.prompt.registry.model.PromptTemplateSubstitutionRequest
PromptTemplateSubstitutionRequest
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for PromptTemplateSubstitutionRequest. -
Method Summary
Modifier and TypeMethodDescriptioncreate()Create a type-safe, fluent-api builder object to construct a newPromptTemplateSubstitutionRequestinstance with all required arguments.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of thePromptTemplateSubstitutionRequest.Get inputParamsinthashCode()inputParams(Object inputParams) Set the inputParams of thisPromptTemplateSubstitutionRequestinstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisPromptTemplateSubstitutionRequestinstance.voidsetInputParams(Object inputParams) Set the inputParams of thisPromptTemplateSubstitutionRequestinstance.toMap()Get the value of all properties of thisPromptTemplateSubstitutionRequestinstance including unrecognized properties.toString()
-
Constructor Details
-
PromptTemplateSubstitutionRequest
protected PromptTemplateSubstitutionRequest()Default constructor for PromptTemplateSubstitutionRequest.
-
-
Method Details
-
inputParams
Set the inputParams of thisPromptTemplateSubstitutionRequestinstance and return the same instance.- Parameters:
inputParams- The inputParams of thisPromptTemplateSubstitutionRequest- Returns:
- The same instance of this
PromptTemplateSubstitutionRequestclass
-
getInputParams
Get inputParams- Returns:
- inputParams The inputParams of this
PromptTemplateSubstitutionRequestinstance.
-
setInputParams
Set the inputParams of thisPromptTemplateSubstitutionRequestinstance.- Parameters:
inputParams- The inputParams of thisPromptTemplateSubstitutionRequest
-
getCustomFieldNames
Get the names of the unrecognizable properties of thePromptTemplateSubstitutionRequest.- 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 thisPromptTemplateSubstitutionRequestinstance.- 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 thisPromptTemplateSubstitutionRequestinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisPromptTemplateSubstitutionRequestinstance. 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 newPromptTemplateSubstitutionRequestinstance with all required arguments.
-
toMap()instead.