Package com.sap.ai.sdk.core.model
Class AiModelBaseDataAllowedScenariosInner
java.lang.Object
com.sap.ai.sdk.core.model.AiModelBaseDataAllowedScenariosInner
AiModelBaseDataAllowedScenariosInner
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class.static interfaceBuilder helper class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for AiModelBaseDataAllowedScenariosInner. -
Method Summary
Modifier and TypeMethodDescriptioncreate()Create a type-safe, fluent-api builder object to construct a newAiModelBaseDataAllowedScenariosInnerinstance with all required arguments.booleanexecutableId(String executableId) Set the executableId of thisAiModelBaseDataAllowedScenariosInnerinstance and return the same instance.getCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theAiModelBaseDataAllowedScenariosInner.ID of the executableID of the scenariointhashCode()scenarioId(String scenarioId) Set the scenarioId of thisAiModelBaseDataAllowedScenariosInnerinstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisAiModelBaseDataAllowedScenariosInnerinstance.voidsetExecutableId(String executableId) Set the executableId of thisAiModelBaseDataAllowedScenariosInnerinstance.voidsetScenarioId(String scenarioId) Set the scenarioId of thisAiModelBaseDataAllowedScenariosInnerinstance.toMap()Get the value of all properties of thisAiModelBaseDataAllowedScenariosInnerinstance including unrecognized properties.toString()
-
Constructor Details
-
AiModelBaseDataAllowedScenariosInner
protected AiModelBaseDataAllowedScenariosInner()Default constructor for AiModelBaseDataAllowedScenariosInner.
-
-
Method Details
-
scenarioId
Set the scenarioId of thisAiModelBaseDataAllowedScenariosInnerinstance and return the same instance.- Parameters:
scenarioId- ID of the scenario- Returns:
- The same instance of this
AiModelBaseDataAllowedScenariosInnerclass
-
getScenarioId
ID of the scenario- Returns:
- scenarioId The scenarioId of this
AiModelBaseDataAllowedScenariosInnerinstance.
-
setScenarioId
Set the scenarioId of thisAiModelBaseDataAllowedScenariosInnerinstance.- Parameters:
scenarioId- ID of the scenario
-
executableId
Set the executableId of thisAiModelBaseDataAllowedScenariosInnerinstance and return the same instance.- Parameters:
executableId- ID of the executable- Returns:
- The same instance of this
AiModelBaseDataAllowedScenariosInnerclass
-
getExecutableId
ID of the executable- Returns:
- executableId The executableId of this
AiModelBaseDataAllowedScenariosInnerinstance.
-
setExecutableId
Set the executableId of thisAiModelBaseDataAllowedScenariosInnerinstance.- Parameters:
executableId- ID of the executable
-
getCustomFieldNames
Get the names of the unrecognizable properties of theAiModelBaseDataAllowedScenariosInner.- 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 thisAiModelBaseDataAllowedScenariosInnerinstance.- 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 thisAiModelBaseDataAllowedScenariosInnerinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisAiModelBaseDataAllowedScenariosInnerinstance. 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 newAiModelBaseDataAllowedScenariosInnerinstance with all required arguments.
-
toMap()instead.