Package com.sap.ai.sdk.core.model
Class AiExecutionCreationResponse
java.lang.Object
com.sap.ai.sdk.core.model.AiExecutionCreationResponse
AiExecutionCreationResponse
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class.static interfaceBuilder helper class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for AiExecutionCreationResponse. -
Method Summary
Modifier and TypeMethodDescriptioncreate()Create a type-safe, fluent-api builder object to construct a newAiExecutionCreationResponseinstance with all required arguments.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theAiExecutionCreationResponse.getId()Generic IDMessageGet statusinthashCode()Set the id of thisAiExecutionCreationResponseinstance and return the same instance.Set the message of thisAiExecutionCreationResponseinstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisAiExecutionCreationResponseinstance.voidSet the id of thisAiExecutionCreationResponseinstance.voidsetMessage(String message) Set the message of thisAiExecutionCreationResponseinstance.voidsetStatus(AiExecutionStatus status) Set the status of thisAiExecutionCreationResponseinstance.status(AiExecutionStatus status) Set the status of thisAiExecutionCreationResponseinstance and return the same instance.toMap()Get the value of all properties of thisAiExecutionCreationResponseinstance including unrecognized properties.toString()
-
Constructor Details
-
AiExecutionCreationResponse
protected AiExecutionCreationResponse()Default constructor for AiExecutionCreationResponse.
-
-
Method Details
-
id
Set the id of thisAiExecutionCreationResponseinstance and return the same instance.- Parameters:
id- Generic ID- Returns:
- The same instance of this
AiExecutionCreationResponseclass
-
getId
Generic ID- Returns:
- id The id of this
AiExecutionCreationResponseinstance.
-
setId
Set the id of thisAiExecutionCreationResponseinstance.- Parameters:
id- Generic ID
-
message
Set the message of thisAiExecutionCreationResponseinstance and return the same instance.- Parameters:
message- Message- Returns:
- The same instance of this
AiExecutionCreationResponseclass
-
getMessage
Message- Returns:
- message The message of this
AiExecutionCreationResponseinstance.
-
setMessage
Set the message of thisAiExecutionCreationResponseinstance.- Parameters:
message- Message
-
status
Set the status of thisAiExecutionCreationResponseinstance and return the same instance.- Parameters:
status- The status of thisAiExecutionCreationResponse- Returns:
- The same instance of this
AiExecutionCreationResponseclass
-
getStatus
Get status- Returns:
- status The status of this
AiExecutionCreationResponseinstance.
-
setStatus
Set the status of thisAiExecutionCreationResponseinstance.- Parameters:
status- The status of thisAiExecutionCreationResponse
-
getCustomFieldNames
Get the names of the unrecognizable properties of theAiExecutionCreationResponse.- 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 thisAiExecutionCreationResponseinstance.- 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 thisAiExecutionCreationResponseinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisAiExecutionCreationResponseinstance. 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 newAiExecutionCreationResponseinstance with all required arguments.
-
toMap()instead.