Package com.sap.ai.sdk.grounding.model
Class BasePipelineMinimalResponse
java.lang.Object
com.sap.ai.sdk.grounding.model.BasePipelineMinimalResponse
BasePipelineMinimalResponse
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class.static interfaceBuilder helper class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for BasePipelineMinimalResponse. -
Method Summary
Modifier and TypeMethodDescriptioncreate()Create a type-safe, fluent-api builder object to construct a newBasePipelineMinimalResponseinstance with all required arguments.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theBasePipelineMinimalResponse.getId()Get idGet statusinthashCode()Set the id of thisBasePipelineMinimalResponseinstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisBasePipelineMinimalResponseinstance.voidSet the id of thisBasePipelineMinimalResponseinstance.voidsetStatus(PipelineExecutionStatus status) Set the status of thisBasePipelineMinimalResponseinstance.status(PipelineExecutionStatus status) Set the status of thisBasePipelineMinimalResponseinstance and return the same instance.toMap()Get the value of all properties of thisBasePipelineMinimalResponseinstance including unrecognized properties.toString()
-
Constructor Details
-
BasePipelineMinimalResponse
protected BasePipelineMinimalResponse()Default constructor for BasePipelineMinimalResponse.
-
-
Method Details
-
id
Set the id of thisBasePipelineMinimalResponseinstance and return the same instance.- Parameters:
id- The id of thisBasePipelineMinimalResponse- Returns:
- The same instance of this
BasePipelineMinimalResponseclass
-
getId
Get id- Returns:
- id The id of this
BasePipelineMinimalResponseinstance.
-
setId
Set the id of thisBasePipelineMinimalResponseinstance.- Parameters:
id- The id of thisBasePipelineMinimalResponse
-
status
Set the status of thisBasePipelineMinimalResponseinstance and return the same instance.- Parameters:
status- The status of thisBasePipelineMinimalResponse- Returns:
- The same instance of this
BasePipelineMinimalResponseclass
-
getStatus
Get status- Returns:
- status The status of this
BasePipelineMinimalResponseinstance.
-
setStatus
Set the status of thisBasePipelineMinimalResponseinstance.- Parameters:
status- The status of thisBasePipelineMinimalResponse
-
getCustomFieldNames
Get the names of the unrecognizable properties of theBasePipelineMinimalResponse.- 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 thisBasePipelineMinimalResponseinstance.- 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 thisBasePipelineMinimalResponseinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisBasePipelineMinimalResponseinstance. 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 newBasePipelineMinimalResponseinstance with all required arguments.
-
toMap()instead.