com.lajospolya.spotifyapiwrapper.response.AudioFeatures Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spotify-api-wrapper Show documentation
Show all versions of spotify-api-wrapper Show documentation
This project wraps the Spotify public API in order to allow users to intuitively use it
package com.lajospolya.spotifyapiwrapper.response;
/**
* @author Lajos Polya
* Represent the response of GetAudioFeatures as described at
* https://developer.spotify.com/documentation/web-api/reference-beta/
*/
public class AudioFeatures
{
private Float acousticness;
private String analysis_url;
private Float danceability;
private Integer duration_ms;
private Float energy;
private String id;
private Float instrumentalness;
private Integer key;
private Float liveness;
private Float loudness;
private Integer mode;
private Float speechiness;
private Float tempo;
private Integer time_signature;
private String track_href;
private String type;
private String uri;
private Float valence;
public Float getAcousticness()
{
return acousticness;
}
public void setAcousticness(Float acousticness)
{
this.acousticness = acousticness;
}
public String getAnalysis_url()
{
return analysis_url;
}
public void setAnalysis_url(String analysis_url)
{
this.analysis_url = analysis_url;
}
public Float getDanceability()
{
return danceability;
}
public void setDanceability(Float danceability)
{
this.danceability = danceability;
}
public Integer getDuration_ms()
{
return duration_ms;
}
public void setDuration_ms(Integer duration_ms)
{
this.duration_ms = duration_ms;
}
public Float getEnergy()
{
return energy;
}
public void setEnergy(Float energy)
{
this.energy = energy;
}
public String getId()
{
return id;
}
public void setId(String id)
{
this.id = id;
}
public Float getInstrumentalness()
{
return instrumentalness;
}
public void setInstrumentalness(Float instrumentalness)
{
this.instrumentalness = instrumentalness;
}
public Integer getKey()
{
return key;
}
public void setKey(Integer key)
{
this.key = key;
}
public Float getLiveness()
{
return liveness;
}
public void setLiveness(Float liveness)
{
this.liveness = liveness;
}
public Float getLoudness()
{
return loudness;
}
public void setLoudness(Float loudness)
{
this.loudness = loudness;
}
public Integer getMode()
{
return mode;
}
public void setMode(Integer mode)
{
this.mode = mode;
}
public Float getSpeechiness()
{
return speechiness;
}
public void setSpeechiness(Float speechiness)
{
this.speechiness = speechiness;
}
public Float getTempo()
{
return tempo;
}
public void setTempo(Float tempo)
{
this.tempo = tempo;
}
public Integer getTime_signature()
{
return time_signature;
}
public void setTime_signature(Integer time_signature)
{
this.time_signature = time_signature;
}
public String getTrack_href()
{
return track_href;
}
public void setTrack_href(String track_href)
{
this.track_href = track_href;
}
public String getType()
{
return type;
}
public void setType(String type)
{
this.type = type;
}
public String getUri()
{
return uri;
}
public void setUri(String uri)
{
this.uri = uri;
}
public Float getValence()
{
return valence;
}
public void setValence(Float valence)
{
this.valence = valence;
}
}