munchies
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
munchies
restaurant-shared
/
com.munchies.restaurant.infrastructure.adapter.inbound.http.menu.category
/
CreateCategoryRequest
Create
Category
Request
@
Serializable
@
SerialName
(
value
=
"CreateCategoryRequest"
)
data
class
CreateCategoryRequest
(
val
name
:
String
,
val
variations
:
Array
<
VariationDto
>
=
emptyArray()
)
:
JsonEncodable
Members
Constructors
Create
Category
Request
Link copied to clipboard
constructor
(
name
:
String
,
variations
:
Array
<
VariationDto
>
=
emptyArray()
)
Properties
name
Link copied to clipboard
val
name
:
String
variations
Link copied to clipboard
val
variations
:
Array
<
VariationDto
>
Functions
to
Json
Link copied to clipboard
open
override
fun
toJson
(
)
:
String