Package be.ceau.itunesapi.response
Class Result
- java.lang.Object
-
- be.ceau.itunesapi.response.Result
-
- All Implemented Interfaces:
Serializable
public class Result extends Object implements Serializable
Single result in an iTunesResponse
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Result()
-
Method Summary
-
-
-
Method Detail
-
getWrapperType
public String getWrapperType()
The name of the object returned by the search request.- Returns:
- track, collection, artist
-
setWrapperType
public void setWrapperType(String wrapperType)
-
getKind
public String getKind()
The kind of content returned by the search request.- Returns:
- book, album, coached-audio, feature-movie, interactive- booklet, music-video, pdf podcast, podcast-episode, software-package, song, tv-episode, artist
-
setKind
public void setKind(String kind)
-
getArtistId
public Long getArtistId()
-
setArtistId
public void setArtistId(Long artistId)
-
getCollectionId
public Long getCollectionId()
-
setCollectionId
public void setCollectionId(Long collectionId)
-
getTrackId
public Long getTrackId()
-
setTrackId
public void setTrackId(Long trackId)
-
getBundleId
public String getBundleId()
-
setBundleId
public void setBundleId(String bundleId)
-
getArtistName
public String getArtistName()
The name of the artist returned by the search request.- Returns:
- String
-
setArtistName
public void setArtistName(String artistName)
-
getCollectionName
public String getCollectionName()
-
setCollectionName
public void setCollectionName(String collectionName)
-
getTrackName
public String getTrackName()
The name of the track, song, video, TV episode, and so on returned by the search request.- Returns:
- String
-
setTrackName
public void setTrackName(String trackName)
-
getCollectionCensoredName
public String getCollectionCensoredName()
The name of the collection returned by the search request, with objectionable words *’d out.- Returns:
- String
-
setCollectionCensoredName
public void setCollectionCensoredName(String collectionCensoredName)
-
getTrackCensoredName
public String getTrackCensoredName()
The name of the track returned by the search request, with objectionable words *’d out.- Returns:
- String
-
setTrackCensoredName
public void setTrackCensoredName(String trackCensoredName)
-
getArtistViewUrl
public String getArtistViewUrl()
A URL to view the artist in the iTunes Store.- Returns:
- String
-
setArtistViewUrl
public void setArtistViewUrl(String artistViewUrl)
-
getCollectionViewUrl
public String getCollectionViewUrl()
A URL to view the collection in the iTunes Store.- Returns:
- String
-
setCollectionViewUrl
public void setCollectionViewUrl(String collectionViewUrl)
-
getTrackViewUrl
public String getTrackViewUrl()
A URL to view the track in the iTunes Store.- Returns:
- String
-
setTrackViewUrl
public void setTrackViewUrl(String trackViewUrl)
-
getFeedUrl
public String getFeedUrl()
URL of the feed if podcast.- Returns:
- String
-
setFeedUrl
public void setFeedUrl(String feedUrl)
-
getPreviewUrl
public String getPreviewUrl()
-
setPreviewUrl
public void setPreviewUrl(String previewUrl)
-
getArtworkUrl30
public String getArtworkUrl30()
A URL for the artwork associated with the returned media type, sized to 30x30 pixels.- Returns:
- String
-
setArtworkUrl30
public void setArtworkUrl30(String artworkUrl30)
-
getArtworkUrl60
public String getArtworkUrl60()
A URL for the artwork associated with the returned media type, sized to 60x60 pixels.- Returns:
- String
-
setArtworkUrl60
public void setArtworkUrl60(String artworkUrl60)
-
getArtworkUrl100
public String getArtworkUrl100()
A URL for the artwork associated with the returned media type, sized to 100x100 pixels.- Returns:
- String
-
setArtworkUrl100
public void setArtworkUrl100(String artworkUrl100)
-
getArtworkUrl512
public String getArtworkUrl512()
A URL for the artwork associated with the returned media type, sized to 512x512 pixels.- Returns:
- String
-
setArtworkUrl512
public void setArtworkUrl512(String artworkUrl512)
-
getArtworkUrl600
public String getArtworkUrl600()
A URL for the artwork associated with the returned media type, sized to 600x600 pixels.- Returns:
- String
-
setArtworkUrl600
public void setArtworkUrl600(String artworkUrl600)
-
getLargestArtworkUrl
public String getLargestArtworkUrl()
- Returns:
- the URL for the largest available artwork, or
null
if no artwork available
-
getPrice
public BigDecimal getPrice()
-
setPrice
public void setPrice(BigDecimal price)
-
getCollectionPrice
public BigDecimal getCollectionPrice()
-
setCollectionPrice
public void setCollectionPrice(BigDecimal collectionPrice)
-
getTrackPrice
public BigDecimal getTrackPrice()
-
setTrackPrice
public void setTrackPrice(BigDecimal trackPrice)
-
getTrackRentalPrice
public BigDecimal getTrackRentalPrice()
-
setTrackRentalPrice
public void setTrackRentalPrice(BigDecimal trackRentalPrice)
-
getCollectionHdPrice
public BigDecimal getCollectionHdPrice()
-
setCollectionHdPrice
public void setCollectionHdPrice(BigDecimal collectionHdPrice)
-
getTrackHdPrice
public BigDecimal getTrackHdPrice()
-
setTrackHdPrice
public void setTrackHdPrice(BigDecimal trackHdPrice)
-
getTrackHdRentalPrice
public BigDecimal getTrackHdRentalPrice()
-
setTrackHdRentalPrice
public void setTrackHdRentalPrice(BigDecimal trackHdRentalPrice)
-
getFormattedPrice
public String getFormattedPrice()
-
setFormattedPrice
public void setFormattedPrice(String formattedPrice)
-
getReleaseDate
public String getReleaseDate()
-
setReleaseDate
public void setReleaseDate(String releaseDate)
-
getCollectionExplicitness
public String getCollectionExplicitness()
The Recording Industry Association of America (RIAA) parental advisory for the collection. For more information, see Apple.- Returns:
- "explicit" (explicit lyrics, possibly explicit album cover), "cleaned" (explicit lyrics bleeped out), "notExplicit" (no explicit lyrics)
-
setCollectionExplicitness
public void setCollectionExplicitness(String collectionExplicitness)
-
getTrackExplicitness
public String getTrackExplicitness()
The Recording Industry Association of America (RIAA) parental advisory for the track. For more information, see Apple.- Returns:
- "explicit" (explicit lyrics, possibly explicit album cover), "cleaned" (explicit lyrics bleeped out), "notExplicit" (no explicit lyrics)
-
setTrackExplicitness
public void setTrackExplicitness(String trackExplicitness)
-
getDiscCount
public Integer getDiscCount()
-
setDiscCount
public void setDiscCount(Integer discCount)
-
getDiscNumber
public Integer getDiscNumber()
-
setDiscNumber
public void setDiscNumber(Integer discNumber)
-
getTrackCount
public Integer getTrackCount()
-
setTrackCount
public void setTrackCount(Integer trackCount)
-
getTrackNumber
public Integer getTrackNumber()
-
setTrackNumber
public void setTrackNumber(Integer trackNumber)
-
getCopyright
public String getCopyright()
-
setCopyright
public void setCopyright(String copyright)
-
getTrackTimeMillis
public Long getTrackTimeMillis()
-
setTrackTimeMillis
public void setTrackTimeMillis(Long trackTimeMillis)
-
getCountry
public String getCountry()
-
setCountry
public void setCountry(String country)
-
getCurrency
public String getCurrency()
-
setCurrency
public void setCurrency(String currency)
-
getPrimaryGenreId
public String getPrimaryGenreId()
-
setPrimaryGenreId
public void setPrimaryGenreId(String primaryGenreId)
-
getPrimaryGenreName
public String getPrimaryGenreName()
-
setPrimaryGenreName
public void setPrimaryGenreName(String primaryGenreName)
-
getIsStreamable
public Boolean getIsStreamable()
-
setIsStreamable
public void setIsStreamable(Boolean isStreamable)
-
getContentAdvisoryRating
public String getContentAdvisoryRating()
-
setContentAdvisoryRating
public void setContentAdvisoryRating(String contentAdvisoryRating)
-
getShortDescription
public String getShortDescription()
-
setShortDescription
public void setShortDescription(String shortDescription)
-
getLongDescription
public String getLongDescription()
-
setLongDescription
public void setLongDescription(String longDescription)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
setGenreIds
public void setGenreIds(Collection<String> genreIds)
-
setGenres
public void setGenres(Collection<String> genres)
-
getIpadScreenshotUrls
public Set<String> getIpadScreenshotUrls()
- Returns:
- modifiable
Set
, nevernull
-
setIpadScreenshotUrls
public void setIpadScreenshotUrls(Collection<String> ipadScreenshotUrls)
-
getAppletvScreenshotUrls
public Set<String> getAppletvScreenshotUrls()
- Returns:
- modifiable
Set
, nevernull
-
setAppletvScreenshotUrls
public void setAppletvScreenshotUrls(Collection<String> appletvScreenshotUrls)
-
setFeatures
public void setFeatures(Collection<String> features)
-
setSupportedDevices
public void setSupportedDevices(Collection<String> supportedDevices)
-
setAdvisories
public void setAdvisories(Collection<String> advisories)
-
setScreenshotUrls
public void setScreenshotUrls(Collection<String> screenshotUrls)
-
getIsGameCenterEnabled
public Boolean getIsGameCenterEnabled()
-
setIsGameCenterEnabled
public void setIsGameCenterEnabled(Boolean isGameCenterEnabled)
-
getAverageUserRatingForCurrentVersion
public Integer getAverageUserRatingForCurrentVersion()
-
setAverageUserRatingForCurrentVersion
public void setAverageUserRatingForCurrentVersion(Integer averageUserRatingForCurrentVersion)
-
getLanguageCodesISO2A
public Set<String> getLanguageCodesISO2A()
- Returns:
- modifiable
Set
, nevernull
-
setLanguageCodesISO2A
public void setLanguageCodesISO2A(Collection<String> languageCodesISO2A)
-
getFileSizeBytes
public Long getFileSizeBytes()
-
setFileSizeBytes
public void setFileSizeBytes(Long fileSizeBytes)
-
getUserRatingCountForCurrentVersion
public Integer getUserRatingCountForCurrentVersion()
-
setUserRatingCountForCurrentVersion
public void setUserRatingCountForCurrentVersion(Integer userRatingCountForCurrentVersion)
-
getTrackContentRating
public String getTrackContentRating()
-
setTrackContentRating
public void setTrackContentRating(String trackContentRating)
-
getVersion
public String getVersion()
-
setVersion
public void setVersion(String version)
-
getIsVppDeviceBasedLicensingEnabled
public Boolean getIsVppDeviceBasedLicensingEnabled()
-
setIsVppDeviceBasedLicensingEnabled
public void setIsVppDeviceBasedLicensingEnabled(Boolean isVppDeviceBasedLicensingEnabled)
-
getCurrentVersionReleaseDate
public String getCurrentVersionReleaseDate()
-
setCurrentVersionReleaseDate
public void setCurrentVersionReleaseDate(String currentVersionReleaseDate)
-
getSellerName
public String getSellerName()
-
setSellerName
public void setSellerName(String sellerName)
-
getMinimumOsVersion
public String getMinimumOsVersion()
-
setMinimumOsVersion
public void setMinimumOsVersion(String minimumOsVersion)
-
getAverageUserRating
public Integer getAverageUserRating()
-
setAverageUserRating
public void setAverageUserRating(Integer averageUserRating)
-
getUserRatingCount
public Integer getUserRatingCount()
-
setUserRatingCount
public void setUserRatingCount(Integer userRatingCount)
-
-