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

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


package com.sforce.soap.partner;

import java.util.ArrayList;
import java.util.List;
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 MassEmailMessage complex type. * *

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

 * <complexType name="MassEmailMessage">
 *   <complexContent>
 *     <extension base="{urn:partner.soap.sforce.com}Email">
 *       <sequence>
 *         <element name="description" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="targetObjectIds" type="{urn:partner.soap.sforce.com}ID" maxOccurs="250" minOccurs="0"/>
 *         <element name="templateId" type="{urn:partner.soap.sforce.com}ID"/>
 *         <element name="whatIds" type="{urn:partner.soap.sforce.com}ID" maxOccurs="250" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "MassEmailMessage", propOrder = { "description", "targetObjectIds", "templateId", "whatIds" }) public class MassEmailMessage extends Email { @XmlElement(required = true, nillable = true) protected String description; protected List targetObjectIds; @XmlElement(required = true) protected String templateId; protected List whatIds; /** * Gets the value of the description property. * * @return * possible object is * {@link String } * */ public String getDescription() { return description; } /** * Sets the value of the description property. * * @param value * allowed object is * {@link String } * */ public void setDescription(String value) { this.description = value; } /** * Gets the value of the targetObjectIds property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the targetObjectIds property. * *

* For example, to add a new item, do as follows: *

     *    getTargetObjectIds().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link String } * * */ public List getTargetObjectIds() { if (targetObjectIds == null) { targetObjectIds = new ArrayList(); } return this.targetObjectIds; } /** * Gets the value of the templateId property. * * @return * possible object is * {@link String } * */ public String getTemplateId() { return templateId; } /** * Sets the value of the templateId property. * * @param value * allowed object is * {@link String } * */ public void setTemplateId(String value) { this.templateId = value; } /** * Gets the value of the whatIds property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the whatIds property. * *

* For example, to add a new item, do as follows: *

     *    getWhatIds().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link String } * * */ public List getWhatIds() { if (whatIds == null) { whatIds = new ArrayList(); } return this.whatIds; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy