/* Options: Date: 2026-10-01 11:24:17 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: EventOwnerTrackingDestinationCreateRequest.* //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 EventOwnerTrackingDestinationResult implements IConvertible { EventOwnerTrackingDestination? item; int? statusCode; String? message; EventOwnerTrackingDestinationResult({this.item,this.statusCode,this.message}); EventOwnerTrackingDestinationResult.fromJson(Map json) { fromMap(json); } fromMap(Map json) { item = JsonConverters.fromJson(json['item'],'EventOwnerTrackingDestination',context!); statusCode = json['statusCode']; message = json['message']; return this; } Map toJson() => { 'item': JsonConverters.toJson(item,'EventOwnerTrackingDestination',context!), 'statusCode': statusCode, 'message': message }; getTypeName() => "EventOwnerTrackingDestinationResult"; TypeContext? context = _ctx; } // @Route("/EventOwnerTrackingDestination", "POST") class EventOwnerTrackingDestinationCreateRequest implements IReturn, IConvertible { EventOwnerTrackingDestination? item; EventOwnerTrackingDestinationCreateRequest({this.item}); EventOwnerTrackingDestinationCreateRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { item = JsonConverters.fromJson(json['item'],'EventOwnerTrackingDestination',context!); return this; } Map toJson() => { 'item': JsonConverters.toJson(item,'EventOwnerTrackingDestination',context!) }; createResponse() => EventOwnerTrackingDestinationResult(); getResponseTypeName() => "EventOwnerTrackingDestinationResult"; getTypeName() => "EventOwnerTrackingDestinationCreateRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'stubbur_app.azurewebsites.net', types: { 'EventOwnerTrackingDestination': TypeInfo(TypeOf.Class, create:() => EventOwnerTrackingDestination()), 'EventOwnerTrackingDestinationResult': TypeInfo(TypeOf.Class, create:() => EventOwnerTrackingDestinationResult()), 'EventOwnerTrackingDestinationCreateRequest': TypeInfo(TypeOf.Class, create:() => EventOwnerTrackingDestinationCreateRequest()), });