/* Options: Date: 2026-03-22 21:55:55 Version: 8.70 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://fbihtaapi.bettor.webhop.biz //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: RegisterProductInstance.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class Reference implements IConvertible { String? id; String? value; Reference({this.id,this.value}); Reference.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; value = json['value']; return this; } Map toJson() => { 'id': id, 'value': value }; getTypeName() => "Reference"; TypeContext? context = _ctx; } class Reference implements IConvertible { String? id; String? value; Reference({this.id,this.value}); Reference.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; value = json['value']; return this; } Map toJson() => { 'id': id, 'value': value }; getTypeName() => "Reference"; TypeContext? context = _ctx; } // @Route("/productInstances/register", "POST") class RegisterProductInstance implements IReturn, IConvertible, IPost { String? id; Reference? product; String? name; RegisterProductInstance({this.id,this.product,this.name}); RegisterProductInstance.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; product = JsonConverters.fromJson(json['product'],'Reference',context!); name = json['name']; return this; } Map toJson() => { 'id': id, 'product': JsonConverters.toJson(product,'Reference',context!), 'name': name }; createResponse() => ResponseStatus(); getResponseTypeName() => "ResponseStatus"; getTypeName() => "RegisterProductInstance"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'fbihtaapi.bettor.webhop.biz', types: { 'Reference': TypeInfo(TypeOf.Class, create:() => Reference()), 'RegisterProductInstance': TypeInfo(TypeOf.Class, create:() => RegisterProductInstance()), });