package org.ebayopensource.turmeric.blogs.v1.services; import java.util.ArrayList; import java.util.List; import javax.xml.bind.JAXBElement; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElementRef; import javax.xml.bind.annotation.XmlType; import org.ebayopensource.turmeric.common.v1.types.BaseResponse; /** * * Document goes here * * * <p>Java class for GetVersionResponse complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="GetVersionResponse"> * <complexContent> * <extension base="{http://www.ebayopensource.org/turmeric/common/v1/types}BaseResponse"> * <sequence> * <element name="version" type="{http://www.w3.org/2001/XMLSchema}string"/> * </sequence> * </extension> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "GetVersionResponse", propOrder = { "rest" }) public class GetVersionResponse extends BaseResponse { @XmlElementRef(name = "version", namespace = "http://www.ebayopensource.org/turmeric/blogs/v1/services", type = JAXBElement.class) protected List<JAXBElement<String>> rest; /** * Gets the rest of the content model. * * <p> * You are getting this "catch-all" property because of the following reason: * The field name "Version" is used by two different parts of a schema. See: * line 26 of file:/D:/opt/turmeric/workspace/junit-workspace/BlogsServiceV1/gen-meta-src/META-INF/soa/services/wsdl/xsd0.xsd * line 106 of file:/D:/opt/turmeric/workspace/junit-workspace/BlogsServiceV1/gen-meta-src/META-INF/soa/services/wsdl/xsd1.xsd * <p> * To get rid of this property, apply a property customization to one * of both of the following declarations to change their names: * Gets the value of the rest property. * * <p> * 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 <CODE>set</CODE> method for the rest property. * * <p> * For example, to add a new item, do as follows: * <pre> * getRest().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link JAXBElement }{@code <}{@link String }{@code >} * * */ public List<JAXBElement<String>> getRest() { if (rest == null) { rest = new ArrayList<JAXBElement<String>>(); } return this.rest; } }