/* Options: Date: 2026-10-17 00:19:01 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.dev.dynamics.trendsic.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: MyPreferencesRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class MyPreferencesResponse implements IConvertible { bool? ShowHints; ResponseStatus? ResponseStatus; MyPreferencesResponse({this.ShowHints,this.ResponseStatus}); MyPreferencesResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ShowHints = json['ShowHints']; ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'ShowHints': ShowHints, 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "MyPreferencesResponse"; TypeContext? context = _ctx; } // @Route("/v1/me/preferences", "GET,PUT,OPTIONS") class MyPreferencesRequest implements IReturn, IConvertible, IGet { bool? ShowHints; MyPreferencesRequest({this.ShowHints}); MyPreferencesRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ShowHints = json['ShowHints']; return this; } Map toJson() => { 'ShowHints': ShowHints }; createResponse() => MyPreferencesResponse(); getResponseTypeName() => "MyPreferencesResponse"; getTypeName() => "MyPreferencesRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'MyPreferencesResponse': TypeInfo(TypeOf.Class, create:() => MyPreferencesResponse()), 'MyPreferencesRequest': TypeInfo(TypeOf.Class, create:() => MyPreferencesRequest()), });