All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sforce.soap.partner.EmailFileAttachment Maven / Gradle / Ivy


package com.sforce.soap.partner;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * 

Java class for EmailFileAttachment complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="EmailFileAttachment">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="body" type="{http://www.w3.org/2001/XMLSchema}base64Binary" minOccurs="0"/>
 *         <element name="contentType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="fileName" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="inline" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "EmailFileAttachment", propOrder = { "body", "contentType", "fileName", "inline" }) public class EmailFileAttachment { @XmlElement(nillable = true) protected byte[] body; @XmlElement(nillable = true) protected String contentType; @XmlElement(required = true) protected String fileName; protected Boolean inline; /** * Gets the value of the body property. * * @return * possible object is * byte[] */ public byte[] getBody() { return body; } /** * Sets the value of the body property. * * @param value * allowed object is * byte[] */ public void setBody(byte[] value) { this.body = value; } /** * Gets the value of the contentType property. * * @return * possible object is * {@link String } * */ public String getContentType() { return contentType; } /** * Sets the value of the contentType property. * * @param value * allowed object is * {@link String } * */ public void setContentType(String value) { this.contentType = value; } /** * Gets the value of the fileName property. * * @return * possible object is * {@link String } * */ public String getFileName() { return fileName; } /** * Sets the value of the fileName property. * * @param value * allowed object is * {@link String } * */ public void setFileName(String value) { this.fileName = value; } /** * Gets the value of the inline property. * * @return * possible object is * {@link Boolean } * */ public Boolean isInline() { return inline; } /** * Sets the value of the inline property. * * @param value * allowed object is * {@link Boolean } * */ public void setInline(Boolean value) { this.inline = value; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy