Package com.sap.ai.sdk.grounding.model
Class CollectionCreatedResponse
java.lang.Object
com.sap.ai.sdk.grounding.model.CollectionCreatedResponse
- All Implemented Interfaces:
VectorV1VectorEndpointsGetCollectionCreationStatus200Response
public class CollectionCreatedResponse
extends Object
implements VectorV1VectorEndpointsGetCollectionCreationStatus200Response
CollectionCreatedResponse
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class.static interfaceBuilder helper class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for CollectionCreatedResponse. -
Method Summary
Modifier and TypeMethodDescriptioncollectionURL(String collectionURL) Set the collectionURL of thisCollectionCreatedResponseinstance and return the same instance.create()Create a type-safe, fluent-api builder object to construct a newCollectionCreatedResponseinstance with all required arguments.booleanGet collectionURLgetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theCollectionCreatedResponse.Get statusinthashCode()voidsetCollectionURL(String collectionURL) Set the collectionURL of thisCollectionCreatedResponseinstance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisCollectionCreatedResponseinstance.voidSet the status of thisCollectionCreatedResponseinstance.Set the status of thisCollectionCreatedResponseinstance and return the same instance.toMap()Get the value of all properties of thisCollectionCreatedResponseinstance including unrecognized properties.toString()
-
Constructor Details
-
CollectionCreatedResponse
protected CollectionCreatedResponse()Default constructor for CollectionCreatedResponse.
-
-
Method Details
-
collectionURL
Set the collectionURL of thisCollectionCreatedResponseinstance and return the same instance.- Parameters:
collectionURL- The collectionURL of thisCollectionCreatedResponse- Returns:
- The same instance of this
CollectionCreatedResponseclass
-
getCollectionURL
Get collectionURL- Returns:
- collectionURL The collectionURL of this
CollectionCreatedResponseinstance.
-
setCollectionURL
Set the collectionURL of thisCollectionCreatedResponseinstance.- Parameters:
collectionURL- The collectionURL of thisCollectionCreatedResponse
-
status
Set the status of thisCollectionCreatedResponseinstance and return the same instance.- Parameters:
status- The status of thisCollectionCreatedResponse- Returns:
- The same instance of this
CollectionCreatedResponseclass
-
getStatus
Get status- Returns:
- status The status of this
CollectionCreatedResponseinstance.
-
setStatus
Set the status of thisCollectionCreatedResponseinstance.- Parameters:
status- The status of thisCollectionCreatedResponse
-
getCustomFieldNames
Get the names of the unrecognizable properties of theCollectionCreatedResponse.- 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 thisCollectionCreatedResponseinstance.- 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 thisCollectionCreatedResponseinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisCollectionCreatedResponseinstance. 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 newCollectionCreatedResponseinstance with all required arguments.
-
toMap()instead.