/* Options: Date: 2024-10-06 10:27:37 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: RegentIdExistsRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class RegentIdExistsResponse implements IConvertible { ResponseStatus? responseStatus; String? id; String? firstName; String? lastName; RegentIdExistsResponse({this.responseStatus,this.id,this.firstName,this.lastName}); RegentIdExistsResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); id = json['id']; firstName = json['firstName']; lastName = json['lastName']; return this; } Map toJson() => { 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!), 'id': id, 'firstName': firstName, 'lastName': lastName }; getTypeName() => "RegentIdExistsResponse"; TypeContext? context = _ctx; } // @Route("/Person/{regent_id}", "GET") class RegentIdExistsRequest implements IReturn, IConvertible, IGet { String? regent_id; RegentIdExistsRequest({this.regent_id}); RegentIdExistsRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { regent_id = json['regent_id']; return this; } Map toJson() => { 'regent_id': regent_id }; createResponse() => RegentIdExistsResponse(); getResponseTypeName() => "RegentIdExistsResponse"; getTypeName() => "RegentIdExistsRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'data.regent_college.edu', types: { 'RegentIdExistsResponse': TypeInfo(TypeOf.Class, create:() => RegentIdExistsResponse()), 'RegentIdExistsRequest': TypeInfo(TypeOf.Class, create:() => RegentIdExistsRequest()), });