/* Options: Date: 2024-12-29 03:17:00 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: AppSettingsRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class EmailAddresses implements IConvertible { String? helpdesk; String? registration; String? developer; String? financialAid; String? noReply; String? carbonCopy; String? distanceEducation; String? studentServices; String? admissions; String? admissionsSE; String? academicAdvising; String? summerProgram; String? libraryHold; String? noEmail; String? academicAdministrator; String? accountant; String? deanOfStudents; EmailAddresses({this.helpdesk,this.registration,this.developer,this.financialAid,this.noReply,this.carbonCopy,this.distanceEducation,this.studentServices,this.admissions,this.admissionsSE,this.academicAdvising,this.summerProgram,this.libraryHold,this.noEmail,this.academicAdministrator,this.accountant,this.deanOfStudents}); EmailAddresses.fromJson(Map json) { fromMap(json); } fromMap(Map json) { helpdesk = json['helpdesk']; registration = json['registration']; developer = json['developer']; financialAid = json['financialAid']; noReply = json['noReply']; carbonCopy = json['carbonCopy']; distanceEducation = json['distanceEducation']; studentServices = json['studentServices']; admissions = json['admissions']; admissionsSE = json['admissionsSE']; academicAdvising = json['academicAdvising']; summerProgram = json['summerProgram']; libraryHold = json['libraryHold']; noEmail = json['noEmail']; academicAdministrator = json['academicAdministrator']; accountant = json['accountant']; deanOfStudents = json['deanOfStudents']; return this; } Map toJson() => { 'helpdesk': helpdesk, 'registration': registration, 'developer': developer, 'financialAid': financialAid, 'noReply': noReply, 'carbonCopy': carbonCopy, 'distanceEducation': distanceEducation, 'studentServices': studentServices, 'admissions': admissions, 'admissionsSE': admissionsSE, 'academicAdvising': academicAdvising, 'summerProgram': summerProgram, 'libraryHold': libraryHold, 'noEmail': noEmail, 'academicAdministrator': academicAdministrator, 'accountant': accountant, 'deanOfStudents': deanOfStudents }; getTypeName() => "EmailAddresses"; TypeContext? context = _ctx; } class AppSettingsResponse implements IConvertible { ResponseStatus? responseStatus; String? collegeName; String? collegeID; String? regisurl; List? staffIPAddresses; EmailAddresses? emailAddresses; String? currentTerm; String? previousTerm; int? currentAcademicYear; String? externalSSOURL; String? externalSSOCookieName; String? externalSSOCookieDomain; String? ldapurl; String? ldapSecondaryURL; String? demoCredential; AppSettingsResponse({this.responseStatus,this.collegeName,this.collegeID,this.regisurl,this.staffIPAddresses,this.emailAddresses,this.currentTerm,this.previousTerm,this.currentAcademicYear,this.externalSSOURL,this.externalSSOCookieName,this.externalSSOCookieDomain,this.ldapurl,this.ldapSecondaryURL,this.demoCredential}); AppSettingsResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); collegeName = json['collegeName']; collegeID = json['collegeID']; regisurl = json['regisurl']; staffIPAddresses = JsonConverters.fromJson(json['staffIPAddresses'],'List',context!); emailAddresses = JsonConverters.fromJson(json['emailAddresses'],'EmailAddresses',context!); currentTerm = json['currentTerm']; previousTerm = json['previousTerm']; currentAcademicYear = json['currentAcademicYear']; externalSSOURL = json['externalSSOURL']; externalSSOCookieName = json['externalSSOCookieName']; externalSSOCookieDomain = json['externalSSOCookieDomain']; ldapurl = json['ldapurl']; ldapSecondaryURL = json['ldapSecondaryURL']; demoCredential = json['demoCredential']; return this; } Map toJson() => { 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!), 'collegeName': collegeName, 'collegeID': collegeID, 'regisurl': regisurl, 'staffIPAddresses': JsonConverters.toJson(staffIPAddresses,'List',context!), 'emailAddresses': JsonConverters.toJson(emailAddresses,'EmailAddresses',context!), 'currentTerm': currentTerm, 'previousTerm': previousTerm, 'currentAcademicYear': currentAcademicYear, 'externalSSOURL': externalSSOURL, 'externalSSOCookieName': externalSSOCookieName, 'externalSSOCookieDomain': externalSSOCookieDomain, 'ldapurl': ldapurl, 'ldapSecondaryURL': ldapSecondaryURL, 'demoCredential': demoCredential }; getTypeName() => "AppSettingsResponse"; TypeContext? context = _ctx; } // @Route("/AppSettings", "POST") class AppSettingsRequest implements IReturn, IConvertible, IPost { AppSettingsRequest(); AppSettingsRequest.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => AppSettingsResponse(); getResponseTypeName() => "AppSettingsResponse"; getTypeName() => "AppSettingsRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'data.regent_college.edu', types: { 'EmailAddresses': TypeInfo(TypeOf.Class, create:() => EmailAddresses()), 'AppSettingsResponse': TypeInfo(TypeOf.Class, create:() => AppSettingsResponse()), 'AppSettingsRequest': TypeInfo(TypeOf.Class, create:() => AppSettingsRequest()), });