/* Options: Date: 2025-12-06 07:07:50 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: SlotDistrictAllRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class SlotDistrictApproval implements IConvertible { int? SlotDistrictApprovalID; int? SlotDistrictID; int? SchoolID; int? AgentID; int? AVPID; String? Status; DateTime? DateCreated; DateTime? DateModified; String? ModifiedBy; SlotDistrictApproval({this.SlotDistrictApprovalID,this.SlotDistrictID,this.SchoolID,this.AgentID,this.AVPID,this.Status,this.DateCreated,this.DateModified,this.ModifiedBy}); SlotDistrictApproval.fromJson(Map json) { fromMap(json); } fromMap(Map json) { SlotDistrictApprovalID = json['SlotDistrictApprovalID']; SlotDistrictID = json['SlotDistrictID']; SchoolID = json['SchoolID']; AgentID = json['AgentID']; AVPID = json['AVPID']; Status = json['Status']; DateCreated = JsonConverters.fromJson(json['DateCreated'],'DateTime',context!); DateModified = JsonConverters.fromJson(json['DateModified'],'DateTime',context!); ModifiedBy = json['ModifiedBy']; return this; } Map toJson() => { 'SlotDistrictApprovalID': SlotDistrictApprovalID, 'SlotDistrictID': SlotDistrictID, 'SchoolID': SchoolID, 'AgentID': AgentID, 'AVPID': AVPID, 'Status': Status, 'DateCreated': JsonConverters.toJson(DateCreated,'DateTime',context!), 'DateModified': JsonConverters.toJson(DateModified,'DateTime',context!), 'ModifiedBy': ModifiedBy }; getTypeName() => "SlotDistrictApproval"; TypeContext? context = _ctx; } class SlotDistrictApprovalExtended extends SlotDistrictApproval implements IConvertible { String? AgentName; String? AVPName; String? DistrictName; String? SchoolName; String? County; String? State; SlotDistrictApprovalExtended({this.AgentName,this.AVPName,this.DistrictName,this.SchoolName,this.County,this.State}); SlotDistrictApprovalExtended.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); AgentName = json['AgentName']; AVPName = json['AVPName']; DistrictName = json['DistrictName']; SchoolName = json['SchoolName']; County = json['County']; State = json['State']; return this; } Map toJson() => super.toJson()..addAll({ 'AgentName': AgentName, 'AVPName': AVPName, 'DistrictName': DistrictName, 'SchoolName': SchoolName, 'County': County, 'State': State }); getTypeName() => "SlotDistrictApprovalExtended"; TypeContext? context = _ctx; } class SlotDistrictApprovalResponse implements IConvertible { ResponseStatus? ResponseStatus; List? SlotDistrictApproval = []; SlotDistrictApprovalResponse({this.ResponseStatus,this.SlotDistrictApproval}); SlotDistrictApprovalResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); SlotDistrictApproval = JsonConverters.fromJson(json['SlotDistrictApproval'],'List',context!); return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'SlotDistrictApproval': JsonConverters.toJson(SlotDistrictApproval,'List',context!) }; getTypeName() => "SlotDistrictApprovalResponse"; TypeContext? context = _ctx; } // @Route("/v1/SlotDistrictAllRequests/{Agent}", "GET,OPTIONS") class SlotDistrictAllRequest implements IReturn, IConvertible, IGet { int? Agent; SlotDistrictAllRequest({this.Agent}); SlotDistrictAllRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Agent = json['Agent']; return this; } Map toJson() => { 'Agent': Agent }; createResponse() => SlotDistrictApprovalResponse(); getResponseTypeName() => "SlotDistrictApprovalResponse"; getTypeName() => "SlotDistrictAllRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'SlotDistrictApproval': TypeInfo(TypeOf.Class, create:() => SlotDistrictApproval()), 'SlotDistrictApprovalExtended': TypeInfo(TypeOf.Class, create:() => SlotDistrictApprovalExtended()), 'SlotDistrictApprovalResponse': TypeInfo(TypeOf.Class, create:() => SlotDistrictApprovalResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'SlotDistrictAllRequest': TypeInfo(TypeOf.Class, create:() => SlotDistrictAllRequest()), });