azure-docs-sdk-java/docs-ref-autogen/com.azure.communication.ema...

78 строки
4.7 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.communication.email.models.EmailAttachment"
fullName: "com.azure.communication.email.models.EmailAttachment"
name: "EmailAttachment"
nameWithType: "EmailAttachment"
summary: "Attachment to the email."
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 **EmailAttachment**"
constructors:
- uid: "com.azure.communication.email.models.EmailAttachment.EmailAttachment(java.lang.String,java.lang.String,com.azure.core.util.BinaryData)"
fullName: "com.azure.communication.email.models.EmailAttachment.EmailAttachment(String name, String contentType, BinaryData content)"
name: "EmailAttachment(String name, String contentType, BinaryData content)"
nameWithType: "EmailAttachment.EmailAttachment(String name, String contentType, BinaryData content)"
summary: "Creates an instance of Email<wbr>Attachment class."
parameters:
- description: "the name value to set."
name: "name"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "the contentType value to set."
name: "contentType"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- 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 EmailAttachment(String name, String contentType, BinaryData content)"
desc: "Creates an instance of EmailAttachment class."
methods:
- uid: "com.azure.communication.email.models.EmailAttachment.getContent()"
fullName: "com.azure.communication.email.models.EmailAttachment.getContent()"
name: "getContent()"
nameWithType: "EmailAttachment.getContent()"
summary: "Get the content property: Contents of the attachment."
syntax: "public BinaryData getContent()"
desc: "Get the content property: Contents of the attachment."
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.communication.email.models.EmailAttachment.getContentType()"
fullName: "com.azure.communication.email.models.EmailAttachment.getContentType()"
name: "getContentType()"
nameWithType: "EmailAttachment.getContentType()"
summary: "Get the content<wbr>Type property: MIME type of the content being attached."
syntax: "public String getContentType()"
desc: "Get the contentType property: MIME type of the content being attached."
returns:
description: "the contentType value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.communication.email.models.EmailAttachment.getName()"
fullName: "com.azure.communication.email.models.EmailAttachment.getName()"
name: "getName()"
nameWithType: "EmailAttachment.getName()"
summary: "Get the name property: Name of the attachment."
syntax: "public String getName()"
desc: "Get the name property: Name of the attachment."
returns:
description: "the name value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
type: "class"
desc: "Attachment to the email."
metadata: {}
package: "com.azure.communication.email.models"
artifact: com.azure:azure-communication-email:1.0.18