/* Options: Date: 2024-10-06 10:30:04 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: StudentStatusNoAuthRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class StudentStatusResponse implements IConvertible { bool? is_active; bool? is_authenticated; bool? is_admitted; StudentStatusResponse({this.is_active,this.is_authenticated,this.is_admitted}); StudentStatusResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { is_active = json['is_active']; is_authenticated = json['is_authenticated']; is_admitted = json['is_admitted']; return this; } Map toJson() => { 'is_active': is_active, 'is_authenticated': is_authenticated, 'is_admitted': is_admitted }; getTypeName() => "StudentStatusResponse"; TypeContext? context = _ctx; } // @Route("/StudentStatusNoAuth", "POST") class StudentStatusNoAuthRequest implements IReturn, IConvertible, IPost { String? regent_login; StudentStatusNoAuthRequest({this.regent_login}); StudentStatusNoAuthRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { regent_login = json['regent_login']; return this; } Map toJson() => { 'regent_login': regent_login }; createResponse() => StudentStatusResponse(); getResponseTypeName() => "StudentStatusResponse"; getTypeName() => "StudentStatusNoAuthRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'data.regent_college.edu', types: { 'StudentStatusResponse': TypeInfo(TypeOf.Class, create:() => StudentStatusResponse()), 'StudentStatusNoAuthRequest': TypeInfo(TypeOf.Class, create:() => StudentStatusNoAuthRequest()), });