/* Options: Date: 2025-12-06 07:07:35 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.dev.dynamics.trendsic.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: SlotDistrictSchoolRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class School implements IConvertible { int? SchoolId; String? SchoolName; int? DistrictId; String? DistrictName; int? CountyId; String? CountyName; int? StateId; String? StateName; School({this.SchoolId,this.SchoolName,this.DistrictId,this.DistrictName,this.CountyId,this.CountyName,this.StateId,this.StateName}); School.fromJson(Map json) { fromMap(json); } fromMap(Map json) { SchoolId = json['SchoolId']; SchoolName = json['SchoolName']; DistrictId = json['DistrictId']; DistrictName = json['DistrictName']; CountyId = json['CountyId']; CountyName = json['CountyName']; StateId = json['StateId']; StateName = json['StateName']; return this; } Map toJson() => { 'SchoolId': SchoolId, 'SchoolName': SchoolName, 'DistrictId': DistrictId, 'DistrictName': DistrictName, 'CountyId': CountyId, 'CountyName': CountyName, 'StateId': StateId, 'StateName': StateName }; getTypeName() => "School"; TypeContext? context = _ctx; } class SlotDistrictSchoolResponse implements IConvertible { ResponseStatus? ResponseStatus; List? SlotDistrictSchool = []; SlotDistrictSchoolResponse({this.ResponseStatus,this.SlotDistrictSchool}); SlotDistrictSchoolResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); SlotDistrictSchool = JsonConverters.fromJson(json['SlotDistrictSchool'],'List',context!); return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'SlotDistrictSchool': JsonConverters.toJson(SlotDistrictSchool,'List',context!) }; getTypeName() => "SlotDistrictSchoolResponse"; TypeContext? context = _ctx; } // @Route("/v1/SlotDistrict/School/{DistrictId}", "GET,OPTIONS") class SlotDistrictSchoolRequest implements IReturn, IConvertible, IGet { int? DistrictId; SlotDistrictSchoolRequest({this.DistrictId}); SlotDistrictSchoolRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { DistrictId = json['DistrictId']; return this; } Map toJson() => { 'DistrictId': DistrictId }; createResponse() => SlotDistrictSchoolResponse(); getResponseTypeName() => "SlotDistrictSchoolResponse"; getTypeName() => "SlotDistrictSchoolRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'School': TypeInfo(TypeOf.Class, create:() => School()), 'SlotDistrictSchoolResponse': TypeInfo(TypeOf.Class, create:() => SlotDistrictSchoolResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'SlotDistrictSchoolRequest': TypeInfo(TypeOf.Class, create:() => SlotDistrictSchoolRequest()), });