Package com.sap.ai.sdk.core.model
Class AiArtifactCreationResponse
java.lang.Object
com.sap.ai.sdk.core.model.AiArtifactCreationResponse
AiArtifactCreationResponse
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class.static interfaceBuilder helper class.static interfaceBuilder helper class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for AiArtifactCreationResponse. -
Method Summary
Modifier and TypeMethodDescriptioncreate()Create a type-safe, fluent-api builder object to construct a newAiArtifactCreationResponseinstance with all required arguments.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theAiArtifactCreationResponse.getId()Generic IDMessagegetUrl()Reference to the location of the artifact.inthashCode()Set the id of thisAiArtifactCreationResponseinstance and return the same instance.Set the message of thisAiArtifactCreationResponseinstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisAiArtifactCreationResponseinstance.voidSet the id of thisAiArtifactCreationResponseinstance.voidsetMessage(String message) Set the message of thisAiArtifactCreationResponseinstance.voidSet the url of thisAiArtifactCreationResponseinstance.toMap()Get the value of all properties of thisAiArtifactCreationResponseinstance including unrecognized properties.toString()Set the url of thisAiArtifactCreationResponseinstance and return the same instance.
-
Constructor Details
-
AiArtifactCreationResponse
protected AiArtifactCreationResponse()Default constructor for AiArtifactCreationResponse.
-
-
Method Details
-
id
Set the id of thisAiArtifactCreationResponseinstance and return the same instance.- Parameters:
id- Generic ID- Returns:
- The same instance of this
AiArtifactCreationResponseclass
-
getId
Generic ID- Returns:
- id The id of this
AiArtifactCreationResponseinstance.
-
setId
Set the id of thisAiArtifactCreationResponseinstance.- Parameters:
id- Generic ID
-
message
Set the message of thisAiArtifactCreationResponseinstance and return the same instance.- Parameters:
message- Message- Returns:
- The same instance of this
AiArtifactCreationResponseclass
-
getMessage
Message- Returns:
- message The message of this
AiArtifactCreationResponseinstance.
-
setMessage
Set the message of thisAiArtifactCreationResponseinstance.- Parameters:
message- Message
-
url
Set the url of thisAiArtifactCreationResponseinstance and return the same instance.- Parameters:
url- Reference to the location of the artifact.- Returns:
- The same instance of this
AiArtifactCreationResponseclass
-
getUrl
Reference to the location of the artifact.- Returns:
- url The url of this
AiArtifactCreationResponseinstance.
-
setUrl
Set the url of thisAiArtifactCreationResponseinstance.- Parameters:
url- Reference to the location of the artifact.
-
getCustomFieldNames
Get the names of the unrecognizable properties of theAiArtifactCreationResponse.- 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 thisAiArtifactCreationResponseinstance.- 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 thisAiArtifactCreationResponseinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisAiArtifactCreationResponseinstance. 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 newAiArtifactCreationResponseinstance with all required arguments.
-
toMap()instead.