class StarWars: Any

FakeDataProvider implementation for YamlCategory.STAR_WARS category.

Fields

Name Description
val yamlCategory: override
val localUniqueDataProvider: override
val unique: override

Methods

characters

fun characters(): resolve("characters")

ReturnValue

Name Description
resolve("characters")

callSquadrons

fun callSquadrons(): resolve("call_squadrons")

ReturnValue

Name Description
resolve("call_squadrons")

callNumbers

fun callNumbers(): with(fakerService) { resolve("call_numbers").numerify() }

ReturnValue

Name Description
with(fakerService) { resolve("call_numbers").numerify() }

callSign

fun callSign(): with(fakerService) { resolve("call_sign").numerify() }

ReturnValue

Name Description
with(fakerService) { resolve("call_sign").numerify() }

droids

fun droids(): resolve("droids")

ReturnValue

Name Description
resolve("droids")

planets

fun planets(): resolve("planets")

ReturnValue

Name Description
resolve("planets")

species

fun species(): resolve("species")

ReturnValue

Name Description
resolve("species")

vehicles

fun vehicles(): resolve("vehicles")

ReturnValue

Name Description
resolve("vehicles")

wookieeWords

fun wookieeWords(): resolve("wookiee_words")

ReturnValue

Name Description
resolve("wookiee_words")

quotes

fun quotes(character: String): resolve("quotes", character.lowercase().replace(" ", "_"))

Parameters

Name Description
character: String

ReturnValue

Name Description
resolve("quotes", character.lowercase().replace(" ", "_"))

quote

fun quote(): resolve("quotes", "")

ReturnValue

Name Description
resolve("quotes", "")

alternateCharacterSpellings

fun alternateCharacterSpellings(character: String): resolve("alternate_character_spellings", character)

Parameters

Name Description
character: String

ReturnValue

Name Description
resolve("alternate_character_spellings", character)