/* Options: Date: 2024-12-29 03:42:30 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: StaffStatusRequest.* //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("/StaffStatus", "POST") class StaffStatusRequest implements IReturn, IConvertible, IPost { String? staff_login; String? password; StaffStatusRequest({this.staff_login,this.password}); StaffStatusRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { staff_login = json['staff_login']; password = json['password']; return this; } Map toJson() => { 'staff_login': staff_login, 'password': password }; createResponse() => StudentStatusResponse(); getResponseTypeName() => "StudentStatusResponse"; getTypeName() => "StaffStatusRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'data.regent_college.edu', types: { 'StudentStatusResponse': TypeInfo(TypeOf.Class, create:() => StudentStatusResponse()), 'StaffStatusRequest': TypeInfo(TypeOf.Class, create:() => StaffStatusRequest()), });