UnitTestingTrait.NullablesAndOptionalsStruct

class UnitTestingTrait.NullablesAndOptionalsStruct


NullablesAndOptionalsStruct`.

Summary

Public constructors

NullablesAndOptionalsStruct(
    nullableInt: UShort?,
    optionalInt: OptionalValue<UShort>,
    nullableOptionalInt: OptionalValue<UShort?>,
    nullableString: String?,
    optionalString: OptionalValue<String>,
    nullableOptionalString: OptionalValue<String?>,
    nullableStruct: UnitTestingTrait.SimpleStruct?,
    optionalStruct: OptionalValue<UnitTestingTrait.SimpleStruct>,
    nullableOptionalStruct: OptionalValue<UnitTestingTrait.SimpleStruct?>,
    nullableList: List<UnitTestingTrait.SimpleEnum>?,
    optionalList: OptionalValue<List<UnitTestingTrait.SimpleEnum>>,
    nullableOptionalList: OptionalValue<List<UnitTestingTrait.SimpleEnum>?>
)

Creates the NullablesAndOptionalsStruct class.

Public properties

UShort?

nullableInt attribute.

List<UnitTestingTrait.SimpleEnum>?

nullableList attribute.

OptionalValue<UShort?>

nullableOptionalInt attribute.

OptionalValue<List<UnitTestingTrait.SimpleEnum>?>

nullableOptionalList attribute.

OptionalValue<String?>

nullableOptionalString attribute.

OptionalValue<UnitTestingTrait.SimpleStruct?>

nullableOptionalStruct attribute.

String?

nullableString attribute.

UnitTestingTrait.SimpleStruct?

nullableStruct attribute.

OptionalValue<UShort>

optionalInt attribute.

OptionalValue<List<UnitTestingTrait.SimpleEnum>>

optionalList attribute.

OptionalValue<String>

optionalString attribute.

OptionalValue<UnitTestingTrait.SimpleStruct>

optionalStruct attribute.

Public constructors

NullablesAndOptionalsStruct

NullablesAndOptionalsStruct(
    nullableInt: UShort? = null,
    optionalInt: OptionalValue<UShort> = OptionalValue.absent(),
    nullableOptionalInt: OptionalValue<UShort?> = OptionalValue.absent(),
    nullableString: String? = null,
    optionalString: OptionalValue<String> = OptionalValue.absent(),
    nullableOptionalString: OptionalValue<String?> = OptionalValue.absent(),
    nullableStruct: UnitTestingTrait.SimpleStruct? = null,
    optionalStruct: OptionalValue<UnitTestingTrait.SimpleStruct> = OptionalValue.absent(),
    nullableOptionalStruct: OptionalValue<UnitTestingTrait.SimpleStruct?> = OptionalValue.absent(),
    nullableList: List<UnitTestingTrait.SimpleEnum>? = null,
    optionalList: OptionalValue<List<UnitTestingTrait.SimpleEnum>> = OptionalValue.absent(),
    nullableOptionalList: OptionalValue<List<UnitTestingTrait.SimpleEnum>?> = OptionalValue.absent()
)

Creates the NullablesAndOptionalsStruct class.

Public properties

nullableInt

val nullableIntUShort?

nullableInt attribute.

nullableList

val nullableListList<UnitTestingTrait.SimpleEnum>?

nullableList attribute.

nullableOptionalInt

val nullableOptionalIntOptionalValue<UShort?>

nullableOptionalInt attribute.

nullableOptionalList

val nullableOptionalListOptionalValue<List<UnitTestingTrait.SimpleEnum>?>

nullableOptionalList attribute.

nullableOptionalString

val nullableOptionalStringOptionalValue<String?>

nullableOptionalString attribute.

nullableOptionalStruct

val nullableOptionalStructOptionalValue<UnitTestingTrait.SimpleStruct?>

nullableOptionalStruct attribute.

nullableString

val nullableStringString?

nullableString attribute.

nullableStruct

val nullableStructUnitTestingTrait.SimpleStruct?

nullableStruct attribute.

optionalInt

val optionalIntOptionalValue<UShort>

optionalInt attribute.

optionalList

val optionalListOptionalValue<List<UnitTestingTrait.SimpleEnum>>

optionalList attribute.

optionalString

val optionalStringOptionalValue<String>

optionalString attribute.

optionalStruct

val optionalStructOptionalValue<UnitTestingTrait.SimpleStruct>

optionalStruct attribute.