mirror of
https://github.com/CappielloAntonio/tempo.git
synced 2026-02-01 07:03:35 +00:00
Preparation for requesting album information
This commit is contained in:
@@ -1,131 +1,68 @@
|
||||
package com.cappielloantonio.play.subsonic.models;
|
||||
|
||||
public class AlbumInfo {
|
||||
protected String notes;
|
||||
protected String musicBrainzId;
|
||||
protected String lastFmUrl;
|
||||
protected String smallImageUrl;
|
||||
protected String mediumImageUrl;
|
||||
protected String largeImageUrl;
|
||||
import com.tickaroo.tikxml.annotation.Attribute;
|
||||
import com.tickaroo.tikxml.annotation.Xml;
|
||||
|
||||
/**
|
||||
* Gets the value of the notes property.
|
||||
*
|
||||
* @return possible object is
|
||||
* {@link String }
|
||||
*/
|
||||
@Xml
|
||||
public class AlbumInfo {
|
||||
@Attribute
|
||||
protected String notes;
|
||||
@Attribute
|
||||
protected String musicBrainzId;
|
||||
@Attribute
|
||||
protected String lastFmUrl;
|
||||
@Attribute
|
||||
protected String smallImageUrl;
|
||||
@Attribute
|
||||
protected String mediumImageUrl;
|
||||
@Attribute
|
||||
protected String largeImageUrl;
|
||||
|
||||
public String getNotes() {
|
||||
return notes;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the notes property.
|
||||
*
|
||||
* @param value allowed object is
|
||||
* {@link String }
|
||||
*/
|
||||
|
||||
public void setNotes(String value) {
|
||||
this.notes = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the musicBrainzId property.
|
||||
*
|
||||
* @return possible object is
|
||||
* {@link String }
|
||||
*/
|
||||
|
||||
public String getMusicBrainzId() {
|
||||
return musicBrainzId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the musicBrainzId property.
|
||||
*
|
||||
* @param value allowed object is
|
||||
* {@link String }
|
||||
*/
|
||||
public void setMusicBrainzId(String value) {
|
||||
this.musicBrainzId = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the lastFmUrl property.
|
||||
*
|
||||
* @return possible object is
|
||||
* {@link String }
|
||||
*/
|
||||
|
||||
public String getLastFmUrl() {
|
||||
return lastFmUrl;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the lastFmUrl property.
|
||||
*
|
||||
* @param value allowed object is
|
||||
* {@link String }
|
||||
*/
|
||||
|
||||
public void setLastFmUrl(String value) {
|
||||
this.lastFmUrl = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the smallImageUrl property.
|
||||
*
|
||||
* @return possible object is
|
||||
* {@link String }
|
||||
*/
|
||||
public String getSmallImageUrl() {
|
||||
return smallImageUrl;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the smallImageUrl property.
|
||||
*
|
||||
* @param value allowed object is
|
||||
* {@link String }
|
||||
*/
|
||||
|
||||
public void setSmallImageUrl(String value) {
|
||||
this.smallImageUrl = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the mediumImageUrl property.
|
||||
*
|
||||
* @return possible object is
|
||||
* {@link String }
|
||||
*/
|
||||
|
||||
public String getMediumImageUrl() {
|
||||
return mediumImageUrl;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the mediumImageUrl property.
|
||||
*
|
||||
* @param value allowed object is
|
||||
* {@link String }
|
||||
*/
|
||||
|
||||
public void setMediumImageUrl(String value) {
|
||||
this.mediumImageUrl = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the largeImageUrl property.
|
||||
*
|
||||
* @return possible object is
|
||||
* {@link String }
|
||||
*/
|
||||
|
||||
public String getLargeImageUrl() {
|
||||
return largeImageUrl;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the largeImageUrl property.
|
||||
*
|
||||
* @param value allowed object is
|
||||
* {@link String }
|
||||
*/
|
||||
|
||||
public void setLargeImageUrl(String value) {
|
||||
this.largeImageUrl = value;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -18,6 +18,7 @@ public class SubsonicResponse {
|
||||
@Element(name = "artistInfo2")
|
||||
private ArtistInfo2 artistInfo2;
|
||||
private ArtistInfo artistInfo;
|
||||
@Element(name = "albumInfo")
|
||||
private AlbumInfo albumInfo;
|
||||
@Element(name = "starred2")
|
||||
private Starred2 starred2;
|
||||
|
||||
Reference in New Issue
Block a user