Class RuntimePromptTemplateFileMetadata
java.lang.Object
com.sap.ai.sdk.prompt.registry.model.RuntimePromptTemplateFileMetadata
RuntimePromptTemplateFileMetadata
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for RuntimePromptTemplateFileMetadata. -
Method Summary
Modifier and TypeMethodDescriptioncreate()Create a newRuntimePromptTemplateFileMetadatainstance.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theRuntimePromptTemplateFileMetadata.getName()Get nameGet scenarioGet versioninthashCode()Set the name of thisRuntimePromptTemplateFileMetadatainstance and return the same instance.Set the scenario of thisRuntimePromptTemplateFileMetadatainstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisRuntimePromptTemplateFileMetadatainstance.voidSet the name of thisRuntimePromptTemplateFileMetadatainstance.voidsetScenario(String scenario) Set the scenario of thisRuntimePromptTemplateFileMetadatainstance.voidsetVersion(String version) Set the version of thisRuntimePromptTemplateFileMetadatainstance.toMap()Get the value of all properties of thisRuntimePromptTemplateFileMetadatainstance including unrecognized properties.toString()Set the version of thisRuntimePromptTemplateFileMetadatainstance and return the same instance.
-
Constructor Details
-
RuntimePromptTemplateFileMetadata
protected RuntimePromptTemplateFileMetadata()Default constructor for RuntimePromptTemplateFileMetadata.
-
-
Method Details
-
name
Set the name of thisRuntimePromptTemplateFileMetadatainstance and return the same instance.- Parameters:
name- The name of thisRuntimePromptTemplateFileMetadata- Returns:
- The same instance of this
RuntimePromptTemplateFileMetadataclass
-
getName
Get name- Returns:
- name The name of this
RuntimePromptTemplateFileMetadatainstance.
-
setName
Set the name of thisRuntimePromptTemplateFileMetadatainstance.- Parameters:
name- The name of thisRuntimePromptTemplateFileMetadata
-
version
Set the version of thisRuntimePromptTemplateFileMetadatainstance and return the same instance.- Parameters:
version- The version of thisRuntimePromptTemplateFileMetadata- Returns:
- The same instance of this
RuntimePromptTemplateFileMetadataclass
-
getVersion
Get version- Returns:
- version The version of this
RuntimePromptTemplateFileMetadatainstance.
-
setVersion
Set the version of thisRuntimePromptTemplateFileMetadatainstance.- Parameters:
version- The version of thisRuntimePromptTemplateFileMetadata
-
scenario
Set the scenario of thisRuntimePromptTemplateFileMetadatainstance and return the same instance.- Parameters:
scenario- The scenario of thisRuntimePromptTemplateFileMetadata- Returns:
- The same instance of this
RuntimePromptTemplateFileMetadataclass
-
getScenario
Get scenario- Returns:
- scenario The scenario of this
RuntimePromptTemplateFileMetadatainstance.
-
setScenario
Set the scenario of thisRuntimePromptTemplateFileMetadatainstance.- Parameters:
scenario- The scenario of thisRuntimePromptTemplateFileMetadata
-
getCustomFieldNames
Get the names of the unrecognizable properties of theRuntimePromptTemplateFileMetadata.- 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 thisRuntimePromptTemplateFileMetadatainstance.- 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 thisRuntimePromptTemplateFileMetadatainstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisRuntimePromptTemplateFileMetadatainstance. 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 newRuntimePromptTemplateFileMetadatainstance. No arguments are required.
-
toMap()instead.