Class ContentFilterDetectedWithCitationResultAllOfCitation
java.lang.Object
com.sap.ai.sdk.foundationmodels.openai.generated.model.ContentFilterDetectedWithCitationResultAllOfCitation
ContentFilterDetectedWithCitationResultAllOfCitation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theContentFilterDetectedWithCitationResultAllOfCitation.Get licensegetURL()Get URLinthashCode()Set the license of thisContentFilterDetectedWithCitationResultAllOfCitationinstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisContentFilterDetectedWithCitationResultAllOfCitationinstance.voidsetLicense(String license) Set the license of thisContentFilterDetectedWithCitationResultAllOfCitationinstance.voidSet the URL of thisContentFilterDetectedWithCitationResultAllOfCitationinstance.toMap()Get the value of all properties of thisContentFilterDetectedWithCitationResultAllOfCitationinstance including unrecognized properties.toString()Set the URL of thisContentFilterDetectedWithCitationResultAllOfCitationinstance and return the same instance.
-
Constructor Details
-
ContentFilterDetectedWithCitationResultAllOfCitation
public ContentFilterDetectedWithCitationResultAllOfCitation()
-
-
Method Details
-
URL
Set the URL of thisContentFilterDetectedWithCitationResultAllOfCitationinstance and return the same instance.- Parameters:
URL- The URL of thisContentFilterDetectedWithCitationResultAllOfCitation- Returns:
- The same instance of this
ContentFilterDetectedWithCitationResultAllOfCitationclass
-
getURL
Get URL- Returns:
- URL The URL of this
ContentFilterDetectedWithCitationResultAllOfCitationinstance.
-
setURL
Set the URL of thisContentFilterDetectedWithCitationResultAllOfCitationinstance.- Parameters:
URL- The URL of thisContentFilterDetectedWithCitationResultAllOfCitation
-
license
@Nonnull public ContentFilterDetectedWithCitationResultAllOfCitation license(@Nullable String license) Set the license of thisContentFilterDetectedWithCitationResultAllOfCitationinstance and return the same instance.- Parameters:
license- The license of thisContentFilterDetectedWithCitationResultAllOfCitation- Returns:
- The same instance of this
ContentFilterDetectedWithCitationResultAllOfCitationclass
-
getLicense
Get license- Returns:
- license The license of this
ContentFilterDetectedWithCitationResultAllOfCitationinstance.
-
setLicense
Set the license of thisContentFilterDetectedWithCitationResultAllOfCitationinstance.- Parameters:
license- The license of thisContentFilterDetectedWithCitationResultAllOfCitation
-
getCustomFieldNames
Get the names of the unrecognizable properties of theContentFilterDetectedWithCitationResultAllOfCitation.- 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 thisContentFilterDetectedWithCitationResultAllOfCitationinstance.- 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 thisContentFilterDetectedWithCitationResultAllOfCitationinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisContentFilterDetectedWithCitationResultAllOfCitationinstance. 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
-
toMap()instead.