Class EmbeddingsCreate200Response
java.lang.Object
com.sap.ai.sdk.foundationmodels.openai.generated.model.EmbeddingsCreate200Response
EmbeddingsCreate200Response
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSet the _object of thisEmbeddingsCreate200Responseinstance and return the same instance.Add one data instance to thisEmbeddingsCreate200Response.Set the data of thisEmbeddingsCreate200Responseinstance and return the same instance.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theEmbeddingsCreate200Response.getData()Get datagetModel()Get modelGet _objectgetUsage()Get usageinthashCode()Set the model of thisEmbeddingsCreate200Responseinstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisEmbeddingsCreate200Responseinstance.voidSet the data of thisEmbeddingsCreate200Responseinstance.voidSet the model of thisEmbeddingsCreate200Responseinstance.voidSet the _object of thisEmbeddingsCreate200Responseinstance.voidSet the usage of thisEmbeddingsCreate200Responseinstance.toMap()Get the value of all properties of thisEmbeddingsCreate200Responseinstance including unrecognized properties.toString()Set the usage of thisEmbeddingsCreate200Responseinstance and return the same instance.
-
Constructor Details
-
EmbeddingsCreate200Response
public EmbeddingsCreate200Response()
-
-
Method Details
-
_object
Set the _object of thisEmbeddingsCreate200Responseinstance and return the same instance.- Parameters:
_object- The _object of thisEmbeddingsCreate200Response- Returns:
- The same instance of this
EmbeddingsCreate200Responseclass
-
getObject
Get _object- Returns:
- _object The _object of this
EmbeddingsCreate200Responseinstance.
-
setObject
Set the _object of thisEmbeddingsCreate200Responseinstance.- Parameters:
_object- The _object of thisEmbeddingsCreate200Response
-
model
Set the model of thisEmbeddingsCreate200Responseinstance and return the same instance.- Parameters:
model- The model of thisEmbeddingsCreate200Response- Returns:
- The same instance of this
EmbeddingsCreate200Responseclass
-
getModel
Get model- Returns:
- model The model of this
EmbeddingsCreate200Responseinstance.
-
setModel
Set the model of thisEmbeddingsCreate200Responseinstance.- Parameters:
model- The model of thisEmbeddingsCreate200Response
-
data
@Nonnull public EmbeddingsCreate200Response data(@Nonnull List<EmbeddingsCreate200ResponseDataInner> data) Set the data of thisEmbeddingsCreate200Responseinstance and return the same instance.- Parameters:
data- The data of thisEmbeddingsCreate200Response- Returns:
- The same instance of this
EmbeddingsCreate200Responseclass
-
addDataItem
@Nonnull public EmbeddingsCreate200Response addDataItem(@Nonnull EmbeddingsCreate200ResponseDataInner dataItem) Add one data instance to thisEmbeddingsCreate200Response.- Parameters:
dataItem- The data that should be added- Returns:
- The same instance of type
EmbeddingsCreate200Response
-
getData
Get data- Returns:
- data The data of this
EmbeddingsCreate200Responseinstance.
-
setData
Set the data of thisEmbeddingsCreate200Responseinstance.- Parameters:
data- The data of thisEmbeddingsCreate200Response
-
usage
Set the usage of thisEmbeddingsCreate200Responseinstance and return the same instance.- Parameters:
usage- The usage of thisEmbeddingsCreate200Response- Returns:
- The same instance of this
EmbeddingsCreate200Responseclass
-
getUsage
Get usage- Returns:
- usage The usage of this
EmbeddingsCreate200Responseinstance.
-
setUsage
Set the usage of thisEmbeddingsCreate200Responseinstance.- Parameters:
usage- The usage of thisEmbeddingsCreate200Response
-
getCustomFieldNames
Get the names of the unrecognizable properties of theEmbeddingsCreate200Response.- 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 thisEmbeddingsCreate200Responseinstance.- 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 thisEmbeddingsCreate200Responseinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisEmbeddingsCreate200Responseinstance. 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
-
toMap()instead.