com.sforce.soap.partner.PerformQuickActionRequest 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;
import com.sforce.soap.partner.sobject.SObject;
/**
* Java class for PerformQuickActionRequest complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="PerformQuickActionRequest">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="contextId" type="{urn:partner.soap.sforce.com}ID"/>
* <element name="quickActionName" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="records" type="{urn:sobject.partner.soap.sforce.com}sObject" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PerformQuickActionRequest", propOrder = {
"contextId",
"quickActionName",
"records"
})
public class PerformQuickActionRequest {
@XmlElement(required = true, nillable = true)
protected String contextId;
@XmlElement(required = true)
protected String quickActionName;
@XmlElement(nillable = true)
protected List records;
/**
* Gets the value of the contextId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getContextId() {
return contextId;
}
/**
* Sets the value of the contextId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setContextId(String value) {
this.contextId = value;
}
/**
* Gets the value of the quickActionName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getQuickActionName() {
return quickActionName;
}
/**
* Sets the value of the quickActionName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setQuickActionName(String value) {
this.quickActionName = value;
}
/**
* Gets the value of the records 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 records property.
*
*
* For example, to add a new item, do as follows:
*
* getRecords().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link SObject }
*
*
*/
public List getRecords() {
if (records == null) {
records = new ArrayList();
}
return this.records;
}
}