/* Options: Date: 2025-05-06 14:21:53 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: EventOwnerTicketTypeToCardConnectionGetRequest.* //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 EventOwnerTicketTypeToCardConnectionResult implements IConvertible { EventOwnerTicketTypeToCardConnection? item; int? statusCode; String? message; EventOwnerTicketTypeToCardConnectionResult({this.item,this.statusCode,this.message}); EventOwnerTicketTypeToCardConnectionResult.fromJson(Map json) { fromMap(json); } fromMap(Map json) { item = JsonConverters.fromJson(json['item'],'EventOwnerTicketTypeToCardConnection',context!); statusCode = json['statusCode']; message = json['message']; return this; } Map toJson() => { 'item': JsonConverters.toJson(item,'EventOwnerTicketTypeToCardConnection',context!), 'statusCode': statusCode, 'message': message }; getTypeName() => "EventOwnerTicketTypeToCardConnectionResult"; TypeContext? context = _ctx; } // @Route("/EventOwnerTicketTypeToCardConnection/{Id}", "GET") class EventOwnerTicketTypeToCardConnectionGetRequest implements IReturn, IConvertible { int? id; EventOwnerTicketTypeToCardConnectionGetRequest({this.id}); EventOwnerTicketTypeToCardConnectionGetRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; return this; } Map toJson() => { 'id': id }; createResponse() => EventOwnerTicketTypeToCardConnectionResult(); getResponseTypeName() => "EventOwnerTicketTypeToCardConnectionResult"; getTypeName() => "EventOwnerTicketTypeToCardConnectionGetRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'stubbur_autoupdates_live.smartnewapis.com', types: { 'EventOwnerTicketTypeToCardConnection': TypeInfo(TypeOf.Class, create:() => EventOwnerTicketTypeToCardConnection()), 'EventOwnerTicketTypeToCardConnectionResult': TypeInfo(TypeOf.Class, create:() => EventOwnerTicketTypeToCardConnectionResult()), 'EventOwnerTicketTypeToCardConnectionGetRequest': TypeInfo(TypeOf.Class, create:() => EventOwnerTicketTypeToCardConnectionGetRequest()), });