/* Options: Date: 2025-12-06 07:25:08 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: NCESGetDropdownsRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class NCESDropdown implements IConvertible { int? ID; String? Name; NCESDropdown({this.ID,this.Name}); NCESDropdown.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ID = json['ID']; Name = json['Name']; return this; } Map toJson() => { 'ID': ID, 'Name': Name }; getTypeName() => "NCESDropdown"; TypeContext? context = _ctx; } class NCESGetDropdownsResponse implements IConvertible { ResponseStatus? ResponseStatus; List? Dropdowns = []; NCESGetDropdownsResponse({this.ResponseStatus,this.Dropdowns}); NCESGetDropdownsResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); Dropdowns = JsonConverters.fromJson(json['Dropdowns'],'List',context!); return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'Dropdowns': JsonConverters.toJson(Dropdowns,'List',context!) }; getTypeName() => "NCESGetDropdownsResponse"; TypeContext? context = _ctx; } // @Route("/v1/NCES/GetDropdowns", "GET") // @Route("/v1/NCES/GetDropdowns/{StateID}", "GET") // @Route("/v1/NCES/GetDropdowns/{StateID}/{CountyID}", "GET") // @Route("/v1/NCES/GetDropdowns/{StateID}/{CountyID}/{DistrictID}", "GET") class NCESGetDropdownsRequest implements IReturn, IConvertible, IGet { int? StateID; int? CountyID; int? DistrictID; NCESGetDropdownsRequest({this.StateID,this.CountyID,this.DistrictID}); NCESGetDropdownsRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { StateID = json['StateID']; CountyID = json['CountyID']; DistrictID = json['DistrictID']; return this; } Map toJson() => { 'StateID': StateID, 'CountyID': CountyID, 'DistrictID': DistrictID }; createResponse() => NCESGetDropdownsResponse(); getResponseTypeName() => "NCESGetDropdownsResponse"; getTypeName() => "NCESGetDropdownsRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'NCESDropdown': TypeInfo(TypeOf.Class, create:() => NCESDropdown()), 'NCESGetDropdownsResponse': TypeInfo(TypeOf.Class, create:() => NCESGetDropdownsResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'NCESGetDropdownsRequest': TypeInfo(TypeOf.Class, create:() => NCESGetDropdownsRequest()), });