/* Options: Date: 2026-10-01 12:30:43 Version: 6.10 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://stubbur-app.azurewebsites.net //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: EventOwnerTrackingDestinationsSearchRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class EventOwnerTrackingDestination implements IConvertible { int? id; int? eventOwnerId; // @StringLength(32) String? provider; // @StringLength(64) String? publicId; bool? serverSideEnabled; // @StringLength(32) String? testEventCode; bool? isActive; DateTime? createdAt; DateTime? lastChanged; EventOwnerTrackingDestination({this.id,this.eventOwnerId,this.provider,this.publicId,this.serverSideEnabled,this.testEventCode,this.isActive,this.createdAt,this.lastChanged}); EventOwnerTrackingDestination.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; eventOwnerId = json['eventOwnerId']; provider = json['provider']; publicId = json['publicId']; serverSideEnabled = json['serverSideEnabled']; testEventCode = json['testEventCode']; isActive = json['isActive']; createdAt = JsonConverters.fromJson(json['createdAt'],'DateTime',context!); lastChanged = JsonConverters.fromJson(json['lastChanged'],'DateTime',context!); return this; } Map toJson() => { 'id': id, 'eventOwnerId': eventOwnerId, 'provider': provider, 'publicId': publicId, 'serverSideEnabled': serverSideEnabled, 'testEventCode': testEventCode, 'isActive': isActive, 'createdAt': JsonConverters.toJson(createdAt,'DateTime',context!), 'lastChanged': JsonConverters.toJson(lastChanged,'DateTime',context!) }; getTypeName() => "EventOwnerTrackingDestination"; TypeContext? context = _ctx; } class EventOwnerTrackingDestinationsResult implements IConvertible { List? items; int? statusCode; String? message; EventOwnerTrackingDestinationsResult({this.items,this.statusCode,this.message}); EventOwnerTrackingDestinationsResult.fromJson(Map json) { fromMap(json); } fromMap(Map json) { items = JsonConverters.fromJson(json['items'],'List',context!); statusCode = json['statusCode']; message = json['message']; return this; } Map toJson() => { 'items': JsonConverters.toJson(items,'List',context!), 'statusCode': statusCode, 'message': message }; getTypeName() => "EventOwnerTrackingDestinationsResult"; TypeContext? context = _ctx; } // @Route("/EventOwnerTrackingDestination/Search", "POST") class EventOwnerTrackingDestinationsSearchRequest implements IReturn, IConvertible { int? eventOwnerId; String? provider; bool? isActive; EventOwnerTrackingDestinationsSearchRequest({this.eventOwnerId,this.provider,this.isActive}); EventOwnerTrackingDestinationsSearchRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { eventOwnerId = json['eventOwnerId']; provider = json['provider']; isActive = json['isActive']; return this; } Map toJson() => { 'eventOwnerId': eventOwnerId, 'provider': provider, 'isActive': isActive }; createResponse() => EventOwnerTrackingDestinationsResult(); getResponseTypeName() => "EventOwnerTrackingDestinationsResult"; getTypeName() => "EventOwnerTrackingDestinationsSearchRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'stubbur_app.azurewebsites.net', types: { 'EventOwnerTrackingDestination': TypeInfo(TypeOf.Class, create:() => EventOwnerTrackingDestination()), 'EventOwnerTrackingDestinationsResult': TypeInfo(TypeOf.Class, create:() => EventOwnerTrackingDestinationsResult()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'EventOwnerTrackingDestinationsSearchRequest': TypeInfo(TypeOf.Class, create:() => EventOwnerTrackingDestinationsSearchRequest()), });