org.subsonic.restapi.AlbumID3 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 java.time.LocalDateTime;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import net.beardbot.subsonic.client.base.LocalDateTimeAdapter;
/**
* Java class for AlbumID3 complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="AlbumID3">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="artist" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="artistId" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="coverArt" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="songCount" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
* <attribute name="duration" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
* <attribute name="playCount" type="{http://www.w3.org/2001/XMLSchema}long" />
* <attribute name="created" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
* <attribute name="starred" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
* <attribute name="year" type="{http://www.w3.org/2001/XMLSchema}int" />
* <attribute name="genre" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AlbumID3")
@XmlSeeAlso({
AlbumWithSongsID3 .class
})
public class AlbumID3 {
@XmlAttribute(name = "id", required = true)
protected String id;
@XmlAttribute(name = "name", required = true)
protected String name;
@XmlAttribute(name = "artist")
protected String artist;
@XmlAttribute(name = "artistId")
protected String artistId;
@XmlAttribute(name = "coverArt")
protected String coverArtId;
@XmlAttribute(name = "songCount", required = true)
protected int songCount;
@XmlAttribute(name = "duration", required = true)
protected int duration;
@XmlAttribute(name = "playCount")
protected Long playCount;
@XmlAttribute(name = "created", required = true)
@XmlJavaTypeAdapter(LocalDateTimeAdapter.class)
@XmlSchemaType(name = "dateTime")
protected LocalDateTime created;
@XmlAttribute(name = "starred")
@XmlJavaTypeAdapter(LocalDateTimeAdapter.class)
@XmlSchemaType(name = "dateTime")
protected LocalDateTime starred;
@XmlAttribute(name = "year")
protected Integer year;
@XmlAttribute(name = "genre")
protected String genre;
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
/**
* 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 artist property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getArtist() {
return artist;
}
/**
* Sets the value of the artist property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setArtist(String value) {
this.artist = value;
}
/**
* Gets the value of the artistId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getArtistId() {
return artistId;
}
/**
* Sets the value of the artistId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setArtistId(String value) {
this.artistId = value;
}
/**
* Gets the value of the coverArtId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCoverArtId() {
return coverArtId;
}
/**
* Sets the value of the coverArtId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCoverArtId(String value) {
this.coverArtId = 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 duration property.
*
*/
public int getDuration() {
return duration;
}
/**
* Sets the value of the duration property.
*
*/
public void setDuration(int value) {
this.duration = value;
}
/**
* Gets the value of the playCount property.
*
* @return
* possible object is
* {@link Long }
*
*/
public Long getPlayCount() {
return playCount;
}
/**
* Sets the value of the playCount property.
*
* @param value
* allowed object is
* {@link Long }
*
*/
public void setPlayCount(Long value) {
this.playCount = value;
}
/**
* Gets the value of the created property.
*
* @return
* possible object is
* {@link String }
*
*/
public LocalDateTime getCreated() {
return created;
}
/**
* Sets the value of the created property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCreated(LocalDateTime value) {
this.created = value;
}
/**
* Gets the value of the starred property.
*
* @return
* possible object is
* {@link String }
*
*/
public LocalDateTime getStarred() {
return starred;
}
/**
* Sets the value of the starred property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setStarred(LocalDateTime value) {
this.starred = value;
}
/**
* Gets the value of the year property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getYear() {
return year;
}
/**
* Sets the value of the year property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setYear(Integer value) {
this.year = value;
}
/**
* Gets the value of the genre property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getGenre() {
return genre;
}
/**
* Sets the value of the genre property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setGenre(String value) {
this.genre = value;
}
}