Skip to content

//sports/io.github.serpro69.kfaker.sports/SportsFaker

SportsFaker

[jvm]\ class SportsFaker@JvmOverloadsconstructor(config: FakerConfig = fakerConfig { }) : AbstractFaker

Provides access to fake data generators within the Sports domain.

Each category (generator) from this SportsFaker is represented by a property that (usually) has the same name as the .yml dictionary file.

Constructors

SportsFaker [jvm]
@JvmOverloads
constructor(config: FakerConfig = fakerConfig { })

Types

Name Summary
Builder [jvm]
class Builder : AbstractFaker.Builder<Faker>
DSL builder for creating instances of Faker

Properties

Name Summary
basketball [jvm]
val basketball: Basketball
chess [jvm]
val chess: Chess
crossfit [jvm]
val crossfit: Crossfit
eSport [jvm]
val eSport: ESport
football [jvm]
val football: Football
mountaineering [jvm]
val mountaineering: Mountaineering
sport [jvm]
val sport: Sport
team [jvm]
val team: Team
unique [jvm]
val unique: GlobalUniqueDataProvider
volleyball [jvm]
val volleyball: Volleyball
worldCup [jvm]
val worldCup: WorldCup