/* Options: Date: 2024-12-03 18:05:44 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: SuperAdminBookingQuery.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; abstract class ICompany { String? CompanyId; } class BaseModel implements IConvertible { BaseModel(); BaseModel.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "BaseModel"; TypeContext? context = _ctx; } class BookingLogEventType extends BaseModel implements IConvertible { // @Required() String? Name; // @Required() String? Description; DateTime? ModifiedDate; // @Required() int? Id; BookingLogEventType({this.Name,this.Description,this.ModifiedDate,this.Id}); BookingLogEventType.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Name = json['Name']; Description = json['Description']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'Name': Name, 'Description': Description, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'Id': Id }); getTypeName() => "BookingLogEventType"; TypeContext? context = _ctx; } class BookingLog extends BaseModel implements IConvertible { // @References(typeof(BookingLogEventType)) int? EventTypeId; BookingLogEventType? EventType; // @Required() String? CompanyId; // @Required() int? BookingId; int? Id; String? Comments; String? UserId; // @Required() DateTime? Created; DateTime? ModifiedDate; BookingLog({this.EventTypeId,this.EventType,this.CompanyId,this.BookingId,this.Id,this.Comments,this.UserId,this.Created,this.ModifiedDate}); BookingLog.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); EventTypeId = json['EventTypeId']; EventType = JsonConverters.fromJson(json['EventType'],'BookingLogEventType',context!); CompanyId = json['CompanyId']; BookingId = json['BookingId']; Id = json['Id']; Comments = json['Comments']; UserId = json['UserId']; Created = JsonConverters.fromJson(json['Created'],'DateTime',context!); ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); return this; } Map toJson() => super.toJson()..addAll({ 'EventTypeId': EventTypeId, 'EventType': JsonConverters.toJson(EventType,'BookingLogEventType',context!), 'CompanyId': CompanyId, 'BookingId': BookingId, 'Id': Id, 'Comments': Comments, 'UserId': UserId, 'Created': JsonConverters.toJson(Created,'DateTime',context!), 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!) }); getTypeName() => "BookingLog"; TypeContext? context = _ctx; } class BookingStatus extends BaseModel implements IConvertible { // @Required() String? Name; // @Required() String? Description; // @Required() String? Color; // @Required() String? Icon; DateTime? ModifiedDate; int? Id; BookingStatus({this.Name,this.Description,this.Color,this.Icon,this.ModifiedDate,this.Id}); BookingStatus.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Name = json['Name']; Description = json['Description']; Color = json['Color']; Icon = json['Icon']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'Name': Name, 'Description': Description, 'Color': Color, 'Icon': Icon, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'Id': Id }); getTypeName() => "BookingStatus"; TypeContext? context = _ctx; } class BookingStatusQueryResponse implements IConvertible { int? Id; String? Name; String? Description; String? Icon; String? Color; BookingStatusQueryResponse({this.Id,this.Name,this.Description,this.Icon,this.Color}); BookingStatusQueryResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; Name = json['Name']; Description = json['Description']; Icon = json['Icon']; Color = json['Color']; return this; } Map toJson() => { 'Id': Id, 'Name': Name, 'Description': Description, 'Icon': Icon, 'Color': Color }; getTypeName() => "BookingStatusQueryResponse"; TypeContext? context = _ctx; } abstract class IDbConnectionFactory { } class ServerData implements IConvertible { String? HTTP_HOST; String? HTTP_CONNECTION; String? HTTP_CACHE_CONTROL; String? HTTP_ACCEPT; String? HTTP_USER_AGENT; String? HTTP_ACCEPT_ENCODING; String? HTTP_ACCEPT_LANGUAGE; String? PATH; String? SERVER_SOFTWARE; String? SERVER_NAME; String? SERVER_ADDR; String? SERVER_PORT; String? REMOTE_ADDR; String? REMOTE_PORT; String? GATEWAY_INTERFACE; String? SERVER_PROTOCOL; String? REQUEST_METHOD; String? QUERY_STRING; String? REQUEST_TIME; ServerData({this.HTTP_HOST,this.HTTP_CONNECTION,this.HTTP_CACHE_CONTROL,this.HTTP_ACCEPT,this.HTTP_USER_AGENT,this.HTTP_ACCEPT_ENCODING,this.HTTP_ACCEPT_LANGUAGE,this.PATH,this.SERVER_SOFTWARE,this.SERVER_NAME,this.SERVER_ADDR,this.SERVER_PORT,this.REMOTE_ADDR,this.REMOTE_PORT,this.GATEWAY_INTERFACE,this.SERVER_PROTOCOL,this.REQUEST_METHOD,this.QUERY_STRING,this.REQUEST_TIME}); ServerData.fromJson(Map json) { fromMap(json); } fromMap(Map json) { HTTP_HOST = json['HTTP_HOST']; HTTP_CONNECTION = json['HTTP_CONNECTION']; HTTP_CACHE_CONTROL = json['HTTP_CACHE_CONTROL']; HTTP_ACCEPT = json['HTTP_ACCEPT']; HTTP_USER_AGENT = json['HTTP_USER_AGENT']; HTTP_ACCEPT_ENCODING = json['HTTP_ACCEPT_ENCODING']; HTTP_ACCEPT_LANGUAGE = json['HTTP_ACCEPT_LANGUAGE']; PATH = json['PATH']; SERVER_SOFTWARE = json['SERVER_SOFTWARE']; SERVER_NAME = json['SERVER_NAME']; SERVER_ADDR = json['SERVER_ADDR']; SERVER_PORT = json['SERVER_PORT']; REMOTE_ADDR = json['REMOTE_ADDR']; REMOTE_PORT = json['REMOTE_PORT']; GATEWAY_INTERFACE = json['GATEWAY_INTERFACE']; SERVER_PROTOCOL = json['SERVER_PROTOCOL']; REQUEST_METHOD = json['REQUEST_METHOD']; QUERY_STRING = json['QUERY_STRING']; REQUEST_TIME = json['REQUEST_TIME']; return this; } Map toJson() => { 'HTTP_HOST': HTTP_HOST, 'HTTP_CONNECTION': HTTP_CONNECTION, 'HTTP_CACHE_CONTROL': HTTP_CACHE_CONTROL, 'HTTP_ACCEPT': HTTP_ACCEPT, 'HTTP_USER_AGENT': HTTP_USER_AGENT, 'HTTP_ACCEPT_ENCODING': HTTP_ACCEPT_ENCODING, 'HTTP_ACCEPT_LANGUAGE': HTTP_ACCEPT_LANGUAGE, 'PATH': PATH, 'SERVER_SOFTWARE': SERVER_SOFTWARE, 'SERVER_NAME': SERVER_NAME, 'SERVER_ADDR': SERVER_ADDR, 'SERVER_PORT': SERVER_PORT, 'REMOTE_ADDR': REMOTE_ADDR, 'REMOTE_PORT': REMOTE_PORT, 'GATEWAY_INTERFACE': GATEWAY_INTERFACE, 'SERVER_PROTOCOL': SERVER_PROTOCOL, 'REQUEST_METHOD': REQUEST_METHOD, 'QUERY_STRING': QUERY_STRING, 'REQUEST_TIME': REQUEST_TIME }; getTypeName() => "ServerData"; TypeContext? context = _ctx; } class Credentials implements IConvertible { String? hash; String? id; String? version; String? client; ServerData? serverdata; String? time; String? test; String? language; Credentials({this.hash,this.id,this.version,this.client,this.serverdata,this.time,this.test,this.language}); Credentials.fromJson(Map json) { fromMap(json); } fromMap(Map json) { hash = json['hash']; id = json['id']; version = json['version']; client = json['client']; serverdata = JsonConverters.fromJson(json['serverdata'],'ServerData',context!); time = json['time']; test = json['test']; language = json['language']; return this; } Map toJson() => { 'hash': hash, 'id': id, 'version': version, 'client': client, 'serverdata': JsonConverters.toJson(serverdata,'ServerData',context!), 'time': time, 'test': test, 'language': language }; getTypeName() => "Credentials"; TypeContext? context = _ctx; } class CheckoutData implements IConvertible { Uri? terms; Uri? privacyPolicy; String? redirectOnSuccess; CheckoutData({this.terms,this.privacyPolicy,this.redirectOnSuccess}); CheckoutData.fromJson(Map json) { fromMap(json); } fromMap(Map json) { terms = JsonConverters.fromJson(json['terms'],'Uri',context!); privacyPolicy = JsonConverters.fromJson(json['privacyPolicy'],'Uri',context!); redirectOnSuccess = json['redirectOnSuccess']; return this; } Map toJson() => { 'terms': JsonConverters.toJson(terms,'Uri',context!), 'privacyPolicy': JsonConverters.toJson(privacyPolicy,'Uri',context!), 'redirectOnSuccess': redirectOnSuccess }; getTypeName() => "CheckoutData"; TypeContext? context = _ctx; } class CheckoutPaymentData implements IConvertible { String? currency; String? language; String? country; String? autoactivate; String? orderid; String? returnmethod; Uri? accepturl; Uri? cancelurl; Uri? callbackurl; CheckoutPaymentData({this.currency,this.language,this.country,this.autoactivate,this.orderid,this.returnmethod,this.accepturl,this.cancelurl,this.callbackurl}); CheckoutPaymentData.fromJson(Map json) { fromMap(json); } fromMap(Map json) { currency = json['currency']; language = json['language']; country = json['country']; autoactivate = json['autoactivate']; orderid = json['orderid']; returnmethod = json['returnmethod']; accepturl = JsonConverters.fromJson(json['accepturl'],'Uri',context!); cancelurl = JsonConverters.fromJson(json['cancelurl'],'Uri',context!); callbackurl = JsonConverters.fromJson(json['callbackurl'],'Uri',context!); return this; } Map toJson() => { 'currency': currency, 'language': language, 'country': country, 'autoactivate': autoactivate, 'orderid': orderid, 'returnmethod': returnmethod, 'accepturl': JsonConverters.toJson(accepturl,'Uri',context!), 'cancelurl': JsonConverters.toJson(cancelurl,'Uri',context!), 'callbackurl': JsonConverters.toJson(callbackurl,'Uri',context!) }; getTypeName() => "CheckoutPaymentData"; TypeContext? context = _ctx; } class PaymentInfo implements IConvertible { String? paymentdate; String? paymentterms; String? yourreference; String? ourreference; String? projectname; String? deliverymethod; String? deliveryterms; PaymentInfo({this.paymentdate,this.paymentterms,this.yourreference,this.ourreference,this.projectname,this.deliverymethod,this.deliveryterms}); PaymentInfo.fromJson(Map json) { fromMap(json); } fromMap(Map json) { paymentdate = json['paymentdate']; paymentterms = json['paymentterms']; yourreference = json['yourreference']; ourreference = json['ourreference']; projectname = json['projectname']; deliverymethod = json['deliverymethod']; deliveryterms = json['deliveryterms']; return this; } Map toJson() => { 'paymentdate': paymentdate, 'paymentterms': paymentterms, 'yourreference': yourreference, 'ourreference': ourreference, 'projectname': projectname, 'deliverymethod': deliverymethod, 'deliveryterms': deliveryterms }; getTypeName() => "PaymentInfo"; TypeContext? context = _ctx; } class CartHandling implements IConvertible { String? withouttax; String? taxrate; CartHandling({this.withouttax,this.taxrate}); CartHandling.fromJson(Map json) { fromMap(json); } fromMap(Map json) { withouttax = json['withouttax']; taxrate = json['taxrate']; return this; } Map toJson() => { 'withouttax': withouttax, 'taxrate': taxrate }; getTypeName() => "CartHandling"; TypeContext? context = _ctx; } class CartTotal implements IConvertible { String? rounding; String? withouttax; String? tax; String? withtax; CartTotal({this.rounding,this.withouttax,this.tax,this.withtax}); CartTotal.fromJson(Map json) { fromMap(json); } fromMap(Map json) { rounding = json['rounding']; withouttax = json['withouttax']; tax = json['tax']; withtax = json['withtax']; return this; } Map toJson() => { 'rounding': rounding, 'withouttax': withouttax, 'tax': tax, 'withtax': withtax }; getTypeName() => "CartTotal"; TypeContext? context = _ctx; } class Shipping implements IConvertible { String? firstname; String? lastname; String? company; String? street; String? street2; String? zip; String? city; String? country; String? phone; String? withouttax; String? taxrate; Shipping({this.firstname,this.lastname,this.company,this.street,this.street2,this.zip,this.city,this.country,this.phone,this.withouttax,this.taxrate}); Shipping.fromJson(Map json) { fromMap(json); } fromMap(Map json) { firstname = json['firstname']; lastname = json['lastname']; company = json['company']; street = json['street']; street2 = json['street2']; zip = json['zip']; city = json['city']; country = json['country']; phone = json['phone']; withouttax = json['withouttax']; taxrate = json['taxrate']; return this; } Map toJson() => { 'firstname': firstname, 'lastname': lastname, 'company': company, 'street': street, 'street2': street2, 'zip': zip, 'city': city, 'country': country, 'phone': phone, 'withouttax': withouttax, 'taxrate': taxrate }; getTypeName() => "Shipping"; TypeContext? context = _ctx; } class Cart implements IConvertible { CartHandling? Handling; CartTotal? Total; Shipping? Shipping; Cart({this.Handling,this.Total,this.Shipping}); Cart.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Handling = JsonConverters.fromJson(json['Handling'],'CartHandling',context!); Total = JsonConverters.fromJson(json['Total'],'CartTotal',context!); Shipping = JsonConverters.fromJson(json['Shipping'],'Shipping',context!); return this; } Map toJson() => { 'Handling': JsonConverters.toJson(Handling,'CartHandling',context!), 'Total': JsonConverters.toJson(Total,'CartTotal',context!), 'Shipping': JsonConverters.toJson(Shipping,'Shipping',context!) }; getTypeName() => "Cart"; TypeContext? context = _ctx; } class CustomerBilling implements IConvertible { String? firstname; String? lastname; String? company; String? street; String? street2; String? zip; String? city; String? country; String? phone; String? email; CustomerBilling({this.firstname,this.lastname,this.company,this.street,this.street2,this.zip,this.city,this.country,this.phone,this.email}); CustomerBilling.fromJson(Map json) { fromMap(json); } fromMap(Map json) { firstname = json['firstname']; lastname = json['lastname']; company = json['company']; street = json['street']; street2 = json['street2']; zip = json['zip']; city = json['city']; country = json['country']; phone = json['phone']; email = json['email']; return this; } Map toJson() => { 'firstname': firstname, 'lastname': lastname, 'company': company, 'street': street, 'street2': street2, 'zip': zip, 'city': city, 'country': country, 'phone': phone, 'email': email }; getTypeName() => "CustomerBilling"; TypeContext? context = _ctx; } class QvicklyCustomer implements IConvertible { String? nr; String? pno; CustomerBilling? Billing; QvicklyCustomer({this.nr,this.pno,this.Billing}); QvicklyCustomer.fromJson(Map json) { fromMap(json); } fromMap(Map json) { nr = json['nr']; pno = json['pno']; Billing = JsonConverters.fromJson(json['Billing'],'CustomerBilling',context!); return this; } Map toJson() => { 'nr': nr, 'pno': pno, 'Billing': JsonConverters.toJson(Billing,'CustomerBilling',context!) }; getTypeName() => "QvicklyCustomer"; TypeContext? context = _ctx; } class InitCheckoutData implements IConvertible { CheckoutData? CheckoutData; CheckoutPaymentData? PaymentData; PaymentInfo? PaymentInfo; List? Articles; Cart? Cart; QvicklyCustomer? QvicklyCustomer; InitCheckoutData({this.CheckoutData,this.PaymentData,this.PaymentInfo,this.Articles,this.Cart,this.QvicklyCustomer}); InitCheckoutData.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CheckoutData = JsonConverters.fromJson(json['CheckoutData'],'CheckoutData',context!); PaymentData = JsonConverters.fromJson(json['PaymentData'],'CheckoutPaymentData',context!); PaymentInfo = JsonConverters.fromJson(json['PaymentInfo'],'PaymentInfo',context!); Articles = JsonConverters.fromJson(json['Articles'],'List',context!); Cart = JsonConverters.fromJson(json['Cart'],'Cart',context!); QvicklyCustomer = JsonConverters.fromJson(json['QvicklyCustomer'],'QvicklyCustomer',context!); return this; } Map toJson() => { 'CheckoutData': JsonConverters.toJson(CheckoutData,'CheckoutData',context!), 'PaymentData': JsonConverters.toJson(PaymentData,'CheckoutPaymentData',context!), 'PaymentInfo': JsonConverters.toJson(PaymentInfo,'PaymentInfo',context!), 'Articles': JsonConverters.toJson(Articles,'List',context!), 'Cart': JsonConverters.toJson(Cart,'Cart',context!), 'QvicklyCustomer': JsonConverters.toJson(QvicklyCustomer,'QvicklyCustomer',context!) }; getTypeName() => "InitCheckoutData"; TypeContext? context = _ctx; } class InitCheckoutRequestBody implements IConvertible { Credentials? credentials; InitCheckoutData? data; String? function; InitCheckoutRequestBody({this.credentials,this.data,this.function}); InitCheckoutRequestBody.fromJson(Map json) { fromMap(json); } fromMap(Map json) { credentials = JsonConverters.fromJson(json['credentials'],'Credentials',context!); data = JsonConverters.fromJson(json['data'],'InitCheckoutData',context!); function = json['function']; return this; } Map toJson() => { 'credentials': JsonConverters.toJson(credentials,'Credentials',context!), 'data': JsonConverters.toJson(data,'InitCheckoutData',context!), 'function': function }; getTypeName() => "InitCheckoutRequestBody"; TypeContext? context = _ctx; } class QvicklyCheckoutResponse implements IConvertible { int? Number; String? Status; String? OrderId; String? Url; QvicklyCheckoutResponse({this.Number,this.Status,this.OrderId,this.Url}); QvicklyCheckoutResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Number = json['Number']; Status = json['Status']; OrderId = json['OrderId']; Url = json['Url']; return this; } Map toJson() => { 'Number': Number, 'Status': Status, 'OrderId': OrderId, 'Url': Url }; getTypeName() => "QvicklyCheckoutResponse"; TypeContext? context = _ctx; } class QvikclyPaymentData implements IConvertible { String? method; String? paymentplanid; String? currency; String? country; String? language; String? autoactivate; String? orderid; String? status; String? paymentid_related; String? url; QvikclyPaymentData({this.method,this.paymentplanid,this.currency,this.country,this.language,this.autoactivate,this.orderid,this.status,this.paymentid_related,this.url}); QvikclyPaymentData.fromJson(Map json) { fromMap(json); } fromMap(Map json) { method = json['method']; paymentplanid = json['paymentplanid']; currency = json['currency']; country = json['country']; language = json['language']; autoactivate = json['autoactivate']; orderid = json['orderid']; status = json['status']; paymentid_related = json['paymentid_related']; url = json['url']; return this; } Map toJson() => { 'method': method, 'paymentplanid': paymentplanid, 'currency': currency, 'country': country, 'language': language, 'autoactivate': autoactivate, 'orderid': orderid, 'status': status, 'paymentid_related': paymentid_related, 'url': url }; getTypeName() => "QvikclyPaymentData"; TypeContext? context = _ctx; } class Card implements IConvertible { String? promptname; String? recurring; String? recurringnr; String? accepturl; String? cancelurl; String? callbackurl; String? returnmethod; Card({this.promptname,this.recurring,this.recurringnr,this.accepturl,this.cancelurl,this.callbackurl,this.returnmethod}); Card.fromJson(Map json) { fromMap(json); } fromMap(Map json) { promptname = json['promptname']; recurring = json['recurring']; recurringnr = json['recurringnr']; accepturl = json['accepturl']; cancelurl = json['cancelurl']; callbackurl = json['callbackurl']; returnmethod = json['returnmethod']; return this; } Map toJson() => { 'promptname': promptname, 'recurring': recurring, 'recurringnr': recurringnr, 'accepturl': accepturl, 'cancelurl': cancelurl, 'callbackurl': callbackurl, 'returnmethod': returnmethod }; getTypeName() => "Card"; TypeContext? context = _ctx; } class Settlement implements IConvertible { String? number; String? date; Settlement({this.number,this.date}); Settlement.fromJson(Map json) { fromMap(json); } fromMap(Map json) { number = json['number']; date = json['date']; return this; } Map toJson() => { 'number': number, 'date': date }; getTypeName() => "Settlement"; TypeContext? context = _ctx; } class QvicklyPaymentResponse implements IConvertible { QvikclyPaymentData? PaymentData; PaymentInfo? PaymentInfo; Card? Card; Settlement? Settlement; QvicklyCustomer? QvicklyCustomer; List? Articles; Cart? Cart; QvicklyPaymentResponse({this.PaymentData,this.PaymentInfo,this.Card,this.Settlement,this.QvicklyCustomer,this.Articles,this.Cart}); QvicklyPaymentResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { PaymentData = JsonConverters.fromJson(json['PaymentData'],'QvikclyPaymentData',context!); PaymentInfo = JsonConverters.fromJson(json['PaymentInfo'],'PaymentInfo',context!); Card = JsonConverters.fromJson(json['Card'],'Card',context!); Settlement = JsonConverters.fromJson(json['Settlement'],'Settlement',context!); QvicklyCustomer = JsonConverters.fromJson(json['QvicklyCustomer'],'QvicklyCustomer',context!); Articles = JsonConverters.fromJson(json['Articles'],'List',context!); Cart = JsonConverters.fromJson(json['Cart'],'Cart',context!); return this; } Map toJson() => { 'PaymentData': JsonConverters.toJson(PaymentData,'QvikclyPaymentData',context!), 'PaymentInfo': JsonConverters.toJson(PaymentInfo,'PaymentInfo',context!), 'Card': JsonConverters.toJson(Card,'Card',context!), 'Settlement': JsonConverters.toJson(Settlement,'Settlement',context!), 'QvicklyCustomer': JsonConverters.toJson(QvicklyCustomer,'QvicklyCustomer',context!), 'Articles': JsonConverters.toJson(Articles,'List',context!), 'Cart': JsonConverters.toJson(Cart,'Cart',context!) }; getTypeName() => "QvicklyPaymentResponse"; TypeContext? context = _ctx; } enum Payson2CheckoutStatus { None, Created, FormsFilled, ReadyToPay, ProcessingPayment, ReadyToShip, Shipped, PaidToAccount, Canceled, Credited, Expired, Denied, } class ExternalReference extends BaseModel implements IConvertible { // @Required() String? CompanyId; // @Required() String? Id; // @Required() String? OwnerId; // @Required() String? ReferenceType; String? ExternalData; String? CreatedBy; // @Required() DateTime? Updated; // @Required() DateTime? Created; DateTime? ModifiedDate; ExternalReference({this.CompanyId,this.Id,this.OwnerId,this.ReferenceType,this.ExternalData,this.CreatedBy,this.Updated,this.Created,this.ModifiedDate}); ExternalReference.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); CompanyId = json['CompanyId']; Id = json['Id']; OwnerId = json['OwnerId']; ReferenceType = json['ReferenceType']; ExternalData = json['ExternalData']; CreatedBy = json['CreatedBy']; Updated = JsonConverters.fromJson(json['Updated'],'DateTime',context!); Created = JsonConverters.fromJson(json['Created'],'DateTime',context!); ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); return this; } Map toJson() => super.toJson()..addAll({ 'CompanyId': CompanyId, 'Id': Id, 'OwnerId': OwnerId, 'ReferenceType': ReferenceType, 'ExternalData': ExternalData, 'CreatedBy': CreatedBy, 'Updated': JsonConverters.toJson(Updated,'DateTime',context!), 'Created': JsonConverters.toJson(Created,'DateTime',context!), 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!) }); getTypeName() => "ExternalReference"; TypeContext? context = _ctx; } enum CompanyStatus { Registered, AwaitingApproval, Approved, Inactive, ClosedDown, NotApproved, } class CustomFieldValue extends BaseModel implements IConvertible { // @Required() String? CompanyId; int? Id; // @Required() String? Value; // @Required() bool? Active; int? SortOrder; DateTime? ModifiedDate; CustomFieldValue({this.CompanyId,this.Id,this.Value,this.Active,this.SortOrder,this.ModifiedDate}); CustomFieldValue.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); CompanyId = json['CompanyId']; Id = json['Id']; Value = json['Value']; Active = json['Active']; SortOrder = json['SortOrder']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); return this; } Map toJson() => super.toJson()..addAll({ 'CompanyId': CompanyId, 'Id': Id, 'Value': Value, 'Active': Active, 'SortOrder': SortOrder, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!) }); getTypeName() => "CustomFieldValue"; TypeContext? context = _ctx; } class CustomField extends BaseModel implements IConvertible { // @Required() String? Table; // @Required() String? Column; // @Required() String? DataType; // @Required() String? Description; // @Required() bool? Active; DateTime? ModifiedDate; int? Id; CustomField({this.Table,this.Column,this.DataType,this.Description,this.Active,this.ModifiedDate,this.Id}); CustomField.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Table = json['Table']; Column = json['Column']; DataType = json['DataType']; Description = json['Description']; Active = json['Active']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'Table': Table, 'Column': Column, 'DataType': DataType, 'Description': Description, 'Active': Active, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'Id': Id }); getTypeName() => "CustomField"; TypeContext? context = _ctx; } class RegEx extends BaseModel implements IConvertible { // @Required() String? Name; // @Required() String? Description; // @Required() String? RegExCode; String? ErrorMessage; DateTime? ModifiedDate; int? Id; RegEx({this.Name,this.Description,this.RegExCode,this.ErrorMessage,this.ModifiedDate,this.Id}); RegEx.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Name = json['Name']; Description = json['Description']; RegExCode = json['RegExCode']; ErrorMessage = json['ErrorMessage']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'Name': Name, 'Description': Description, 'RegExCode': RegExCode, 'ErrorMessage': ErrorMessage, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'Id': Id }); getTypeName() => "RegEx"; TypeContext? context = _ctx; } class CustomFieldServiceRelation extends BaseModel implements IConvertible { // @Required() String? CompanyId; int? Id; // @Required() int? CustomFieldConfigId; // @Required() int? ServiceId; DateTime? ModifiedDate; CustomFieldServiceRelation({this.CompanyId,this.Id,this.CustomFieldConfigId,this.ServiceId,this.ModifiedDate}); CustomFieldServiceRelation.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); CompanyId = json['CompanyId']; Id = json['Id']; CustomFieldConfigId = json['CustomFieldConfigId']; ServiceId = json['ServiceId']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); return this; } Map toJson() => super.toJson()..addAll({ 'CompanyId': CompanyId, 'Id': Id, 'CustomFieldConfigId': CustomFieldConfigId, 'ServiceId': ServiceId, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!) }); getTypeName() => "CustomFieldServiceRelation"; TypeContext? context = _ctx; } class CustomFieldConfig extends BaseModel implements IConvertible { // @Ignore() List? Values; CustomField? CustomField; // @Ignore() RegEx? RegEx; // @Ignore() List? Services; List? CustomFieldServiceRelation; // @Required() String? CompanyId; int? Id; int? GroupId; // @Required() int? FieldId; // @Required() int? IconId; int? RegExId; // @Required() String? Name; // @Required() String? Description; // @Required() String? Datatype; // @Required() int? MaxLength; // @Required() bool? IsPublic; // @Required() bool? IsHidden; // @Required() bool? IsMandatory; String? DefaultValue; String? RegExErrorMessage; String? MandatoryErrorMessage; int? Width; // @Required() bool? MultipleLineText; DateTime? ModifiedDate; CustomFieldConfig({this.Values,this.CustomField,this.RegEx,this.Services,this.CustomFieldServiceRelation,this.CompanyId,this.Id,this.GroupId,this.FieldId,this.IconId,this.RegExId,this.Name,this.Description,this.Datatype,this.MaxLength,this.IsPublic,this.IsHidden,this.IsMandatory,this.DefaultValue,this.RegExErrorMessage,this.MandatoryErrorMessage,this.Width,this.MultipleLineText,this.ModifiedDate}); CustomFieldConfig.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Values = JsonConverters.fromJson(json['Values'],'List',context!); CustomField = JsonConverters.fromJson(json['CustomField'],'CustomField',context!); RegEx = JsonConverters.fromJson(json['RegEx'],'RegEx',context!); Services = JsonConverters.fromJson(json['Services'],'List',context!); CustomFieldServiceRelation = JsonConverters.fromJson(json['CustomFieldServiceRelation'],'List',context!); CompanyId = json['CompanyId']; Id = json['Id']; GroupId = json['GroupId']; FieldId = json['FieldId']; IconId = json['IconId']; RegExId = json['RegExId']; Name = json['Name']; Description = json['Description']; Datatype = json['Datatype']; MaxLength = json['MaxLength']; IsPublic = json['IsPublic']; IsHidden = json['IsHidden']; IsMandatory = json['IsMandatory']; DefaultValue = json['DefaultValue']; RegExErrorMessage = json['RegExErrorMessage']; MandatoryErrorMessage = json['MandatoryErrorMessage']; Width = json['Width']; MultipleLineText = json['MultipleLineText']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); return this; } Map toJson() => super.toJson()..addAll({ 'Values': JsonConverters.toJson(Values,'List',context!), 'CustomField': JsonConverters.toJson(CustomField,'CustomField',context!), 'RegEx': JsonConverters.toJson(RegEx,'RegEx',context!), 'Services': JsonConverters.toJson(Services,'List',context!), 'CustomFieldServiceRelation': JsonConverters.toJson(CustomFieldServiceRelation,'List',context!), 'CompanyId': CompanyId, 'Id': Id, 'GroupId': GroupId, 'FieldId': FieldId, 'IconId': IconId, 'RegExId': RegExId, 'Name': Name, 'Description': Description, 'Datatype': Datatype, 'MaxLength': MaxLength, 'IsPublic': IsPublic, 'IsHidden': IsHidden, 'IsMandatory': IsMandatory, 'DefaultValue': DefaultValue, 'RegExErrorMessage': RegExErrorMessage, 'MandatoryErrorMessage': MandatoryErrorMessage, 'Width': Width, 'MultipleLineText': MultipleLineText, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!) }); getTypeName() => "CustomFieldConfig"; TypeContext? context = _ctx; } class ScheduleView extends BaseModel implements IConvertible { // @Required() String? Name; DateTime? ModifiedDate; int? Id; ScheduleView({this.Name,this.ModifiedDate,this.Id}); ScheduleView.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Name = json['Name']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'Name': Name, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'Id': Id }); getTypeName() => "ScheduleView"; TypeContext? context = _ctx; } class WeekNumberSetting extends BaseModel implements IConvertible { // @Required() String? Name; // @Required() String? Description; DateTime? ModifiedDate; // @Required() int? Id; WeekNumberSetting({this.Name,this.Description,this.ModifiedDate,this.Id}); WeekNumberSetting.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Name = json['Name']; Description = json['Description']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'Name': Name, 'Description': Description, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'Id': Id }); getTypeName() => "WeekNumberSetting"; TypeContext? context = _ctx; } class BookingTemplate extends BaseModel implements IConvertible { // @Required() String? Name; // @Required() String? Description; // @Required() String? UsedByApplication; DateTime? ModifiedDate; int? Id; BookingTemplate({this.Name,this.Description,this.UsedByApplication,this.ModifiedDate,this.Id}); BookingTemplate.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Name = json['Name']; Description = json['Description']; UsedByApplication = json['UsedByApplication']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'Name': Name, 'Description': Description, 'UsedByApplication': UsedByApplication, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'Id': Id }); getTypeName() => "BookingTemplate"; TypeContext? context = _ctx; } class CalendarType extends BaseModel implements IConvertible { // @Required() String? Name; // @Required() String? Description; // @Required() bool? Active; DateTime? ModifiedDate; int? Id; CalendarType({this.Name,this.Description,this.Active,this.ModifiedDate,this.Id}); CalendarType.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Name = json['Name']; Description = json['Description']; Active = json['Active']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'Name': Name, 'Description': Description, 'Active': Active, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'Id': Id }); getTypeName() => "CalendarType"; TypeContext? context = _ctx; } class FreeSpotTexts extends BaseModel implements IConvertible { // @Required() String? TextSingular; // @Required() String? TextPlural; DateTime? ModifiedDate; // @Required() int? Id; FreeSpotTexts({this.TextSingular,this.TextPlural,this.ModifiedDate,this.Id}); FreeSpotTexts.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); TextSingular = json['TextSingular']; TextPlural = json['TextPlural']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'TextSingular': TextSingular, 'TextPlural': TextPlural, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'Id': Id }); getTypeName() => "FreeSpotTexts"; TypeContext? context = _ctx; } class BookingStatusOptions implements IConvertible { int? Id; String? Name; String? Description; BookingStatusOptions({this.Id,this.Name,this.Description}); BookingStatusOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; Name = json['Name']; Description = json['Description']; return this; } Map toJson() => { 'Id': Id, 'Name': Name, 'Description': Description }; getTypeName() => "BookingStatusOptions"; TypeContext? context = _ctx; } class BookingSettings extends BaseModel implements IConvertible { // @References(typeof(FreeSpotTexts)) int? FreeSpotTextsId; // @Ignore() bool? SendEmailConfirmation; // @Ignore() List? ScheduleViewOptions; // @Ignore() List? WeekNumberSettingOptions; // @Ignore() List? BookingTemplateOptions; // @Ignore() List? CalendarTypeOptions; // @Ignore() List? FreeSpotTextOptions; // @Ignore() List? BookingStatusOptions; FreeSpotTexts? FreeSpotTextsInfo; // @Ignore() String? FreeSpotsTextSingular; // @Ignore() String? FreeSpotsTextPlural; // @Required() int? BookingStatusId; // @Required() int? ScheduleViewId; // @Required() int? BookingTemplateId; // @Required() int? CalendarTypeId; // @Required() bool? AllowBookingOnUnbookedTimes; // @Required() bool? SendEmailReminder; // @Required() bool? SendSmsReminder; // @Required() bool? SendSmsConfirmation; // @Required() int? EmailReminderTime; // @Required() int? SmsReminderTime; // @Required() int? MaxActiveBookings; // @Required() bool? SendNotifications; String? SendNotificationsEmail; // @Required() bool? EnableMobileApp; Duration? ScheduleStartTime; Duration? ScheduleEndTime; String? ReceiptTemplate; // @Required() int? ScheduleTimeSlotMinutes; // @Required() bool? ShowFreeTimesLeft; // @Required() bool? EnableICalGroupBookings; String? AgreementTemplate; // @Required() bool? ScheduleShowTimeExeptions; // @Required() bool? EnableBookingsOnSameTime; // @Required() int? ShowWeekNumberSettingId; // @Required() bool? EnableShowBookedTimes; // @Required() bool? EnableSendFollowUpMessage; // @Required() int? FollowUpMessageTime; String? MessageText; // @Required() bool? ScheduleGroupResources; // @Required() int? BookSpotUserResponseMinutes; // @Required() bool? IsBookSpotDirectly; // @Required() int? BookSpotDirectlyTimeLeftMinutes; // @Required() bool? SendEmailNotificationQueue; // @Required() bool? SendSMSNotificationQueue; // @Required() bool? SchedulerDisableHorizontalScrolling; // @Required() bool? BookOnlyOnExistingCustomers; // @Required() bool? AutoGenerateUniquePinCode; // @Required() bool? WeightedPrices; DateTime? ModifiedDate; // @Required() bool? AutoCreateUserProfile; bool? ShowMultipleResourcesAsOne; bool? ShowMultiDayAsTime; // @Required() String? Id; BookingSettings({this.FreeSpotTextsId,this.SendEmailConfirmation,this.ScheduleViewOptions,this.WeekNumberSettingOptions,this.BookingTemplateOptions,this.CalendarTypeOptions,this.FreeSpotTextOptions,this.BookingStatusOptions,this.FreeSpotTextsInfo,this.FreeSpotsTextSingular,this.FreeSpotsTextPlural,this.BookingStatusId,this.ScheduleViewId,this.BookingTemplateId,this.CalendarTypeId,this.AllowBookingOnUnbookedTimes,this.SendEmailReminder,this.SendSmsReminder,this.SendSmsConfirmation,this.EmailReminderTime,this.SmsReminderTime,this.MaxActiveBookings,this.SendNotifications,this.SendNotificationsEmail,this.EnableMobileApp,this.ScheduleStartTime,this.ScheduleEndTime,this.ReceiptTemplate,this.ScheduleTimeSlotMinutes,this.ShowFreeTimesLeft,this.EnableICalGroupBookings,this.AgreementTemplate,this.ScheduleShowTimeExeptions,this.EnableBookingsOnSameTime,this.ShowWeekNumberSettingId,this.EnableShowBookedTimes,this.EnableSendFollowUpMessage,this.FollowUpMessageTime,this.MessageText,this.ScheduleGroupResources,this.BookSpotUserResponseMinutes,this.IsBookSpotDirectly,this.BookSpotDirectlyTimeLeftMinutes,this.SendEmailNotificationQueue,this.SendSMSNotificationQueue,this.SchedulerDisableHorizontalScrolling,this.BookOnlyOnExistingCustomers,this.AutoGenerateUniquePinCode,this.WeightedPrices,this.ModifiedDate,this.AutoCreateUserProfile,this.ShowMultipleResourcesAsOne,this.ShowMultiDayAsTime,this.Id}); BookingSettings.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); FreeSpotTextsId = json['FreeSpotTextsId']; SendEmailConfirmation = json['SendEmailConfirmation']; ScheduleViewOptions = JsonConverters.fromJson(json['ScheduleViewOptions'],'List',context!); WeekNumberSettingOptions = JsonConverters.fromJson(json['WeekNumberSettingOptions'],'List',context!); BookingTemplateOptions = JsonConverters.fromJson(json['BookingTemplateOptions'],'List',context!); CalendarTypeOptions = JsonConverters.fromJson(json['CalendarTypeOptions'],'List',context!); FreeSpotTextOptions = JsonConverters.fromJson(json['FreeSpotTextOptions'],'List',context!); BookingStatusOptions = JsonConverters.fromJson(json['BookingStatusOptions'],'List',context!); FreeSpotTextsInfo = JsonConverters.fromJson(json['FreeSpotTextsInfo'],'FreeSpotTexts',context!); FreeSpotsTextSingular = json['FreeSpotsTextSingular']; FreeSpotsTextPlural = json['FreeSpotsTextPlural']; BookingStatusId = json['BookingStatusId']; ScheduleViewId = json['ScheduleViewId']; BookingTemplateId = json['BookingTemplateId']; CalendarTypeId = json['CalendarTypeId']; AllowBookingOnUnbookedTimes = json['AllowBookingOnUnbookedTimes']; SendEmailReminder = json['SendEmailReminder']; SendSmsReminder = json['SendSmsReminder']; SendSmsConfirmation = json['SendSmsConfirmation']; EmailReminderTime = json['EmailReminderTime']; SmsReminderTime = json['SmsReminderTime']; MaxActiveBookings = json['MaxActiveBookings']; SendNotifications = json['SendNotifications']; SendNotificationsEmail = json['SendNotificationsEmail']; EnableMobileApp = json['EnableMobileApp']; ScheduleStartTime = JsonConverters.fromJson(json['ScheduleStartTime'],'Duration',context!); ScheduleEndTime = JsonConverters.fromJson(json['ScheduleEndTime'],'Duration',context!); ReceiptTemplate = json['ReceiptTemplate']; ScheduleTimeSlotMinutes = json['ScheduleTimeSlotMinutes']; ShowFreeTimesLeft = json['ShowFreeTimesLeft']; EnableICalGroupBookings = json['EnableICalGroupBookings']; AgreementTemplate = json['AgreementTemplate']; ScheduleShowTimeExeptions = json['ScheduleShowTimeExeptions']; EnableBookingsOnSameTime = json['EnableBookingsOnSameTime']; ShowWeekNumberSettingId = json['ShowWeekNumberSettingId']; EnableShowBookedTimes = json['EnableShowBookedTimes']; EnableSendFollowUpMessage = json['EnableSendFollowUpMessage']; FollowUpMessageTime = json['FollowUpMessageTime']; MessageText = json['MessageText']; ScheduleGroupResources = json['ScheduleGroupResources']; BookSpotUserResponseMinutes = json['BookSpotUserResponseMinutes']; IsBookSpotDirectly = json['IsBookSpotDirectly']; BookSpotDirectlyTimeLeftMinutes = json['BookSpotDirectlyTimeLeftMinutes']; SendEmailNotificationQueue = json['SendEmailNotificationQueue']; SendSMSNotificationQueue = json['SendSMSNotificationQueue']; SchedulerDisableHorizontalScrolling = json['SchedulerDisableHorizontalScrolling']; BookOnlyOnExistingCustomers = json['BookOnlyOnExistingCustomers']; AutoGenerateUniquePinCode = json['AutoGenerateUniquePinCode']; WeightedPrices = json['WeightedPrices']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); AutoCreateUserProfile = json['AutoCreateUserProfile']; ShowMultipleResourcesAsOne = json['ShowMultipleResourcesAsOne']; ShowMultiDayAsTime = json['ShowMultiDayAsTime']; Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'FreeSpotTextsId': FreeSpotTextsId, 'SendEmailConfirmation': SendEmailConfirmation, 'ScheduleViewOptions': JsonConverters.toJson(ScheduleViewOptions,'List',context!), 'WeekNumberSettingOptions': JsonConverters.toJson(WeekNumberSettingOptions,'List',context!), 'BookingTemplateOptions': JsonConverters.toJson(BookingTemplateOptions,'List',context!), 'CalendarTypeOptions': JsonConverters.toJson(CalendarTypeOptions,'List',context!), 'FreeSpotTextOptions': JsonConverters.toJson(FreeSpotTextOptions,'List',context!), 'BookingStatusOptions': JsonConverters.toJson(BookingStatusOptions,'List',context!), 'FreeSpotTextsInfo': JsonConverters.toJson(FreeSpotTextsInfo,'FreeSpotTexts',context!), 'FreeSpotsTextSingular': FreeSpotsTextSingular, 'FreeSpotsTextPlural': FreeSpotsTextPlural, 'BookingStatusId': BookingStatusId, 'ScheduleViewId': ScheduleViewId, 'BookingTemplateId': BookingTemplateId, 'CalendarTypeId': CalendarTypeId, 'AllowBookingOnUnbookedTimes': AllowBookingOnUnbookedTimes, 'SendEmailReminder': SendEmailReminder, 'SendSmsReminder': SendSmsReminder, 'SendSmsConfirmation': SendSmsConfirmation, 'EmailReminderTime': EmailReminderTime, 'SmsReminderTime': SmsReminderTime, 'MaxActiveBookings': MaxActiveBookings, 'SendNotifications': SendNotifications, 'SendNotificationsEmail': SendNotificationsEmail, 'EnableMobileApp': EnableMobileApp, 'ScheduleStartTime': JsonConverters.toJson(ScheduleStartTime,'Duration',context!), 'ScheduleEndTime': JsonConverters.toJson(ScheduleEndTime,'Duration',context!), 'ReceiptTemplate': ReceiptTemplate, 'ScheduleTimeSlotMinutes': ScheduleTimeSlotMinutes, 'ShowFreeTimesLeft': ShowFreeTimesLeft, 'EnableICalGroupBookings': EnableICalGroupBookings, 'AgreementTemplate': AgreementTemplate, 'ScheduleShowTimeExeptions': ScheduleShowTimeExeptions, 'EnableBookingsOnSameTime': EnableBookingsOnSameTime, 'ShowWeekNumberSettingId': ShowWeekNumberSettingId, 'EnableShowBookedTimes': EnableShowBookedTimes, 'EnableSendFollowUpMessage': EnableSendFollowUpMessage, 'FollowUpMessageTime': FollowUpMessageTime, 'MessageText': MessageText, 'ScheduleGroupResources': ScheduleGroupResources, 'BookSpotUserResponseMinutes': BookSpotUserResponseMinutes, 'IsBookSpotDirectly': IsBookSpotDirectly, 'BookSpotDirectlyTimeLeftMinutes': BookSpotDirectlyTimeLeftMinutes, 'SendEmailNotificationQueue': SendEmailNotificationQueue, 'SendSMSNotificationQueue': SendSMSNotificationQueue, 'SchedulerDisableHorizontalScrolling': SchedulerDisableHorizontalScrolling, 'BookOnlyOnExistingCustomers': BookOnlyOnExistingCustomers, 'AutoGenerateUniquePinCode': AutoGenerateUniquePinCode, 'WeightedPrices': WeightedPrices, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'AutoCreateUserProfile': AutoCreateUserProfile, 'ShowMultipleResourcesAsOne': ShowMultipleResourcesAsOne, 'ShowMultiDayAsTime': ShowMultiDayAsTime, 'Id': Id }); getTypeName() => "BookingSettings"; TypeContext? context = _ctx; } class CompanyType extends BaseModel implements IConvertible { // @Required() String? Name; // @Required() String? Description; DateTime? ModifiedDate; // @Required() int? Id; CompanyType({this.Name,this.Description,this.ModifiedDate,this.Id}); CompanyType.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Name = json['Name']; Description = json['Description']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'Name': Name, 'Description': Description, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'Id': Id }); getTypeName() => "CompanyType"; TypeContext? context = _ctx; } class CodeLockSystem extends BaseModel implements IConvertible { // @Required() String? Name; // @Required() String? Supplier; String? LogoType; // @Required() String? Description; DateTime? ModifiedDate; // @Required() int? Id; CodeLockSystem({this.Name,this.Supplier,this.LogoType,this.Description,this.ModifiedDate,this.Id}); CodeLockSystem.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Name = json['Name']; Supplier = json['Supplier']; LogoType = json['LogoType']; Description = json['Description']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'Name': Name, 'Supplier': Supplier, 'LogoType': LogoType, 'Description': Description, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'Id': Id }); getTypeName() => "CodeLockSystem"; TypeContext? context = _ctx; } class CodeLockSetting extends BaseModel implements IConvertible { // @Ignore() List? CodeLockSystemOptions; // @Required() bool? Active; // @Required() int? CodeLockSystemsId; // @Required() int? ValidBeforeMinutes; // @Required() int? ValidAfterMinutes; // @Required() bool? DeleteOldBySchedule; // @Required() DateTime? Created; // @Required() DateTime? Updated; DateTime? ModifiedDate; // @Required() bool? SendEmailNotification; // @Required() bool? SendSMSNotification; // @Required() int? EmailNotificationTime; // @Required() int? SMSNotificationTime; // @Required() String? Id; CodeLockSetting({this.CodeLockSystemOptions,this.Active,this.CodeLockSystemsId,this.ValidBeforeMinutes,this.ValidAfterMinutes,this.DeleteOldBySchedule,this.Created,this.Updated,this.ModifiedDate,this.SendEmailNotification,this.SendSMSNotification,this.EmailNotificationTime,this.SMSNotificationTime,this.Id}); CodeLockSetting.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); CodeLockSystemOptions = JsonConverters.fromJson(json['CodeLockSystemOptions'],'List',context!); Active = json['Active']; CodeLockSystemsId = json['CodeLockSystemsId']; ValidBeforeMinutes = json['ValidBeforeMinutes']; ValidAfterMinutes = json['ValidAfterMinutes']; DeleteOldBySchedule = json['DeleteOldBySchedule']; Created = JsonConverters.fromJson(json['Created'],'DateTime',context!); Updated = JsonConverters.fromJson(json['Updated'],'DateTime',context!); ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); SendEmailNotification = json['SendEmailNotification']; SendSMSNotification = json['SendSMSNotification']; EmailNotificationTime = json['EmailNotificationTime']; SMSNotificationTime = json['SMSNotificationTime']; Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'CodeLockSystemOptions': JsonConverters.toJson(CodeLockSystemOptions,'List',context!), 'Active': Active, 'CodeLockSystemsId': CodeLockSystemsId, 'ValidBeforeMinutes': ValidBeforeMinutes, 'ValidAfterMinutes': ValidAfterMinutes, 'DeleteOldBySchedule': DeleteOldBySchedule, 'Created': JsonConverters.toJson(Created,'DateTime',context!), 'Updated': JsonConverters.toJson(Updated,'DateTime',context!), 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'SendEmailNotification': SendEmailNotification, 'SendSMSNotification': SendSMSNotification, 'EmailNotificationTime': EmailNotificationTime, 'SMSNotificationTime': SMSNotificationTime, 'Id': Id }); getTypeName() => "CodeLockSetting"; TypeContext? context = _ctx; } class AdminPaymentOptions extends BaseModel implements IConvertible { // @Required() String? Name; // @Required() String? Description; DateTime? ModifiedDate; // @Required() int? Id; AdminPaymentOptions({this.Name,this.Description,this.ModifiedDate,this.Id}); AdminPaymentOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Name = json['Name']; Description = json['Description']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'Name': Name, 'Description': Description, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'Id': Id }); getTypeName() => "AdminPaymentOptions"; TypeContext? context = _ctx; } class PaymentProviders extends BaseModel implements IConvertible { // @Required() String? Name; // @Required() String? Description; // @Required() String? Category; String? Url; // @Required() bool? Active; DateTime? ModifiedDate; // @Required() int? Id; PaymentProviders({this.Name,this.Description,this.Category,this.Url,this.Active,this.ModifiedDate,this.Id}); PaymentProviders.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Name = json['Name']; Description = json['Description']; Category = json['Category']; Url = json['Url']; Active = json['Active']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'Name': Name, 'Description': Description, 'Category': Category, 'Url': Url, 'Active': Active, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'Id': Id }); getTypeName() => "PaymentProviders"; TypeContext? context = _ctx; } class PaymentSetting extends BaseModel implements IConvertible { AdminPaymentOptions? AdminPaymentOption; // @Ignore() List? AdminPaymentOptions; // @Ignore() List? PaymentProviderOptions; // @Required() bool? Enabled; // @Required() int? InvoiceFee; // @Required() bool? AllowCreditCardPayment; // @Required() bool? AllowInvoicePayment; // @Required() bool? AllowBankPayment; // @Required() bool? GuaranteeOffered; // @Required() bool? RefundOnCancelBooking; int? DefaultPaymentOptionId; // @Required() int? PaymentProviderId; // @Required() bool? SendPaymentRequestDirectly; DateTime? ModifiedDate; // @Required() String? Id; PaymentSetting({this.AdminPaymentOption,this.AdminPaymentOptions,this.PaymentProviderOptions,this.Enabled,this.InvoiceFee,this.AllowCreditCardPayment,this.AllowInvoicePayment,this.AllowBankPayment,this.GuaranteeOffered,this.RefundOnCancelBooking,this.DefaultPaymentOptionId,this.PaymentProviderId,this.SendPaymentRequestDirectly,this.ModifiedDate,this.Id}); PaymentSetting.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); AdminPaymentOption = JsonConverters.fromJson(json['AdminPaymentOption'],'AdminPaymentOptions',context!); AdminPaymentOptions = JsonConverters.fromJson(json['AdminPaymentOptions'],'List',context!); PaymentProviderOptions = JsonConverters.fromJson(json['PaymentProviderOptions'],'List',context!); Enabled = json['Enabled']; InvoiceFee = json['InvoiceFee']; AllowCreditCardPayment = json['AllowCreditCardPayment']; AllowInvoicePayment = json['AllowInvoicePayment']; AllowBankPayment = json['AllowBankPayment']; GuaranteeOffered = json['GuaranteeOffered']; RefundOnCancelBooking = json['RefundOnCancelBooking']; DefaultPaymentOptionId = json['DefaultPaymentOptionId']; PaymentProviderId = json['PaymentProviderId']; SendPaymentRequestDirectly = json['SendPaymentRequestDirectly']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'AdminPaymentOption': JsonConverters.toJson(AdminPaymentOption,'AdminPaymentOptions',context!), 'AdminPaymentOptions': JsonConverters.toJson(AdminPaymentOptions,'List',context!), 'PaymentProviderOptions': JsonConverters.toJson(PaymentProviderOptions,'List',context!), 'Enabled': Enabled, 'InvoiceFee': InvoiceFee, 'AllowCreditCardPayment': AllowCreditCardPayment, 'AllowInvoicePayment': AllowInvoicePayment, 'AllowBankPayment': AllowBankPayment, 'GuaranteeOffered': GuaranteeOffered, 'RefundOnCancelBooking': RefundOnCancelBooking, 'DefaultPaymentOptionId': DefaultPaymentOptionId, 'PaymentProviderId': PaymentProviderId, 'SendPaymentRequestDirectly': SendPaymentRequestDirectly, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'Id': Id }); getTypeName() => "PaymentSetting"; TypeContext? context = _ctx; } class LanguageResponse implements IConvertible { String? Id; String? Name; LanguageResponse({this.Id,this.Name}); LanguageResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; Name = json['Name']; return this; } Map toJson() => { 'Id': Id, 'Name': Name }; getTypeName() => "LanguageResponse"; TypeContext? context = _ctx; } class CompanySetting extends BaseModel implements IConvertible { // @Ignore() List? Languages; // @Required() bool? Active; String? InactiveMessage; // @Required() bool? Searchable; String? GATrackingId; String? FacebookPixelId; // @Required() bool? MultiLanguage; // @Required() bool? EnableAPITranslation; // @Required() String? DefaultLanguage; DateTime? ModifiedDate; String? GTMTrackingId; // @Required() bool? ShowOnMarketPlace; String? GoogleAdsConversionId; String? LinkedinTagId; String? GoogleAdsConversionLabel; bool? SendCustomerInformationToExternalProviders; // @Required() String? Id; CompanySetting({this.Languages,this.Active,this.InactiveMessage,this.Searchable,this.GATrackingId,this.FacebookPixelId,this.MultiLanguage,this.EnableAPITranslation,this.DefaultLanguage,this.ModifiedDate,this.GTMTrackingId,this.ShowOnMarketPlace,this.GoogleAdsConversionId,this.LinkedinTagId,this.GoogleAdsConversionLabel,this.SendCustomerInformationToExternalProviders,this.Id}); CompanySetting.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Languages = JsonConverters.fromJson(json['Languages'],'List',context!); Active = json['Active']; InactiveMessage = json['InactiveMessage']; Searchable = json['Searchable']; GATrackingId = json['GATrackingId']; FacebookPixelId = json['FacebookPixelId']; MultiLanguage = json['MultiLanguage']; EnableAPITranslation = json['EnableAPITranslation']; DefaultLanguage = json['DefaultLanguage']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); GTMTrackingId = json['GTMTrackingId']; ShowOnMarketPlace = json['ShowOnMarketPlace']; GoogleAdsConversionId = json['GoogleAdsConversionId']; LinkedinTagId = json['LinkedinTagId']; GoogleAdsConversionLabel = json['GoogleAdsConversionLabel']; SendCustomerInformationToExternalProviders = json['SendCustomerInformationToExternalProviders']; Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'Languages': JsonConverters.toJson(Languages,'List',context!), 'Active': Active, 'InactiveMessage': InactiveMessage, 'Searchable': Searchable, 'GATrackingId': GATrackingId, 'FacebookPixelId': FacebookPixelId, 'MultiLanguage': MultiLanguage, 'EnableAPITranslation': EnableAPITranslation, 'DefaultLanguage': DefaultLanguage, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'GTMTrackingId': GTMTrackingId, 'ShowOnMarketPlace': ShowOnMarketPlace, 'GoogleAdsConversionId': GoogleAdsConversionId, 'LinkedinTagId': LinkedinTagId, 'GoogleAdsConversionLabel': GoogleAdsConversionLabel, 'SendCustomerInformationToExternalProviders': SendCustomerInformationToExternalProviders, 'Id': Id }); getTypeName() => "CompanySetting"; TypeContext? context = _ctx; } class WidgetServiceLayouts extends BaseModel implements IConvertible { // @Required() String? Name; // @Required() String? Description; // @Required() String? Code; DateTime? ModifiedDate; // @Required() int? Id; WidgetServiceLayouts({this.Name,this.Description,this.Code,this.ModifiedDate,this.Id}); WidgetServiceLayouts.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Name = json['Name']; Description = json['Description']; Code = json['Code']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'Name': Name, 'Description': Description, 'Code': Code, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'Id': Id }); getTypeName() => "WidgetServiceLayouts"; TypeContext? context = _ctx; } class WidgetTimeLayouts extends BaseModel implements IConvertible { // @Required() String? Name; // @Required() String? Description; // @Required() String? Code; DateTime? ModifiedDate; // @Required() int? Id; WidgetTimeLayouts({this.Name,this.Description,this.Code,this.ModifiedDate,this.Id}); WidgetTimeLayouts.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Name = json['Name']; Description = json['Description']; Code = json['Code']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'Name': Name, 'Description': Description, 'Code': Code, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'Id': Id }); getTypeName() => "WidgetTimeLayouts"; TypeContext? context = _ctx; } class WidgetBookingLayouts extends BaseModel implements IConvertible { // @Required() String? Name; // @Required() String? Description; // @Required() String? Code; DateTime? ModifiedDate; // @Required() int? Id; WidgetBookingLayouts({this.Name,this.Description,this.Code,this.ModifiedDate,this.Id}); WidgetBookingLayouts.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Name = json['Name']; Description = json['Description']; Code = json['Code']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'Name': Name, 'Description': Description, 'Code': Code, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'Id': Id }); getTypeName() => "WidgetBookingLayouts"; TypeContext? context = _ctx; } class WidgetBookingMethods extends BaseModel implements IConvertible { // @Required() String? Name; // @Required() String? Description; // @Required() String? Code; DateTime? ModifiedDate; // @Required() int? Id; WidgetBookingMethods({this.Name,this.Description,this.Code,this.ModifiedDate,this.Id}); WidgetBookingMethods.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Name = json['Name']; Description = json['Description']; Code = json['Code']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'Name': Name, 'Description': Description, 'Code': Code, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'Id': Id }); getTypeName() => "WidgetBookingMethods"; TypeContext? context = _ctx; } class HomepageWidgetSetting extends BaseModel implements IConvertible { // @Ignore() List? WidgetServiceLayoutOptions; // @Ignore() List? WidgetTimeLayoutOptions; // @Ignore() List? WidgetBookingLayoutOptions; // @Ignore() List? WidgetBookingMethodOptions; // @Required() int? ServiceLayoutId; // @Required() int? TimeLayoutId; // @Required() int? BookingLayoutId; // @Required() String? PrimaryColor; // @Required() bool? ShowServiceImage; // @Required() bool? ShowNextAvailableTime; // @Required() bool? ShowEndTime; String? BookedTimeSlotText; // @Required() bool? DarkTheme; // @Required() bool? ShowRebateCodeField; DateTime? ModifiedDate; // @Required() bool? EnableCreateAccount; // @Required() bool? EnableLogin; // @Required() bool? EnableDirectBooking; // @Required() bool? EnableFacebookLogin; // @Required() bool? ShowSubscribeToNewsletter; // @Required() String? Id; HomepageWidgetSetting({this.WidgetServiceLayoutOptions,this.WidgetTimeLayoutOptions,this.WidgetBookingLayoutOptions,this.WidgetBookingMethodOptions,this.ServiceLayoutId,this.TimeLayoutId,this.BookingLayoutId,this.PrimaryColor,this.ShowServiceImage,this.ShowNextAvailableTime,this.ShowEndTime,this.BookedTimeSlotText,this.DarkTheme,this.ShowRebateCodeField,this.ModifiedDate,this.EnableCreateAccount,this.EnableLogin,this.EnableDirectBooking,this.EnableFacebookLogin,this.ShowSubscribeToNewsletter,this.Id}); HomepageWidgetSetting.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); WidgetServiceLayoutOptions = JsonConverters.fromJson(json['WidgetServiceLayoutOptions'],'List',context!); WidgetTimeLayoutOptions = JsonConverters.fromJson(json['WidgetTimeLayoutOptions'],'List',context!); WidgetBookingLayoutOptions = JsonConverters.fromJson(json['WidgetBookingLayoutOptions'],'List',context!); WidgetBookingMethodOptions = JsonConverters.fromJson(json['WidgetBookingMethodOptions'],'List',context!); ServiceLayoutId = json['ServiceLayoutId']; TimeLayoutId = json['TimeLayoutId']; BookingLayoutId = json['BookingLayoutId']; PrimaryColor = json['PrimaryColor']; ShowServiceImage = json['ShowServiceImage']; ShowNextAvailableTime = json['ShowNextAvailableTime']; ShowEndTime = json['ShowEndTime']; BookedTimeSlotText = json['BookedTimeSlotText']; DarkTheme = json['DarkTheme']; ShowRebateCodeField = json['ShowRebateCodeField']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); EnableCreateAccount = json['EnableCreateAccount']; EnableLogin = json['EnableLogin']; EnableDirectBooking = json['EnableDirectBooking']; EnableFacebookLogin = json['EnableFacebookLogin']; ShowSubscribeToNewsletter = json['ShowSubscribeToNewsletter']; Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'WidgetServiceLayoutOptions': JsonConverters.toJson(WidgetServiceLayoutOptions,'List',context!), 'WidgetTimeLayoutOptions': JsonConverters.toJson(WidgetTimeLayoutOptions,'List',context!), 'WidgetBookingLayoutOptions': JsonConverters.toJson(WidgetBookingLayoutOptions,'List',context!), 'WidgetBookingMethodOptions': JsonConverters.toJson(WidgetBookingMethodOptions,'List',context!), 'ServiceLayoutId': ServiceLayoutId, 'TimeLayoutId': TimeLayoutId, 'BookingLayoutId': BookingLayoutId, 'PrimaryColor': PrimaryColor, 'ShowServiceImage': ShowServiceImage, 'ShowNextAvailableTime': ShowNextAvailableTime, 'ShowEndTime': ShowEndTime, 'BookedTimeSlotText': BookedTimeSlotText, 'DarkTheme': DarkTheme, 'ShowRebateCodeField': ShowRebateCodeField, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'EnableCreateAccount': EnableCreateAccount, 'EnableLogin': EnableLogin, 'EnableDirectBooking': EnableDirectBooking, 'EnableFacebookLogin': EnableFacebookLogin, 'ShowSubscribeToNewsletter': ShowSubscribeToNewsletter, 'Id': Id }); getTypeName() => "HomepageWidgetSetting"; TypeContext? context = _ctx; } class HomepageTemplate extends BaseModel implements IConvertible { // @Required() String? Name; // @Required() String? Description; Uri? ImageUrl; // @Required() bool? Premium; DateTime? ModifiedDate; int? Id; HomepageTemplate({this.Name,this.Description,this.ImageUrl,this.Premium,this.ModifiedDate,this.Id}); HomepageTemplate.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Name = json['Name']; Description = json['Description']; ImageUrl = JsonConverters.fromJson(json['ImageUrl'],'Uri',context!); Premium = json['Premium']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'Name': Name, 'Description': Description, 'ImageUrl': JsonConverters.toJson(ImageUrl,'Uri',context!), 'Premium': Premium, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'Id': Id }); getTypeName() => "HomepageTemplate"; TypeContext? context = _ctx; } class HeroSectionStyle extends BaseModel implements IConvertible { // @Required() String? Name; String? Description; DateTime? ModifiedDate; // @Required() int? Id; HeroSectionStyle({this.Name,this.Description,this.ModifiedDate,this.Id}); HeroSectionStyle.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Name = json['Name']; Description = json['Description']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'Name': Name, 'Description': Description, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'Id': Id }); getTypeName() => "HeroSectionStyle"; TypeContext? context = _ctx; } class HomepageSetting extends BaseModel implements ICompany, IConvertible { // @Ignore() List? HomepageTemplateOptions; // @Ignore() List? HomepageHeroSectionStyleOptions; // @Ignore() String? CompanyId; String? WelcomePageHeading; String? WelcomePageBody; String? AboutUsPageHeading; String? AboutUsPageBody; // @Required() int? HomePageTemplateId; String? ImageUrl; // @Required() DateTime? Updated; // @Required() DateTime? Created; String? HomepageHeading; // @Required() int? HeroSectionStyleId; DateTime? ModifiedDate; // @Required() bool? ShowRating; // @Required() bool? EnableHomepage; // @Required() String? Id; HomepageSetting({this.HomepageTemplateOptions,this.HomepageHeroSectionStyleOptions,this.CompanyId,this.WelcomePageHeading,this.WelcomePageBody,this.AboutUsPageHeading,this.AboutUsPageBody,this.HomePageTemplateId,this.ImageUrl,this.Updated,this.Created,this.HomepageHeading,this.HeroSectionStyleId,this.ModifiedDate,this.ShowRating,this.EnableHomepage,this.Id}); HomepageSetting.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); HomepageTemplateOptions = JsonConverters.fromJson(json['HomepageTemplateOptions'],'List',context!); HomepageHeroSectionStyleOptions = JsonConverters.fromJson(json['HomepageHeroSectionStyleOptions'],'List',context!); CompanyId = json['CompanyId']; WelcomePageHeading = json['WelcomePageHeading']; WelcomePageBody = json['WelcomePageBody']; AboutUsPageHeading = json['AboutUsPageHeading']; AboutUsPageBody = json['AboutUsPageBody']; HomePageTemplateId = json['HomePageTemplateId']; ImageUrl = json['ImageUrl']; Updated = JsonConverters.fromJson(json['Updated'],'DateTime',context!); Created = JsonConverters.fromJson(json['Created'],'DateTime',context!); HomepageHeading = json['HomepageHeading']; HeroSectionStyleId = json['HeroSectionStyleId']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); ShowRating = json['ShowRating']; EnableHomepage = json['EnableHomepage']; Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'HomepageTemplateOptions': JsonConverters.toJson(HomepageTemplateOptions,'List',context!), 'HomepageHeroSectionStyleOptions': JsonConverters.toJson(HomepageHeroSectionStyleOptions,'List',context!), 'CompanyId': CompanyId, 'WelcomePageHeading': WelcomePageHeading, 'WelcomePageBody': WelcomePageBody, 'AboutUsPageHeading': AboutUsPageHeading, 'AboutUsPageBody': AboutUsPageBody, 'HomePageTemplateId': HomePageTemplateId, 'ImageUrl': ImageUrl, 'Updated': JsonConverters.toJson(Updated,'DateTime',context!), 'Created': JsonConverters.toJson(Created,'DateTime',context!), 'HomepageHeading': HomepageHeading, 'HeroSectionStyleId': HeroSectionStyleId, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'ShowRating': ShowRating, 'EnableHomepage': EnableHomepage, 'Id': Id }); getTypeName() => "HomepageSetting"; TypeContext? context = _ctx; } class AverageRatingScore implements IConvertible { double? AverageScore; int? Score1Count; int? Score2Count; int? Score3Count; int? Score4Count; int? Score5Count; int? Count; AverageRatingScore({this.AverageScore,this.Score1Count,this.Score2Count,this.Score3Count,this.Score4Count,this.Score5Count,this.Count}); AverageRatingScore.fromJson(Map json) { fromMap(json); } fromMap(Map json) { AverageScore = JsonConverters.toDouble(json['AverageScore']); Score1Count = json['Score1Count']; Score2Count = json['Score2Count']; Score3Count = json['Score3Count']; Score4Count = json['Score4Count']; Score5Count = json['Score5Count']; Count = json['Count']; return this; } Map toJson() => { 'AverageScore': AverageScore, 'Score1Count': Score1Count, 'Score2Count': Score2Count, 'Score3Count': Score3Count, 'Score4Count': Score4Count, 'Score5Count': Score5Count, 'Count': Count }; getTypeName() => "AverageRatingScore"; TypeContext? context = _ctx; } class Review extends BaseModel implements IConvertible { String? ReviewId; // @Required() String? CompanyId; // @Required() String? Title; // @Required() String? Description; // @Required() String? Author; // @Required() int? Status; // @Required() DateTime? Created; // @Required() DateTime? Updated; DateTime? ModifiedDate; String? ReviewAnswer; Review({this.ReviewId,this.CompanyId,this.Title,this.Description,this.Author,this.Status,this.Created,this.Updated,this.ModifiedDate,this.ReviewAnswer}); Review.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); ReviewId = json['ReviewId']; CompanyId = json['CompanyId']; Title = json['Title']; Description = json['Description']; Author = json['Author']; Status = json['Status']; Created = JsonConverters.fromJson(json['Created'],'DateTime',context!); Updated = JsonConverters.fromJson(json['Updated'],'DateTime',context!); ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); ReviewAnswer = json['ReviewAnswer']; return this; } Map toJson() => super.toJson()..addAll({ 'ReviewId': ReviewId, 'CompanyId': CompanyId, 'Title': Title, 'Description': Description, 'Author': Author, 'Status': Status, 'Created': JsonConverters.toJson(Created,'DateTime',context!), 'Updated': JsonConverters.toJson(Updated,'DateTime',context!), 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'ReviewAnswer': ReviewAnswer }); getTypeName() => "Review"; TypeContext? context = _ctx; } class Rating extends BaseModel implements IConvertible { String? ReviewId; Review? Review; // @Required() String? CompanyId; // @Required() int? BookingId; // @Required() int? RatingScore; // @Required() int? Status; // @Required() DateTime? Created; // @Required() DateTime? Updated; DateTime? ModifiedDate; Rating({this.ReviewId,this.Review,this.CompanyId,this.BookingId,this.RatingScore,this.Status,this.Created,this.Updated,this.ModifiedDate}); Rating.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); ReviewId = json['ReviewId']; Review = JsonConverters.fromJson(json['Review'],'Review',context!); CompanyId = json['CompanyId']; BookingId = json['BookingId']; RatingScore = json['RatingScore']; Status = json['Status']; Created = JsonConverters.fromJson(json['Created'],'DateTime',context!); Updated = JsonConverters.fromJson(json['Updated'],'DateTime',context!); ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); return this; } Map toJson() => super.toJson()..addAll({ 'ReviewId': ReviewId, 'Review': JsonConverters.toJson(Review,'Review',context!), 'CompanyId': CompanyId, 'BookingId': BookingId, 'RatingScore': RatingScore, 'Status': Status, 'Created': JsonConverters.toJson(Created,'DateTime',context!), 'Updated': JsonConverters.toJson(Updated,'DateTime',context!), 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!) }); getTypeName() => "Rating"; TypeContext? context = _ctx; } class LicenseTypeItem extends BaseModel implements IConvertible { // @Ignore() String? Name; // @Ignore() LicenseType? LicenseType; // @Required() int? LicenseTypesId; // @Required() int? LicenseItemsId; // @Required() int? NumberOfItems; int? Id; DateTime? ModifiedDate; LicenseTypeItem({this.Name,this.LicenseType,this.LicenseTypesId,this.LicenseItemsId,this.NumberOfItems,this.Id,this.ModifiedDate}); LicenseTypeItem.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Name = json['Name']; LicenseType = JsonConverters.fromJson(json['LicenseType'],'LicenseType',context!); LicenseTypesId = json['LicenseTypesId']; LicenseItemsId = json['LicenseItemsId']; NumberOfItems = json['NumberOfItems']; Id = json['Id']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); return this; } Map toJson() => super.toJson()..addAll({ 'Name': Name, 'LicenseType': JsonConverters.toJson(LicenseType,'LicenseType',context!), 'LicenseTypesId': LicenseTypesId, 'LicenseItemsId': LicenseItemsId, 'NumberOfItems': NumberOfItems, 'Id': Id, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!) }); getTypeName() => "LicenseTypeItem"; TypeContext? context = _ctx; } enum Currency { SEK, EUR, } class Country extends BaseModel implements IConvertible { // @References(typeof(Currency)) String? CurrencyId; Currency? CurrencyInfo; // @Required() String? Name; String? Culture; String? TimeZone; DateTime? ModifiedDate; // @Required() String? Id; Country({this.CurrencyId,this.CurrencyInfo,this.Name,this.Culture,this.TimeZone,this.ModifiedDate,this.Id}); Country.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); CurrencyId = json['CurrencyId']; CurrencyInfo = JsonConverters.fromJson(json['CurrencyInfo'],'Currency',context!); Name = json['Name']; Culture = json['Culture']; TimeZone = json['TimeZone']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'CurrencyId': CurrencyId, 'CurrencyInfo': JsonConverters.toJson(CurrencyInfo,'Currency',context!), 'Name': Name, 'Culture': Culture, 'TimeZone': TimeZone, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'Id': Id }); getTypeName() => "Country"; TypeContext? context = _ctx; } class LicensePrice extends BaseModel implements IConvertible { // @Ignore() Country? Country; // @Ignore() bool? MonthlyPayment; // @Required() int? LicenseTypeId; // @Required() String? CountryId; // @Required() int? Price; DateTime? ModifiedDate; LicensePrice({this.Country,this.MonthlyPayment,this.LicenseTypeId,this.CountryId,this.Price,this.ModifiedDate}); LicensePrice.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Country = JsonConverters.fromJson(json['Country'],'Country',context!); MonthlyPayment = json['MonthlyPayment']; LicenseTypeId = json['LicenseTypeId']; CountryId = json['CountryId']; Price = json['Price']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); return this; } Map toJson() => super.toJson()..addAll({ 'Country': JsonConverters.toJson(Country,'Country',context!), 'MonthlyPayment': MonthlyPayment, 'LicenseTypeId': LicenseTypeId, 'CountryId': CountryId, 'Price': Price, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!) }); getTypeName() => "LicensePrice"; TypeContext? context = _ctx; } class LicenseType extends BaseModel implements IConvertible { // @Ignore() List? LicenseItems; // @Ignore() List? Prices; // @Ignore() int? PeriodOfNoticeDays; // @Ignore() LicenseType? NextLicenseOption; // @Required() String? Name; // @Required() String? Description; // @Required() bool? ExtraLicenseOption; DateTime? ModifiedDate; bool? Active; int? Id; LicenseType({this.LicenseItems,this.Prices,this.PeriodOfNoticeDays,this.NextLicenseOption,this.Name,this.Description,this.ExtraLicenseOption,this.ModifiedDate,this.Active,this.Id}); LicenseType.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); LicenseItems = JsonConverters.fromJson(json['LicenseItems'],'List',context!); Prices = JsonConverters.fromJson(json['Prices'],'List',context!); PeriodOfNoticeDays = json['PeriodOfNoticeDays']; NextLicenseOption = JsonConverters.fromJson(json['NextLicenseOption'],'LicenseType',context!); Name = json['Name']; Description = json['Description']; ExtraLicenseOption = json['ExtraLicenseOption']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); Active = json['Active']; Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'LicenseItems': JsonConverters.toJson(LicenseItems,'List',context!), 'Prices': JsonConverters.toJson(Prices,'List',context!), 'PeriodOfNoticeDays': PeriodOfNoticeDays, 'NextLicenseOption': JsonConverters.toJson(NextLicenseOption,'LicenseType',context!), 'Name': Name, 'Description': Description, 'ExtraLicenseOption': ExtraLicenseOption, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'Active': Active, 'Id': Id }); getTypeName() => "LicenseType"; TypeContext? context = _ctx; } class License extends BaseModel implements IConvertible { LicenseType? Type; // @Required() String? CompanyId; int? Id; // @Required() int? TypeId; // @Required() DateTime? ValidFrom; // @Required() DateTime? ValidTo; // @Required() bool? Active; // @Required() DateTime? Updated; // @Required() DateTime? Created; DateTime? ModifiedDate; String? MetaData; License({this.Type,this.CompanyId,this.Id,this.TypeId,this.ValidFrom,this.ValidTo,this.Active,this.Updated,this.Created,this.ModifiedDate,this.MetaData}); License.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Type = JsonConverters.fromJson(json['Type'],'LicenseType',context!); CompanyId = json['CompanyId']; Id = json['Id']; TypeId = json['TypeId']; ValidFrom = JsonConverters.fromJson(json['ValidFrom'],'DateTime',context!); ValidTo = JsonConverters.fromJson(json['ValidTo'],'DateTime',context!); Active = json['Active']; Updated = JsonConverters.fromJson(json['Updated'],'DateTime',context!); Created = JsonConverters.fromJson(json['Created'],'DateTime',context!); ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); MetaData = json['MetaData']; return this; } Map toJson() => super.toJson()..addAll({ 'Type': JsonConverters.toJson(Type,'LicenseType',context!), 'CompanyId': CompanyId, 'Id': Id, 'TypeId': TypeId, 'ValidFrom': JsonConverters.toJson(ValidFrom,'DateTime',context!), 'ValidTo': JsonConverters.toJson(ValidTo,'DateTime',context!), 'Active': Active, 'Updated': JsonConverters.toJson(Updated,'DateTime',context!), 'Created': JsonConverters.toJson(Created,'DateTime',context!), 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'MetaData': MetaData }); getTypeName() => "License"; TypeContext? context = _ctx; } class CompanyCategory extends BaseModel implements IConvertible { // @Required() String? Name; // @Required() String? Header; // @Required() String? Description; Uri? ImageUrl; // @Required() bool? Active; int? SortOrder; DateTime? ModifiedDate; int? Id; CompanyCategory({this.Name,this.Header,this.Description,this.ImageUrl,this.Active,this.SortOrder,this.ModifiedDate,this.Id}); CompanyCategory.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Name = json['Name']; Header = json['Header']; Description = json['Description']; ImageUrl = JsonConverters.fromJson(json['ImageUrl'],'Uri',context!); Active = json['Active']; SortOrder = json['SortOrder']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'Name': Name, 'Header': Header, 'Description': Description, 'ImageUrl': JsonConverters.toJson(ImageUrl,'Uri',context!), 'Active': Active, 'SortOrder': SortOrder, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'Id': Id }); getTypeName() => "CompanyCategory"; TypeContext? context = _ctx; } class Company extends BaseModel implements IConvertible { // @Ignore() CompanyStatus? Status; // @Ignore() bool? Active; // @Ignore() List? CustomerCustomFieldsConfig; // @Ignore() String? BookingAgreements; // @Ignore() BookingSettings? BookingSettings; // @Ignore() CompanyType? CompanyType; // @Ignore() CodeLockSetting? CodeLockSettings; // @Ignore() PaymentSetting? PaymentSettings; // @Ignore() CompanySetting? Settings; // @Ignore() HomepageWidgetSetting? WidgetSettings; // @Ignore() HomepageSetting? HomepageSettings; // @Ignore() AverageRatingScore? RatingScore; // @Ignore() List? Ratings; // @Ignore() double? Distance; // @Ignore() List? Licenses; // @Ignore() List? ActiveLicenses; // @Ignore() License? CurrentLicense; // @Ignore() bool? IsFreeAccount; // @Ignore() CultureInfo? DefaultLanguage; CompanyCategory? Category; // @Ignore() double? Lat; // @Ignore() double? Lon; // @Ignore() bool? IsFavorite; // @Ignore() List? ExternalReferences; // @Required() String? OrganisationNumber; // @Required() int? StatusId; // @Required() int? CategoryId; // @Required() String? SitePath; // @Required() String? Name; String? Street1; String? Street2; String? ZipCode; String? City; String? OpeningHours; String? FaxNumber; // @Required() String? Email; String? Phone; String? Details; String? LogoType; // @Required() bool? ApprovedByAdmin; // @Required() DateTime? Updated; // @Required() DateTime? Created; String? IpAddress; String? Homepage; String? DomainName; // @Required() String? CountryId; // @Required() int? CompanyOwnerId; int? TypeId; DateTime? ModifiedDate; // @Required() String? Id; Company({this.Status,this.Active,this.CustomerCustomFieldsConfig,this.BookingAgreements,this.BookingSettings,this.CompanyType,this.CodeLockSettings,this.PaymentSettings,this.Settings,this.WidgetSettings,this.HomepageSettings,this.RatingScore,this.Ratings,this.Distance,this.Licenses,this.ActiveLicenses,this.CurrentLicense,this.IsFreeAccount,this.DefaultLanguage,this.Category,this.Lat,this.Lon,this.IsFavorite,this.ExternalReferences,this.OrganisationNumber,this.StatusId,this.CategoryId,this.SitePath,this.Name,this.Street1,this.Street2,this.ZipCode,this.City,this.OpeningHours,this.FaxNumber,this.Email,this.Phone,this.Details,this.LogoType,this.ApprovedByAdmin,this.Updated,this.Created,this.IpAddress,this.Homepage,this.DomainName,this.CountryId,this.CompanyOwnerId,this.TypeId,this.ModifiedDate,this.Id}); Company.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Status = JsonConverters.fromJson(json['Status'],'CompanyStatus',context!); Active = json['Active']; CustomerCustomFieldsConfig = JsonConverters.fromJson(json['CustomerCustomFieldsConfig'],'List',context!); BookingAgreements = json['BookingAgreements']; BookingSettings = JsonConverters.fromJson(json['BookingSettings'],'BookingSettings',context!); CompanyType = JsonConverters.fromJson(json['CompanyType'],'CompanyType',context!); CodeLockSettings = JsonConverters.fromJson(json['CodeLockSettings'],'CodeLockSetting',context!); PaymentSettings = JsonConverters.fromJson(json['PaymentSettings'],'PaymentSetting',context!); Settings = JsonConverters.fromJson(json['Settings'],'CompanySetting',context!); WidgetSettings = JsonConverters.fromJson(json['WidgetSettings'],'HomepageWidgetSetting',context!); HomepageSettings = JsonConverters.fromJson(json['HomepageSettings'],'HomepageSetting',context!); RatingScore = JsonConverters.fromJson(json['RatingScore'],'AverageRatingScore',context!); Ratings = JsonConverters.fromJson(json['Ratings'],'List',context!); Distance = JsonConverters.toDouble(json['Distance']); Licenses = JsonConverters.fromJson(json['Licenses'],'List',context!); ActiveLicenses = JsonConverters.fromJson(json['ActiveLicenses'],'List',context!); CurrentLicense = JsonConverters.fromJson(json['CurrentLicense'],'License',context!); IsFreeAccount = json['IsFreeAccount']; DefaultLanguage = JsonConverters.fromJson(json['DefaultLanguage'],'CultureInfo',context!); Category = JsonConverters.fromJson(json['Category'],'CompanyCategory',context!); Lat = JsonConverters.toDouble(json['Lat']); Lon = JsonConverters.toDouble(json['Lon']); IsFavorite = json['IsFavorite']; ExternalReferences = JsonConverters.fromJson(json['ExternalReferences'],'List',context!); OrganisationNumber = json['OrganisationNumber']; StatusId = json['StatusId']; CategoryId = json['CategoryId']; SitePath = json['SitePath']; Name = json['Name']; Street1 = json['Street1']; Street2 = json['Street2']; ZipCode = json['ZipCode']; City = json['City']; OpeningHours = json['OpeningHours']; FaxNumber = json['FaxNumber']; Email = json['Email']; Phone = json['Phone']; Details = json['Details']; LogoType = json['LogoType']; ApprovedByAdmin = json['ApprovedByAdmin']; Updated = JsonConverters.fromJson(json['Updated'],'DateTime',context!); Created = JsonConverters.fromJson(json['Created'],'DateTime',context!); IpAddress = json['IpAddress']; Homepage = json['Homepage']; DomainName = json['DomainName']; CountryId = json['CountryId']; CompanyOwnerId = json['CompanyOwnerId']; TypeId = json['TypeId']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'Status': JsonConverters.toJson(Status,'CompanyStatus',context!), 'Active': Active, 'CustomerCustomFieldsConfig': JsonConverters.toJson(CustomerCustomFieldsConfig,'List',context!), 'BookingAgreements': BookingAgreements, 'BookingSettings': JsonConverters.toJson(BookingSettings,'BookingSettings',context!), 'CompanyType': JsonConverters.toJson(CompanyType,'CompanyType',context!), 'CodeLockSettings': JsonConverters.toJson(CodeLockSettings,'CodeLockSetting',context!), 'PaymentSettings': JsonConverters.toJson(PaymentSettings,'PaymentSetting',context!), 'Settings': JsonConverters.toJson(Settings,'CompanySetting',context!), 'WidgetSettings': JsonConverters.toJson(WidgetSettings,'HomepageWidgetSetting',context!), 'HomepageSettings': JsonConverters.toJson(HomepageSettings,'HomepageSetting',context!), 'RatingScore': JsonConverters.toJson(RatingScore,'AverageRatingScore',context!), 'Ratings': JsonConverters.toJson(Ratings,'List',context!), 'Distance': Distance, 'Licenses': JsonConverters.toJson(Licenses,'List',context!), 'ActiveLicenses': JsonConverters.toJson(ActiveLicenses,'List',context!), 'CurrentLicense': JsonConverters.toJson(CurrentLicense,'License',context!), 'IsFreeAccount': IsFreeAccount, 'DefaultLanguage': JsonConverters.toJson(DefaultLanguage,'CultureInfo',context!), 'Category': JsonConverters.toJson(Category,'CompanyCategory',context!), 'Lat': Lat, 'Lon': Lon, 'IsFavorite': IsFavorite, 'ExternalReferences': JsonConverters.toJson(ExternalReferences,'List',context!), 'OrganisationNumber': OrganisationNumber, 'StatusId': StatusId, 'CategoryId': CategoryId, 'SitePath': SitePath, 'Name': Name, 'Street1': Street1, 'Street2': Street2, 'ZipCode': ZipCode, 'City': City, 'OpeningHours': OpeningHours, 'FaxNumber': FaxNumber, 'Email': Email, 'Phone': Phone, 'Details': Details, 'LogoType': LogoType, 'ApprovedByAdmin': ApprovedByAdmin, 'Updated': JsonConverters.toJson(Updated,'DateTime',context!), 'Created': JsonConverters.toJson(Created,'DateTime',context!), 'IpAddress': IpAddress, 'Homepage': Homepage, 'DomainName': DomainName, 'CountryId': CountryId, 'CompanyOwnerId': CompanyOwnerId, 'TypeId': TypeId, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'Id': Id }); getTypeName() => "Company"; TypeContext? context = _ctx; } class CustomFieldDataResponse implements IConvertible { int? Id; String? Column; String? Name; String? Description; String? Value; /** * Data field of custom field. Valid values are: TextBox, ... Example: 'TextBox' */ // @ApiMember(Description="Data field of custom field. Valid values are: TextBox, ... Example: 'TextBox'") String? DataType; CustomFieldDataResponse({this.Id,this.Column,this.Name,this.Description,this.Value,this.DataType}); CustomFieldDataResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; Column = json['Column']; Name = json['Name']; Description = json['Description']; Value = json['Value']; DataType = json['DataType']; return this; } Map toJson() => { 'Id': Id, 'Column': Column, 'Name': Name, 'Description': Description, 'Value': Value, 'DataType': DataType }; getTypeName() => "CustomFieldDataResponse"; TypeContext? context = _ctx; } class Customer implements IConvertible { String? City; String? CountryCode; String? IdentityNumber; String? Email; String? FirstName; String? LastName; String? Phone; String? PostalCode; String? Street; String? Reference; CustomerType? Type; Customer({this.City,this.CountryCode,this.IdentityNumber,this.Email,this.FirstName,this.LastName,this.Phone,this.PostalCode,this.Street,this.Reference,this.Type}); Customer.fromJson(Map json) { fromMap(json); } fromMap(Map json) { City = json['City']; CountryCode = json['CountryCode']; IdentityNumber = json['IdentityNumber']; Email = json['Email']; FirstName = json['FirstName']; LastName = json['LastName']; Phone = json['Phone']; PostalCode = json['PostalCode']; Street = json['Street']; Reference = json['Reference']; Type = JsonConverters.fromJson(json['Type'],'CustomerType',context!); return this; } Map toJson() => { 'City': City, 'CountryCode': CountryCode, 'IdentityNumber': IdentityNumber, 'Email': Email, 'FirstName': FirstName, 'LastName': LastName, 'Phone': Phone, 'PostalCode': PostalCode, 'Street': Street, 'Reference': Reference, 'Type': JsonConverters.toJson(Type,'CustomerType',context!) }; getTypeName() => "Customer"; TypeContext? context = _ctx; } enum ItemType { Physical, Service, Fee, Discount, } class Item implements IConvertible { String? ItemId; double? DiscountRate; String? Ean; Uri? ImageUri; String? Name; double? Quantity; String? Reference; double? TaxRate; double? TotalPriceExcludingTax; double? TotalPriceIncludingTax; double? TotalTaxAmount; double? CreditedAmount; ItemType? Type; double? UnitPrice; Uri? Uri; Item({this.ItemId,this.DiscountRate,this.Ean,this.ImageUri,this.Name,this.Quantity,this.Reference,this.TaxRate,this.TotalPriceExcludingTax,this.TotalPriceIncludingTax,this.TotalTaxAmount,this.CreditedAmount,this.Type,this.UnitPrice,this.Uri}); Item.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ItemId = json['ItemId']; DiscountRate = JsonConverters.toDouble(json['DiscountRate']); Ean = json['Ean']; ImageUri = JsonConverters.fromJson(json['ImageUri'],'Uri',context!); Name = json['Name']; Quantity = JsonConverters.toDouble(json['Quantity']); Reference = json['Reference']; TaxRate = JsonConverters.toDouble(json['TaxRate']); TotalPriceExcludingTax = JsonConverters.toDouble(json['TotalPriceExcludingTax']); TotalPriceIncludingTax = JsonConverters.toDouble(json['TotalPriceIncludingTax']); TotalTaxAmount = JsonConverters.toDouble(json['TotalTaxAmount']); CreditedAmount = JsonConverters.toDouble(json['CreditedAmount']); Type = JsonConverters.fromJson(json['Type'],'ItemType',context!); UnitPrice = JsonConverters.toDouble(json['UnitPrice']); Uri = JsonConverters.fromJson(json['Uri'],'Uri',context!); return this; } Map toJson() => { 'ItemId': ItemId, 'DiscountRate': DiscountRate, 'Ean': Ean, 'ImageUri': JsonConverters.toJson(ImageUri,'Uri',context!), 'Name': Name, 'Quantity': Quantity, 'Reference': Reference, 'TaxRate': TaxRate, 'TotalPriceExcludingTax': TotalPriceExcludingTax, 'TotalPriceIncludingTax': TotalPriceIncludingTax, 'TotalTaxAmount': TotalTaxAmount, 'CreditedAmount': CreditedAmount, 'Type': JsonConverters.toJson(Type,'ItemType',context!), 'UnitPrice': UnitPrice, 'Uri': JsonConverters.toJson(Uri,'Uri',context!) }; getTypeName() => "Item"; TypeContext? context = _ctx; } class Order implements IConvertible { Currency? Currency; double? TotalFeeExcludingTax; double? TotalFeeIncludingTax; double? TotalPriceExcludingTax; double? TotalPriceIncludingTax; double? TotalTaxAmount; double? TotalCreditedAmount; List? Items; Order({this.Currency,this.TotalFeeExcludingTax,this.TotalFeeIncludingTax,this.TotalPriceExcludingTax,this.TotalPriceIncludingTax,this.TotalTaxAmount,this.TotalCreditedAmount,this.Items}); Order.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Currency = JsonConverters.fromJson(json['Currency'],'Currency',context!); TotalFeeExcludingTax = JsonConverters.toDouble(json['TotalFeeExcludingTax']); TotalFeeIncludingTax = JsonConverters.toDouble(json['TotalFeeIncludingTax']); TotalPriceExcludingTax = JsonConverters.toDouble(json['TotalPriceExcludingTax']); TotalPriceIncludingTax = JsonConverters.toDouble(json['TotalPriceIncludingTax']); TotalTaxAmount = JsonConverters.toDouble(json['TotalTaxAmount']); TotalCreditedAmount = JsonConverters.toDouble(json['TotalCreditedAmount']); Items = JsonConverters.fromJson(json['Items'],'List',context!); return this; } Map toJson() => { 'Currency': JsonConverters.toJson(Currency,'Currency',context!), 'TotalFeeExcludingTax': TotalFeeExcludingTax, 'TotalFeeIncludingTax': TotalFeeIncludingTax, 'TotalPriceExcludingTax': TotalPriceExcludingTax, 'TotalPriceIncludingTax': TotalPriceIncludingTax, 'TotalTaxAmount': TotalTaxAmount, 'TotalCreditedAmount': TotalCreditedAmount, 'Items': JsonConverters.toJson(Items,'List',context!) }; getTypeName() => "Order"; TypeContext? context = _ctx; } class Merchant implements IConvertible { Uri? CheckoutUri; Uri? ConfirmationUri; Uri? NotificationUri; Uri? ValidationUri; Uri? TermsUri; String? Reference; String? PartnerId; Merchant({this.CheckoutUri,this.ConfirmationUri,this.NotificationUri,this.ValidationUri,this.TermsUri,this.Reference,this.PartnerId}); Merchant.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CheckoutUri = JsonConverters.fromJson(json['CheckoutUri'],'Uri',context!); ConfirmationUri = JsonConverters.fromJson(json['ConfirmationUri'],'Uri',context!); NotificationUri = JsonConverters.fromJson(json['NotificationUri'],'Uri',context!); ValidationUri = JsonConverters.fromJson(json['ValidationUri'],'Uri',context!); TermsUri = JsonConverters.fromJson(json['TermsUri'],'Uri',context!); Reference = json['Reference']; PartnerId = json['PartnerId']; return this; } Map toJson() => { 'CheckoutUri': JsonConverters.toJson(CheckoutUri,'Uri',context!), 'ConfirmationUri': JsonConverters.toJson(ConfirmationUri,'Uri',context!), 'NotificationUri': JsonConverters.toJson(NotificationUri,'Uri',context!), 'ValidationUri': JsonConverters.toJson(ValidationUri,'Uri',context!), 'TermsUri': JsonConverters.toJson(TermsUri,'Uri',context!), 'Reference': Reference, 'PartnerId': PartnerId }; getTypeName() => "Merchant"; TypeContext? context = _ctx; } enum ColorScheme { White, Blue, Gray, GrayTextLogos, BlueTextLogos, WhiteTextLogos, WhiteNoFooter, GrayNoFooter, BlueNoFooter, } class Gui implements IConvertible { ColorScheme? ColorScheme; String? Locale; bool? RequestPhone; bool? PhoneOptional; Gui({this.ColorScheme,this.Locale,this.RequestPhone,this.PhoneOptional}); Gui.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ColorScheme = JsonConverters.fromJson(json['ColorScheme'],'ColorScheme',context!); Locale = json['Locale']; RequestPhone = json['RequestPhone']; PhoneOptional = json['PhoneOptional']; return this; } Map toJson() => { 'ColorScheme': JsonConverters.toJson(ColorScheme,'ColorScheme',context!), 'Locale': Locale, 'RequestPhone': RequestPhone, 'PhoneOptional': PhoneOptional }; getTypeName() => "Gui"; TypeContext? context = _ctx; } class History implements IConvertible { DateTime? Created; DateTime? ReadyToPay; DateTime? ReadyToShip; DateTime? Shipped; DateTime? PaidToAccount; DateTime? Canceled; DateTime? Expired; DateTime? Denied; History({this.Created,this.ReadyToPay,this.ReadyToShip,this.Shipped,this.PaidToAccount,this.Canceled,this.Expired,this.Denied}); History.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Created = JsonConverters.fromJson(json['Created'],'DateTime',context!); ReadyToPay = JsonConverters.fromJson(json['ReadyToPay'],'DateTime',context!); ReadyToShip = JsonConverters.fromJson(json['ReadyToShip'],'DateTime',context!); Shipped = JsonConverters.fromJson(json['Shipped'],'DateTime',context!); PaidToAccount = JsonConverters.fromJson(json['PaidToAccount'],'DateTime',context!); Canceled = JsonConverters.fromJson(json['Canceled'],'DateTime',context!); Expired = JsonConverters.fromJson(json['Expired'],'DateTime',context!); Denied = JsonConverters.fromJson(json['Denied'],'DateTime',context!); return this; } Map toJson() => { 'Created': JsonConverters.toJson(Created,'DateTime',context!), 'ReadyToPay': JsonConverters.toJson(ReadyToPay,'DateTime',context!), 'ReadyToShip': JsonConverters.toJson(ReadyToShip,'DateTime',context!), 'Shipped': JsonConverters.toJson(Shipped,'DateTime',context!), 'PaidToAccount': JsonConverters.toJson(PaidToAccount,'DateTime',context!), 'Canceled': JsonConverters.toJson(Canceled,'DateTime',context!), 'Expired': JsonConverters.toJson(Expired,'DateTime',context!), 'Denied': JsonConverters.toJson(Denied,'DateTime',context!) }; getTypeName() => "History"; TypeContext? context = _ctx; } class Payson2CheckoutResponse implements IConvertible { String? Id; DateTime? ExpirationTime; String? Snippet; Payson2CheckoutStatus? Status; Customer? Customer; Order? Order; Merchant? Merchant; Gui? Gui; History? History; int? PurchaseId; Payson2CheckoutResponse({this.Id,this.ExpirationTime,this.Snippet,this.Status,this.Customer,this.Order,this.Merchant,this.Gui,this.History,this.PurchaseId}); Payson2CheckoutResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; ExpirationTime = JsonConverters.fromJson(json['ExpirationTime'],'DateTime',context!); Snippet = json['Snippet']; Status = JsonConverters.fromJson(json['Status'],'Payson2CheckoutStatus',context!); Customer = JsonConverters.fromJson(json['Customer'],'Customer',context!); Order = JsonConverters.fromJson(json['Order'],'Order',context!); Merchant = JsonConverters.fromJson(json['Merchant'],'Merchant',context!); Gui = JsonConverters.fromJson(json['Gui'],'Gui',context!); History = JsonConverters.fromJson(json['History'],'History',context!); PurchaseId = json['PurchaseId']; return this; } Map toJson() => { 'Id': Id, 'ExpirationTime': JsonConverters.toJson(ExpirationTime,'DateTime',context!), 'Snippet': Snippet, 'Status': JsonConverters.toJson(Status,'Payson2CheckoutStatus',context!), 'Customer': JsonConverters.toJson(Customer,'Customer',context!), 'Order': JsonConverters.toJson(Order,'Order',context!), 'Merchant': JsonConverters.toJson(Merchant,'Merchant',context!), 'Gui': JsonConverters.toJson(Gui,'Gui',context!), 'History': JsonConverters.toJson(History,'History',context!), 'PurchaseId': PurchaseId }; getTypeName() => "Payson2CheckoutResponse"; TypeContext? context = _ctx; } abstract class IPaysonPaymentCheckout1 { } class PaymentLog extends BaseModel implements IConvertible { // @References(typeof(Currency)) String? CurrencyId; Currency? CurrencyInfo; // @Required() String? CompanyId; int? Id; // @Required() String? InternalReferenceId; // @Required() int? ArticleTypeId; String? PaymentReferenceId; int? PaymentProviderId; String? OrderItemReferenceId; double? Amount; double? VAT; double? AmountCredited; String? Comments; // @Required() DateTime? Created; // @Required() DateTime? Updated; DateTime? ModifiedDate; PaymentLog({this.CurrencyId,this.CurrencyInfo,this.CompanyId,this.Id,this.InternalReferenceId,this.ArticleTypeId,this.PaymentReferenceId,this.PaymentProviderId,this.OrderItemReferenceId,this.Amount,this.VAT,this.AmountCredited,this.Comments,this.Created,this.Updated,this.ModifiedDate}); PaymentLog.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); CurrencyId = json['CurrencyId']; CurrencyInfo = JsonConverters.fromJson(json['CurrencyInfo'],'Currency',context!); CompanyId = json['CompanyId']; Id = json['Id']; InternalReferenceId = json['InternalReferenceId']; ArticleTypeId = json['ArticleTypeId']; PaymentReferenceId = json['PaymentReferenceId']; PaymentProviderId = json['PaymentProviderId']; OrderItemReferenceId = json['OrderItemReferenceId']; Amount = JsonConverters.toDouble(json['Amount']); VAT = JsonConverters.toDouble(json['VAT']); AmountCredited = JsonConverters.toDouble(json['AmountCredited']); Comments = json['Comments']; Created = JsonConverters.fromJson(json['Created'],'DateTime',context!); Updated = JsonConverters.fromJson(json['Updated'],'DateTime',context!); ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); return this; } Map toJson() => super.toJson()..addAll({ 'CurrencyId': CurrencyId, 'CurrencyInfo': JsonConverters.toJson(CurrencyInfo,'Currency',context!), 'CompanyId': CompanyId, 'Id': Id, 'InternalReferenceId': InternalReferenceId, 'ArticleTypeId': ArticleTypeId, 'PaymentReferenceId': PaymentReferenceId, 'PaymentProviderId': PaymentProviderId, 'OrderItemReferenceId': OrderItemReferenceId, 'Amount': Amount, 'VAT': VAT, 'AmountCredited': AmountCredited, 'Comments': Comments, 'Created': JsonConverters.toJson(Created,'DateTime',context!), 'Updated': JsonConverters.toJson(Updated,'DateTime',context!), 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!) }); getTypeName() => "PaymentLog"; TypeContext? context = _ctx; } abstract class PayableEntity extends BaseModel implements IPayableEntity { // @Ignore() IDbConnectionFactory? DbFactory; // @Ignore() IBokameraPaymentManager? QvicklyPaymentManager; // @Ignore() IBokameraPaymentManager? Payson2PaymentManager; // @Ignore() IPaysonPaymentCheckout1? PaysonPaymentCheckout1; // @Ignore() ILogger1? Logger; // @Ignore() String? InternalReferenceId; // @Ignore() List? PaymentLog; String? CompanyId; double? PriceVat; // @References(typeof(Currency)) String? CurrencyId; // @Ignore() Customer? Customer; // @Ignore() List? Customers; // @Ignore() Company? Company; PayableEntity({this.DbFactory,this.QvicklyPaymentManager,this.Payson2PaymentManager,this.PaysonPaymentCheckout1,this.Logger,this.InternalReferenceId,this.PaymentLog,this.CompanyId,this.PriceVat,this.CurrencyId,this.Customer,this.Customers,this.Company}); PayableEntity.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); DbFactory = JsonConverters.fromJson(json['DbFactory'],'IDbConnectionFactory',context!); QvicklyPaymentManager = JsonConverters.fromJson(json['QvicklyPaymentManager'],'IBokameraPaymentManager',context!); Payson2PaymentManager = JsonConverters.fromJson(json['Payson2PaymentManager'],'IBokameraPaymentManager',context!); PaysonPaymentCheckout1 = JsonConverters.fromJson(json['PaysonPaymentCheckout1'],'IPaysonPaymentCheckout1',context!); Logger = JsonConverters.fromJson(json['Logger'],'ILogger1',context!); InternalReferenceId = json['InternalReferenceId']; PaymentLog = JsonConverters.fromJson(json['PaymentLog'],'List',context!); CompanyId = json['CompanyId']; PriceVat = JsonConverters.toDouble(json['PriceVat']); CurrencyId = json['CurrencyId']; Customer = JsonConverters.fromJson(json['Customer'],'Customer',context!); Customers = JsonConverters.fromJson(json['Customers'],'List',context!); Company = JsonConverters.fromJson(json['Company'],'Company',context!); return this; } Map toJson() => super.toJson()..addAll({ 'DbFactory': JsonConverters.toJson(DbFactory,'IDbConnectionFactory',context!), 'QvicklyPaymentManager': JsonConverters.toJson(QvicklyPaymentManager,'IBokameraPaymentManager',context!), 'Payson2PaymentManager': JsonConverters.toJson(Payson2PaymentManager,'IBokameraPaymentManager',context!), 'PaysonPaymentCheckout1': JsonConverters.toJson(PaysonPaymentCheckout1,'IPaysonPaymentCheckout1',context!), 'Logger': JsonConverters.toJson(Logger,'ILogger1',context!), 'InternalReferenceId': InternalReferenceId, 'PaymentLog': JsonConverters.toJson(PaymentLog,'List',context!), 'CompanyId': CompanyId, 'PriceVat': PriceVat, 'CurrencyId': CurrencyId, 'Customer': JsonConverters.toJson(Customer,'Customer',context!), 'Customers': JsonConverters.toJson(Customers,'List',context!), 'Company': JsonConverters.toJson(Company,'Company',context!) }); getTypeName() => "PayableEntity"; TypeContext? context = _ctx; } class CalendarExport extends BaseModel implements IConvertible { // @Required() String? CompanyId; // @Required() int? BookingId; // @Required() int? ExceptionId; bool? CalendarSync; String? CalendarId; bool? IsExceptionDeleted; DateTime? ModifiedDate; int? Id; CalendarExport({this.CompanyId,this.BookingId,this.ExceptionId,this.CalendarSync,this.CalendarId,this.IsExceptionDeleted,this.ModifiedDate,this.Id}); CalendarExport.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); CompanyId = json['CompanyId']; BookingId = json['BookingId']; ExceptionId = json['ExceptionId']; CalendarSync = json['CalendarSync']; CalendarId = json['CalendarId']; IsExceptionDeleted = json['IsExceptionDeleted']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'CompanyId': CompanyId, 'BookingId': BookingId, 'ExceptionId': ExceptionId, 'CalendarSync': CalendarSync, 'CalendarId': CalendarId, 'IsExceptionDeleted': IsExceptionDeleted, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'Id': Id }); getTypeName() => "CalendarExport"; TypeContext? context = _ctx; } class PaymentDetails extends BaseModel implements IBaseModelCreated, IBaseModelUpdated, IConvertible { // @Ignore() QvicklyCheckoutResponse? QvicklyCheckoutSerialized; // @Ignore() Payson2CheckoutResponse? Payson2CheckoutSerialized; // @Required() String? CompanyId; // @Required() String? InternalReferenceId; // @Required() int? ArticleTypeId; // @Required() String? ExternalResponseData; // @Required() String? ExternalResponseReference; // @Required() int? PaymentProviderId; // @Required() DateTime? CreatedDate; // @Required() DateTime? UpdatedDate; DateTime? ModifiedDate; PaymentDetails({this.QvicklyCheckoutSerialized,this.Payson2CheckoutSerialized,this.CompanyId,this.InternalReferenceId,this.ArticleTypeId,this.ExternalResponseData,this.ExternalResponseReference,this.PaymentProviderId,this.CreatedDate,this.UpdatedDate,this.ModifiedDate}); PaymentDetails.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); QvicklyCheckoutSerialized = JsonConverters.fromJson(json['QvicklyCheckoutSerialized'],'QvicklyCheckoutResponse',context!); Payson2CheckoutSerialized = JsonConverters.fromJson(json['Payson2CheckoutSerialized'],'Payson2CheckoutResponse',context!); CompanyId = json['CompanyId']; InternalReferenceId = json['InternalReferenceId']; ArticleTypeId = json['ArticleTypeId']; ExternalResponseData = json['ExternalResponseData']; ExternalResponseReference = json['ExternalResponseReference']; PaymentProviderId = json['PaymentProviderId']; CreatedDate = JsonConverters.fromJson(json['CreatedDate'],'DateTime',context!); UpdatedDate = JsonConverters.fromJson(json['UpdatedDate'],'DateTime',context!); ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); return this; } Map toJson() => super.toJson()..addAll({ 'QvicklyCheckoutSerialized': JsonConverters.toJson(QvicklyCheckoutSerialized,'QvicklyCheckoutResponse',context!), 'Payson2CheckoutSerialized': JsonConverters.toJson(Payson2CheckoutSerialized,'Payson2CheckoutResponse',context!), 'CompanyId': CompanyId, 'InternalReferenceId': InternalReferenceId, 'ArticleTypeId': ArticleTypeId, 'ExternalResponseData': ExternalResponseData, 'ExternalResponseReference': ExternalResponseReference, 'PaymentProviderId': PaymentProviderId, 'CreatedDate': JsonConverters.toJson(CreatedDate,'DateTime',context!), 'UpdatedDate': JsonConverters.toJson(UpdatedDate,'DateTime',context!), 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!) }); getTypeName() => "PaymentDetails"; TypeContext? context = _ctx; } class RebateCodeType extends BaseModel implements IConvertible { // @Required() String? Name; String? Description; DateTime? ModifiedDate; int? Id; RebateCodeType({this.Name,this.Description,this.ModifiedDate,this.Id}); RebateCodeType.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Name = json['Name']; Description = json['Description']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'Name': Name, 'Description': Description, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'Id': Id }); getTypeName() => "RebateCodeType"; TypeContext? context = _ctx; } class AppliedRebateCodes implements IConvertible { int? RebateCodeId; String? RebateCodeSign; int? RebateCodeValue; double? RebateAmount; RebateCodeType? RebateCodeType; AppliedRebateCodes({this.RebateCodeId,this.RebateCodeSign,this.RebateCodeValue,this.RebateAmount,this.RebateCodeType}); AppliedRebateCodes.fromJson(Map json) { fromMap(json); } fromMap(Map json) { RebateCodeId = json['RebateCodeId']; RebateCodeSign = json['RebateCodeSign']; RebateCodeValue = json['RebateCodeValue']; RebateAmount = JsonConverters.toDouble(json['RebateAmount']); RebateCodeType = JsonConverters.fromJson(json['RebateCodeType'],'RebateCodeType',context!); return this; } Map toJson() => { 'RebateCodeId': RebateCodeId, 'RebateCodeSign': RebateCodeSign, 'RebateCodeValue': RebateCodeValue, 'RebateAmount': RebateAmount, 'RebateCodeType': JsonConverters.toJson(RebateCodeType,'RebateCodeType',context!) }; getTypeName() => "AppliedRebateCodes"; TypeContext? context = _ctx; } class BookingPrice extends BaseModel implements IConvertible { // @References(typeof(Currency)) String? CurrencyId; int? ServicePriceId; Currency? CurrencyInfo; // @Ignore() String? PriceText; // @Ignore() List? AppliedCodes; // @Ignore() bool? IsRebate; // @Required() String? CompanyId; // @Required() int? BookingId; // @Required() int? Quantity; double? Price; double? VAT; String? Category; // @Required() DateTime? Updated; // @Required() DateTime? Created; // @Required() bool? Invoiced; // @Required() bool? OccupiesSpot; DateTime? ModifiedDate; int? Id; BookingPrice({this.CurrencyId,this.ServicePriceId,this.CurrencyInfo,this.PriceText,this.AppliedCodes,this.IsRebate,this.CompanyId,this.BookingId,this.Quantity,this.Price,this.VAT,this.Category,this.Updated,this.Created,this.Invoiced,this.OccupiesSpot,this.ModifiedDate,this.Id}); BookingPrice.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); CurrencyId = json['CurrencyId']; ServicePriceId = json['ServicePriceId']; CurrencyInfo = JsonConverters.fromJson(json['CurrencyInfo'],'Currency',context!); PriceText = json['PriceText']; AppliedCodes = JsonConverters.fromJson(json['AppliedCodes'],'List',context!); IsRebate = json['IsRebate']; CompanyId = json['CompanyId']; BookingId = json['BookingId']; Quantity = json['Quantity']; Price = JsonConverters.toDouble(json['Price']); VAT = JsonConverters.toDouble(json['VAT']); Category = json['Category']; Updated = JsonConverters.fromJson(json['Updated'],'DateTime',context!); Created = JsonConverters.fromJson(json['Created'],'DateTime',context!); Invoiced = json['Invoiced']; OccupiesSpot = json['OccupiesSpot']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'CurrencyId': CurrencyId, 'ServicePriceId': ServicePriceId, 'CurrencyInfo': JsonConverters.toJson(CurrencyInfo,'Currency',context!), 'PriceText': PriceText, 'AppliedCodes': JsonConverters.toJson(AppliedCodes,'List',context!), 'IsRebate': IsRebate, 'CompanyId': CompanyId, 'BookingId': BookingId, 'Quantity': Quantity, 'Price': Price, 'VAT': VAT, 'Category': Category, 'Updated': JsonConverters.toJson(Updated,'DateTime',context!), 'Created': JsonConverters.toJson(Created,'DateTime',context!), 'Invoiced': Invoiced, 'OccupiesSpot': OccupiesSpot, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'Id': Id }); getTypeName() => "BookingPrice"; TypeContext? context = _ctx; } enum BookingStatusEnum { Booked, Unbooked, Reserved, Canceled, AwaitingPayment, AwaitingPaymentNoTimeLimit, Payed, AwaitingPaymentRequestFromAdmin, AwaitingPaymentFromProvider, Invoiced, } enum ScheduleType { NotDefined, RecurringSchedule, DateSchedule, } abstract class ISchedule { List? Resources; ScheduleType? Type; bool? Active; bool? IsResourceSpecific; } abstract class ITimeException extends IInterval { int? Id; String? ReasonText; bool? IsBlock; String? ReasonTextPublic; bool? IsRecurring; List? ResourceIds; } class BookedCustomer implements IConvertible { String? Id; String? Firstname; String? Lastname; String? Email; String? Phone; String? FacebookUserName; String? ImageUrl; String? CorporateIdentityNumber; String? InvoiceAddress1; String? InvoiceAddress2; String? InvoiceCity; String? InvoicePostalCode; String? InvoiceCountryCode; BookedCustomer({this.Id,this.Firstname,this.Lastname,this.Email,this.Phone,this.FacebookUserName,this.ImageUrl,this.CorporateIdentityNumber,this.InvoiceAddress1,this.InvoiceAddress2,this.InvoiceCity,this.InvoicePostalCode,this.InvoiceCountryCode}); BookedCustomer.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; Firstname = json['Firstname']; Lastname = json['Lastname']; Email = json['Email']; Phone = json['Phone']; FacebookUserName = json['FacebookUserName']; ImageUrl = json['ImageUrl']; CorporateIdentityNumber = json['CorporateIdentityNumber']; InvoiceAddress1 = json['InvoiceAddress1']; InvoiceAddress2 = json['InvoiceAddress2']; InvoiceCity = json['InvoiceCity']; InvoicePostalCode = json['InvoicePostalCode']; InvoiceCountryCode = json['InvoiceCountryCode']; return this; } Map toJson() => { 'Id': Id, 'Firstname': Firstname, 'Lastname': Lastname, 'Email': Email, 'Phone': Phone, 'FacebookUserName': FacebookUserName, 'ImageUrl': ImageUrl, 'CorporateIdentityNumber': CorporateIdentityNumber, 'InvoiceAddress1': InvoiceAddress1, 'InvoiceAddress2': InvoiceAddress2, 'InvoiceCity': InvoiceCity, 'InvoicePostalCode': InvoicePostalCode, 'InvoiceCountryCode': InvoiceCountryCode }; getTypeName() => "BookedCustomer"; TypeContext? context = _ctx; } abstract class IBookedTime extends IInterval { int? Id; int? ServiceId; int? BookedSpots; int? TotalSpots; int? PauseAfterInMinutes; BookingStatusEnum? Status; int? StatusId; BookedCustomer? Customer; } class Resource extends BaseModel implements ICustomFieldTable, IBaseModelCreated, IBaseModelUpdated, IConvertible { // @Ignore() int? Priority; // @Ignore() List? Schedules; // @Ignore() List? Exceptions; // @Ignore() List? Bookings; // @Ignore() List? CustomFieldsConfig; // @Ignore() List? CustomFieldsData; // @Required() String? CompanyId; int? Id; // @Required() String? Name; // @Required() bool? Active; String? Description; String? ImageUrl; // @Required() DateTime? UpdatedDate; // @Required() DateTime? CreatedDate; // @Required() String? Color; String? Email; String? MobilePhone; bool? EmailNotification; bool? SMSNotification; // @Required() bool? SendSMSReminder; // @Required() bool? SendEmailReminder; DateTime? ModifiedDate; String? AccessGroup; String? TextField1; String? TextField2; String? TextField3; String? TextField4; String? TextField5; String? TextField6; String? TextField7; String? TextField8; String? TextField9; String? TextField10; String? TextField11; String? TextField12; String? TextField13; String? TextField14; String? TextField15; String? TextField16; String? TextField17; String? TextField18; String? TextField19; String? TextField20; Resource({this.Priority,this.Schedules,this.Exceptions,this.Bookings,this.CustomFieldsConfig,this.CustomFieldsData,this.CompanyId,this.Id,this.Name,this.Active,this.Description,this.ImageUrl,this.UpdatedDate,this.CreatedDate,this.Color,this.Email,this.MobilePhone,this.EmailNotification,this.SMSNotification,this.SendSMSReminder,this.SendEmailReminder,this.ModifiedDate,this.AccessGroup,this.TextField1,this.TextField2,this.TextField3,this.TextField4,this.TextField5,this.TextField6,this.TextField7,this.TextField8,this.TextField9,this.TextField10,this.TextField11,this.TextField12,this.TextField13,this.TextField14,this.TextField15,this.TextField16,this.TextField17,this.TextField18,this.TextField19,this.TextField20}); Resource.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Priority = json['Priority']; Schedules = JsonConverters.fromJson(json['Schedules'],'List',context!); Exceptions = JsonConverters.fromJson(json['Exceptions'],'List',context!); Bookings = JsonConverters.fromJson(json['Bookings'],'List',context!); CustomFieldsConfig = JsonConverters.fromJson(json['CustomFieldsConfig'],'List',context!); CustomFieldsData = JsonConverters.fromJson(json['CustomFieldsData'],'List',context!); CompanyId = json['CompanyId']; Id = json['Id']; Name = json['Name']; Active = json['Active']; Description = json['Description']; ImageUrl = json['ImageUrl']; UpdatedDate = JsonConverters.fromJson(json['UpdatedDate'],'DateTime',context!); CreatedDate = JsonConverters.fromJson(json['CreatedDate'],'DateTime',context!); Color = json['Color']; Email = json['Email']; MobilePhone = json['MobilePhone']; EmailNotification = json['EmailNotification']; SMSNotification = json['SMSNotification']; SendSMSReminder = json['SendSMSReminder']; SendEmailReminder = json['SendEmailReminder']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); AccessGroup = json['AccessGroup']; TextField1 = json['TextField1']; TextField2 = json['TextField2']; TextField3 = json['TextField3']; TextField4 = json['TextField4']; TextField5 = json['TextField5']; TextField6 = json['TextField6']; TextField7 = json['TextField7']; TextField8 = json['TextField8']; TextField9 = json['TextField9']; TextField10 = json['TextField10']; TextField11 = json['TextField11']; TextField12 = json['TextField12']; TextField13 = json['TextField13']; TextField14 = json['TextField14']; TextField15 = json['TextField15']; TextField16 = json['TextField16']; TextField17 = json['TextField17']; TextField18 = json['TextField18']; TextField19 = json['TextField19']; TextField20 = json['TextField20']; return this; } Map toJson() => super.toJson()..addAll({ 'Priority': Priority, 'Schedules': JsonConverters.toJson(Schedules,'List',context!), 'Exceptions': JsonConverters.toJson(Exceptions,'List',context!), 'Bookings': JsonConverters.toJson(Bookings,'List',context!), 'CustomFieldsConfig': JsonConverters.toJson(CustomFieldsConfig,'List',context!), 'CustomFieldsData': JsonConverters.toJson(CustomFieldsData,'List',context!), 'CompanyId': CompanyId, 'Id': Id, 'Name': Name, 'Active': Active, 'Description': Description, 'ImageUrl': ImageUrl, 'UpdatedDate': JsonConverters.toJson(UpdatedDate,'DateTime',context!), 'CreatedDate': JsonConverters.toJson(CreatedDate,'DateTime',context!), 'Color': Color, 'Email': Email, 'MobilePhone': MobilePhone, 'EmailNotification': EmailNotification, 'SMSNotification': SMSNotification, 'SendSMSReminder': SendSMSReminder, 'SendEmailReminder': SendEmailReminder, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'AccessGroup': AccessGroup, 'TextField1': TextField1, 'TextField2': TextField2, 'TextField3': TextField3, 'TextField4': TextField4, 'TextField5': TextField5, 'TextField6': TextField6, 'TextField7': TextField7, 'TextField8': TextField8, 'TextField9': TextField9, 'TextField10': TextField10, 'TextField11': TextField11, 'TextField12': TextField12, 'TextField13': TextField13, 'TextField14': TextField14, 'TextField15': TextField15, 'TextField16': TextField16, 'TextField17': TextField17, 'TextField18': TextField18, 'TextField19': TextField19, 'TextField20': TextField20 }); getTypeName() => "Resource"; TypeContext? context = _ctx; } class BookedResource implements IConvertible { int? Id; String? Name; String? Color; Uri? ImageUrl; String? Email; String? MobilePhone; String? AccessGroup; bool? EmailNotification; bool? SMSNotification; bool? EmailReminder; bool? SMSReminder; BookedResource({this.Id,this.Name,this.Color,this.ImageUrl,this.Email,this.MobilePhone,this.AccessGroup,this.EmailNotification,this.SMSNotification,this.EmailReminder,this.SMSReminder}); BookedResource.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; Name = json['Name']; Color = json['Color']; ImageUrl = JsonConverters.fromJson(json['ImageUrl'],'Uri',context!); Email = json['Email']; MobilePhone = json['MobilePhone']; AccessGroup = json['AccessGroup']; EmailNotification = json['EmailNotification']; SMSNotification = json['SMSNotification']; EmailReminder = json['EmailReminder']; SMSReminder = json['SMSReminder']; return this; } Map toJson() => { 'Id': Id, 'Name': Name, 'Color': Color, 'ImageUrl': JsonConverters.toJson(ImageUrl,'Uri',context!), 'Email': Email, 'MobilePhone': MobilePhone, 'AccessGroup': AccessGroup, 'EmailNotification': EmailNotification, 'SMSNotification': SMSNotification, 'EmailReminder': EmailReminder, 'SMSReminder': SMSReminder }; getTypeName() => "BookedResource"; TypeContext? context = _ctx; } class BookedResourceType implements IConvertible { /** * The resource type id */ // @ApiMember(Description="The resource type id") int? Id; /** * The resource type name */ // @ApiMember(Description="The resource type name") String? Name; /** * The resources inside resource type */ // @ApiMember(Description="The resources inside resource type") List? Resources; BookedResourceType({this.Id,this.Name,this.Resources}); BookedResourceType.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; Name = json['Name']; Resources = JsonConverters.fromJson(json['Resources'],'List',context!); return this; } Map toJson() => { 'Id': Id, 'Name': Name, 'Resources': JsonConverters.toJson(Resources,'List',context!) }; getTypeName() => "BookedResourceType"; TypeContext? context = _ctx; } class PriceMapping extends BaseModel implements IConvertible { // @Required() String? CompanyId; // @Required() String? Id; // @Required() int? ServicePriceId; String? ReferenceType; String? ExternalReference; // @Required() DateTime? UpdatedDate; // @Required() DateTime? CreatedDate; DateTime? ModifiedDate; PriceMapping({this.CompanyId,this.Id,this.ServicePriceId,this.ReferenceType,this.ExternalReference,this.UpdatedDate,this.CreatedDate,this.ModifiedDate}); PriceMapping.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); CompanyId = json['CompanyId']; Id = json['Id']; ServicePriceId = json['ServicePriceId']; ReferenceType = json['ReferenceType']; ExternalReference = json['ExternalReference']; UpdatedDate = JsonConverters.fromJson(json['UpdatedDate'],'DateTime',context!); CreatedDate = JsonConverters.fromJson(json['CreatedDate'],'DateTime',context!); ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); return this; } Map toJson() => super.toJson()..addAll({ 'CompanyId': CompanyId, 'Id': Id, 'ServicePriceId': ServicePriceId, 'ReferenceType': ReferenceType, 'ExternalReference': ExternalReference, 'UpdatedDate': JsonConverters.toJson(UpdatedDate,'DateTime',context!), 'CreatedDate': JsonConverters.toJson(CreatedDate,'DateTime',context!), 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!) }); getTypeName() => "PriceMapping"; TypeContext? context = _ctx; } class Booking extends PayableEntity implements IInterval, ICustomFieldTable, IBaseModelUpdated, IBaseModelCreated, IConvertible { // @Ignore() Service? Service; // @Ignore() CalendarExport? CalendarExport; // @Ignore() List? Log; // @Ignore() List? CheckoutLogs; // @Ignore() List? Prices; // @Ignore() BookingStatusEnum? Status; // @Ignore() bool? IsReserved; // @Ignore() String? StatusName; Currency? CurrencyInfo; BookingStatus? BookingStatus; // @Ignore() double? TotalPrice; // @Ignore() int? TotalSpots; // @Ignore() List? Resources; // @Ignore() List? ExternalReferences; // @Ignore() List? BookedResources; // @Ignore() List? CustomFieldsConfig; // @Ignore() List? CustomFieldsData; // @Ignore() String? DeterministicId; // @Ignore() bool? Active; // @Ignore() DateTime? LastTimeToUnBook; // @Ignore() List? PriceMappings; // @Ignore() String? InternalReferenceId; // @Required() DateTime? UpdatedDate; // @Required() DateTime? CreatedDate; int? Id; // @Required() String? CustomerId; // @Required() int? ServiceId; // @Required() int? StatusId; DateTime? UnbookedOn; String? UnbookedComments; String? BookedComments; // @Required() String? BookedBy; String? UnBookedBy; // @Required() bool? SendSmsReminder; // @Required() bool? SendEmailReminder; // @Required() bool? SendSmsConfirmation; String? RebateCode; String? Comments; String? IpAddress; // @Required() int? NumberOfBookedSpots; String? CommentsToCustomer; DateTime? PaymentExpiration; // @Required() bool? SendEmailConfirmation; String? CancellationCode; DateTime? ModifiedDate; String? RatingCode; String? TextField1; String? TextField2; String? TextField3; String? TextField4; String? TextField5; String? TextField6; String? TextField7; String? TextField8; String? TextField9; String? TextField10; String? TextField11; String? TextField12; String? TextField13; String? TextField14; String? TextField15; String? TextField16; String? TextField17; String? TextField18; String? TextField19; String? TextField20; // @Required() DateTime? From; // @Required() DateTime? To; Booking({this.Service,this.CalendarExport,this.Log,this.CheckoutLogs,this.Prices,this.Status,this.IsReserved,this.StatusName,this.CurrencyInfo,this.BookingStatus,this.TotalPrice,this.TotalSpots,this.Resources,this.ExternalReferences,this.BookedResources,this.CustomFieldsConfig,this.CustomFieldsData,this.DeterministicId,this.Active,this.LastTimeToUnBook,this.PriceMappings,this.InternalReferenceId,this.UpdatedDate,this.CreatedDate,this.Id,this.CustomerId,this.ServiceId,this.StatusId,this.UnbookedOn,this.UnbookedComments,this.BookedComments,this.BookedBy,this.UnBookedBy,this.SendSmsReminder,this.SendEmailReminder,this.SendSmsConfirmation,this.RebateCode,this.Comments,this.IpAddress,this.NumberOfBookedSpots,this.CommentsToCustomer,this.PaymentExpiration,this.SendEmailConfirmation,this.CancellationCode,this.ModifiedDate,this.RatingCode,this.TextField1,this.TextField2,this.TextField3,this.TextField4,this.TextField5,this.TextField6,this.TextField7,this.TextField8,this.TextField9,this.TextField10,this.TextField11,this.TextField12,this.TextField13,this.TextField14,this.TextField15,this.TextField16,this.TextField17,this.TextField18,this.TextField19,this.TextField20,this.From,this.To}); Booking.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Service = JsonConverters.fromJson(json['Service'],'Service',context!); CalendarExport = JsonConverters.fromJson(json['CalendarExport'],'CalendarExport',context!); Log = JsonConverters.fromJson(json['Log'],'List',context!); CheckoutLogs = JsonConverters.fromJson(json['CheckoutLogs'],'List',context!); Prices = JsonConverters.fromJson(json['Prices'],'List',context!); Status = JsonConverters.fromJson(json['Status'],'BookingStatusEnum',context!); IsReserved = json['IsReserved']; StatusName = json['StatusName']; CurrencyInfo = JsonConverters.fromJson(json['CurrencyInfo'],'Currency',context!); BookingStatus = JsonConverters.fromJson(json['BookingStatus'],'BookingStatus',context!); TotalPrice = JsonConverters.toDouble(json['TotalPrice']); TotalSpots = json['TotalSpots']; Resources = JsonConverters.fromJson(json['Resources'],'List',context!); ExternalReferences = JsonConverters.fromJson(json['ExternalReferences'],'List',context!); BookedResources = JsonConverters.fromJson(json['BookedResources'],'List',context!); CustomFieldsConfig = JsonConverters.fromJson(json['CustomFieldsConfig'],'List',context!); CustomFieldsData = JsonConverters.fromJson(json['CustomFieldsData'],'List',context!); DeterministicId = json['DeterministicId']; Active = json['Active']; LastTimeToUnBook = JsonConverters.fromJson(json['LastTimeToUnBook'],'DateTime',context!); PriceMappings = JsonConverters.fromJson(json['PriceMappings'],'List',context!); InternalReferenceId = json['InternalReferenceId']; UpdatedDate = JsonConverters.fromJson(json['UpdatedDate'],'DateTime',context!); CreatedDate = JsonConverters.fromJson(json['CreatedDate'],'DateTime',context!); Id = json['Id']; CustomerId = json['CustomerId']; ServiceId = json['ServiceId']; StatusId = json['StatusId']; UnbookedOn = JsonConverters.fromJson(json['UnbookedOn'],'DateTime',context!); UnbookedComments = json['UnbookedComments']; BookedComments = json['BookedComments']; BookedBy = json['BookedBy']; UnBookedBy = json['UnBookedBy']; SendSmsReminder = json['SendSmsReminder']; SendEmailReminder = json['SendEmailReminder']; SendSmsConfirmation = json['SendSmsConfirmation']; RebateCode = json['RebateCode']; Comments = json['Comments']; IpAddress = json['IpAddress']; NumberOfBookedSpots = json['NumberOfBookedSpots']; CommentsToCustomer = json['CommentsToCustomer']; PaymentExpiration = JsonConverters.fromJson(json['PaymentExpiration'],'DateTime',context!); SendEmailConfirmation = json['SendEmailConfirmation']; CancellationCode = json['CancellationCode']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); RatingCode = json['RatingCode']; TextField1 = json['TextField1']; TextField2 = json['TextField2']; TextField3 = json['TextField3']; TextField4 = json['TextField4']; TextField5 = json['TextField5']; TextField6 = json['TextField6']; TextField7 = json['TextField7']; TextField8 = json['TextField8']; TextField9 = json['TextField9']; TextField10 = json['TextField10']; TextField11 = json['TextField11']; TextField12 = json['TextField12']; TextField13 = json['TextField13']; TextField14 = json['TextField14']; TextField15 = json['TextField15']; TextField16 = json['TextField16']; TextField17 = json['TextField17']; TextField18 = json['TextField18']; TextField19 = json['TextField19']; TextField20 = json['TextField20']; From = JsonConverters.fromJson(json['From'],'DateTime',context!); To = JsonConverters.fromJson(json['To'],'DateTime',context!); return this; } Map toJson() => super.toJson()..addAll({ 'Service': JsonConverters.toJson(Service,'Service',context!), 'CalendarExport': JsonConverters.toJson(CalendarExport,'CalendarExport',context!), 'Log': JsonConverters.toJson(Log,'List',context!), 'CheckoutLogs': JsonConverters.toJson(CheckoutLogs,'List',context!), 'Prices': JsonConverters.toJson(Prices,'List',context!), 'Status': JsonConverters.toJson(Status,'BookingStatusEnum',context!), 'IsReserved': IsReserved, 'StatusName': StatusName, 'CurrencyInfo': JsonConverters.toJson(CurrencyInfo,'Currency',context!), 'BookingStatus': JsonConverters.toJson(BookingStatus,'BookingStatus',context!), 'TotalPrice': TotalPrice, 'TotalSpots': TotalSpots, 'Resources': JsonConverters.toJson(Resources,'List',context!), 'ExternalReferences': JsonConverters.toJson(ExternalReferences,'List',context!), 'BookedResources': JsonConverters.toJson(BookedResources,'List',context!), 'CustomFieldsConfig': JsonConverters.toJson(CustomFieldsConfig,'List',context!), 'CustomFieldsData': JsonConverters.toJson(CustomFieldsData,'List',context!), 'DeterministicId': DeterministicId, 'Active': Active, 'LastTimeToUnBook': JsonConverters.toJson(LastTimeToUnBook,'DateTime',context!), 'PriceMappings': JsonConverters.toJson(PriceMappings,'List',context!), 'InternalReferenceId': InternalReferenceId, 'UpdatedDate': JsonConverters.toJson(UpdatedDate,'DateTime',context!), 'CreatedDate': JsonConverters.toJson(CreatedDate,'DateTime',context!), 'Id': Id, 'CustomerId': CustomerId, 'ServiceId': ServiceId, 'StatusId': StatusId, 'UnbookedOn': JsonConverters.toJson(UnbookedOn,'DateTime',context!), 'UnbookedComments': UnbookedComments, 'BookedComments': BookedComments, 'BookedBy': BookedBy, 'UnBookedBy': UnBookedBy, 'SendSmsReminder': SendSmsReminder, 'SendEmailReminder': SendEmailReminder, 'SendSmsConfirmation': SendSmsConfirmation, 'RebateCode': RebateCode, 'Comments': Comments, 'IpAddress': IpAddress, 'NumberOfBookedSpots': NumberOfBookedSpots, 'CommentsToCustomer': CommentsToCustomer, 'PaymentExpiration': JsonConverters.toJson(PaymentExpiration,'DateTime',context!), 'SendEmailConfirmation': SendEmailConfirmation, 'CancellationCode': CancellationCode, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'RatingCode': RatingCode, 'TextField1': TextField1, 'TextField2': TextField2, 'TextField3': TextField3, 'TextField4': TextField4, 'TextField5': TextField5, 'TextField6': TextField6, 'TextField7': TextField7, 'TextField8': TextField8, 'TextField9': TextField9, 'TextField10': TextField10, 'TextField11': TextField11, 'TextField12': TextField12, 'TextField13': TextField13, 'TextField14': TextField14, 'TextField15': TextField15, 'TextField16': TextField16, 'TextField17': TextField17, 'TextField18': TextField18, 'TextField19': TextField19, 'TextField20': TextField20, 'From': JsonConverters.toJson(From,'DateTime',context!), 'To': JsonConverters.toJson(To,'DateTime',context!) }); getTypeName() => "Booking"; TypeContext? context = _ctx; } abstract class IInterval { DateTime? From; DateTime? To; } class Currency extends BaseModel implements IConvertible { // @Required() String? Name; // @Required() String? CurrencySign; // @Required() bool? Active; DateTime? ModifiedDate; // @Required() String? Id; Currency({this.Name,this.CurrencySign,this.Active,this.ModifiedDate,this.Id}); Currency.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Name = json['Name']; CurrencySign = json['CurrencySign']; Active = json['Active']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'Name': Name, 'CurrencySign': CurrencySign, 'Active': Active, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'Id': Id }); getTypeName() => "Currency"; TypeContext? context = _ctx; } class Customer extends BaseModel implements IUser, ICustomFieldTable, IConvertible { int? IdentityId; String? Id; // @Ignore() String? CustomerId; // @Ignore() List? AccessKeys; String? Email; // @Ignore() List? ExternalReferences; // @Ignore() Company? Company; // @Ignore() List? CustomFieldsConfig; // @Ignore() List? CustomFieldsData; // @Ignore() List? Comments; // @Ignore() List? RebateCodes; String? Firstname; // @Ignore() String? ImageUrl; // @Required() bool? Active; String? FacebookUsername; // @Required() DateTime? Updated; // @Required() DateTime? Created; String? IpAddress; DateTime? ModifiedDate; String? TextField1; String? TextField2; String? TextField3; String? TextField4; String? TextField5; String? TextField6; String? TextField7; String? TextField8; String? TextField9; String? TextField10; String? TextField11; String? TextField12; String? TextField13; String? TextField14; String? TextField15; String? TextField16; String? TextField17; String? TextField18; String? TextField19; String? TextField20; String? UserId; String? Lastname; String? Phone; String? CorporateIdentityNumber; String? InvoiceAddress1; String? InvoiceAddress2; String? InvoiceCity; String? InvoicePostalCode; String? InvoiceCountryCode; // @Required() String? CompanyId; bool? SubscribedToNewsletter; Customer({this.IdentityId,this.Id,this.CustomerId,this.AccessKeys,this.Email,this.ExternalReferences,this.Company,this.CustomFieldsConfig,this.CustomFieldsData,this.Comments,this.RebateCodes,this.Firstname,this.ImageUrl,this.Active,this.FacebookUsername,this.Updated,this.Created,this.IpAddress,this.ModifiedDate,this.TextField1,this.TextField2,this.TextField3,this.TextField4,this.TextField5,this.TextField6,this.TextField7,this.TextField8,this.TextField9,this.TextField10,this.TextField11,this.TextField12,this.TextField13,this.TextField14,this.TextField15,this.TextField16,this.TextField17,this.TextField18,this.TextField19,this.TextField20,this.UserId,this.Lastname,this.Phone,this.CorporateIdentityNumber,this.InvoiceAddress1,this.InvoiceAddress2,this.InvoiceCity,this.InvoicePostalCode,this.InvoiceCountryCode,this.CompanyId,this.SubscribedToNewsletter}); Customer.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); IdentityId = json['IdentityId']; Id = json['Id']; CustomerId = json['CustomerId']; AccessKeys = JsonConverters.fromJson(json['AccessKeys'],'List',context!); Email = json['Email']; ExternalReferences = JsonConverters.fromJson(json['ExternalReferences'],'List',context!); Company = JsonConverters.fromJson(json['Company'],'Company',context!); CustomFieldsConfig = JsonConverters.fromJson(json['CustomFieldsConfig'],'List',context!); CustomFieldsData = JsonConverters.fromJson(json['CustomFieldsData'],'List',context!); Comments = JsonConverters.fromJson(json['Comments'],'List',context!); RebateCodes = JsonConverters.fromJson(json['RebateCodes'],'List',context!); Firstname = json['Firstname']; ImageUrl = json['ImageUrl']; Active = json['Active']; FacebookUsername = json['FacebookUsername']; Updated = JsonConverters.fromJson(json['Updated'],'DateTime',context!); Created = JsonConverters.fromJson(json['Created'],'DateTime',context!); IpAddress = json['IpAddress']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); TextField1 = json['TextField1']; TextField2 = json['TextField2']; TextField3 = json['TextField3']; TextField4 = json['TextField4']; TextField5 = json['TextField5']; TextField6 = json['TextField6']; TextField7 = json['TextField7']; TextField8 = json['TextField8']; TextField9 = json['TextField9']; TextField10 = json['TextField10']; TextField11 = json['TextField11']; TextField12 = json['TextField12']; TextField13 = json['TextField13']; TextField14 = json['TextField14']; TextField15 = json['TextField15']; TextField16 = json['TextField16']; TextField17 = json['TextField17']; TextField18 = json['TextField18']; TextField19 = json['TextField19']; TextField20 = json['TextField20']; UserId = json['UserId']; Lastname = json['Lastname']; Phone = json['Phone']; CorporateIdentityNumber = json['CorporateIdentityNumber']; InvoiceAddress1 = json['InvoiceAddress1']; InvoiceAddress2 = json['InvoiceAddress2']; InvoiceCity = json['InvoiceCity']; InvoicePostalCode = json['InvoicePostalCode']; InvoiceCountryCode = json['InvoiceCountryCode']; CompanyId = json['CompanyId']; SubscribedToNewsletter = json['SubscribedToNewsletter']; return this; } Map toJson() => super.toJson()..addAll({ 'IdentityId': IdentityId, 'Id': Id, 'CustomerId': CustomerId, 'AccessKeys': JsonConverters.toJson(AccessKeys,'List',context!), 'Email': Email, 'ExternalReferences': JsonConverters.toJson(ExternalReferences,'List',context!), 'Company': JsonConverters.toJson(Company,'Company',context!), 'CustomFieldsConfig': JsonConverters.toJson(CustomFieldsConfig,'List',context!), 'CustomFieldsData': JsonConverters.toJson(CustomFieldsData,'List',context!), 'Comments': JsonConverters.toJson(Comments,'List',context!), 'RebateCodes': JsonConverters.toJson(RebateCodes,'List',context!), 'Firstname': Firstname, 'ImageUrl': ImageUrl, 'Active': Active, 'FacebookUsername': FacebookUsername, 'Updated': JsonConverters.toJson(Updated,'DateTime',context!), 'Created': JsonConverters.toJson(Created,'DateTime',context!), 'IpAddress': IpAddress, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'TextField1': TextField1, 'TextField2': TextField2, 'TextField3': TextField3, 'TextField4': TextField4, 'TextField5': TextField5, 'TextField6': TextField6, 'TextField7': TextField7, 'TextField8': TextField8, 'TextField9': TextField9, 'TextField10': TextField10, 'TextField11': TextField11, 'TextField12': TextField12, 'TextField13': TextField13, 'TextField14': TextField14, 'TextField15': TextField15, 'TextField16': TextField16, 'TextField17': TextField17, 'TextField18': TextField18, 'TextField19': TextField19, 'TextField20': TextField20, 'UserId': UserId, 'Lastname': Lastname, 'Phone': Phone, 'CorporateIdentityNumber': CorporateIdentityNumber, 'InvoiceAddress1': InvoiceAddress1, 'InvoiceAddress2': InvoiceAddress2, 'InvoiceCity': InvoiceCity, 'InvoicePostalCode': InvoicePostalCode, 'InvoiceCountryCode': InvoiceCountryCode, 'CompanyId': CompanyId, 'SubscribedToNewsletter': SubscribedToNewsletter }); getTypeName() => "Customer"; TypeContext? context = _ctx; } class GroupBookingSettings implements IConvertible { bool? Active; int? Min; int? Max; GroupBookingSettings({this.Active,this.Min,this.Max}); GroupBookingSettings.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Active = json['Active']; Min = json['Min']; Max = json['Max']; return this; } Map toJson() => { 'Active': Active, 'Min': Min, 'Max': Max }; getTypeName() => "GroupBookingSettings"; TypeContext? context = _ctx; } class MultipleResourceSettings implements IConvertible { bool? Active; int? Min; int? Max; MultipleResourceSettings({this.Active,this.Min,this.Max}); MultipleResourceSettings.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Active = json['Active']; Min = json['Min']; Max = json['Max']; return this; } Map toJson() => { 'Active': Active, 'Min': Min, 'Max': Max }; getTypeName() => "MultipleResourceSettings"; TypeContext? context = _ctx; } class ServiceInfoResponse implements IConvertible { int? Id; String? Name; String? Description; Uri? ImageUrl; int? LengthInMinutes; int? MaxNumberOfSpotsPerBooking; int? MinNumberOfSpotsPerBooking; GroupBookingSettings? GroupBooking; MultipleResourceSettings? MultipleResource; bool? IsGroupBooking; bool? IsPaymentEnabled; ServiceInfoResponse({this.Id,this.Name,this.Description,this.ImageUrl,this.LengthInMinutes,this.MaxNumberOfSpotsPerBooking,this.MinNumberOfSpotsPerBooking,this.GroupBooking,this.MultipleResource,this.IsGroupBooking,this.IsPaymentEnabled}); ServiceInfoResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; Name = json['Name']; Description = json['Description']; ImageUrl = JsonConverters.fromJson(json['ImageUrl'],'Uri',context!); LengthInMinutes = json['LengthInMinutes']; MaxNumberOfSpotsPerBooking = json['MaxNumberOfSpotsPerBooking']; MinNumberOfSpotsPerBooking = json['MinNumberOfSpotsPerBooking']; GroupBooking = JsonConverters.fromJson(json['GroupBooking'],'GroupBookingSettings',context!); MultipleResource = JsonConverters.fromJson(json['MultipleResource'],'MultipleResourceSettings',context!); IsGroupBooking = json['IsGroupBooking']; IsPaymentEnabled = json['IsPaymentEnabled']; return this; } Map toJson() => { 'Id': Id, 'Name': Name, 'Description': Description, 'ImageUrl': JsonConverters.toJson(ImageUrl,'Uri',context!), 'LengthInMinutes': LengthInMinutes, 'MaxNumberOfSpotsPerBooking': MaxNumberOfSpotsPerBooking, 'MinNumberOfSpotsPerBooking': MinNumberOfSpotsPerBooking, 'GroupBooking': JsonConverters.toJson(GroupBooking,'GroupBookingSettings',context!), 'MultipleResource': JsonConverters.toJson(MultipleResource,'MultipleResourceSettings',context!), 'IsGroupBooking': IsGroupBooking, 'IsPaymentEnabled': IsPaymentEnabled }; getTypeName() => "ServiceInfoResponse"; TypeContext? context = _ctx; } class CustomFieldValueResponse implements IConvertible { String? Value; CustomFieldValueResponse({this.Value}); CustomFieldValueResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Value = json['Value']; return this; } Map toJson() => { 'Value': Value }; getTypeName() => "CustomFieldValueResponse"; TypeContext? context = _ctx; } class CustomFieldConfigData implements IConvertible { /** * Custom field id */ // @ApiMember(Description="Custom field id") int? Id; /** * Configuration name. Example: 'Number of persons'. */ // @ApiMember(Description="Configuration name. Example: 'Number of persons'.") String? Name; /** * Custom field description. Example: 'For how many persons is this booking?' */ // @ApiMember(Description="Custom field description. Example: 'For how many persons is this booking?'") String? Description; /** * Field width. Example: 20 for 20px */ // @ApiMember(Description="Field width. Example: 20 for 20px") int? Width; /** * Data field of custom field. Valid values are: TextBox, ... Example: 'TextBox' */ // @ApiMember(Description="Data field of custom field. Valid values are: TextBox, ... Example: 'TextBox'") String? DataType; /** * Default value of the field. Example: '3' */ // @ApiMember(Description="Default value of the field. Example: '3'") String? DefaultValue; /** * Determines if the field is required to have a value or not */ // @ApiMember(Description="Determines if the field is required to have a value or not") bool? IsMandatory; /** * Error message shown to the user if the field data is required but not entered */ // @ApiMember(Description="Error message shown to the user if the field data is required but not entered") String? MandatoryErrorMessage; /** * Max lenght of the field */ // @ApiMember(Description="Max lenght of the field") int? MaxLength; /** * If the field should have multiple lines */ // @ApiMember(Description="If the field should have multiple lines") bool? MultipleLineText; /** * Regular expression used for validation of the field */ // @ApiMember(Description="Regular expression used for validation of the field") String? RegEx; /** * Error message shown if the regular expression validation failed */ // @ApiMember(Description="Error message shown if the regular expression validation failed") String? RegExErrorMessage; /** * The values to select from if Datatype is DropDown for this custom field */ // @ApiMember(Description="The values to select from if Datatype is DropDown for this custom field") List? Values; CustomFieldConfigData({this.Id,this.Name,this.Description,this.Width,this.DataType,this.DefaultValue,this.IsMandatory,this.MandatoryErrorMessage,this.MaxLength,this.MultipleLineText,this.RegEx,this.RegExErrorMessage,this.Values}); CustomFieldConfigData.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; Name = json['Name']; Description = json['Description']; Width = json['Width']; DataType = json['DataType']; DefaultValue = json['DefaultValue']; IsMandatory = json['IsMandatory']; MandatoryErrorMessage = json['MandatoryErrorMessage']; MaxLength = json['MaxLength']; MultipleLineText = json['MultipleLineText']; RegEx = json['RegEx']; RegExErrorMessage = json['RegExErrorMessage']; Values = JsonConverters.fromJson(json['Values'],'List',context!); return this; } Map toJson() => { 'Id': Id, 'Name': Name, 'Description': Description, 'Width': Width, 'DataType': DataType, 'DefaultValue': DefaultValue, 'IsMandatory': IsMandatory, 'MandatoryErrorMessage': MandatoryErrorMessage, 'MaxLength': MaxLength, 'MultipleLineText': MultipleLineText, 'RegEx': RegEx, 'RegExErrorMessage': RegExErrorMessage, 'Values': JsonConverters.toJson(Values,'List',context!) }; getTypeName() => "CustomFieldConfigData"; TypeContext? context = _ctx; } class BookedCompany implements IConvertible { String? Id; String? Name; Uri? LogoType; String? Category; String? Street1; String? Street2; String? ZipCode; String? City; String? CountryId; String? Longitude; String? Latitude; String? Phone; String? Email; String? HomePage; String? SitePath; bool? IsFavorite; int? PaymentProviderId; BookedCompany({this.Id,this.Name,this.LogoType,this.Category,this.Street1,this.Street2,this.ZipCode,this.City,this.CountryId,this.Longitude,this.Latitude,this.Phone,this.Email,this.HomePage,this.SitePath,this.IsFavorite,this.PaymentProviderId}); BookedCompany.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; Name = json['Name']; LogoType = JsonConverters.fromJson(json['LogoType'],'Uri',context!); Category = json['Category']; Street1 = json['Street1']; Street2 = json['Street2']; ZipCode = json['ZipCode']; City = json['City']; CountryId = json['CountryId']; Longitude = json['Longitude']; Latitude = json['Latitude']; Phone = json['Phone']; Email = json['Email']; HomePage = json['HomePage']; SitePath = json['SitePath']; IsFavorite = json['IsFavorite']; PaymentProviderId = json['PaymentProviderId']; return this; } Map toJson() => { 'Id': Id, 'Name': Name, 'LogoType': JsonConverters.toJson(LogoType,'Uri',context!), 'Category': Category, 'Street1': Street1, 'Street2': Street2, 'ZipCode': ZipCode, 'City': City, 'CountryId': CountryId, 'Longitude': Longitude, 'Latitude': Latitude, 'Phone': Phone, 'Email': Email, 'HomePage': HomePage, 'SitePath': SitePath, 'IsFavorite': IsFavorite, 'PaymentProviderId': PaymentProviderId }; getTypeName() => "BookedCompany"; TypeContext? context = _ctx; } class CurrencyInfoResponse implements IConvertible { /** * The currency id */ // @ApiMember(Description="The currency id") String? Id; /** * The currency id */ // @ApiMember(Description="The currency id") String? Name; /** * The currency id */ // @ApiMember(Description="The currency id") String? CurrencySign; CurrencyInfoResponse({this.Id,this.Name,this.CurrencySign}); CurrencyInfoResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; Name = json['Name']; CurrencySign = json['CurrencySign']; return this; } Map toJson() => { 'Id': Id, 'Name': Name, 'CurrencySign': CurrencySign }; getTypeName() => "CurrencyInfoResponse"; TypeContext? context = _ctx; } class BookingPaymentLogQueryResponse implements IConvertible { /** * The booking payment log id */ // @ApiMember(Description="The booking payment log id") int? Id; /** * The booking id */ // @ApiMember(Description="The booking id") int? BookingId; /** * The payment reference id */ // @ApiMember(Description="The payment reference id") String? PaymentReferenceId; /** * The payment order item reference id */ // @ApiMember(Description="The payment order item reference id") String? OrderItemReferenceId; /** * The payment reference id */ // @ApiMember(Description="The payment reference id") int? PaymentProviderId; /** * The payment amount */ // @ApiMember(Description="The payment amount") double? Amount; /** * The payment VAT in percent */ // @ApiMember(Description="The payment VAT in percent") double? VAT; /** * The payment amount that is credited */ // @ApiMember(Description="The payment amount that is credited") double? AmountCredited; /** * The payment currency id */ // @ApiMember(Description="The payment currency id") String? CurrencyId; /** * The payment currency info */ // @ApiMember(Description="The payment currency info") CurrencyInfoResponse? CurrencyInfo; /** * Comments that could be added to the event log item */ // @ApiMember(Description="Comments that could be added to the event log item") String? Comments; /** * The date when the payment items was created */ // @ApiMember(Description="The date when the payment items was created") DateTime? Created; /** * The date when the payment items was update */ // @ApiMember(Description="The date when the payment items was update") DateTime? Updated; BookingPaymentLogQueryResponse({this.Id,this.BookingId,this.PaymentReferenceId,this.OrderItemReferenceId,this.PaymentProviderId,this.Amount,this.VAT,this.AmountCredited,this.CurrencyId,this.CurrencyInfo,this.Comments,this.Created,this.Updated}); BookingPaymentLogQueryResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; BookingId = json['BookingId']; PaymentReferenceId = json['PaymentReferenceId']; OrderItemReferenceId = json['OrderItemReferenceId']; PaymentProviderId = json['PaymentProviderId']; Amount = JsonConverters.toDouble(json['Amount']); VAT = JsonConverters.toDouble(json['VAT']); AmountCredited = JsonConverters.toDouble(json['AmountCredited']); CurrencyId = json['CurrencyId']; CurrencyInfo = JsonConverters.fromJson(json['CurrencyInfo'],'CurrencyInfoResponse',context!); Comments = json['Comments']; Created = JsonConverters.fromJson(json['Created'],'DateTime',context!); Updated = JsonConverters.fromJson(json['Updated'],'DateTime',context!); return this; } Map toJson() => { 'Id': Id, 'BookingId': BookingId, 'PaymentReferenceId': PaymentReferenceId, 'OrderItemReferenceId': OrderItemReferenceId, 'PaymentProviderId': PaymentProviderId, 'Amount': Amount, 'VAT': VAT, 'AmountCredited': AmountCredited, 'CurrencyId': CurrencyId, 'CurrencyInfo': JsonConverters.toJson(CurrencyInfo,'CurrencyInfoResponse',context!), 'Comments': Comments, 'Created': JsonConverters.toJson(Created,'DateTime',context!), 'Updated': JsonConverters.toJson(Updated,'DateTime',context!) }; getTypeName() => "BookingPaymentLogQueryResponse"; TypeContext? context = _ctx; } class BookingCheckoutQueryResponse implements IConvertible { /** * The checkout id */ // @ApiMember(Description="The checkout id") String? Id; /** * The booking id */ // @ApiMember(Description="The booking id") int? BookingId; /** * The purchase id */ // @ApiMember(Description="The purchase id") int? PurchaseId; /** * The payment checkout expiration datetime */ // @ApiMember(Description="The payment checkout expiration datetime") DateTime? ExpirationTime; /** * The payment snippet code */ // @ApiMember(Description="The payment snippet code") String? Snippet; /** * The payment status */ // @ApiMember(Description="The payment status") String? Status; /** * Log message */ // @ApiMember(Description="Log message") String? Message; /** * When the checkout log item was created */ // @ApiMember(Description="When the checkout log item was created") DateTime? Created; /** * When the checkout log item was updated */ // @ApiMember(Description="When the checkout log item was updated") DateTime? Updated; BookingCheckoutQueryResponse({this.Id,this.BookingId,this.PurchaseId,this.ExpirationTime,this.Snippet,this.Status,this.Message,this.Created,this.Updated}); BookingCheckoutQueryResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; BookingId = json['BookingId']; PurchaseId = json['PurchaseId']; ExpirationTime = JsonConverters.fromJson(json['ExpirationTime'],'DateTime',context!); Snippet = json['Snippet']; Status = json['Status']; Message = json['Message']; Created = JsonConverters.fromJson(json['Created'],'DateTime',context!); Updated = JsonConverters.fromJson(json['Updated'],'DateTime',context!); return this; } Map toJson() => { 'Id': Id, 'BookingId': BookingId, 'PurchaseId': PurchaseId, 'ExpirationTime': JsonConverters.toJson(ExpirationTime,'DateTime',context!), 'Snippet': Snippet, 'Status': Status, 'Message': Message, 'Created': JsonConverters.toJson(Created,'DateTime',context!), 'Updated': JsonConverters.toJson(Updated,'DateTime',context!) }; getTypeName() => "BookingCheckoutQueryResponse"; TypeContext? context = _ctx; } class ExternalReferenceResponse implements IConvertible { String? CompanyId; String? Id; String? OwnerId; String? ReferenceType; String? ExternalData; String? CreatedBy; DateTime? Updated; DateTime? Created; ExternalReferenceResponse({this.CompanyId,this.Id,this.OwnerId,this.ReferenceType,this.ExternalData,this.CreatedBy,this.Updated,this.Created}); ExternalReferenceResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CompanyId = json['CompanyId']; Id = json['Id']; OwnerId = json['OwnerId']; ReferenceType = json['ReferenceType']; ExternalData = json['ExternalData']; CreatedBy = json['CreatedBy']; Updated = JsonConverters.fromJson(json['Updated'],'DateTime',context!); Created = JsonConverters.fromJson(json['Created'],'DateTime',context!); return this; } Map toJson() => { 'CompanyId': CompanyId, 'Id': Id, 'OwnerId': OwnerId, 'ReferenceType': ReferenceType, 'ExternalData': ExternalData, 'CreatedBy': CreatedBy, 'Updated': JsonConverters.toJson(Updated,'DateTime',context!), 'Created': JsonConverters.toJson(Created,'DateTime',context!) }; getTypeName() => "ExternalReferenceResponse"; TypeContext? context = _ctx; } class BookingCalendarExportStatus implements IConvertible { String? CalendarId; int? BookingId; bool? Synced; BookingCalendarExportStatus({this.CalendarId,this.BookingId,this.Synced}); BookingCalendarExportStatus.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CalendarId = json['CalendarId']; BookingId = json['BookingId']; Synced = json['Synced']; return this; } Map toJson() => { 'CalendarId': CalendarId, 'BookingId': BookingId, 'Synced': Synced }; getTypeName() => "BookingCalendarExportStatus"; TypeContext? context = _ctx; } abstract class IBaseModelCreated { DateTime? CreatedDate; } abstract class IBaseModelUpdated { DateTime? UpdatedDate; } abstract class IBokameraPaymentManager { } abstract class ILogger1 extends ILogger { } abstract class IPayableEntity extends ICompanyInformationLoader, ICustomerInformationLoader { String? InternalReferenceId; // @Ignore() List? PaymentLog; } abstract class ICompanyInformationLoader { String? CompanyId; } abstract class ICustomerInformationLoader { Customer? Customer; List? Customers; } abstract class ICustomFieldTable { List? CustomFieldsConfig; List? CustomFieldsData; String? TextField1; String? TextField2; String? TextField3; String? TextField4; String? TextField5; String? TextField6; String? TextField7; String? TextField8; String? TextField9; String? TextField10; String? TextField11; String? TextField12; String? TextField13; String? TextField14; String? TextField15; String? TextField16; String? TextField17; String? TextField18; String? TextField19; String? TextField20; } abstract class ILogger { } class BookingLogQueryResponse implements IConvertible { /** * The booking log id */ // @ApiMember(Description="The booking log id") int? Id; /** * The booking id */ // @ApiMember(Description="The booking id") int? BookingId; /** * The type of event */ // @ApiMember(Description="The type of event") int? EventTypeId; /** * The type of event */ // @ApiMember(Description="The type of event") BookingLogEventTypeResponse? EventType; /** * Comments that could be added to the event log item */ // @ApiMember(Description="Comments that could be added to the event log item") String? Comments; /** * The user created the event */ // @ApiMember(Description="The user created the event") String? UserName; /** * Then date when the event occured */ // @ApiMember(Description="Then date when the event occured") DateTime? Created; BookingLogQueryResponse({this.Id,this.BookingId,this.EventTypeId,this.EventType,this.Comments,this.UserName,this.Created}); BookingLogQueryResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; BookingId = json['BookingId']; EventTypeId = json['EventTypeId']; EventType = JsonConverters.fromJson(json['EventType'],'BookingLogEventTypeResponse',context!); Comments = json['Comments']; UserName = json['UserName']; Created = JsonConverters.fromJson(json['Created'],'DateTime',context!); return this; } Map toJson() => { 'Id': Id, 'BookingId': BookingId, 'EventTypeId': EventTypeId, 'EventType': JsonConverters.toJson(EventType,'BookingLogEventTypeResponse',context!), 'Comments': Comments, 'UserName': UserName, 'Created': JsonConverters.toJson(Created,'DateTime',context!) }; getTypeName() => "BookingLogQueryResponse"; TypeContext? context = _ctx; } class BookedQuantity implements IConvertible { /** * The quantity Id */ // @ApiMember(Description="The quantity Id") int? Id; /** * The quantity for booked on this price category */ // @ApiMember(Description="The quantity for booked on this price category") int? Quantity; /** * The price */ // @ApiMember(Description="The price") double? Price; /** * The price bofore rebate codes */ // @ApiMember(Description="The price bofore rebate codes") double? PriceBeforeRebate; /** * The price currency */ // @ApiMember(Description="The price currency") String? CurrencyId; /** * The price sign */ // @ApiMember(Description="The price sign") String? PriceSign; /** * The price category */ // @ApiMember(Description="The price category") String? Category; /** * The price VAT in percent */ // @ApiMember(Description="The price VAT in percent") double? VAT; /** * The price text to display */ // @ApiMember(Description="The price text to display") String? PriceText; /** * If the quantity you add should occupy a spot. Default is true. If no it will only be a row that includes price information. */ // @ApiMember(Description="If the quantity you add should occupy a spot. Default is true. If no it will only be a row that includes price information.") bool? OccupiesSpot; BookedQuantity({this.Id,this.Quantity,this.Price,this.PriceBeforeRebate,this.CurrencyId,this.PriceSign,this.Category,this.VAT,this.PriceText,this.OccupiesSpot}); BookedQuantity.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; Quantity = json['Quantity']; Price = JsonConverters.toDouble(json['Price']); PriceBeforeRebate = JsonConverters.toDouble(json['PriceBeforeRebate']); CurrencyId = json['CurrencyId']; PriceSign = json['PriceSign']; Category = json['Category']; VAT = JsonConverters.toDouble(json['VAT']); PriceText = json['PriceText']; OccupiesSpot = json['OccupiesSpot']; return this; } Map toJson() => { 'Id': Id, 'Quantity': Quantity, 'Price': Price, 'PriceBeforeRebate': PriceBeforeRebate, 'CurrencyId': CurrencyId, 'PriceSign': PriceSign, 'Category': Category, 'VAT': VAT, 'PriceText': PriceText, 'OccupiesSpot': OccupiesSpot }; getTypeName() => "BookedQuantity"; TypeContext? context = _ctx; } class BookingQueryResponse implements IConvertible { int? Id; String? CompanyId; DateTime? From; DateTime? To; BookingStatusEnum? Status; int? StatusId; String? StatusName; BookingStatusQueryResponse? StatusInfo; bool? SendEmailReminder; bool? SendSmsReminder; bool? SendSmsConfirmation; bool? SendEmailConfirmation; DateTime? LastTimeToUnBook; List? CustomFields; List? CustomFieldValues; List? BookedResourceTypes; BookedCompany? Company; BookedCustomer? Customer; List? Quantities; ServiceInfoResponse? Service; DateTime? PaymentExpiration; List? Log; List? PaymentLog; List? CheckoutLog; List? ExternalReference; ResponseStatus? ResponseStatus; BookingCalendarExportStatus? CalendarExportStatus; int? LengthInMinutes; String? BookedBy; String? BookedComments; String? UnbookedComments; String? CommentsToCustomer; DateTime? CreatedDate; DateTime? UpdatedDate; DateTime? UnbookedOn; String? CancellationCode; String? RatingCode; BookingQueryResponse({this.Id,this.CompanyId,this.From,this.To,this.Status,this.StatusId,this.StatusName,this.StatusInfo,this.SendEmailReminder,this.SendSmsReminder,this.SendSmsConfirmation,this.SendEmailConfirmation,this.LastTimeToUnBook,this.CustomFields,this.CustomFieldValues,this.BookedResourceTypes,this.Company,this.Customer,this.Quantities,this.Service,this.PaymentExpiration,this.Log,this.PaymentLog,this.CheckoutLog,this.ExternalReference,this.ResponseStatus,this.CalendarExportStatus,this.LengthInMinutes,this.BookedBy,this.BookedComments,this.UnbookedComments,this.CommentsToCustomer,this.CreatedDate,this.UpdatedDate,this.UnbookedOn,this.CancellationCode,this.RatingCode}); BookingQueryResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; CompanyId = json['CompanyId']; From = JsonConverters.fromJson(json['From'],'DateTime',context!); To = JsonConverters.fromJson(json['To'],'DateTime',context!); Status = JsonConverters.fromJson(json['Status'],'BookingStatusEnum',context!); StatusId = json['StatusId']; StatusName = json['StatusName']; StatusInfo = JsonConverters.fromJson(json['StatusInfo'],'BookingStatusQueryResponse',context!); SendEmailReminder = json['SendEmailReminder']; SendSmsReminder = json['SendSmsReminder']; SendSmsConfirmation = json['SendSmsConfirmation']; SendEmailConfirmation = json['SendEmailConfirmation']; LastTimeToUnBook = JsonConverters.fromJson(json['LastTimeToUnBook'],'DateTime',context!); CustomFields = JsonConverters.fromJson(json['CustomFields'],'List',context!); CustomFieldValues = JsonConverters.fromJson(json['CustomFieldValues'],'List',context!); BookedResourceTypes = JsonConverters.fromJson(json['BookedResourceTypes'],'List',context!); Company = JsonConverters.fromJson(json['Company'],'BookedCompany',context!); Customer = JsonConverters.fromJson(json['Customer'],'BookedCustomer',context!); Quantities = JsonConverters.fromJson(json['Quantities'],'List',context!); Service = JsonConverters.fromJson(json['Service'],'ServiceInfoResponse',context!); PaymentExpiration = JsonConverters.fromJson(json['PaymentExpiration'],'DateTime',context!); Log = JsonConverters.fromJson(json['Log'],'List',context!); PaymentLog = JsonConverters.fromJson(json['PaymentLog'],'List',context!); CheckoutLog = JsonConverters.fromJson(json['CheckoutLog'],'List',context!); ExternalReference = JsonConverters.fromJson(json['ExternalReference'],'List',context!); ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); CalendarExportStatus = JsonConverters.fromJson(json['CalendarExportStatus'],'BookingCalendarExportStatus',context!); LengthInMinutes = json['LengthInMinutes']; BookedBy = json['BookedBy']; BookedComments = json['BookedComments']; UnbookedComments = json['UnbookedComments']; CommentsToCustomer = json['CommentsToCustomer']; CreatedDate = JsonConverters.fromJson(json['CreatedDate'],'DateTime',context!); UpdatedDate = JsonConverters.fromJson(json['UpdatedDate'],'DateTime',context!); UnbookedOn = JsonConverters.fromJson(json['UnbookedOn'],'DateTime',context!); CancellationCode = json['CancellationCode']; RatingCode = json['RatingCode']; return this; } Map toJson() => { 'Id': Id, 'CompanyId': CompanyId, 'From': JsonConverters.toJson(From,'DateTime',context!), 'To': JsonConverters.toJson(To,'DateTime',context!), 'Status': JsonConverters.toJson(Status,'BookingStatusEnum',context!), 'StatusId': StatusId, 'StatusName': StatusName, 'StatusInfo': JsonConverters.toJson(StatusInfo,'BookingStatusQueryResponse',context!), 'SendEmailReminder': SendEmailReminder, 'SendSmsReminder': SendSmsReminder, 'SendSmsConfirmation': SendSmsConfirmation, 'SendEmailConfirmation': SendEmailConfirmation, 'LastTimeToUnBook': JsonConverters.toJson(LastTimeToUnBook,'DateTime',context!), 'CustomFields': JsonConverters.toJson(CustomFields,'List',context!), 'CustomFieldValues': JsonConverters.toJson(CustomFieldValues,'List',context!), 'BookedResourceTypes': JsonConverters.toJson(BookedResourceTypes,'List',context!), 'Company': JsonConverters.toJson(Company,'BookedCompany',context!), 'Customer': JsonConverters.toJson(Customer,'BookedCustomer',context!), 'Quantities': JsonConverters.toJson(Quantities,'List',context!), 'Service': JsonConverters.toJson(Service,'ServiceInfoResponse',context!), 'PaymentExpiration': JsonConverters.toJson(PaymentExpiration,'DateTime',context!), 'Log': JsonConverters.toJson(Log,'List',context!), 'PaymentLog': JsonConverters.toJson(PaymentLog,'List',context!), 'CheckoutLog': JsonConverters.toJson(CheckoutLog,'List',context!), 'ExternalReference': JsonConverters.toJson(ExternalReference,'List',context!), 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'CalendarExportStatus': JsonConverters.toJson(CalendarExportStatus,'BookingCalendarExportStatus',context!), 'LengthInMinutes': LengthInMinutes, 'BookedBy': BookedBy, 'BookedComments': BookedComments, 'UnbookedComments': UnbookedComments, 'CommentsToCustomer': CommentsToCustomer, 'CreatedDate': JsonConverters.toJson(CreatedDate,'DateTime',context!), 'UpdatedDate': JsonConverters.toJson(UpdatedDate,'DateTime',context!), 'UnbookedOn': JsonConverters.toJson(UnbookedOn,'DateTime',context!), 'CancellationCode': CancellationCode, 'RatingCode': RatingCode }; getTypeName() => "BookingQueryResponse"; TypeContext? context = _ctx; } // @Route("/superadmin/bookings", "GET") // @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) class SuperAdminBookingQuery extends QueryDb2 implements IReturn>, IConvertible, IGet { /** * Query for specific Booked Resources, default is all resources */ // @DataMember(Name="BookedResourceIds") // @ApiMember(Description="Query for specific Booked Resources, default is all resources", ParameterType="query") List? BookedResourceIds; /** * Query for specific Booked Resource types, default is all resource types */ // @DataMember(Name="BookedResourceTypeIds") // @ApiMember(Description="Query for specific Booked Resource types, default is all resource types", ParameterType="query") List? BookedResourceTypeIds; /** * The company id, if empty will use the company id for the user you are logged in with. */ // @ApiMember(Description="The company id, if empty will use the company id for the user you are logged in with.") String? CompanyId; /** * Id of the booking */ // @ApiMember(Description="Id of the booking", ParameterType="path") int? Id; /** * The cancellation code of the booking, can be used if you want to get a booking without being authenticated */ // @ApiMember(DataType="string", Description="The cancellation code of the booking, can be used if you want to get a booking without being authenticated", ParameterType="query") String? CancellationCode; /** * Start of interval to query for bookings. UTC+0 and parameter as defined by date-time - RFC3339 */ // @ApiMember(DataType="dateTime", Description="Start of interval to query for bookings. UTC+0 and parameter as defined by date-time - RFC3339", ParameterType="query") DateTime? BookingStart; /** * End of interval to query for bookings. UTC+0 and parameter as defined by date-time - RFC3339 */ // @ApiMember(DataType="dateTime", Description="End of interval to query for bookings. UTC+0 and parameter as defined by date-time - RFC3339", ParameterType="query") DateTime? BookingEnd; /** * Start of interval to query for bookings when they where created. UTC+0 and parameter as defined by date-time - RFC3339 */ // @ApiMember(DataType="dateTime", Description="Start of interval to query for bookings when they where created. UTC+0 and parameter as defined by date-time - RFC3339", ParameterType="query") DateTime? CreatedFrom; /** * End of interval to query for bookings when they where created. UTC+0 and parameter as defined by date-time - RFC3339 */ // @ApiMember(DataType="dateTime", Description="End of interval to query for bookings when they where created. UTC+0 and parameter as defined by date-time - RFC3339", ParameterType="query") DateTime? CreatedTo; /** * Set to true if you want to include the bookings for the company you are logged in as administrator on, if false only bookings for the logged in user will be retrieved. Only administrators are allowed to do this. */ // @ApiMember(DataType="boolean", Description="Set to true if you want to include the bookings for the company you are logged in as administrator on, if false only bookings for the logged in user will be retrieved. Only administrators are allowed to do this.", ParameterType="query") bool? CompanyBookings; /** * Query for specific services. */ // @ApiMember(Description="Query for specific services.", ParameterType="query") List? ServiceIds; /** * Query for specific booking statuses. Valid statuses are TimeBooked = 1, TimeUnbooked = 2, TimeReserved = 3, TimeCanceled = 4, AwaitingPayment = 5, AwaitingPaymentNoTimeLimit = 6, BookedAndPayed = 7, 8 = AwaitingPaymentRequestFromAdmin, 9 = AwaitingPaymentFromProvider. Default is all. */ // @ApiMember(Description="Query for specific booking statuses. Valid statuses are TimeBooked = 1, TimeUnbooked = 2, TimeReserved = 3, TimeCanceled = 4, AwaitingPayment = 5, AwaitingPaymentNoTimeLimit = 6, BookedAndPayed = 7, 8 = AwaitingPaymentRequestFromAdmin, 9 = AwaitingPaymentFromProvider. Default is all.", ParameterType="query") List? StatusIds; /** * Query for specific customer */ // @ApiMember(Description="Query for specific customer", ParameterType="query") String? CustomerId; /** * If you want to include the connected resource types and resources */ // @ApiMember(DataType="boolean", Description="If you want to include the connected resource types and resources", ParameterType="query") bool? IncludeCustomFields; /** * If you want to include the connected custom fields */ // @ApiMember(DataType="boolean", Description="If you want to include the connected custom fields", ParameterType="query") bool? IncludeCustomFieldValues; /** * If you want to include the booked resources */ // @ApiMember(DataType="boolean", Description="If you want to include the booked resources", ParameterType="query") bool? IncludeBookedResourceTypes; /** * If you want to include the company information for the booking */ // @ApiMember(DataType="boolean", Description="If you want to include the company information for the booking", ParameterType="query") bool? IncludeCompanyInformation; /** * If you want to include the service information for the booking */ // @ApiMember(DataType="boolean", Description="If you want to include the service information for the booking", ParameterType="query") bool? IncludeServiceInformation; /** * If you want to include the customer information for the booking */ // @ApiMember(DataType="boolean", Description="If you want to include the customer information for the booking", ParameterType="query") bool? IncludeCustomerInformation; /** * If you want to include the log of all events on the booking */ // @ApiMember(DataType="boolean", Description="If you want to include the log of all events on the booking", ParameterType="query") bool? IncludeLog; /** * If you want to include the payment log on the booking */ // @ApiMember(DataType="boolean", Description="If you want to include the payment log on the booking", ParameterType="query") bool? IncludePaymentLog; /** * If you want to include the checkouts for payson */ // @ApiMember(DataType="boolean", Description="If you want to include the checkouts for payson", ParameterType="query") bool? IncludeCheckoutLog; /** * If you want to include the quantity and price information on the booking */ // @ApiMember(DataType="boolean", Description="If you want to include the quantity and price information on the booking", ParameterType="query") bool? IncludeQuantityInformation; /** * If you want to include google calendar sync status */ // @ApiMember(DataType="boolean", Description="If you want to include google calendar sync status", ParameterType="query") bool? IncludeCalendarExportStatus; /** * If you want to include booking status information */ // @ApiMember(DataType="boolean", Description="If you want to include booking status information", ParameterType="query") bool? IncludeStatusInformation; /** * The max limit of records you want to retrieve, default is 100 */ // @ApiMember(DataType="int", Description="The max limit of records you want to retrieve, default is 100", ParameterType="query") int? MaxLimit; ResponseStatus? ResponseStatus; SuperAdminBookingQuery({this.BookedResourceIds,this.BookedResourceTypeIds,this.CompanyId,this.Id,this.CancellationCode,this.BookingStart,this.BookingEnd,this.CreatedFrom,this.CreatedTo,this.CompanyBookings,this.ServiceIds,this.StatusIds,this.CustomerId,this.IncludeCustomFields,this.IncludeCustomFieldValues,this.IncludeBookedResourceTypes,this.IncludeCompanyInformation,this.IncludeServiceInformation,this.IncludeCustomerInformation,this.IncludeLog,this.IncludePaymentLog,this.IncludeCheckoutLog,this.IncludeQuantityInformation,this.IncludeCalendarExportStatus,this.IncludeStatusInformation,this.MaxLimit,this.ResponseStatus}); SuperAdminBookingQuery.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); BookedResourceIds = JsonConverters.fromJson(json['BookingResourceRelationResourceIds'],'List',context!); BookedResourceTypeIds = JsonConverters.fromJson(json['BookingResourceRelationResourceTypeIds'],'List',context!); CompanyId = json['CompanyId']; Id = json['Id']; CancellationCode = json['CancellationCode']; BookingStart = JsonConverters.fromJson(json['BookingStart'],'DateTime',context!); BookingEnd = JsonConverters.fromJson(json['BookingEnd'],'DateTime',context!); CreatedFrom = JsonConverters.fromJson(json['CreatedFrom'],'DateTime',context!); CreatedTo = JsonConverters.fromJson(json['CreatedTo'],'DateTime',context!); CompanyBookings = json['CompanyBookings']; ServiceIds = JsonConverters.fromJson(json['ServiceIds'],'List',context!); StatusIds = JsonConverters.fromJson(json['StatusIds'],'List',context!); CustomerId = json['CustomerId']; IncludeCustomFields = json['IncludeCustomFields']; IncludeCustomFieldValues = json['IncludeCustomFieldValues']; IncludeBookedResourceTypes = json['IncludeBookedResourceTypes']; IncludeCompanyInformation = json['IncludeCompanyInformation']; IncludeServiceInformation = json['IncludeServiceInformation']; IncludeCustomerInformation = json['IncludeCustomerInformation']; IncludeLog = json['IncludeLog']; IncludePaymentLog = json['IncludePaymentLog']; IncludeCheckoutLog = json['IncludeCheckoutLog']; IncludeQuantityInformation = json['IncludeQuantityInformation']; IncludeCalendarExportStatus = json['IncludeCalendarExportStatus']; IncludeStatusInformation = json['IncludeStatusInformation']; MaxLimit = json['MaxLimit']; ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => super.toJson()..addAll({ 'BookedResourceIds': JsonConverters.toJson(BookedResourceIds,'List',context!), 'BookedResourceTypeIds': JsonConverters.toJson(BookedResourceTypeIds,'List',context!), 'CompanyId': CompanyId, 'Id': Id, 'CancellationCode': CancellationCode, 'BookingStart': JsonConverters.toJson(BookingStart,'DateTime',context!), 'BookingEnd': JsonConverters.toJson(BookingEnd,'DateTime',context!), 'CreatedFrom': JsonConverters.toJson(CreatedFrom,'DateTime',context!), 'CreatedTo': JsonConverters.toJson(CreatedTo,'DateTime',context!), 'CompanyBookings': CompanyBookings, 'ServiceIds': JsonConverters.toJson(ServiceIds,'List',context!), 'StatusIds': JsonConverters.toJson(StatusIds,'List',context!), 'CustomerId': CustomerId, 'IncludeCustomFields': IncludeCustomFields, 'IncludeCustomFieldValues': IncludeCustomFieldValues, 'IncludeBookedResourceTypes': IncludeBookedResourceTypes, 'IncludeCompanyInformation': IncludeCompanyInformation, 'IncludeServiceInformation': IncludeServiceInformation, 'IncludeCustomerInformation': IncludeCustomerInformation, 'IncludeLog': IncludeLog, 'IncludePaymentLog': IncludePaymentLog, 'IncludeCheckoutLog': IncludeCheckoutLog, 'IncludeQuantityInformation': IncludeQuantityInformation, 'IncludeCalendarExportStatus': IncludeCalendarExportStatus, 'IncludeStatusInformation': IncludeStatusInformation, 'MaxLimit': MaxLimit, 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }); createResponse() => QueryResponse(); getResponseTypeName() => "QueryResponse"; getTypeName() => "SuperAdminBookingQuery"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.bokamera.se', types: { 'ICompany': TypeInfo(TypeOf.Interface), 'BaseModel': TypeInfo(TypeOf.Class, create:() => BaseModel()), 'BookingLogEventType': TypeInfo(TypeOf.Class, create:() => BookingLogEventType()), 'BookingLog': TypeInfo(TypeOf.Class, create:() => BookingLog()), 'BookingStatus': TypeInfo(TypeOf.Class, create:() => BookingStatus()), 'BookingStatusQueryResponse': TypeInfo(TypeOf.Class, create:() => BookingStatusQueryResponse()), 'IDbConnectionFactory': TypeInfo(TypeOf.Interface), 'ServerData': TypeInfo(TypeOf.Class, create:() => ServerData()), 'Credentials': TypeInfo(TypeOf.Class, create:() => Credentials()), 'CheckoutData': TypeInfo(TypeOf.Class, create:() => CheckoutData()), 'Uri': TypeInfo(TypeOf.Class, create:() => Uri()), 'CheckoutPaymentData': TypeInfo(TypeOf.Class, create:() => CheckoutPaymentData()), 'PaymentInfo': TypeInfo(TypeOf.Class, create:() => PaymentInfo()), 'CartHandling': TypeInfo(TypeOf.Class, create:() => CartHandling()), 'CartTotal': TypeInfo(TypeOf.Class, create:() => CartTotal()), 'Shipping': TypeInfo(TypeOf.Class, create:() => Shipping()), 'Cart': TypeInfo(TypeOf.Class, create:() => Cart()), 'CustomerBilling': TypeInfo(TypeOf.Class, create:() => CustomerBilling()), 'QvicklyCustomer': TypeInfo(TypeOf.Class, create:() => QvicklyCustomer()), 'InitCheckoutData': TypeInfo(TypeOf.Class, create:() => InitCheckoutData()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'QvicklyArticle': TypeInfo(TypeOf.Class, create:() => QvicklyArticle()), 'InitCheckoutRequestBody': TypeInfo(TypeOf.Class, create:() => InitCheckoutRequestBody()), 'QvicklyCheckoutResponse': TypeInfo(TypeOf.Class, create:() => QvicklyCheckoutResponse()), 'QvikclyPaymentData': TypeInfo(TypeOf.Class, create:() => QvikclyPaymentData()), 'Card': TypeInfo(TypeOf.Class, create:() => Card()), 'Settlement': TypeInfo(TypeOf.Class, create:() => Settlement()), 'QvicklyPaymentResponse': TypeInfo(TypeOf.Class, create:() => QvicklyPaymentResponse()), 'Payson2CheckoutStatus': TypeInfo(TypeOf.Enum, enumValues:Payson2CheckoutStatus.values), 'ExternalReference': TypeInfo(TypeOf.Class, create:() => ExternalReference()), 'CompanyStatus': TypeInfo(TypeOf.Enum, enumValues:CompanyStatus.values), 'CustomFieldValue': TypeInfo(TypeOf.Class, create:() => CustomFieldValue()), 'CustomField': TypeInfo(TypeOf.Class, create:() => CustomField()), 'RegEx': TypeInfo(TypeOf.Class, create:() => RegEx()), 'CustomFieldServiceRelation': TypeInfo(TypeOf.Class, create:() => CustomFieldServiceRelation()), 'CustomFieldConfig': TypeInfo(TypeOf.Class, create:() => CustomFieldConfig()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'Service': TypeInfo(TypeOf.Class, create:() => Service()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'ScheduleView': TypeInfo(TypeOf.Class, create:() => ScheduleView()), 'WeekNumberSetting': TypeInfo(TypeOf.Class, create:() => WeekNumberSetting()), 'BookingTemplate': TypeInfo(TypeOf.Class, create:() => BookingTemplate()), 'CalendarType': TypeInfo(TypeOf.Class, create:() => CalendarType()), 'FreeSpotTexts': TypeInfo(TypeOf.Class, create:() => FreeSpotTexts()), 'BookingStatusOptions': TypeInfo(TypeOf.Class, create:() => BookingStatusOptions()), 'BookingSettings': TypeInfo(TypeOf.Class, create:() => BookingSettings()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'CompanyType': TypeInfo(TypeOf.Class, create:() => CompanyType()), 'CodeLockSystem': TypeInfo(TypeOf.Class, create:() => CodeLockSystem()), 'CodeLockSetting': TypeInfo(TypeOf.Class, create:() => CodeLockSetting()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'AdminPaymentOptions': TypeInfo(TypeOf.Class, create:() => AdminPaymentOptions()), 'PaymentProviders': TypeInfo(TypeOf.Class, create:() => PaymentProviders()), 'PaymentSetting': TypeInfo(TypeOf.Class, create:() => PaymentSetting()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'LanguageResponse': TypeInfo(TypeOf.Class, create:() => LanguageResponse()), 'CompanySetting': TypeInfo(TypeOf.Class, create:() => CompanySetting()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'WidgetServiceLayouts': TypeInfo(TypeOf.Class, create:() => WidgetServiceLayouts()), 'WidgetTimeLayouts': TypeInfo(TypeOf.Class, create:() => WidgetTimeLayouts()), 'WidgetBookingLayouts': TypeInfo(TypeOf.Class, create:() => WidgetBookingLayouts()), 'WidgetBookingMethods': TypeInfo(TypeOf.Class, create:() => WidgetBookingMethods()), 'HomepageWidgetSetting': TypeInfo(TypeOf.Class, create:() => HomepageWidgetSetting()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'HomepageTemplate': TypeInfo(TypeOf.Class, create:() => HomepageTemplate()), 'HeroSectionStyle': TypeInfo(TypeOf.Class, create:() => HeroSectionStyle()), 'HomepageSetting': TypeInfo(TypeOf.Class, create:() => HomepageSetting()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'AverageRatingScore': TypeInfo(TypeOf.Class, create:() => AverageRatingScore()), 'Review': TypeInfo(TypeOf.Class, create:() => Review()), 'Rating': TypeInfo(TypeOf.Class, create:() => Rating()), 'LicenseTypeItem': TypeInfo(TypeOf.Class, create:() => LicenseTypeItem()), 'LicenseType': TypeInfo(TypeOf.Class, create:() => LicenseType()), 'Currency': TypeInfo(TypeOf.Enum, enumValues:Currency.values), 'Country': TypeInfo(TypeOf.Class, create:() => Country()), 'LicensePrice': TypeInfo(TypeOf.Class, create:() => LicensePrice()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'License': TypeInfo(TypeOf.Class, create:() => License()), 'CompanyCategory': TypeInfo(TypeOf.Class, create:() => CompanyCategory()), 'Company': TypeInfo(TypeOf.Class, create:() => Company()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'CultureInfo': TypeInfo(TypeOf.Class, create:() => CultureInfo()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'CustomFieldDataResponse': TypeInfo(TypeOf.Class, create:() => CustomFieldDataResponse()), 'Customer': TypeInfo(TypeOf.Class, create:() => Customer()), 'CustomerType': TypeInfo(TypeOf.Class, create:() => CustomerType()), 'ItemType': TypeInfo(TypeOf.Enum, enumValues:ItemType.values), 'Item': TypeInfo(TypeOf.Class, create:() => Item()), 'Order': TypeInfo(TypeOf.Class, create:() => Order()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'Merchant': TypeInfo(TypeOf.Class, create:() => Merchant()), 'ColorScheme': TypeInfo(TypeOf.Enum, enumValues:ColorScheme.values), 'Gui': TypeInfo(TypeOf.Class, create:() => Gui()), 'History': TypeInfo(TypeOf.Class, create:() => History()), 'Payson2CheckoutResponse': TypeInfo(TypeOf.Class, create:() => Payson2CheckoutResponse()), 'IPaysonPaymentCheckout1': TypeInfo(TypeOf.Interface), 'PaymentLog': TypeInfo(TypeOf.Class, create:() => PaymentLog()), 'PayableEntity': TypeInfo(TypeOf.AbstractClass), 'IBokameraPaymentManager': TypeInfo(TypeOf.Class, create:() => IBokameraPaymentManager()), 'IBokameraPaymentManager': TypeInfo(TypeOf.Class, create:() => IBokameraPaymentManager()), 'ILogger1': TypeInfo(TypeOf.Class, create:() => ILogger1()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'CalendarExport': TypeInfo(TypeOf.Class, create:() => CalendarExport()), 'PaymentDetails': TypeInfo(TypeOf.Class, create:() => PaymentDetails()), 'RebateCodeType': TypeInfo(TypeOf.Class, create:() => RebateCodeType()), 'AppliedRebateCodes': TypeInfo(TypeOf.Class, create:() => AppliedRebateCodes()), 'BookingPrice': TypeInfo(TypeOf.Class, create:() => BookingPrice()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'BookingStatusEnum': TypeInfo(TypeOf.Enum, enumValues:BookingStatusEnum.values), 'ScheduleType': TypeInfo(TypeOf.Enum, enumValues:ScheduleType.values), 'ISchedule': TypeInfo(TypeOf.Interface), 'ITimeException': TypeInfo(TypeOf.Interface), 'BookedCustomer': TypeInfo(TypeOf.Class, create:() => BookedCustomer()), 'IBookedTime': TypeInfo(TypeOf.Interface), 'Resource': TypeInfo(TypeOf.Class, create:() => Resource()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'BookedResource': TypeInfo(TypeOf.Class, create:() => BookedResource()), 'BookedResourceType': TypeInfo(TypeOf.Class, create:() => BookedResourceType()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'PriceMapping': TypeInfo(TypeOf.Class, create:() => PriceMapping()), 'Booking': TypeInfo(TypeOf.Class, create:() => Booking()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'IInterval': TypeInfo(TypeOf.Interface), 'List': TypeInfo(TypeOf.Class, create:() => []), 'UserAccessKeys': TypeInfo(TypeOf.Class, create:() => UserAccessKeys()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'CustomerComment': TypeInfo(TypeOf.Class, create:() => CustomerComment()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'RebateCode': TypeInfo(TypeOf.Class, create:() => RebateCode()), 'GroupBookingSettings': TypeInfo(TypeOf.Class, create:() => GroupBookingSettings()), 'MultipleResourceSettings': TypeInfo(TypeOf.Class, create:() => MultipleResourceSettings()), 'ServiceInfoResponse': TypeInfo(TypeOf.Class, create:() => ServiceInfoResponse()), 'CustomFieldValueResponse': TypeInfo(TypeOf.Class, create:() => CustomFieldValueResponse()), 'CustomFieldConfigData': TypeInfo(TypeOf.Class, create:() => CustomFieldConfigData()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'BookedCompany': TypeInfo(TypeOf.Class, create:() => BookedCompany()), 'CurrencyInfoResponse': TypeInfo(TypeOf.Class, create:() => CurrencyInfoResponse()), 'BookingPaymentLogQueryResponse': TypeInfo(TypeOf.Class, create:() => BookingPaymentLogQueryResponse()), 'BookingCheckoutQueryResponse': TypeInfo(TypeOf.Class, create:() => BookingCheckoutQueryResponse()), 'ExternalReferenceResponse': TypeInfo(TypeOf.Class, create:() => ExternalReferenceResponse()), 'BookingCalendarExportStatus': TypeInfo(TypeOf.Class, create:() => BookingCalendarExportStatus()), 'IBaseModelCreated': TypeInfo(TypeOf.Interface), 'IBaseModelUpdated': TypeInfo(TypeOf.Interface), 'IBokameraPaymentManager': TypeInfo(TypeOf.Interface), 'ILogger1': TypeInfo(TypeOf.Interface), 'IPayableEntity': TypeInfo(TypeOf.Interface), 'ICompanyInformationLoader': TypeInfo(TypeOf.Interface), 'ICustomerInformationLoader': TypeInfo(TypeOf.Interface), 'ICustomFieldTable': TypeInfo(TypeOf.Interface), 'ILogger': TypeInfo(TypeOf.Interface), 'BookingLogQueryResponse': TypeInfo(TypeOf.Class, create:() => BookingLogQueryResponse()), 'BookingLogEventTypeResponse': TypeInfo(TypeOf.Class, create:() => BookingLogEventTypeResponse()), 'BookedQuantity': TypeInfo(TypeOf.Class, create:() => BookedQuantity()), 'BookingQueryResponse': TypeInfo(TypeOf.Class, create:() => BookingQueryResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'QueryResponse': TypeInfo(TypeOf.Class, create:() => QueryResponse()), 'SuperAdminBookingQuery': TypeInfo(TypeOf.Class, create:() => SuperAdminBookingQuery()), 'List': TypeInfo(TypeOf.Class, create:() => []), });