Package com.sap.ai.sdk.grounding.model
Class SearchPipelinesResponse
java.lang.Object
com.sap.ai.sdk.grounding.model.SearchPipelinesResponse
SearchPipelinesResponse
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for SearchPipelinesResponse. -
Method Summary
Modifier and TypeMethodDescriptionaddResourcesItem(PipelineMinimalResponse resourcesItem) Add one resources instance to thisSearchPipelinesResponse.Set the count of thisSearchPipelinesResponseinstance and return the same instance.create()Create a type-safe, fluent-api builder object to construct a newSearchPipelinesResponseinstance with all required arguments.booleangetCount()Get countgetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theSearchPipelinesResponse.Get resourcesinthashCode()resources(List<PipelineMinimalResponse> resources) Set the resources of thisSearchPipelinesResponseinstance and return the same instance.voidSet the count of thisSearchPipelinesResponseinstance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisSearchPipelinesResponseinstance.voidsetResources(List<PipelineMinimalResponse> resources) Set the resources of thisSearchPipelinesResponseinstance.toMap()Get the value of all properties of thisSearchPipelinesResponseinstance including unrecognized properties.toString()
-
Constructor Details
-
SearchPipelinesResponse
protected SearchPipelinesResponse()Default constructor for SearchPipelinesResponse.
-
-
Method Details
-
count
Set the count of thisSearchPipelinesResponseinstance and return the same instance.- Parameters:
count- The count of thisSearchPipelinesResponse- Returns:
- The same instance of this
SearchPipelinesResponseclass
-
getCount
Get count- Returns:
- count The count of this
SearchPipelinesResponseinstance.
-
setCount
Set the count of thisSearchPipelinesResponseinstance.- Parameters:
count- The count of thisSearchPipelinesResponse
-
resources
Set the resources of thisSearchPipelinesResponseinstance and return the same instance.- Parameters:
resources- The resources of thisSearchPipelinesResponse- Returns:
- The same instance of this
SearchPipelinesResponseclass
-
addResourcesItem
@Nonnull public SearchPipelinesResponse addResourcesItem(@Nonnull PipelineMinimalResponse resourcesItem) Add one resources instance to thisSearchPipelinesResponse.- Parameters:
resourcesItem- The resources that should be added- Returns:
- The same instance of type
SearchPipelinesResponse
-
getResources
Get resources- Returns:
- resources The resources of this
SearchPipelinesResponseinstance.
-
setResources
Set the resources of thisSearchPipelinesResponseinstance.- Parameters:
resources- The resources of thisSearchPipelinesResponse
-
getCustomFieldNames
Get the names of the unrecognizable properties of theSearchPipelinesResponse.- 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 thisSearchPipelinesResponseinstance.- 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 thisSearchPipelinesResponseinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisSearchPipelinesResponseinstance. 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 newSearchPipelinesResponseinstance with all required arguments.
-
toMap()instead.