Class ImageContentImageUrl
java.lang.Object
com.sap.ai.sdk.prompt.registry.model.ImageContentImageUrl
ImageContentImageUrl
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for ImageContentImageUrl. -
Method Summary
Modifier and TypeMethodDescriptionstatic ImageContentImageUrl.Buildercreate()Create a type-safe, fluent-api builder object to construct a newImageContentImageUrlinstance with all required arguments.Set the detail of thisImageContentImageUrlinstance and return the same instance.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theImageContentImageUrl.Get detailgetUrl()Get urlinthashCode()voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisImageContentImageUrlinstance.voidSet the detail of thisImageContentImageUrlinstance.voidSet the url of thisImageContentImageUrlinstance.toMap()Get the value of all properties of thisImageContentImageUrlinstance including unrecognized properties.toString()Set the url of thisImageContentImageUrlinstance and return the same instance.
-
Constructor Details
-
ImageContentImageUrl
protected ImageContentImageUrl()Default constructor for ImageContentImageUrl.
-
-
Method Details
-
url
Set the url of thisImageContentImageUrlinstance and return the same instance.- Parameters:
url- The url of thisImageContentImageUrl- Returns:
- The same instance of this
ImageContentImageUrlclass
-
getUrl
Get url- Returns:
- url The url of this
ImageContentImageUrlinstance.
-
setUrl
Set the url of thisImageContentImageUrlinstance.- Parameters:
url- The url of thisImageContentImageUrl
-
detail
Set the detail of thisImageContentImageUrlinstance and return the same instance.- Parameters:
detail- The detail of thisImageContentImageUrl- Returns:
- The same instance of this
ImageContentImageUrlclass
-
getDetail
Get detail- Returns:
- detail The detail of this
ImageContentImageUrlinstance.
-
setDetail
Set the detail of thisImageContentImageUrlinstance.- Parameters:
detail- The detail of thisImageContentImageUrl
-
getCustomFieldNames
Get the names of the unrecognizable properties of theImageContentImageUrl.- 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 thisImageContentImageUrlinstance.- 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 thisImageContentImageUrlinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisImageContentImageUrlinstance. 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 newImageContentImageUrlinstance with all required arguments.
-
toMap()instead.