com.github.sardine.model.Multistatus Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.09.04 at 07:26:18 PM PDT
//
package com.github.sardine.model;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import java.util.ArrayList;
import java.util.List;
/**
* 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 ref="{DAV:}response" maxOccurs="unbounded"/>
* <element ref="{DAV:}responsedescription" minOccurs="0"/>
* <element ref="{DAV:}sync-token" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"response",
"responsedescription",
"syncToken"
})
@XmlRootElement(name = "multistatus")
public class Multistatus {
@XmlElement(required = true)
protected List response;
protected String responsedescription;
@XmlElement(name = "sync-token")
@XmlSchemaType(name = "anyURI")
protected String syncToken;
/**
* Gets the value of the response 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 response property.
*
*
* For example, to add a new item, do as follows:
*
* getResponse().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Response }
*
*
*/
public List getResponse() {
if (response == null) {
response = new ArrayList();
}
return this.response;
}
/**
* Gets the value of the responsedescription property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getResponsedescription() {
return responsedescription;
}
/**
* Sets the value of the responsedescription property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setResponsedescription(String value) {
this.responsedescription = value;
}
/**
* Gets the value of the syncToken property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSyncToken() {
return syncToken;
}
/**
* Sets the value of the syncToken property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSyncToken(String value) {
this.syncToken = value;
}
}