/* Options: Date: 2024-10-06 10:32:31 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: StudentStatusRequest.* //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("/StudentStatus", "POST") class StudentStatusRequest implements IReturn, IConvertible, IPost { String? regent_login; String? password; StudentStatusRequest({this.regent_login,this.password}); StudentStatusRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { regent_login = json['regent_login']; password = json['password']; return this; } Map toJson() => { 'regent_login': regent_login, 'password': password }; createResponse() => StudentStatusResponse(); getResponseTypeName() => "StudentStatusResponse"; getTypeName() => "StudentStatusRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'data.regent_college.edu', types: { 'StudentStatusResponse': TypeInfo(TypeOf.Class, create:() => StudentStatusResponse()), 'StudentStatusRequest': TypeInfo(TypeOf.Class, create:() => StudentStatusRequest()), });