Class ContentFilterDetectedWithCitationResult
java.lang.Object
com.sap.ai.sdk.foundationmodels.openai.generated.model.ContentFilterDetectedWithCitationResult
ContentFilterDetectedWithCitationResult
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSet the citation of thisContentFilterDetectedWithCitationResultinstance and return the same instance.Set the detected of thisContentFilterDetectedWithCitationResultinstance and return the same instance.booleanSet the filtered of thisContentFilterDetectedWithCitationResultinstance and return the same instance.Get citationgetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theContentFilterDetectedWithCitationResult.inthashCode()Get detectedGet filteredvoidSet the citation of thisContentFilterDetectedWithCitationResultinstance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisContentFilterDetectedWithCitationResultinstance.voidsetDetected(Boolean detected) Set the detected of thisContentFilterDetectedWithCitationResultinstance.voidsetFiltered(Boolean filtered) Set the filtered of thisContentFilterDetectedWithCitationResultinstance.toMap()Get the value of all properties of thisContentFilterDetectedWithCitationResultinstance including unrecognized properties.toString()
-
Constructor Details
-
ContentFilterDetectedWithCitationResult
public ContentFilterDetectedWithCitationResult()
-
-
Method Details
-
filtered
Set the filtered of thisContentFilterDetectedWithCitationResultinstance and return the same instance.- Parameters:
filtered- The filtered of thisContentFilterDetectedWithCitationResult- Returns:
- The same instance of this
ContentFilterDetectedWithCitationResultclass
-
isFiltered
Get filtered- Returns:
- filtered The filtered of this
ContentFilterDetectedWithCitationResultinstance.
-
setFiltered
Set the filtered of thisContentFilterDetectedWithCitationResultinstance.- Parameters:
filtered- The filtered of thisContentFilterDetectedWithCitationResult
-
detected
Set the detected of thisContentFilterDetectedWithCitationResultinstance and return the same instance.- Parameters:
detected- The detected of thisContentFilterDetectedWithCitationResult- Returns:
- The same instance of this
ContentFilterDetectedWithCitationResultclass
-
isDetected
Get detected- Returns:
- detected The detected of this
ContentFilterDetectedWithCitationResultinstance.
-
setDetected
Set the detected of thisContentFilterDetectedWithCitationResultinstance.- Parameters:
detected- The detected of thisContentFilterDetectedWithCitationResult
-
citation
@Nonnull public ContentFilterDetectedWithCitationResult citation(@Nullable ContentFilterDetectedWithCitationResultAllOfCitation citation) Set the citation of thisContentFilterDetectedWithCitationResultinstance and return the same instance.- Parameters:
citation- The citation of thisContentFilterDetectedWithCitationResult- Returns:
- The same instance of this
ContentFilterDetectedWithCitationResultclass
-
getCitation
Get citation- Returns:
- citation The citation of this
ContentFilterDetectedWithCitationResultinstance.
-
setCitation
Set the citation of thisContentFilterDetectedWithCitationResultinstance.- Parameters:
citation- The citation of thisContentFilterDetectedWithCitationResult
-
getCustomFieldNames
Get the names of the unrecognizable properties of theContentFilterDetectedWithCitationResult.- 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 thisContentFilterDetectedWithCitationResultinstance.- 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 thisContentFilterDetectedWithCitationResultinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisContentFilterDetectedWithCitationResultinstance. 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.