/* Options: Date: 2025-12-06 07:07:48 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: districtSearchRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class OrganizationDropdown implements IConvertible { String? ID; String? Name; OrganizationDropdown({this.ID,this.Name}); OrganizationDropdown.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ID = json['ID']; Name = json['Name']; return this; } Map toJson() => { 'ID': ID, 'Name': Name }; getTypeName() => "OrganizationDropdown"; TypeContext? context = _ctx; } class districtSearchResponse implements IConvertible { ResponseStatus? ResponseStatus; List? districts = []; districtSearchResponse({this.ResponseStatus,this.districts}); districtSearchResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); districts = JsonConverters.fromJson(json['districts'],'List',context!); return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'districts': JsonConverters.toJson(districts,'List',context!) }; getTypeName() => "districtSearchResponse"; TypeContext? context = _ctx; } // @Route("/v1/districtSearch/{districtName}", "GET,OPTIONS") class districtSearchRequest implements IReturn, IConvertible, IGet { String? districtName; districtSearchRequest({this.districtName}); districtSearchRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { districtName = json['districtName']; return this; } Map toJson() => { 'districtName': districtName }; createResponse() => districtSearchResponse(); getResponseTypeName() => "districtSearchResponse"; getTypeName() => "districtSearchRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'OrganizationDropdown': TypeInfo(TypeOf.Class, create:() => OrganizationDropdown()), 'districtSearchResponse': TypeInfo(TypeOf.Class, create:() => districtSearchResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'districtSearchRequest': TypeInfo(TypeOf.Class, create:() => districtSearchRequest()), });