Package com.sap.ai.sdk.core.model
Class AiExecutableParameter
java.lang.Object
com.sap.ai.sdk.core.model.AiExecutableParameter
AiExecutableParameter
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class.static enumType of the executable parameter -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for AiExecutableParameter. -
Method Summary
Modifier and TypeMethodDescriptionSet the _default of thisAiExecutableParameterinstance and return the same instance.create()Create a type-safe, fluent-api builder object to construct a newAiExecutableParameterinstance with all required arguments.description(String description) Set the description of thisAiExecutableParameterinstance and return the same instance.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theAiExecutableParameter.Default value of the signature argumentDescription of the signature argumentgetName()Name of the executable parametergetType()Type of the executable parameterinthashCode()Set the name of thisAiExecutableParameterinstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisAiExecutableParameterinstance.voidsetDefault(String _default) Set the _default of thisAiExecutableParameterinstance.voidsetDescription(String description) Set the description of thisAiExecutableParameterinstance.voidSet the name of thisAiExecutableParameterinstance.voidSet the type of thisAiExecutableParameterinstance.toMap()Get the value of all properties of thisAiExecutableParameterinstance including unrecognized properties.toString()Set the type of thisAiExecutableParameterinstance and return the same instance.
-
Constructor Details
-
AiExecutableParameter
protected AiExecutableParameter()Default constructor for AiExecutableParameter.
-
-
Method Details
-
name
Set the name of thisAiExecutableParameterinstance and return the same instance.- Parameters:
name- Name of the executable parameter- Returns:
- The same instance of this
AiExecutableParameterclass
-
getName
Name of the executable parameter- Returns:
- name The name of this
AiExecutableParameterinstance.
-
setName
Set the name of thisAiExecutableParameterinstance.- Parameters:
name- Name of the executable parameter
-
description
Set the description of thisAiExecutableParameterinstance and return the same instance.- Parameters:
description- Description of the signature argument- Returns:
- The same instance of this
AiExecutableParameterclass
-
getDescription
Description of the signature argument- Returns:
- description The description of this
AiExecutableParameterinstance.
-
setDescription
Set the description of thisAiExecutableParameterinstance.- Parameters:
description- Description of the signature argument
-
_default
Set the _default of thisAiExecutableParameterinstance and return the same instance.- Parameters:
_default- Default value of the signature argument- Returns:
- The same instance of this
AiExecutableParameterclass
-
getDefault
Default value of the signature argument- Returns:
- _default The _default of this
AiExecutableParameterinstance.
-
setDefault
Set the _default of thisAiExecutableParameterinstance.- Parameters:
_default- Default value of the signature argument
-
type
Set the type of thisAiExecutableParameterinstance and return the same instance.- Parameters:
type- Type of the executable parameter- Returns:
- The same instance of this
AiExecutableParameterclass
-
getType
Type of the executable parameter- Returns:
- type The type of this
AiExecutableParameterinstance.
-
setType
Set the type of thisAiExecutableParameterinstance.- Parameters:
type- Type of the executable parameter
-
getCustomFieldNames
Get the names of the unrecognizable properties of theAiExecutableParameter.- 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 thisAiExecutableParameterinstance.- 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 thisAiExecutableParameterinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisAiExecutableParameterinstance. 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 newAiExecutableParameterinstance with all required arguments.
-
toMap()instead.