Package com.sap.ai.sdk.grounding.model
Class WorkZonePipelineMinimalResponse
java.lang.Object
com.sap.ai.sdk.grounding.model.WorkZonePipelineMinimalResponse
- All Implemented Interfaces:
PipelineMinimalResponse
WorkZonePipelineMinimalResponse
-
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 WorkZonePipelineMinimalResponse. -
Method Summary
Modifier and TypeMethodDescriptioncreate()Create a type-safe, fluent-api builder object to construct a newWorkZonePipelineMinimalResponseinstance with all required arguments.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theWorkZonePipelineMinimalResponse.getId()Get idGet statusgetType()Get typeinthashCode()Set the id of thisWorkZonePipelineMinimalResponseinstance and return the same instance.Get metadataSet the metadata of thisWorkZonePipelineMinimalResponseinstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisWorkZonePipelineMinimalResponseinstance.voidSet the id of thisWorkZonePipelineMinimalResponseinstance.voidsetMetadata(Boolean metadata) Set the metadata of thisWorkZonePipelineMinimalResponseinstance.voidsetStatus(PipelineExecutionStatus status) Set the status of thisWorkZonePipelineMinimalResponseinstance.voidSet the type of thisWorkZonePipelineMinimalResponseinstance.status(PipelineExecutionStatus status) Set the status of thisWorkZonePipelineMinimalResponseinstance and return the same instance.toMap()Get the value of all properties of thisWorkZonePipelineMinimalResponseinstance including unrecognized properties.toString()Set the type of thisWorkZonePipelineMinimalResponseinstance and return the same instance.
-
Constructor Details
-
WorkZonePipelineMinimalResponse
protected WorkZonePipelineMinimalResponse()Default constructor for WorkZonePipelineMinimalResponse.
-
-
Method Details
-
id
Set the id of thisWorkZonePipelineMinimalResponseinstance and return the same instance.- Parameters:
id- The id of thisWorkZonePipelineMinimalResponse- Returns:
- The same instance of this
WorkZonePipelineMinimalResponseclass
-
getId
Get id- Returns:
- id The id of this
WorkZonePipelineMinimalResponseinstance.
-
setId
Set the id of thisWorkZonePipelineMinimalResponseinstance.- Parameters:
id- The id of thisWorkZonePipelineMinimalResponse
-
status
Set the status of thisWorkZonePipelineMinimalResponseinstance and return the same instance.- Parameters:
status- The status of thisWorkZonePipelineMinimalResponse- Returns:
- The same instance of this
WorkZonePipelineMinimalResponseclass
-
getStatus
Get status- Returns:
- status The status of this
WorkZonePipelineMinimalResponseinstance.
-
setStatus
Set the status of thisWorkZonePipelineMinimalResponseinstance.- Parameters:
status- The status of thisWorkZonePipelineMinimalResponse
-
type
@Nonnull public WorkZonePipelineMinimalResponse type(@Nonnull WorkZonePipelineMinimalResponse.TypeEnum type) Set the type of thisWorkZonePipelineMinimalResponseinstance and return the same instance.- Parameters:
type- The type of thisWorkZonePipelineMinimalResponse- Returns:
- The same instance of this
WorkZonePipelineMinimalResponseclass
-
getType
Get type- Specified by:
getTypein interfacePipelineMinimalResponse- Returns:
- type The type of this
WorkZonePipelineMinimalResponseinstance.
-
setType
Set the type of thisWorkZonePipelineMinimalResponseinstance.- Parameters:
type- The type of thisWorkZonePipelineMinimalResponse
-
metadata
Set the metadata of thisWorkZonePipelineMinimalResponseinstance and return the same instance.- Parameters:
metadata- The metadata of thisWorkZonePipelineMinimalResponse- Returns:
- The same instance of this
WorkZonePipelineMinimalResponseclass
-
isMetadata
Get metadata- Returns:
- metadata The metadata of this
WorkZonePipelineMinimalResponseinstance.
-
setMetadata
Set the metadata of thisWorkZonePipelineMinimalResponseinstance.- Parameters:
metadata- The metadata of thisWorkZonePipelineMinimalResponse
-
getCustomFieldNames
Get the names of the unrecognizable properties of theWorkZonePipelineMinimalResponse.- 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 thisWorkZonePipelineMinimalResponseinstance.- 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 thisWorkZonePipelineMinimalResponseinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisWorkZonePipelineMinimalResponseinstance. 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 newWorkZonePipelineMinimalResponseinstance with all required arguments.
-
toMap()instead.