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