/* Options: Date: 2025-05-06 16:24:54 Version: 6.10 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://stubbur-autoupdates-live.smartnewapis.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: TimeZonesRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class TimeZoneListResponse implements IConvertible { int? statusCode; String? message; List? zones; TimeZoneListResponse({this.statusCode,this.message,this.zones}); TimeZoneListResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { statusCode = json['statusCode']; message = json['message']; zones = JsonConverters.fromJson(json['zones'],'List',context!); return this; } Map toJson() => { 'statusCode': statusCode, 'message': message, 'zones': JsonConverters.toJson(zones,'List',context!) }; getTypeName() => "TimeZoneListResponse"; TypeContext? context = _ctx; } // @Route("/TimeZones/", "POST") class TimeZonesRequest implements IReturn, IConvertible { String? timeZoneName; TimeZonesRequest({this.timeZoneName}); TimeZonesRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { timeZoneName = json['timeZoneName']; return this; } Map toJson() => { 'timeZoneName': timeZoneName }; createResponse() => TimeZoneListResponse(); getResponseTypeName() => "TimeZoneListResponse"; getTypeName() => "TimeZonesRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'stubbur_autoupdates_live.smartnewapis.com', types: { 'TimeZoneListResponse': TypeInfo(TypeOf.Class, create:() => TimeZoneListResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'TimeZoneInfo': TypeInfo(TypeOf.Class, create:() => TimeZoneInfo()), 'TimeZonesRequest': TypeInfo(TypeOf.Class, create:() => TimeZonesRequest()), });