IModelObjectpublic class Restrictions extends AbstractModelObject
Part of the response when Track Relinking is applied, the original track is not available in the given market, and Spotify did not have any tracks to relink it with. The track response will still contain metadata for the original track, and a restrictions object containing the reason why the track is not available
| Modifier and Type | Class | Description |
|---|---|---|
static class |
Restrictions.Builder |
Builder class for building
Restrictions instances. |
static class |
Restrictions.JsonUtil |
JSonUtil class for building
Restrictions instances. |
IModelObject.IJsonUtil<T>| Modifier and Type | Method | Description |
|---|---|---|
Restrictions.Builder |
builder() |
Create a builder for building an instance of a model object.
|
String |
getReason() |
Get the reason why the track is not available.
|
public String getReason()
public Restrictions.Builder builder()
IModelObjectCopyright © 2019. All rights reserved.