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