class Gender: YamlFakeDataProvider<Gender>

FakeDataProvider implementation for YamlCategory.GENDER category.

Fields

Name Description
protected yamlCategory: YamlCategory

Category for this fake yaml data provider class.

This is the key entry after the faker key in .yml locale file.

For example address.yml file has the following structure:


en:
  faker:
    address:

then the yamlCategory would be YamlCategory.ADDRESS

NB! If the secondaryCategory is NOT set,the dictionary filename should match the yamlCategory name,i.e. the file name should be address.yml for the YamlCategory.ADDRESS.

protected localUniqueDataProvider: LocalUniqueDataProvider<Gender>

A LocalUniqueDataProvider instance that is used with this unique provider.

val unique: Gender

An instance of T for generating unique values

Methods

types

fun types(): resolve("types")

ReturnValue

Name Description
resolve("types")

binaryTypes

fun binaryTypes(): resolve("binary_types")

ReturnValue

Name Description
resolve("binary_types")

shortBinaryTypes

fun shortBinaryTypes(): resolve("short_binary_types")

ReturnValue

Name Description
resolve("short_binary_types")