io.github.serpro69.kfaker.provider.SlackEmoji.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kotlin-faker Show documentation
Show all versions of kotlin-faker Show documentation
https://github.com/serpro69/kotlin-faker
package io.github.serpro69.kfaker.provider
import io.github.serpro69.kfaker.*
import io.github.serpro69.kfaker.dictionary.*
import io.github.serpro69.kfaker.provider.unique.LocalUniqueDataProvider
import io.github.serpro69.kfaker.provider.unique.UniqueProviderDelegate
/**
* [FakeDataProvider] implementation for [YamlCategory.SLACK_EMOJI] category.
*/
@Suppress("unused")
class SlackEmoji internal constructor(fakerService: FakerService) : YamlFakeDataProvider(fakerService) {
override val yamlCategory = YamlCategory.SLACK_EMOJI
override val localUniqueDataProvider = LocalUniqueDataProvider()
override val unique by UniqueProviderDelegate(localUniqueDataProvider)
init {
fakerService.load(yamlCategory)
}
fun people() = resolve("people")
fun nature() = resolve("nature")
fun foodAndDrink() = resolve("food_and_drink")
fun celebration() = resolve("celebration")
fun activity() = resolve("activity")
fun travelAndPlaces() = resolve("travel_and_places")
fun objectsAndSymbols() = resolve("objects_and_symbols")
fun custom() = resolve("custom")
fun emoji() = resolve("emoji")
}