/* Options: Date: 2025-12-06 05:25:05 Version: 8.70 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.sbbet.ath.cx //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: CorrectUserFullName.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class Name implements IConvertible { String? first; String? last; String? full; Name({this.first,this.last,this.full}); Name.fromJson(Map json) { fromMap(json); } fromMap(Map json) { first = json['first']; last = json['last']; full = json['full']; return this; } Map toJson() => { 'first': first, 'last': last, 'full': full }; getTypeName() => "Name"; TypeContext? context = _ctx; } // @Route("/cmd/users/correct/name", "POST") class CorrectUserFullName implements IReturn, IConvertible, IPost { String? id; Name? name; CorrectUserFullName({this.id,this.name}); CorrectUserFullName.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; name = JsonConverters.fromJson(json['name'],'Name',context!); return this; } Map toJson() => { 'id': id, 'name': JsonConverters.toJson(name,'Name',context!) }; createResponse() => ResponseStatus(); getResponseTypeName() => "ResponseStatus"; getTypeName() => "CorrectUserFullName"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.sbbet.ath.cx', types: { 'Name': TypeInfo(TypeOf.Class, create:() => Name()), 'CorrectUserFullName': TypeInfo(TypeOf.Class, create:() => CorrectUserFullName()), });