org.subsonic.restapi.Indexes Maven / Gradle / Ivy
Show all versions of subsonic-client Show documentation
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.2
// See https://javaee.github.io/jaxb-v2/
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2024.08.24 at 07:14:02 PM CEST
//
package org.subsonic.restapi;
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.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for Indexes complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Indexes">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="shortcut" type="{http://subsonic.org/restapi}Artist" maxOccurs="unbounded" minOccurs="0"/>
* <element name="index" type="{http://subsonic.org/restapi}Index" maxOccurs="unbounded" minOccurs="0"/>
* <element name="child" type="{http://subsonic.org/restapi}Child" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="lastModified" use="required" type="{http://www.w3.org/2001/XMLSchema}long" />
* <attribute name="ignoredArticles" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Indexes", propOrder = {
"shortcuts",
"indices",
"children"
})
public class Indexes {
@XmlElement(name = "shortcut")
protected List shortcuts;
@XmlElement(name = "index")
protected List indices;
@XmlElement(name = "child")
protected List children;
@XmlAttribute(name = "lastModified", required = true)
protected long lastModified;
@XmlAttribute(name = "ignoredArticles", required = true)
protected String ignoredArticles;
/**
* Gets the value of the shortcuts 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 shortcuts property.
*
*
* For example, to add a new item, do as follows:
*
* getShortcuts().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Artist }
*
*
*/
public List getShortcuts() {
if (shortcuts == null) {
shortcuts = new ArrayList();
}
return this.shortcuts;
}
/**
* Gets the value of the indices 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 indices property.
*
*
* For example, to add a new item, do as follows:
*
* getIndices().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Index }
*
*
*/
public List getIndices() {
if (indices == null) {
indices = new ArrayList();
}
return this.indices;
}
/**
* Gets the value of the children 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 children property.
*
*
* For example, to add a new item, do as follows:
*
* getchildren().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Child }
*
*
*/
public List getchildren() {
if (children == null) {
children = new ArrayList();
}
return this.children;
}
/**
* Gets the value of the lastModified property.
*
*/
public long getLastModified() {
return lastModified;
}
/**
* Sets the value of the lastModified property.
*
*/
public void setLastModified(long value) {
this.lastModified = value;
}
/**
* Gets the value of the ignoredArticles property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getIgnoredArticles() {
return ignoredArticles;
}
/**
* Sets the value of the ignoredArticles property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setIgnoredArticles(String value) {
this.ignoredArticles = value;
}
}