/* Options: Date: 2025-05-06 16:26:15 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: EventOwnersSearchRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class EventOwner implements IConvertible { int? id; String? name; String? externalID; String? externalIdType; String? externalImportId; String? externalImportIdType; String? imageUrl; String? imageUrl2; bool? isSuperOwner; int? superOwnerId; String? defaultCurrency; String? defaultTimeZone; EventOwner({this.id,this.name,this.externalID,this.externalIdType,this.externalImportId,this.externalImportIdType,this.imageUrl,this.imageUrl2,this.isSuperOwner,this.superOwnerId,this.defaultCurrency,this.defaultTimeZone}); EventOwner.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; name = json['name']; externalID = json['externalID']; externalIdType = json['externalIdType']; externalImportId = json['externalImportId']; externalImportIdType = json['externalImportIdType']; imageUrl = json['imageUrl']; imageUrl2 = json['imageUrl2']; isSuperOwner = json['isSuperOwner']; superOwnerId = json['superOwnerId']; defaultCurrency = json['defaultCurrency']; defaultTimeZone = json['defaultTimeZone']; return this; } Map toJson() => { 'id': id, 'name': name, 'externalID': externalID, 'externalIdType': externalIdType, 'externalImportId': externalImportId, 'externalImportIdType': externalImportIdType, 'imageUrl': imageUrl, 'imageUrl2': imageUrl2, 'isSuperOwner': isSuperOwner, 'superOwnerId': superOwnerId, 'defaultCurrency': defaultCurrency, 'defaultTimeZone': defaultTimeZone }; getTypeName() => "EventOwner"; TypeContext? context = _ctx; } class EventOwnersResult implements IConvertible { List? items; int? statusCode; String? message; EventOwnersResult({this.items,this.statusCode,this.message}); EventOwnersResult.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() => "EventOwnersResult"; TypeContext? context = _ctx; } // @Route("/EventOwner/Search", "POST") class EventOwnersSearchRequest implements IReturn, IConvertible { String? name; String? externalID; String? externalIdType; EventOwnersSearchRequest({this.name,this.externalID,this.externalIdType}); EventOwnersSearchRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { name = json['name']; externalID = json['externalID']; externalIdType = json['externalIdType']; return this; } Map toJson() => { 'name': name, 'externalID': externalID, 'externalIdType': externalIdType }; createResponse() => EventOwnersResult(); getResponseTypeName() => "EventOwnersResult"; getTypeName() => "EventOwnersSearchRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'stubbur_autoupdates_live.smartnewapis.com', types: { 'EventOwner': TypeInfo(TypeOf.Class, create:() => EventOwner()), 'EventOwnersResult': TypeInfo(TypeOf.Class, create:() => EventOwnersResult()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'EventOwnersSearchRequest': TypeInfo(TypeOf.Class, create:() => EventOwnersSearchRequest()), });