com.sforce.soap.tooling.metadata.AutoResponseRule Maven / Gradle / Ivy
Show all versions of sforce-tooling-api Show documentation
package com.sforce.soap.tooling.metadata;
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.XmlType;
/**
* Java class for AutoResponseRule complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="AutoResponseRule">
* <complexContent>
* <extension base="{urn:metadata.tooling.soap.sforce.com}Metadata">
* <sequence>
* <element name="active" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="ruleEntry" type="{urn:metadata.tooling.soap.sforce.com}RuleEntry" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AutoResponseRule", propOrder = {
"active",
"ruleEntry"
})
public class AutoResponseRule
extends Metadata
{
protected Boolean active;
protected List ruleEntry;
/**
* Gets the value of the active property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isActive() {
return active;
}
/**
* Sets the value of the active property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setActive(Boolean value) {
this.active = value;
}
/**
* Gets the value of the ruleEntry 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 ruleEntry property.
*
*
* For example, to add a new item, do as follows:
*
* getRuleEntry().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link RuleEntry }
*
*
*/
public List getRuleEntry() {
if (ruleEntry == null) {
ruleEntry = new ArrayList();
}
return this.ruleEntry;
}
}