/* Options: Date: 2025-09-07 09:36:45 Version: 8.81 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://account.servicestack.net //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetSupportContacts.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class SupportContact implements IConvertible { int? id; int? customerId; String? name; String? email; String? gitHub; SupportContact({this.id,this.customerId,this.name,this.email,this.gitHub}); SupportContact.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; customerId = json['customerId']; name = json['name']; email = json['email']; gitHub = json['gitHub']; return this; } Map toJson() => { 'id': id, 'customerId': customerId, 'name': name, 'email': email, 'gitHub': gitHub }; getTypeName() => "SupportContact"; TypeContext? context = _ctx; } class GetSupportContactsResponse implements IConvertible { List? results; ResponseStatus? responseStatus; GetSupportContactsResponse({this.results,this.responseStatus}); GetSupportContactsResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { results = JsonConverters.fromJson(json['results'],'List',context!); responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'results': JsonConverters.toJson(results,'List',context!), 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!) }; getTypeName() => "GetSupportContactsResponse"; TypeContext? context = _ctx; } // @Route("/GetSupportContacts") class GetSupportContacts implements IReturn, IGet, IConvertible { GetSupportContacts(); GetSupportContacts.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => GetSupportContactsResponse(); getResponseTypeName() => "GetSupportContactsResponse"; getTypeName() => "GetSupportContacts"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'account.servicestack.net', types: { 'SupportContact': TypeInfo(TypeOf.Class, create:() => SupportContact()), 'GetSupportContactsResponse': TypeInfo(TypeOf.Class, create:() => GetSupportContactsResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'GetSupportContacts': TypeInfo(TypeOf.Class, create:() => GetSupportContacts()), });