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