@go.Package { name = "github.com/onsonr/sonr/motr/api" } module api import "package://pkg.pkl-lang.org/pkl-go/pkl.golang@0.5.0#/go.pkl" class JsonField extends go.Field { structTags { ["json"] = "%{name},omitempty" } } abstract class Request { route: String method: String headers: Map origin: String? userAgent: String? body: Dynamic } abstract class Response { statusCode: Int headers: Map body: Dynamic } class GetAccountsRequest extends Request { route = "/accounts" method = "GET" headers = { "Content-Type" = "application/json" } origin = null userAgent = null body = null }