org.subsonic.restapi.Genre 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.XmlType;
import javax.xml.bind.annotation.XmlValue;
/**
* Java class for Genre complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Genre">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="songCount" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
* <attribute name="albumCount" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Genre", propOrder = {
"name"
})
public class Genre {
@XmlValue
protected String name;
@XmlAttribute(name = "songCount", required = true)
protected int songCount;
@XmlAttribute(name = "albumCount", required = true)
protected int albumCount;
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Gets the value of the songCount property.
*
*/
public int getSongCount() {
return songCount;
}
/**
* Sets the value of the songCount property.
*
*/
public void setSongCount(int value) {
this.songCount = value;
}
/**
* Gets the value of the albumCount property.
*
*/
public int getAlbumCount() {
return albumCount;
}
/**
* Sets the value of the albumCount property.
*
*/
public void setAlbumCount(int value) {
this.albumCount = value;
}
}