Package com.sap.ai.sdk.grounding.model
Class SDMPipelineMinimalResponse
java.lang.Object
com.sap.ai.sdk.grounding.model.SDMPipelineMinimalResponse
- All Implemented Interfaces:
PipelineMinimalResponse
SDMPipelineMinimalResponse
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class.static interfaceBuilder helper class.static interfaceBuilder helper class.static enumGets or Sets type -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for SDMPipelineMinimalResponse. -
Method Summary
Modifier and TypeMethodDescriptioncreate()Create a type-safe, fluent-api builder object to construct a newSDMPipelineMinimalResponseinstance with all required arguments.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theSDMPipelineMinimalResponse.getId()Get idGet statusgetType()Get typeinthashCode()Set the id of thisSDMPipelineMinimalResponseinstance and return the same instance.Get metadataSet the metadata of thisSDMPipelineMinimalResponseinstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisSDMPipelineMinimalResponseinstance.voidSet the id of thisSDMPipelineMinimalResponseinstance.voidsetMetadata(Boolean metadata) Set the metadata of thisSDMPipelineMinimalResponseinstance.voidsetStatus(PipelineExecutionStatus status) Set the status of thisSDMPipelineMinimalResponseinstance.voidSet the type of thisSDMPipelineMinimalResponseinstance.status(PipelineExecutionStatus status) Set the status of thisSDMPipelineMinimalResponseinstance and return the same instance.toMap()Get the value of all properties of thisSDMPipelineMinimalResponseinstance including unrecognized properties.toString()Set the type of thisSDMPipelineMinimalResponseinstance and return the same instance.
-
Constructor Details
-
SDMPipelineMinimalResponse
protected SDMPipelineMinimalResponse()Default constructor for SDMPipelineMinimalResponse.
-
-
Method Details
-
id
Set the id of thisSDMPipelineMinimalResponseinstance and return the same instance.- Parameters:
id- The id of thisSDMPipelineMinimalResponse- Returns:
- The same instance of this
SDMPipelineMinimalResponseclass
-
getId
Get id- Returns:
- id The id of this
SDMPipelineMinimalResponseinstance.
-
setId
Set the id of thisSDMPipelineMinimalResponseinstance.- Parameters:
id- The id of thisSDMPipelineMinimalResponse
-
status
Set the status of thisSDMPipelineMinimalResponseinstance and return the same instance.- Parameters:
status- The status of thisSDMPipelineMinimalResponse- Returns:
- The same instance of this
SDMPipelineMinimalResponseclass
-
getStatus
Get status- Returns:
- status The status of this
SDMPipelineMinimalResponseinstance.
-
setStatus
Set the status of thisSDMPipelineMinimalResponseinstance.- Parameters:
status- The status of thisSDMPipelineMinimalResponse
-
type
Set the type of thisSDMPipelineMinimalResponseinstance and return the same instance.- Parameters:
type- The type of thisSDMPipelineMinimalResponse- Returns:
- The same instance of this
SDMPipelineMinimalResponseclass
-
getType
Get type- Specified by:
getTypein interfacePipelineMinimalResponse- Returns:
- type The type of this
SDMPipelineMinimalResponseinstance.
-
setType
Set the type of thisSDMPipelineMinimalResponseinstance.- Parameters:
type- The type of thisSDMPipelineMinimalResponse
-
metadata
Set the metadata of thisSDMPipelineMinimalResponseinstance and return the same instance.- Parameters:
metadata- The metadata of thisSDMPipelineMinimalResponse- Returns:
- The same instance of this
SDMPipelineMinimalResponseclass
-
isMetadata
Get metadata- Returns:
- metadata The metadata of this
SDMPipelineMinimalResponseinstance.
-
setMetadata
Set the metadata of thisSDMPipelineMinimalResponseinstance.- Parameters:
metadata- The metadata of thisSDMPipelineMinimalResponse
-
getCustomFieldNames
Get the names of the unrecognizable properties of theSDMPipelineMinimalResponse.- 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 thisSDMPipelineMinimalResponseinstance.- 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 thisSDMPipelineMinimalResponseinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisSDMPipelineMinimalResponseinstance. 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 newSDMPipelineMinimalResponseinstance with all required arguments.
-
toMap()instead.