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

86 строки
5.2 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.ai.contentsafety.models.TextBlocklistItem"
fullName: "com.azure.ai.contentsafety.models.TextBlocklistItem"
name: "TextBlocklistItem"
nameWithType: "TextBlocklistItem"
summary: "Item in a Text<wbr>Blocklist."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- 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#equals-java.lang.Object-\">equals</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#hashCode--\">hashCode</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#toString--\">toString</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 **TextBlocklistItem**"
constructors:
- uid: "com.azure.ai.contentsafety.models.TextBlocklistItem.TextBlocklistItem(java.lang.String)"
fullName: "com.azure.ai.contentsafety.models.TextBlocklistItem.TextBlocklistItem(String text)"
name: "TextBlocklistItem(String text)"
nameWithType: "TextBlocklistItem.TextBlocklistItem(String text)"
summary: "Creates an instance of Text<wbr>Blocklist<wbr>Item class."
parameters:
- description: "the text value to set."
name: "text"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public TextBlocklistItem(String text)"
desc: "Creates an instance of TextBlocklistItem class."
methods:
- uid: "com.azure.ai.contentsafety.models.TextBlocklistItem.getBlocklistItemId()"
fullName: "com.azure.ai.contentsafety.models.TextBlocklistItem.getBlocklistItemId()"
name: "getBlocklistItemId()"
nameWithType: "TextBlocklistItem.getBlocklistItemId()"
summary: "Get the blocklist<wbr>Item<wbr>Id property: The service will generate a Blocklist<wbr>Item<wbr>Id, which will be a UUID."
syntax: "public String getBlocklistItemId()"
desc: "Get the blocklistItemId property: The service will generate a BlocklistItemId, which will be a UUID."
returns:
description: "the blocklistItemId value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.ai.contentsafety.models.TextBlocklistItem.getDescription()"
fullName: "com.azure.ai.contentsafety.models.TextBlocklistItem.getDescription()"
name: "getDescription()"
nameWithType: "TextBlocklistItem.getDescription()"
summary: "Get the description property: Blocklist<wbr>Item description."
syntax: "public String getDescription()"
desc: "Get the description property: BlocklistItem description."
returns:
description: "the description value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.ai.contentsafety.models.TextBlocklistItem.getText()"
fullName: "com.azure.ai.contentsafety.models.TextBlocklistItem.getText()"
name: "getText()"
nameWithType: "TextBlocklistItem.getText()"
summary: "Get the text property: Blocklist<wbr>Item content."
syntax: "public String getText()"
desc: "Get the text property: BlocklistItem content."
returns:
description: "the text value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.ai.contentsafety.models.TextBlocklistItem.setDescription(java.lang.String)"
fullName: "com.azure.ai.contentsafety.models.TextBlocklistItem.setDescription(String description)"
name: "setDescription(String description)"
nameWithType: "TextBlocklistItem.setDescription(String description)"
summary: "Set the description property: Blocklist<wbr>Item description."
parameters:
- description: "the description value to set."
name: "description"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public TextBlocklistItem setDescription(String description)"
desc: "Set the description property: BlocklistItem description."
returns:
description: "the TextBlocklistItem object itself."
type: "<xref href=\"com.azure.ai.contentsafety.models.TextBlocklistItem?alt=com.azure.ai.contentsafety.models.TextBlocklistItem&text=TextBlocklistItem\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Item in a TextBlocklist."
metadata: {}
package: "com.azure.ai.contentsafety.models"
artifact: com.azure:azure-ai-contentsafety:1.0.6