/* Options: Date: 2025-12-06 06:27:15 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: CorrectUserDateOfBirth.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; // @Route("/cmd/users/correct/dob", "POST") class CorrectUserDateOfBirth implements IReturn, IConvertible, IPost { String? id; DateTime? dateOfBirth; CorrectUserDateOfBirth({this.id,this.dateOfBirth}); CorrectUserDateOfBirth.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; dateOfBirth = JsonConverters.fromJson(json['dateOfBirth'],'DateTime',context!); return this; } Map toJson() => { 'id': id, 'dateOfBirth': JsonConverters.toJson(dateOfBirth,'DateTime',context!) }; createResponse() => ResponseStatus(); getResponseTypeName() => "ResponseStatus"; getTypeName() => "CorrectUserDateOfBirth"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.sbbet.ath.cx', types: { 'CorrectUserDateOfBirth': TypeInfo(TypeOf.Class, create:() => CorrectUserDateOfBirth()), });