com.glookast.api.templates.ResponseListVideoFormat Maven / Gradle / Ivy
Show all versions of api-templates Show documentation
package com.glookast.api.templates;
import java.io.Serializable;
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.glookast.commons.templates.VideoFormat;
/**
* Java class for ResponseListVideoFormat complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ResponseListVideoFormat">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="return" type="{http://templates.commons.glookast.com}VideoFormat" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ResponseListVideoFormat", propOrder = {
"_return"
})
public class ResponseListVideoFormat implements Serializable
{
@XmlElement(name = "return")
protected List _return;
/**
* Default no-arg constructor
*
*/
public ResponseListVideoFormat() {
super();
}
/**
* Fully-initialising value constructor
*
*/
public ResponseListVideoFormat(final List _return) {
this._return = _return;
}
/**
* Gets the value of the return 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 return property.
*
*
* For example, to add a new item, do as follows:
*
* getReturn().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link VideoFormat }
*
*
*/
public List getReturn() {
if (_return == null) {
_return = new ArrayList();
}
return this._return;
}
}