All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.serpro69.kfaker.provider.SlackEmoji.kt Maven / Gradle / Ivy

There is a newer version: 2.0.0-rc.7
Show newest version
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")
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy