Package com.sap.ai.sdk.core.model
Class DSetFileCreationResponse
java.lang.Object
com.sap.ai.sdk.core.model.DSetFileCreationResponse
Response for successful file creation
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class.static interfaceBuilder helper class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for DSetFileCreationResponse. -
Method Summary
Modifier and TypeMethodDescriptioncreate()Create a type-safe, fluent-api builder object to construct a newDSetFileCreationResponseinstance with all required arguments.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theDSetFileCreationResponse.File creation response messagegetUrl()Get urlinthashCode()Set the message of thisDSetFileCreationResponseinstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisDSetFileCreationResponseinstance.voidsetMessage(String message) Set the message of thisDSetFileCreationResponseinstance.voidSet the url of thisDSetFileCreationResponseinstance.toMap()Get the value of all properties of thisDSetFileCreationResponseinstance including unrecognized properties.toString()Set the url of thisDSetFileCreationResponseinstance and return the same instance.
-
Constructor Details
-
DSetFileCreationResponse
protected DSetFileCreationResponse()Default constructor for DSetFileCreationResponse.
-
-
Method Details
-
message
Set the message of thisDSetFileCreationResponseinstance and return the same instance.- Parameters:
message- File creation response message- Returns:
- The same instance of this
DSetFileCreationResponseclass
-
getMessage
File creation response message- Returns:
- message The message of this
DSetFileCreationResponseinstance.
-
setMessage
Set the message of thisDSetFileCreationResponseinstance.- Parameters:
message- File creation response message
-
url
Set the url of thisDSetFileCreationResponseinstance and return the same instance.- Parameters:
url- The url of thisDSetFileCreationResponse- Returns:
- The same instance of this
DSetFileCreationResponseclass
-
getUrl
Get url- Returns:
- url The url of this
DSetFileCreationResponseinstance.
-
setUrl
Set the url of thisDSetFileCreationResponseinstance.- Parameters:
url- The url of thisDSetFileCreationResponse
-
getCustomFieldNames
Get the names of the unrecognizable properties of theDSetFileCreationResponse.- 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 thisDSetFileCreationResponseinstance.- 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 thisDSetFileCreationResponseinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisDSetFileCreationResponseinstance. 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 newDSetFileCreationResponseinstance with all required arguments.
-
toMap()instead.