/* Options: Date: 2024-12-29 03:24:24 Version: 8.22 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://data.regent-college.edu //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: UserSettingsRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class UserSettingsResponse implements IConvertible { ResponseStatus? responseStatus; Map? settings; UserSettingsResponse({this.responseStatus,this.settings}); UserSettingsResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); settings = JsonConverters.toStringMap(json['settings']); return this; } Map toJson() => { 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!), 'settings': settings }; getTypeName() => "UserSettingsResponse"; TypeContext? context = _ctx; } // @Route("/UserSettings", "POST") class UserSettingsRequest implements IReturn, IConvertible, IPost { String? uuid; UserSettingsRequest({this.uuid}); UserSettingsRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { uuid = json['uuid']; return this; } Map toJson() => { 'uuid': uuid }; createResponse() => UserSettingsResponse(); getResponseTypeName() => "UserSettingsResponse"; getTypeName() => "UserSettingsRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'data.regent_college.edu', types: { 'UserSettingsResponse': TypeInfo(TypeOf.Class, create:() => UserSettingsResponse()), 'UserSettingsRequest': TypeInfo(TypeOf.Class, create:() => UserSettingsRequest()), });