Class EmbeddingsPostResponse
java.lang.Object
com.sap.ai.sdk.orchestration.model.EmbeddingsPostResponse
EmbeddingsPostResponse
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class.static interfaceBuilder helper class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for EmbeddingsPostResponse. -
Method Summary
Modifier and TypeMethodDescriptioncreate()Create a type-safe, fluent-api builder object to construct a newEmbeddingsPostResponseinstance with all required arguments.booleanfinalResult(EmbeddingsResponse finalResult) Set the finalResult of thisEmbeddingsPostResponseinstance and return the same instance.getCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theEmbeddingsPostResponse.Get finalResultGet intermediateResultsGet requestIdinthashCode()intermediateResults(ModuleResultsBase intermediateResults) Set the intermediateResults of thisEmbeddingsPostResponseinstance and return the same instance.Set the requestId of thisEmbeddingsPostResponseinstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisEmbeddingsPostResponseinstance.voidsetFinalResult(EmbeddingsResponse finalResult) Set the finalResult of thisEmbeddingsPostResponseinstance.voidsetIntermediateResults(ModuleResultsBase intermediateResults) Set the intermediateResults of thisEmbeddingsPostResponseinstance.voidsetRequestId(String requestId) Set the requestId of thisEmbeddingsPostResponseinstance.toMap()Get the value of all properties of thisEmbeddingsPostResponseinstance including unrecognized properties.toString()
-
Constructor Details
-
EmbeddingsPostResponse
protected EmbeddingsPostResponse()Default constructor for EmbeddingsPostResponse.
-
-
Method Details
-
requestId
Set the requestId of thisEmbeddingsPostResponseinstance and return the same instance.- Parameters:
requestId- The requestId of thisEmbeddingsPostResponse- Returns:
- The same instance of this
EmbeddingsPostResponseclass
-
getRequestId
Get requestId- Returns:
- requestId The requestId of this
EmbeddingsPostResponseinstance.
-
setRequestId
Set the requestId of thisEmbeddingsPostResponseinstance.- Parameters:
requestId- The requestId of thisEmbeddingsPostResponse
-
intermediateResults
@Nonnull public EmbeddingsPostResponse intermediateResults(@Nullable ModuleResultsBase intermediateResults) Set the intermediateResults of thisEmbeddingsPostResponseinstance and return the same instance.- Parameters:
intermediateResults- The intermediateResults of thisEmbeddingsPostResponse- Returns:
- The same instance of this
EmbeddingsPostResponseclass
-
getIntermediateResults
Get intermediateResults- Returns:
- intermediateResults The intermediateResults of this
EmbeddingsPostResponseinstance.
-
setIntermediateResults
Set the intermediateResults of thisEmbeddingsPostResponseinstance.- Parameters:
intermediateResults- The intermediateResults of thisEmbeddingsPostResponse
-
finalResult
Set the finalResult of thisEmbeddingsPostResponseinstance and return the same instance.- Parameters:
finalResult- The finalResult of thisEmbeddingsPostResponse- Returns:
- The same instance of this
EmbeddingsPostResponseclass
-
getFinalResult
Get finalResult- Returns:
- finalResult The finalResult of this
EmbeddingsPostResponseinstance.
-
setFinalResult
Set the finalResult of thisEmbeddingsPostResponseinstance.- Parameters:
finalResult- The finalResult of thisEmbeddingsPostResponse
-
getCustomFieldNames
Get the names of the unrecognizable properties of theEmbeddingsPostResponse.- 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 thisEmbeddingsPostResponseinstance.- 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 thisEmbeddingsPostResponseinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisEmbeddingsPostResponseinstance. 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 newEmbeddingsPostResponseinstance with all required arguments.
-
toMap()instead.