toggle menu
micro_utils.dokka
0.20.42
common
switch theme
search in API
micro_utils.dokka
/
dev.inmo.micro_utils.repos.generator.test
Package-level
declarations
Types
Functions
Types
IRegistered
Test
Link copied to clipboard
sealed
interface
IRegisteredTest
:
Test
New
Test
Link copied to clipboard
@
Serializable
@
SerialName
(
value
=
"NewTest"
)
data
class
NewTest
(
val
property1
:
String
,
val
property2
:
Int
,
val
parent
:
ParentTypeId
?
)
:
Test
Parent
Type
Id
Link copied to clipboard
typealias
ParentTypeId
=
TestId
Registered
Test
Link copied to clipboard
@
Serializable
@
SerialName
(
value
=
"RegisteredTest"
)
data
class
RegisteredTest
(
val
id
:
TestId
,
val
property1
:
String
,
val
property2
:
Int
,
val
parent
:
ParentTypeId
?
)
:
Test
,
IRegisteredTest
Test
Link copied to clipboard
sealed
interface
Test
Test
Id
Link copied to clipboard
@
Serializable
@
JvmInline
value
class
TestId
(
val
long
:
Long
)
Functions
as
New
Link copied to clipboard
fun
Test
.
asNew
(
)
:
NewTest
as
Registered
Link copied to clipboard
fun
Test
.
asRegistered
(
id
:
TestId
)
:
RegisteredTest