/* Options: Date: 2024-12-22 21:15:13 Version: 8.51 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://blazor-gallery.servicestack.net //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: QueryAppUsers.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class AppUser implements IConvertible { String? id; String? firstName; String? lastName; String? displayName; String? profileUrl; AppUser({this.id,this.firstName,this.lastName,this.displayName,this.profileUrl}); AppUser.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; firstName = json['firstName']; lastName = json['lastName']; displayName = json['displayName']; profileUrl = json['profileUrl']; return this; } Map toJson() => { 'id': id, 'firstName': firstName, 'lastName': lastName, 'displayName': displayName, 'profileUrl': profileUrl }; getTypeName() => "AppUser"; TypeContext? context = _ctx; } class QueryAppUsers extends QueryDb implements IReturn>, IConvertible, IGet { String? emailContains; String? firstNameContains; String? lastNameContains; QueryAppUsers({this.emailContains,this.firstNameContains,this.lastNameContains}); QueryAppUsers.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); emailContains = json['emailContains']; firstNameContains = json['firstNameContains']; lastNameContains = json['lastNameContains']; return this; } Map toJson() => super.toJson()..addAll({ 'emailContains': emailContains, 'firstNameContains': firstNameContains, 'lastNameContains': lastNameContains }); createResponse() => QueryResponse(); getResponseTypeName() => "QueryResponse"; getTypeName() => "QueryAppUsers"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'blazor_gallery.servicestack.net', types: { 'AppUser': TypeInfo(TypeOf.Class, create:() => AppUser()), 'QueryResponse': TypeInfo(TypeOf.Class, create:() => QueryResponse()), 'QueryAppUsers': TypeInfo(TypeOf.Class, create:() => QueryAppUsers()), 'List': TypeInfo(TypeOf.Class, create:() => []), });