Class Playlist.Builder
java.lang.Object
se.michaelthelin.spotify.model_objects.AbstractModelObject.Builder
se.michaelthelin.spotify.model_objects.specification.Playlist.Builder
- All Implemented Interfaces:
IModelObject.Builder
- Enclosing class:
Playlist
Builder class for building
Playlist instances.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build a model object with the information set in the builder object.setCollaborative(Boolean collaborative) setDescription(String description) setExternalUrls(ExternalUrl externalUrls) setFollowers(Followers followers) setItems(Paging<PlaylistTrack> items) setPublicAccess(Boolean publicAccess) setSnapshotId(String snapshotId) setType(ModelObjectType type)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setCollaborative
-
setDescription
-
setExternalUrls
-
setFollowers
-
setHref
-
setId
-
setImages
-
setName
-
setOwner
-
setPublicAccess
-
setSnapshotId
-
setItems
-
setType
-
setUri
-
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.
-