/* Options: Date: 2025-05-06 14:59:46 Version: 6.10 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://stubbur-autoupdates-live.smartnewapis.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: CreateMainOwner.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class CreateMainOwnerResponse implements IConvertible { int? id; ResponseStatus? responseStatus; CreateMainOwnerResponse({this.id,this.responseStatus}); CreateMainOwnerResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'id': id, 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!) }; getTypeName() => "CreateMainOwnerResponse"; TypeContext? context = _ctx; } // @Route("/CRUD/MainOwner/Create", "POST") class CreateMainOwner implements IReturn, IConvertible { String? idPath; String? name; String? description; String? genrePath; String? locationPath; CreateMainOwner({this.idPath,this.name,this.description,this.genrePath,this.locationPath}); CreateMainOwner.fromJson(Map json) { fromMap(json); } fromMap(Map json) { idPath = json['idPath']; name = json['name']; description = json['description']; genrePath = json['genrePath']; locationPath = json['locationPath']; return this; } Map toJson() => { 'idPath': idPath, 'name': name, 'description': description, 'genrePath': genrePath, 'locationPath': locationPath }; createResponse() => CreateMainOwnerResponse(); getResponseTypeName() => "CreateMainOwnerResponse"; getTypeName() => "CreateMainOwner"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'stubbur_autoupdates_live.smartnewapis.com', types: { 'CreateMainOwnerResponse': TypeInfo(TypeOf.Class, create:() => CreateMainOwnerResponse()), 'CreateMainOwner': TypeInfo(TypeOf.Class, create:() => CreateMainOwner()), });