Class PromptTemplateHistoryDeleteResponse
java.lang.Object
com.sap.ai.sdk.prompt.registry.model.PromptTemplateHistoryDeleteResponse
PromptTemplateHistoryDeleteResponse
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class.static interfaceBuilder helper class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for PromptTemplateHistoryDeleteResponse. -
Method Summary
Modifier and TypeMethodDescriptioncreate()Create a type-safe, fluent-api builder object to construct a newPromptTemplateHistoryDeleteResponseinstance with all required arguments.Set the deleted of thisPromptTemplateHistoryDeleteResponseinstance and return the same instance.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of thePromptTemplateHistoryDeleteResponse.Get deletedGet messageinthashCode()Set the message of thisPromptTemplateHistoryDeleteResponseinstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisPromptTemplateHistoryDeleteResponseinstance.voidsetDeleted(Integer deleted) Set the deleted of thisPromptTemplateHistoryDeleteResponseinstance.voidsetMessage(String message) Set the message of thisPromptTemplateHistoryDeleteResponseinstance.toMap()Get the value of all properties of thisPromptTemplateHistoryDeleteResponseinstance including unrecognized properties.toString()
-
Constructor Details
-
PromptTemplateHistoryDeleteResponse
protected PromptTemplateHistoryDeleteResponse()Default constructor for PromptTemplateHistoryDeleteResponse.
-
-
Method Details
-
message
Set the message of thisPromptTemplateHistoryDeleteResponseinstance and return the same instance.- Parameters:
message- The message of thisPromptTemplateHistoryDeleteResponse- Returns:
- The same instance of this
PromptTemplateHistoryDeleteResponseclass
-
getMessage
Get message- Returns:
- message The message of this
PromptTemplateHistoryDeleteResponseinstance.
-
setMessage
Set the message of thisPromptTemplateHistoryDeleteResponseinstance.- Parameters:
message- The message of thisPromptTemplateHistoryDeleteResponse
-
deleted
Set the deleted of thisPromptTemplateHistoryDeleteResponseinstance and return the same instance.- Parameters:
deleted- The deleted of thisPromptTemplateHistoryDeleteResponse- Returns:
- The same instance of this
PromptTemplateHistoryDeleteResponseclass
-
getDeleted
Get deleted- Returns:
- deleted The deleted of this
PromptTemplateHistoryDeleteResponseinstance.
-
setDeleted
Set the deleted of thisPromptTemplateHistoryDeleteResponseinstance.- Parameters:
deleted- The deleted of thisPromptTemplateHistoryDeleteResponse
-
getCustomFieldNames
Get the names of the unrecognizable properties of thePromptTemplateHistoryDeleteResponse.- 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 thisPromptTemplateHistoryDeleteResponseinstance.- 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 thisPromptTemplateHistoryDeleteResponseinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisPromptTemplateHistoryDeleteResponseinstance. 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 newPromptTemplateHistoryDeleteResponseinstance with all required arguments.
-
toMap()instead.