micro_utils.dokka
0.19.1
common
micro_utils.dokka
/
dev.inmo.micro_utils.repos.generator.test
Package-level
declarations
Types
Functions
Types
IRegistered
Test
Link copied to clipboard
interface
IRegisteredTest
:
Test
New
Test
Link copied to clipboard
@
Serializable
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
data
class
RegisteredTest
(
val
id
:
TestId
,
val
property1
:
String
,
val
property2
:
Int
,
val
parent
:
ParentTypeId
?
)
:
Test
,
IRegisteredTest
Test
Link copied to clipboard
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