com.sforce.soap.partner.PerformQuickActionResult 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 PerformQuickActionResult complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="PerformQuickActionResult">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="contextId" type="{urn:partner.soap.sforce.com}ID" minOccurs="0"/>
* <element name="created" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="errors" type="{urn:partner.soap.sforce.com}Error" maxOccurs="unbounded" minOccurs="0"/>
* <element name="feedItemIds" type="{urn:partner.soap.sforce.com}ID" maxOccurs="unbounded" minOccurs="0"/>
* <element name="ids" type="{urn:partner.soap.sforce.com}ID" maxOccurs="unbounded" minOccurs="0"/>
* <element name="success" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="successMessage" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PerformQuickActionResult", propOrder = {
"contextId",
"created",
"errors",
"feedItemIds",
"ids",
"success",
"successMessage"
})
public class PerformQuickActionResult {
@XmlElement(nillable = true)
protected String contextId;
protected boolean created;
protected List errors;
@XmlElement(nillable = true)
protected List feedItemIds;
@XmlElement(nillable = true)
protected List ids;
protected boolean success;
@XmlElement(nillable = true)
protected String successMessage;
/**
* 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 created property.
*
*/
public boolean isCreated() {
return created;
}
/**
* Sets the value of the created property.
*
*/
public void setCreated(boolean value) {
this.created = value;
}
/**
* Gets the value of the errors 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 errors property.
*
*
* For example, to add a new item, do as follows:
*
* getErrors().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Error }
*
*
*/
public List getErrors() {
if (errors == null) {
errors = new ArrayList();
}
return this.errors;
}
/**
* Gets the value of the feedItemIds 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 feedItemIds property.
*
*
* For example, to add a new item, do as follows:
*
* getFeedItemIds().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getFeedItemIds() {
if (feedItemIds == null) {
feedItemIds = new ArrayList();
}
return this.feedItemIds;
}
/**
* Gets the value of the ids 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 ids property.
*
*
* For example, to add a new item, do as follows:
*
* getIds().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getIds() {
if (ids == null) {
ids = new ArrayList();
}
return this.ids;
}
/**
* Gets the value of the success property.
*
*/
public boolean isSuccess() {
return success;
}
/**
* Sets the value of the success property.
*
*/
public void setSuccess(boolean value) {
this.success = value;
}
/**
* Gets the value of the successMessage property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSuccessMessage() {
return successMessage;
}
/**
* Sets the value of the successMessage property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSuccessMessage(String value) {
this.successMessage = value;
}
}