data class Collection( val name: String, val heading: String?, val description: String?, val learnMoreUrl: String?, val availableLocales: List<String>?, val startDate: Date?, val endDate: Date?, )  companion object { const val amethystName = "amethyst" const val ceruleanName = "cerulean" const val sunriseName = "sunrise" const val twilightHillsName = "twilight-hills" const val beachVibeName = "beach-vibe" const val firefoxCollectionName = "firefox" const val defaultName = "default"
Type that represents a collection that a [Wallpaper] belongs to. @property name The name of the collection the wallpaper belongs to. @property learnMoreUrl The URL that can be visited to learn more about a collection, if any. @property availableLocales The locales that this wallpaper is restricted to. If null, the wallpaper is not restricted. @property startDate The date the wallpaper becomes available in a promotion. If null, it is available from any date. @property endDate The date the wallpaper stops being available in a promotion. If null, the wallpaper will be available to any date.