UnitTestingTrait.TestComplexNullableOptionalRequestCommand.Request

class UnitTestingTrait.TestComplexNullableOptionalRequestCommand.Request


The request payload for the TestComplexNullableOptionalRequest command.

Summary

Public constructors

Request(
    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 a request payload for the TestComplexNullableOptionalRequest command.

Public constructors

Request

Request(
    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 a request payload for the TestComplexNullableOptionalRequest command.

Public properties

nullableInt

val nullableIntUShort?

Unsigned 16-bit integer argument.

nullableList

val nullableListList<UnitTestingTrait.SimpleEnum>?

SimpleEnum list argument.

nullableOptionalInt

val nullableOptionalIntOptionalValue<UShort?>

Unsigned 16-bit integer argument.

nullableOptionalString

val nullableOptionalStringOptionalValue<String?>

String argument.

nullableString

val nullableStringString?

String argument.

nullableStruct

val nullableStructUnitTestingTrait.SimpleStruct?

SimpleStruct argument.

optionalInt

val optionalIntOptionalValue<UShort>

Unsigned 16-bit integer argument.

optionalString

val optionalStringOptionalValue<String>

String argument.