ContentFilterDetailedResults Class
- java.
lang. Object - com.
azure. ai. openai. models. ContentFilterDetailedResults
- com.
Implements
public final class ContentFilterDetailedResults
implements JsonSerializable<ContentFilterDetailedResults>
Represents a structured collection of result details for content filtering.
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Content |
fromJson(JsonReader jsonReader)
Reads an instance of Content |
List<Content |
getDetails()
Get the details property: The collection of detailed blocklist result information. |
boolean |
isFiltered()
Get the filtered property: A value indicating whether or not the content has been filtered. |
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static ContentFilterDetailedResults fromJson(JsonReader jsonReader)
Reads an instance of ContentFilterDetailedResults from the JsonReader.
Parameters:
Returns:
Throws:
getDetails
public List
Get the details property: The collection of detailed blocklist result information.
Returns:
isFiltered
public boolean isFiltered()
Get the filtered property: A value indicating whether or not the content has been filtered.
Returns:
toJson
Applies to
Azure SDK for Java