/* Options: Date: 2025-05-06 14:28:39 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: EventOwnerTicketTypeToCardConnectionSearchRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class EventOwnerTicketTypeToCardConnection implements IConvertible { int? id; int? ownerCardTypeId; int? ownerTicketTypeId; bool? active; EventOwnerTicketTypeToCardConnection({this.id,this.ownerCardTypeId,this.ownerTicketTypeId,this.active}); EventOwnerTicketTypeToCardConnection.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; ownerCardTypeId = json['ownerCardTypeId']; ownerTicketTypeId = json['ownerTicketTypeId']; active = json['active']; return this; } Map toJson() => { 'id': id, 'ownerCardTypeId': ownerCardTypeId, 'ownerTicketTypeId': ownerTicketTypeId, 'active': active }; getTypeName() => "EventOwnerTicketTypeToCardConnection"; TypeContext? context = _ctx; } class EventOwnerTicketTypeToCardConnectionSearchResult implements IConvertible { List? items; int? statusCode; String? message; EventOwnerTicketTypeToCardConnectionSearchResult({this.items,this.statusCode,this.message}); EventOwnerTicketTypeToCardConnectionSearchResult.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() => "EventOwnerTicketTypeToCardConnectionSearchResult"; TypeContext? context = _ctx; } // @Route("/EventOwnerTicketTypeToCardConnections", "POST") class EventOwnerTicketTypeToCardConnectionSearchRequest implements IReturn, IConvertible { int? cardTypeId; int? ticketTypeId; EventOwnerTicketTypeToCardConnectionSearchRequest({this.cardTypeId,this.ticketTypeId}); EventOwnerTicketTypeToCardConnectionSearchRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { cardTypeId = json['cardTypeId']; ticketTypeId = json['ticketTypeId']; return this; } Map toJson() => { 'cardTypeId': cardTypeId, 'ticketTypeId': ticketTypeId }; createResponse() => EventOwnerTicketTypeToCardConnectionSearchResult(); getResponseTypeName() => "EventOwnerTicketTypeToCardConnectionSearchResult"; getTypeName() => "EventOwnerTicketTypeToCardConnectionSearchRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'stubbur_autoupdates_live.smartnewapis.com', types: { 'EventOwnerTicketTypeToCardConnection': TypeInfo(TypeOf.Class, create:() => EventOwnerTicketTypeToCardConnection()), 'EventOwnerTicketTypeToCardConnectionSearchResult': TypeInfo(TypeOf.Class, create:() => EventOwnerTicketTypeToCardConnectionSearchResult()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'EventOwnerTicketTypeToCardConnectionSearchRequest': TypeInfo(TypeOf.Class, create:() => EventOwnerTicketTypeToCardConnectionSearchRequest()), });