86 строки
5.7 KiB
YAML
86 строки
5.7 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.ai.contentsafety.models.ContentSafetyImageData"
|
|
fullName: "com.azure.ai.contentsafety.models.ContentSafetyImageData"
|
|
name: "ContentSafetyImageData"
|
|
nameWithType: "ContentSafetyImageData"
|
|
summary: "The image can be either base64 encoded bytes or a blob URL."
|
|
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 **ContentSafetyImageData**"
|
|
constructors:
|
|
- uid: "com.azure.ai.contentsafety.models.ContentSafetyImageData.ContentSafetyImageData()"
|
|
fullName: "com.azure.ai.contentsafety.models.ContentSafetyImageData.ContentSafetyImageData()"
|
|
name: "ContentSafetyImageData()"
|
|
nameWithType: "ContentSafetyImageData.ContentSafetyImageData()"
|
|
summary: "Creates an instance of Content<wbr>Safety<wbr>Image<wbr>Data class."
|
|
syntax: "public ContentSafetyImageData()"
|
|
desc: "Creates an instance of ContentSafetyImageData class."
|
|
methods:
|
|
- uid: "com.azure.ai.contentsafety.models.ContentSafetyImageData.getBlobUrl()"
|
|
fullName: "com.azure.ai.contentsafety.models.ContentSafetyImageData.getBlobUrl()"
|
|
name: "getBlobUrl()"
|
|
nameWithType: "ContentSafetyImageData.getBlobUrl()"
|
|
summary: "Get the blob<wbr>Url property: The blob url of the image."
|
|
syntax: "public String getBlobUrl()"
|
|
desc: "Get the blobUrl property: The blob url of the image."
|
|
returns:
|
|
description: "the blobUrl value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.ai.contentsafety.models.ContentSafetyImageData.getContent()"
|
|
fullName: "com.azure.ai.contentsafety.models.ContentSafetyImageData.getContent()"
|
|
name: "getContent()"
|
|
nameWithType: "ContentSafetyImageData.getContent()"
|
|
summary: "Get the content property: The Base64 encoding of the image."
|
|
syntax: "public BinaryData getContent()"
|
|
desc: "Get the content property: The Base64 encoding of the image."
|
|
returns:
|
|
description: "the content value."
|
|
type: "<xref href=\"com.azure.core.util.BinaryData?alt=com.azure.core.util.BinaryData&text=BinaryData\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.ai.contentsafety.models.ContentSafetyImageData.setBlobUrl(java.lang.String)"
|
|
fullName: "com.azure.ai.contentsafety.models.ContentSafetyImageData.setBlobUrl(String blobUrl)"
|
|
name: "setBlobUrl(String blobUrl)"
|
|
nameWithType: "ContentSafetyImageData.setBlobUrl(String blobUrl)"
|
|
summary: "Set the blob<wbr>Url property: The blob url of the image."
|
|
parameters:
|
|
- description: "the blobUrl value to set."
|
|
name: "blobUrl"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public ContentSafetyImageData setBlobUrl(String blobUrl)"
|
|
desc: "Set the blobUrl property: The blob url of the image."
|
|
returns:
|
|
description: "the ContentSafetyImageData object itself."
|
|
type: "<xref href=\"com.azure.ai.contentsafety.models.ContentSafetyImageData?alt=com.azure.ai.contentsafety.models.ContentSafetyImageData&text=ContentSafetyImageData\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.ai.contentsafety.models.ContentSafetyImageData.setContent(com.azure.core.util.BinaryData)"
|
|
fullName: "com.azure.ai.contentsafety.models.ContentSafetyImageData.setContent(BinaryData content)"
|
|
name: "setContent(BinaryData content)"
|
|
nameWithType: "ContentSafetyImageData.setContent(BinaryData content)"
|
|
summary: "Set the content property: The Base64 encoding of the image."
|
|
parameters:
|
|
- description: "the content value to set."
|
|
name: "content"
|
|
type: "<xref href=\"com.azure.core.util.BinaryData?alt=com.azure.core.util.BinaryData&text=BinaryData\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public ContentSafetyImageData setContent(BinaryData content)"
|
|
desc: "Set the content property: The Base64 encoding of the image."
|
|
returns:
|
|
description: "the ContentSafetyImageData object itself."
|
|
type: "<xref href=\"com.azure.ai.contentsafety.models.ContentSafetyImageData?alt=com.azure.ai.contentsafety.models.ContentSafetyImageData&text=ContentSafetyImageData\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
desc: "The image can be either base64 encoded bytes or a blob URL. You can choose only one of these options. If both are provided, the request will be refused. The maximum image size is 2048 x 2048 pixels and should not exceed 4 MB, while the minimum image size is 50 x 50 pixels."
|
|
metadata: {}
|
|
package: "com.azure.ai.contentsafety.models"
|
|
artifact: com.azure:azure-ai-contentsafety:1.0.8
|