Package com.sap.ai.sdk.grounding.model
Class WorkZonePipelineGetResponse
java.lang.Object
com.sap.ai.sdk.grounding.model.WorkZonePipelineGetResponse
- All Implemented Interfaces:
GetPipeline
WorkZonePipelineGetResponse
-
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 WorkZonePipelineGetResponse. -
Method Summary
Modifier and TypeMethodDescriptioncreate()Create a type-safe, fluent-api builder object to construct a newWorkZonePipelineGetResponseinstance with all required arguments.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theWorkZonePipelineGetResponse.getId()Get idGet metadatagetType()Get typeinthashCode()Set the id of thisWorkZonePipelineGetResponseinstance and return the same instance.Set the metadata of thisWorkZonePipelineGetResponseinstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisWorkZonePipelineGetResponseinstance.voidSet the id of thisWorkZonePipelineGetResponseinstance.voidsetMetadata(MetaData metadata) Set the metadata of thisWorkZonePipelineGetResponseinstance.voidSet the type of thisWorkZonePipelineGetResponseinstance.toMap()Get the value of all properties of thisWorkZonePipelineGetResponseinstance including unrecognized properties.toString()Set the type of thisWorkZonePipelineGetResponseinstance and return the same instance.
-
Constructor Details
-
WorkZonePipelineGetResponse
protected WorkZonePipelineGetResponse()Default constructor for WorkZonePipelineGetResponse.
-
-
Method Details
-
id
Set the id of thisWorkZonePipelineGetResponseinstance and return the same instance.- Parameters:
id- The id of thisWorkZonePipelineGetResponse- Returns:
- The same instance of this
WorkZonePipelineGetResponseclass
-
getId
Get id- Returns:
- id The id of this
WorkZonePipelineGetResponseinstance.
-
setId
Set the id of thisWorkZonePipelineGetResponseinstance.- Parameters:
id- The id of thisWorkZonePipelineGetResponse
-
type
@Nonnull public WorkZonePipelineGetResponse type(@Nonnull WorkZonePipelineGetResponse.TypeEnum type) Set the type of thisWorkZonePipelineGetResponseinstance and return the same instance.- Parameters:
type- The type of thisWorkZonePipelineGetResponse- Returns:
- The same instance of this
WorkZonePipelineGetResponseclass
-
getType
Get type- Specified by:
getTypein interfaceGetPipeline- Returns:
- type The type of this
WorkZonePipelineGetResponseinstance.
-
setType
Set the type of thisWorkZonePipelineGetResponseinstance.- Parameters:
type- The type of thisWorkZonePipelineGetResponse
-
metadata
Set the metadata of thisWorkZonePipelineGetResponseinstance and return the same instance.- Parameters:
metadata- The metadata of thisWorkZonePipelineGetResponse- Returns:
- The same instance of this
WorkZonePipelineGetResponseclass
-
getMetadata
Get metadata- Returns:
- metadata The metadata of this
WorkZonePipelineGetResponseinstance.
-
setMetadata
Set the metadata of thisWorkZonePipelineGetResponseinstance.- Parameters:
metadata- The metadata of thisWorkZonePipelineGetResponse
-
getCustomFieldNames
Get the names of the unrecognizable properties of theWorkZonePipelineGetResponse.- 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 thisWorkZonePipelineGetResponseinstance.- 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 thisWorkZonePipelineGetResponseinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisWorkZonePipelineGetResponseinstance. 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 newWorkZonePipelineGetResponseinstance with all required arguments.
-
toMap()instead.