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

com.sforce.soap.tooling.DescribeWorkitemActionResult Maven / Gradle / Ivy

The newest version!

package com.sforce.soap.tooling;

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 DescribeWorkitemActionResult complex type. * *

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

 * <complexType name="DescribeWorkitemActionResult">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="actions" type="{urn:tooling.soap.sforce.com}AllowedWorkitemAction" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="errors" type="{urn:tooling.soap.sforce.com}Error" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="success" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *         <element name="targetObjectId" type="{urn:tooling.soap.sforce.com}ID"/>
 *         <element name="workitemId" type="{urn:tooling.soap.sforce.com}ID"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "DescribeWorkitemActionResult", propOrder = { "actions", "errors", "success", "targetObjectId", "workitemId" }) public class DescribeWorkitemActionResult { protected List actions; protected List errors; protected boolean success; @XmlElement(required = true) protected String targetObjectId; @XmlElement(required = true) protected String workitemId; /** * Gets the value of the actions 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 actions property. * *

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

     *    getActions().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link AllowedWorkitemAction } * * */ public List getActions() { if (actions == null) { actions = new ArrayList(); } return this.actions; } /** * 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 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 targetObjectId property. * * @return * possible object is * {@link String } * */ public String getTargetObjectId() { return targetObjectId; } /** * Sets the value of the targetObjectId property. * * @param value * allowed object is * {@link String } * */ public void setTargetObjectId(String value) { this.targetObjectId = value; } /** * Gets the value of the workitemId property. * * @return * possible object is * {@link String } * */ public String getWorkitemId() { return workitemId; } /** * Sets the value of the workitemId property. * * @param value * allowed object is * {@link String } * */ public void setWorkitemId(String value) { this.workitemId = value; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy