Class PromptTemplateGetResponse
java.lang.Object
com.sap.ai.sdk.prompt.registry.model.PromptTemplateGetResponse
PromptTemplateGetResponse
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for PromptTemplateGetResponse. -
Method Summary
Modifier and TypeMethodDescriptionstatic PromptTemplateGetResponsecreate()Create a newPromptTemplateGetResponseinstance.creationTimestamp(String creationTimestamp) Set the creationTimestamp of thisPromptTemplateGetResponseinstance and return the same instance.booleanGet creationTimestampgetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of thePromptTemplateGetResponse.getId()Get idGet managedBygetName()Get nameGet resourceGroupIdGet scenariogetSpec()Get specGet versioninthashCode()Set the id of thisPromptTemplateGetResponseinstance and return the same instance.Get isVersionHeadisVersionHead(Boolean isVersionHead) Set the isVersionHead of thisPromptTemplateGetResponseinstance and return the same instance.Set the managedBy of thisPromptTemplateGetResponseinstance and return the same instance.Set the name of thisPromptTemplateGetResponseinstance and return the same instance.resourceGroupId(String resourceGroupId) Set the resourceGroupId of thisPromptTemplateGetResponseinstance and return the same instance.Set the scenario of thisPromptTemplateGetResponseinstance and return the same instance.voidsetCreationTimestamp(String creationTimestamp) Set the creationTimestamp of thisPromptTemplateGetResponseinstance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisPromptTemplateGetResponseinstance.voidSet the id of thisPromptTemplateGetResponseinstance.voidsetIsVersionHead(Boolean isVersionHead) Set the isVersionHead of thisPromptTemplateGetResponseinstance.voidsetManagedBy(String managedBy) Set the managedBy of thisPromptTemplateGetResponseinstance.voidSet the name of thisPromptTemplateGetResponseinstance.voidsetResourceGroupId(String resourceGroupId) Set the resourceGroupId of thisPromptTemplateGetResponseinstance.voidsetScenario(String scenario) Set the scenario of thisPromptTemplateGetResponseinstance.voidsetSpec(PromptTemplateSpec spec) Set the spec of thisPromptTemplateGetResponseinstance.voidsetVersion(String version) Set the version of thisPromptTemplateGetResponseinstance.spec(PromptTemplateSpec spec) Set the spec of thisPromptTemplateGetResponseinstance and return the same instance.toMap()Get the value of all properties of thisPromptTemplateGetResponseinstance including unrecognized properties.toString()Set the version of thisPromptTemplateGetResponseinstance and return the same instance.
-
Constructor Details
-
PromptTemplateGetResponse
protected PromptTemplateGetResponse()Default constructor for PromptTemplateGetResponse.
-
-
Method Details
-
id
Set the id of thisPromptTemplateGetResponseinstance and return the same instance.- Parameters:
id- The id of thisPromptTemplateGetResponse- Returns:
- The same instance of this
PromptTemplateGetResponseclass
-
getId
Get id- Returns:
- id The id of this
PromptTemplateGetResponseinstance.
-
setId
Set the id of thisPromptTemplateGetResponseinstance.- Parameters:
id- The id of thisPromptTemplateGetResponse
-
name
Set the name of thisPromptTemplateGetResponseinstance and return the same instance.- Parameters:
name- The name of thisPromptTemplateGetResponse- Returns:
- The same instance of this
PromptTemplateGetResponseclass
-
getName
Get name- Returns:
- name The name of this
PromptTemplateGetResponseinstance.
-
setName
Set the name of thisPromptTemplateGetResponseinstance.- Parameters:
name- The name of thisPromptTemplateGetResponse
-
version
Set the version of thisPromptTemplateGetResponseinstance and return the same instance.- Parameters:
version- The version of thisPromptTemplateGetResponse- Returns:
- The same instance of this
PromptTemplateGetResponseclass
-
getVersion
Get version- Returns:
- version The version of this
PromptTemplateGetResponseinstance.
-
setVersion
Set the version of thisPromptTemplateGetResponseinstance.- Parameters:
version- The version of thisPromptTemplateGetResponse
-
scenario
Set the scenario of thisPromptTemplateGetResponseinstance and return the same instance.- Parameters:
scenario- The scenario of thisPromptTemplateGetResponse- Returns:
- The same instance of this
PromptTemplateGetResponseclass
-
getScenario
Get scenario- Returns:
- scenario The scenario of this
PromptTemplateGetResponseinstance.
-
setScenario
Set the scenario of thisPromptTemplateGetResponseinstance.- Parameters:
scenario- The scenario of thisPromptTemplateGetResponse
-
creationTimestamp
Set the creationTimestamp of thisPromptTemplateGetResponseinstance and return the same instance.- Parameters:
creationTimestamp- The creationTimestamp of thisPromptTemplateGetResponse- Returns:
- The same instance of this
PromptTemplateGetResponseclass
-
getCreationTimestamp
Get creationTimestamp- Returns:
- creationTimestamp The creationTimestamp of this
PromptTemplateGetResponseinstance.
-
setCreationTimestamp
Set the creationTimestamp of thisPromptTemplateGetResponseinstance.- Parameters:
creationTimestamp- The creationTimestamp of thisPromptTemplateGetResponse
-
managedBy
Set the managedBy of thisPromptTemplateGetResponseinstance and return the same instance.- Parameters:
managedBy- The managedBy of thisPromptTemplateGetResponse- Returns:
- The same instance of this
PromptTemplateGetResponseclass
-
getManagedBy
Get managedBy- Returns:
- managedBy The managedBy of this
PromptTemplateGetResponseinstance.
-
setManagedBy
Set the managedBy of thisPromptTemplateGetResponseinstance.- Parameters:
managedBy- The managedBy of thisPromptTemplateGetResponse
-
isVersionHead
Set the isVersionHead of thisPromptTemplateGetResponseinstance and return the same instance.- Parameters:
isVersionHead- The isVersionHead of thisPromptTemplateGetResponse- Returns:
- The same instance of this
PromptTemplateGetResponseclass
-
isIsVersionHead
Get isVersionHead- Returns:
- isVersionHead The isVersionHead of this
PromptTemplateGetResponseinstance.
-
setIsVersionHead
Set the isVersionHead of thisPromptTemplateGetResponseinstance.- Parameters:
isVersionHead- The isVersionHead of thisPromptTemplateGetResponse
-
resourceGroupId
Set the resourceGroupId of thisPromptTemplateGetResponseinstance and return the same instance.- Parameters:
resourceGroupId- The resourceGroupId of thisPromptTemplateGetResponse- Returns:
- The same instance of this
PromptTemplateGetResponseclass
-
getResourceGroupId
Get resourceGroupId- Returns:
- resourceGroupId The resourceGroupId of this
PromptTemplateGetResponseinstance.
-
setResourceGroupId
Set the resourceGroupId of thisPromptTemplateGetResponseinstance.- Parameters:
resourceGroupId- The resourceGroupId of thisPromptTemplateGetResponse
-
spec
Set the spec of thisPromptTemplateGetResponseinstance and return the same instance.- Parameters:
spec- The spec of thisPromptTemplateGetResponse- Returns:
- The same instance of this
PromptTemplateGetResponseclass
-
getSpec
Get spec- Returns:
- spec The spec of this
PromptTemplateGetResponseinstance.
-
setSpec
Set the spec of thisPromptTemplateGetResponseinstance.- Parameters:
spec- The spec of thisPromptTemplateGetResponse
-
getCustomFieldNames
Get the names of the unrecognizable properties of thePromptTemplateGetResponse.- 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 thisPromptTemplateGetResponseinstance.- 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 thisPromptTemplateGetResponseinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisPromptTemplateGetResponseinstance. 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 newPromptTemplateGetResponseinstance. No arguments are required.
-
toMap()instead.