
com.exacttarget.fuelsdk.internal.ContentValidationTaskResult Maven / Gradle / Ivy
Show all versions of fuelsdk Show documentation
package com.exacttarget.fuelsdk.internal;
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 org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.cxf.xjc.runtime.JAXBToStringStyle;
/**
* Java class for ContentValidationTaskResult complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ContentValidationTaskResult">
* <complexContent>
* <extension base="{http://exacttarget.com/wsdl/partnerAPI}TaskResult">
* <sequence>
* <element name="ValidationResults" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="ValidationResult" type="{http://exacttarget.com/wsdl/partnerAPI}ValidationResult" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ContentValidationTaskResult", propOrder = {
"validationResults"
})
public class ContentValidationTaskResult
extends TaskResult
{
@XmlElement(name = "ValidationResults")
protected ContentValidationTaskResult.ValidationResults validationResults;
/**
* Gets the value of the validationResults property.
*
* @return
* possible object is
* {@link ContentValidationTaskResult.ValidationResults }
*
*/
public ContentValidationTaskResult.ValidationResults getValidationResults() {
return validationResults;
}
/**
* Sets the value of the validationResults property.
*
* @param value
* allowed object is
* {@link ContentValidationTaskResult.ValidationResults }
*
*/
public void setValidationResults(ContentValidationTaskResult.ValidationResults value) {
this.validationResults = value;
}
/**
* Generates a String representation of the contents of this type.
* This is an extension method, produced by the 'ts' xjc plugin
*
*/
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this, JAXBToStringStyle.DEFAULT_STYLE);
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="ValidationResult" type="{http://exacttarget.com/wsdl/partnerAPI}ValidationResult" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"validationResult"
})
public static class ValidationResults {
@XmlElement(name = "ValidationResult")
protected List validationResult;
/**
* Gets the value of the validationResult 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 validationResult property.
*
*
* For example, to add a new item, do as follows:
*
* getValidationResult().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ValidationResult }
*
*
*/
public List getValidationResult() {
if (validationResult == null) {
validationResult = new ArrayList();
}
return this.validationResult;
}
/**
* Generates a String representation of the contents of this type.
* This is an extension method, produced by the 'ts' xjc plugin
*
*/
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this, JAXBToStringStyle.DEFAULT_STYLE);
}
}
}