azure-docs-sdk-java/docs-ref-autogen/com.azure.ai.contentsafety....

122 строки
7.8 KiB
YAML
Исходник Обычный вид История

### YamlMime:JavaType
uid: "com.azure.ai.contentsafety.models.ImageCategory"
fullName: "com.azure.ai.contentsafety.models.ImageCategory"
name: "ImageCategory"
nameWithType: "ImageCategory"
summary: "Image analyze category."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.util.ExpandableStringEnum?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "<xref href=\"com.azure.core.util.ExpandableStringEnum?alt=com.azure.core.util.ExpandableStringEnum&text=ExpandableStringEnum\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.<T>fromString(java.lang.String,java.lang.Class<T>)?alt=com.azure.core.util.ExpandableStringEnum.<T>fromString&text=<T>fromString\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.<T>values(java.lang.Class<T>)?alt=com.azure.core.util.ExpandableStringEnum.<T>values&text=<T>values\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.equals(java.lang.Object)?alt=com.azure.core.util.ExpandableStringEnum.equals&text=equals\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.hashCode()?alt=com.azure.core.util.ExpandableStringEnum.hashCode&text=hashCode\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.toString()?alt=com.azure.core.util.ExpandableStringEnum.toString&text=toString\" data-throw-if-not-resolved=\"False\" />"
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **ImageCategory**</br> extends <xref href=\"com.azure.core.util.ExpandableStringEnum?alt=com.azure.core.util.ExpandableStringEnum&text=ExpandableStringEnum\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.ai.contentsafety.models.ImageCategory?alt=com.azure.ai.contentsafety.models.ImageCategory&text=ImageCategory\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.ai.contentsafety.models.ImageCategory.ImageCategory()"
fullName: "com.azure.ai.contentsafety.models.ImageCategory.ImageCategory()"
name: "ImageCategory()"
nameWithType: "ImageCategory.ImageCategory()"
summary: "Creates a new instance of Image<wbr>Category value."
deprecatedTag: "Use the <xref uid=\"com.azure.ai.contentsafety.models.ImageCategory.fromString(java.lang.String)\" data-throw-if-not-resolved=\"false\" data-raw-source=\"#fromString(String)\"></xref> factory method."
syntax: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html\">@Deprecated</a></br>public ImageCategory()"
desc: "Creates a new instance of ImageCategory value."
hasDeprecatedTag: true
fields:
- uid: "com.azure.ai.contentsafety.models.ImageCategory.HATE"
fullName: "com.azure.ai.contentsafety.models.ImageCategory.HATE"
name: "HATE"
nameWithType: "ImageCategory.HATE"
summary: "Static value Hate for Image<wbr>Category."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.ai.contentsafety.models.ImageCategory?alt=com.azure.ai.contentsafety.models.ImageCategory&text=ImageCategory\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final ImageCategory HATE"
desc: "Static value Hate for ImageCategory."
- uid: "com.azure.ai.contentsafety.models.ImageCategory.SELF_HARM"
fullName: "com.azure.ai.contentsafety.models.ImageCategory.SELF_HARM"
name: "SELF_HARM"
nameWithType: "ImageCategory.SELF_HARM"
summary: "Static value Self<wbr>Harm for Image<wbr>Category."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.ai.contentsafety.models.ImageCategory?alt=com.azure.ai.contentsafety.models.ImageCategory&text=ImageCategory\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final ImageCategory SELF_HARM"
desc: "Static value SelfHarm for ImageCategory."
- uid: "com.azure.ai.contentsafety.models.ImageCategory.SEXUAL"
fullName: "com.azure.ai.contentsafety.models.ImageCategory.SEXUAL"
name: "SEXUAL"
nameWithType: "ImageCategory.SEXUAL"
summary: "Static value Sexual for Image<wbr>Category."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.ai.contentsafety.models.ImageCategory?alt=com.azure.ai.contentsafety.models.ImageCategory&text=ImageCategory\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final ImageCategory SEXUAL"
desc: "Static value Sexual for ImageCategory."
- uid: "com.azure.ai.contentsafety.models.ImageCategory.VIOLENCE"
fullName: "com.azure.ai.contentsafety.models.ImageCategory.VIOLENCE"
name: "VIOLENCE"
nameWithType: "ImageCategory.VIOLENCE"
summary: "Static value Violence for Image<wbr>Category."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.ai.contentsafety.models.ImageCategory?alt=com.azure.ai.contentsafety.models.ImageCategory&text=ImageCategory\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final ImageCategory VIOLENCE"
desc: "Static value Violence for ImageCategory."
methods:
- uid: "com.azure.ai.contentsafety.models.ImageCategory.fromString(java.lang.String)"
fullName: "com.azure.ai.contentsafety.models.ImageCategory.fromString(String name)"
name: "fromString(String name)"
nameWithType: "ImageCategory.fromString(String name)"
summary: "Creates or finds a Image<wbr>Category from its string representation."
modifiers:
- "static"
parameters:
- description: "a name to look for."
name: "name"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public static ImageCategory fromString(String name)"
desc: "Creates or finds a ImageCategory from its string representation."
returns:
description: "the corresponding ImageCategory."
type: "<xref href=\"com.azure.ai.contentsafety.models.ImageCategory?alt=com.azure.ai.contentsafety.models.ImageCategory&text=ImageCategory\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.ai.contentsafety.models.ImageCategory.values()"
fullName: "com.azure.ai.contentsafety.models.ImageCategory.values()"
name: "values()"
nameWithType: "ImageCategory.values()"
summary: "Gets known Image<wbr>Category values."
modifiers:
- "static"
syntax: "public static Collection<ImageCategory> values()"
desc: "Gets known ImageCategory values."
returns:
description: "known ImageCategory values."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html\">Collection</a>&lt;<xref href=\"com.azure.ai.contentsafety.models.ImageCategory?alt=com.azure.ai.contentsafety.models.ImageCategory&text=ImageCategory\" data-throw-if-not-resolved=\"False\" />&gt;"
type: "class"
desc: "Image analyze category."
metadata: {}
package: "com.azure.ai.contentsafety.models"
artifact: com.azure:azure-ai-contentsafety:1.0.6