All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.lajospolya.spotifyapiwrapper.response.CurrentlyPlayingContext Maven / Gradle / Ivy

Go to download

This project wraps the Spotify public API in order to allow users to intuitively use it

There is a newer version: 3.0.RELEASE
Show newest version
package com.lajospolya.spotifyapiwrapper.response;

import com.lajospolya.spotifyapiwrapper.enumeration.CurrentlyPlayingType;
import com.lajospolya.spotifyapiwrapper.enumeration.RepeatState;

/**
 * @author Lajos Polya
 * Represent the response of GetMePlayer as described at
 * https://developer.spotify.com/documentation/web-api/reference-beta/
 */
public class CurrentlyPlayingContext
{
    private Device device;
    private RepeatState repeat_state;
    private Boolean shuffle_state;
    private Context context;
    private Long timestamp;
    private Integer progress_ms;
    private Boolean is_playing;
    private TrackOrEpisode item;
    private CurrentlyPlayingType currently_playing_type;
    private Actions actions;

    public Device getDevice()
    {
        return device;
    }

    public void setDevice(Device device)
    {
        this.device = device;
    }

    public RepeatState getRepeat_state()
    {
        return repeat_state;
    }

    public void setRepeat_state(RepeatState repeat_state)
    {
        this.repeat_state = repeat_state;
    }

    public Boolean getShuffle_state()
    {
        return shuffle_state;
    }

    public void setShuffle_state(Boolean shuffle_state)
    {
        this.shuffle_state = shuffle_state;
    }

    public Context getContext()
    {
        return context;
    }

    public void setContext(Context context)
    {
        this.context = context;
    }

    public Long getTimestamp()
    {
        return timestamp;
    }

    public void setTimestamp(Long timestamp)
    {
        this.timestamp = timestamp;
    }

    public Integer getProgress_ms()
    {
        return progress_ms;
    }

    public void setProgress_ms(Integer progress_ms)
    {
        this.progress_ms = progress_ms;
    }

    public Boolean getIs_playing()
    {
        return is_playing;
    }

    public void setIs_playing(Boolean is_playing)
    {
        this.is_playing = is_playing;
    }

    public TrackOrEpisode getItem()
    {
        return item;
    }

    public void setItem(TrackOrEpisode item)
    {
        this.item = item;
    }

    public CurrentlyPlayingType getCurrently_playing_type()
    {
        return currently_playing_type;
    }

    public void setCurrently_playing_type(CurrentlyPlayingType currently_playing_type)
    {
        this.currently_playing_type = currently_playing_type;
    }

    public Actions getActions()
    {
        return actions;
    }

    public void setActions(Actions actions)
    {
        this.actions = actions;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy