/* Options: Date: 2026-09-10 05:47:14 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: RegentLoginPersonMatchRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class RegentLoginPersonMatchResponse implements IConvertible { ResponseStatus? responseStatus; int? regent_id; bool? birthdate_exists; bool? birthdate_matches; bool? has_regent_login; bool? is_a_regis_person; bool? email_matches; RegentLoginPersonMatchResponse({this.responseStatus,this.regent_id,this.birthdate_exists,this.birthdate_matches,this.has_regent_login,this.is_a_regis_person,this.email_matches}); RegentLoginPersonMatchResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); regent_id = json['regent_id']; birthdate_exists = json['birthdate_exists']; birthdate_matches = json['birthdate_matches']; has_regent_login = json['has_regent_login']; is_a_regis_person = json['is_a_regis_person']; email_matches = json['email_matches']; return this; } Map toJson() => { 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!), 'regent_id': regent_id, 'birthdate_exists': birthdate_exists, 'birthdate_matches': birthdate_matches, 'has_regent_login': has_regent_login, 'is_a_regis_person': is_a_regis_person, 'email_matches': email_matches }; getTypeName() => "RegentLoginPersonMatchResponse"; TypeContext? context = _ctx; } // @Route("/RegentLogin/PersonMatch", "POST") class RegentLoginPersonMatchRequest implements IReturn, IConvertible, IPost { String? first_name; String? last_name; String? email; DateTime? dob; int? regent_id; RegentLoginPersonMatchRequest({this.first_name,this.last_name,this.email,this.dob,this.regent_id}); RegentLoginPersonMatchRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { first_name = json['first_name']; last_name = json['last_name']; email = json['email']; dob = JsonConverters.fromJson(json['dob'],'DateTime',context!); regent_id = json['regent_id']; return this; } Map toJson() => { 'first_name': first_name, 'last_name': last_name, 'email': email, 'dob': JsonConverters.toJson(dob,'DateTime',context!), 'regent_id': regent_id }; createResponse() => RegentLoginPersonMatchResponse(); getResponseTypeName() => "RegentLoginPersonMatchResponse"; getTypeName() => "RegentLoginPersonMatchRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'data.regent_college.edu', types: { 'RegentLoginPersonMatchResponse': TypeInfo(TypeOf.Class, create:() => RegentLoginPersonMatchResponse()), 'RegentLoginPersonMatchRequest': TypeInfo(TypeOf.Class, create:() => RegentLoginPersonMatchRequest()), });