org.subsonic.restapi.ArtistID3 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 ArtistID3 complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ArtistID3">
* <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="coverArt" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="albumCount" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
* <attribute name="starred" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ArtistID3")
@XmlSeeAlso({
ArtistWithAlbumsID3 .class
})
public class ArtistID3 {
@XmlAttribute(name = "id", required = true)
protected String id;
@XmlAttribute(name = "name", required = true)
protected String name;
@XmlAttribute(name = "coverArt")
protected String coverArtId;
@XmlAttribute(name = "albumCount", required = true)
protected int albumCount;
@XmlAttribute(name = "starred")
@XmlJavaTypeAdapter(LocalDateTimeAdapter.class)
@XmlSchemaType(name = "dateTime")
protected LocalDateTime starred;
/**
* 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 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 albumCount property.
*
*/
public int getAlbumCount() {
return albumCount;
}
/**
* Sets the value of the albumCount property.
*
*/
public void setAlbumCount(int value) {
this.albumCount = 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;
}
}