Class Audiobook.Builder
java.lang.Object
se.michaelthelin.spotify.model_objects.AbstractModelObject.Builder
se.michaelthelin.spotify.model_objects.specification.Audiobook.Builder
- All Implemented Interfaces:
IModelObject.Builder
- Enclosing class:
Audiobook
Builder class for building
Audiobook instances.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build a model object with the information set in the builder object.setAuthors(Author... authors) setAvailableMarkets(String... availableMarkets) setChapters(Paging<ChapterSimplified> chapters) setCopyrights(Copyright... copyrights) setDescription(String description) setEdition(String edition) setExplicit(Boolean explicit) setExternalUrls(ExternalUrl externalUrls) setHtmlDescription(String htmlDescription) setLanguages(String... languages) setMediaType(String mediaType) setNarrators(Narrator... narrators) setPublisher(String publisher) setTotalChapters(Integer totalChapters) setType(ModelObjectType type)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setAuthors
-
setAvailableMarkets
-
setCopyrights
-
setDescription
-
setHtmlDescription
-
setEdition
-
setExplicit
-
setExternalUrls
-
setHref
-
setId
-
setImages
-
setLanguages
-
setMediaType
-
setName
-
setNarrators
-
setPublisher
-
setType
-
setUri
-
setTotalChapters
-
setChapters
-
build
Description copied from interface:IModelObject.BuilderBuild a model object with the information set in the builder object.
The type of the model object and its methods depend on its corresponding implementation.- Returns:
- A model object.
-