Class EmbeddingsPostRequest
java.lang.Object
com.sap.ai.sdk.orchestration.model.EmbeddingsPostRequest
EmbeddingsPostRequest
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class.static interfaceBuilder helper class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for EmbeddingsPostRequest. -
Method Summary
Modifier and TypeMethodDescriptionconfig(EmbeddingsOrchestrationConfig config) Set the config of thisEmbeddingsPostRequestinstance and return the same instance.create()Create a type-safe, fluent-api builder object to construct a newEmbeddingsPostRequestinstance with all required arguments.booleanGet configgetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theEmbeddingsPostRequest.getInput()Get inputinthashCode()input(EmbeddingsInput input) Set the input of thisEmbeddingsPostRequestinstance and return the same instance.voidSet the config of thisEmbeddingsPostRequestinstance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisEmbeddingsPostRequestinstance.voidsetInput(EmbeddingsInput input) Set the input of thisEmbeddingsPostRequestinstance.toMap()Get the value of all properties of thisEmbeddingsPostRequestinstance including unrecognized properties.toString()
-
Constructor Details
-
EmbeddingsPostRequest
protected EmbeddingsPostRequest()Default constructor for EmbeddingsPostRequest.
-
-
Method Details
-
config
Set the config of thisEmbeddingsPostRequestinstance and return the same instance.- Parameters:
config- The config of thisEmbeddingsPostRequest- Returns:
- The same instance of this
EmbeddingsPostRequestclass
-
getConfig
Get config- Returns:
- config The config of this
EmbeddingsPostRequestinstance.
-
setConfig
Set the config of thisEmbeddingsPostRequestinstance.- Parameters:
config- The config of thisEmbeddingsPostRequest
-
input
Set the input of thisEmbeddingsPostRequestinstance and return the same instance.- Parameters:
input- The input of thisEmbeddingsPostRequest- Returns:
- The same instance of this
EmbeddingsPostRequestclass
-
getInput
Get input- Returns:
- input The input of this
EmbeddingsPostRequestinstance.
-
setInput
Set the input of thisEmbeddingsPostRequestinstance.- Parameters:
input- The input of thisEmbeddingsPostRequest
-
getCustomFieldNames
Get the names of the unrecognizable properties of theEmbeddingsPostRequest.- 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 thisEmbeddingsPostRequestinstance.- 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 thisEmbeddingsPostRequestinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisEmbeddingsPostRequestinstance. 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 newEmbeddingsPostRequestinstance with all required arguments.
-
toMap()instead.