de.sonallux.spotify.api.models.TrackRestriction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spotify-web-api-java Show documentation
Show all versions of spotify-web-api-java Show documentation
A Java wrapper for Spotify's Web API
The newest version!
package de.sonallux.spotify.api.models;
import lombok.*;
/**
* TrackRestrictionObject
*/
@Getter
@Setter
@NoArgsConstructor
public class TrackRestriction {
/**
* The reason for the restriction. Supported values:
*
* market
- The content item is not available in the given market.
* product
- The content item is not available for the user's subscription type.
* explicit
- The content item is explicit and the user's account is set to not play explicit content.
*
* Additional reasons may be added in the future.
* Note: If you use this field, make sure that your application safely handles unknown values.
*/
public String reason;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy