org.subsonic.restapi.JukeboxStatus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of subsonic-client Show documentation
Show all versions of subsonic-client Show documentation
Java client for the Subsonic API
The newest version!
//
// 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 javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for JukeboxStatus complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="JukeboxStatus">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="currentIndex" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
* <attribute name="playing" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* <attribute name="gain" use="required" type="{http://www.w3.org/2001/XMLSchema}float" />
* <attribute name="position" type="{http://www.w3.org/2001/XMLSchema}int" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "JukeboxStatus")
@XmlSeeAlso({
JukeboxPlaylist.class
})
public class JukeboxStatus {
@XmlAttribute(name = "currentIndex", required = true)
protected int currentIndex;
@XmlAttribute(name = "playing", required = true)
protected boolean playing;
@XmlAttribute(name = "gain", required = true)
protected float gain;
@XmlAttribute(name = "position")
protected Integer position;
/**
* Gets the value of the currentIndex property.
*
*/
public int getCurrentIndex() {
return currentIndex;
}
/**
* Sets the value of the currentIndex property.
*
*/
public void setCurrentIndex(int value) {
this.currentIndex = value;
}
/**
* Gets the value of the playing property.
*
*/
public boolean isPlaying() {
return playing;
}
/**
* Sets the value of the playing property.
*
*/
public void setPlaying(boolean value) {
this.playing = value;
}
/**
* Gets the value of the gain property.
*
*/
public float getGain() {
return gain;
}
/**
* Sets the value of the gain property.
*
*/
public void setGain(float value) {
this.gain = value;
}
/**
* Gets the value of the position property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getPosition() {
return position;
}
/**
* Sets the value of the position property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setPosition(Integer value) {
this.position = value;
}
}