Hey I am trying to add an instance of a struct, which looks like
struct PlanMeta {
plan: Plan,
appLimit: Number
};
where Plan is an enum. I have an instance called pocPlan. I am trying to populate it but am not sure what to put into the value of the “plan”. The type would be something like "/paas-$toVersion?/paas/Plan/Poc"
put("pocPlan") {
createStruct(
"/paas-$toVersion?/paas/PlanMeta",
mapOf(
"plan" to <whatGoesHere>,
"appLimit" to 1
)
)
}
Can I reference this type with TypeRef somehow?
Thanks