Class AudiobookSimplified
java.lang.Object
se.michaelthelin.spotify.model_objects.AbstractModelObject
se.michaelthelin.spotify.model_objects.specification.AudiobookSimplified
- All Implemented Interfaces:
Serializable, IModelObject
Retrieve information about
simplified Audiobook objects by building instances from this class.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilder class for buildingAudiobookSimplifiedinstances.static final classJsonUtil class for buildingAudiobookSimplifiedinstances.Nested classes/interfaces inherited from interface IModelObject
IModelObject.IJsonUtil<T> -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Create a builder for building an instance of a model object.booleanAuthor[]Get the author(s) for the audiobook.String[]Get a list of the countries in which the audiobook can be played.Get the copyright statements of the audiobook.Get a description of the audiobook.Get the edition of the audiobook.Check whether the audiobook is explicit or not.Get the external URLs of the audiobook.getHref()Get the full Spotify Web API endpoint URL of the audiobook.Get a description of the audiobook.getId()Get the Spotify ID of the audiobook.Image[]Get the cover art for the audiobook in various sizes, widest first.String[]Get a list of the languages used in the audiobook.Get the media type of the audiobook.getName()Get the name of the audiobook.Narrator[]Get the narrator(s) for the audiobook.Get the publisher of the audiobook.Get the number of chapters in this audiobook.getType()Get the model object type.getUri()Get the Spotify URI of the audiobook.inthashCode()toString()Returns a String representation of this model object in the style:
-
Method Details
-
getAuthors
-
getAvailableMarkets
Get a list of the countries in which the audiobook can be played.- Returns:
- An array of ISO 3166-1 alpha-2 country codes.
-
getCopyrights
-
getDescription
Get a description of the audiobook. HTML tags are stripped away from this field.- Returns:
- The description of the audiobook.
-
getHtmlDescription
Get a description of the audiobook. This field may contain HTML tags.- Returns:
- The HTML description of the audiobook.
-
getEdition
-
getExplicit
Check whether the audiobook is explicit or not.- Returns:
- Whether or not the audiobook has explicit content.
-
getExternalUrls
Get the external URLs of the audiobook.- Returns:
- An
ExternalUrlobject.
-
getHref
Get the full Spotify Web API endpoint URL of the audiobook.- Returns:
- A link to the Web API endpoint providing full details of the audiobook.
-
getId
-
getImages
-
getLanguages
Get a list of the languages used in the audiobook.- Returns:
- An array of ISO 639 language codes.
-
getMediaType
Get the media type of the audiobook.- Returns:
- The media type of the audiobook.
-
getName
-
getNarrators
-
getPublisher
Get the publisher of the audiobook.- Returns:
- The publisher of the audiobook.
-
getType
Get the model object type. In this case"audiobook".- Returns:
- A
ModelObjectType.
-
getUri
-
getTotalChapters
Get the number of chapters in this audiobook.- Returns:
- The number of chapters in this audiobook.
-
toString
Description copied from class:AbstractModelObjectReturns a String representation of this model object in the style:ModelObject(attr1=value1, attr2=value2, ...)- Specified by:
toStringin classAbstractModelObject
-
builder
Description copied from interface:IModelObjectCreate a builder for building an instance of a model object.
The type of the builder and its methods depend on its corresponding implementation.- Returns:
- A builder object.
-
equals
-
hashCode
-