/* Options: Date: 2025-12-06 05:18:18 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.dev.dynamics.trendsic.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: CustomersInLine.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class CustomerInLineObject implements IConvertible { String? Id; String? Name; String? FullName; DateTime? SignInTime; DateTime? AdjustedSignInTime; int? Status; int? TaskTime; bool? Completed; bool? SendReminders; DateTime? CompletedTime; String? EmployeeId; String? Employee; String? Line; String? Description; String? ServiceId; String? StationId; String? StationName; CustomerInLineObject({this.Id,this.Name,this.FullName,this.SignInTime,this.AdjustedSignInTime,this.Status,this.TaskTime,this.Completed,this.SendReminders,this.CompletedTime,this.EmployeeId,this.Employee,this.Line,this.Description,this.ServiceId,this.StationId,this.StationName}); CustomerInLineObject.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; Name = json['Name']; FullName = json['FullName']; SignInTime = JsonConverters.fromJson(json['SignInTime'],'DateTime',context!); AdjustedSignInTime = JsonConverters.fromJson(json['AdjustedSignInTime'],'DateTime',context!); Status = json['Status']; TaskTime = json['TaskTime']; Completed = json['Completed']; SendReminders = json['SendReminders']; CompletedTime = JsonConverters.fromJson(json['CompletedTime'],'DateTime',context!); EmployeeId = json['EmployeeId']; Employee = json['Employee']; Line = json['Line']; Description = json['Description']; ServiceId = json['ServiceId']; StationId = json['StationId']; StationName = json['StationName']; return this; } Map toJson() => { 'Id': Id, 'Name': Name, 'FullName': FullName, 'SignInTime': JsonConverters.toJson(SignInTime,'DateTime',context!), 'AdjustedSignInTime': JsonConverters.toJson(AdjustedSignInTime,'DateTime',context!), 'Status': Status, 'TaskTime': TaskTime, 'Completed': Completed, 'SendReminders': SendReminders, 'CompletedTime': JsonConverters.toJson(CompletedTime,'DateTime',context!), 'EmployeeId': EmployeeId, 'Employee': Employee, 'Line': Line, 'Description': Description, 'ServiceId': ServiceId, 'StationId': StationId, 'StationName': StationName }; getTypeName() => "CustomerInLineObject"; TypeContext? context = _ctx; } class CustomersInLineResponse implements IConvertible { ResponseStatus? ResponseStatus; List? Customers = []; CustomersInLineResponse({this.ResponseStatus,this.Customers}); CustomersInLineResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); Customers = JsonConverters.fromJson(json['Customers'],'List',context!); return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'Customers': JsonConverters.toJson(Customers,'List',context!) }; getTypeName() => "CustomersInLineResponse"; TypeContext? context = _ctx; } // @Route("/v1/CustomersInLine", "GET") // @Route("/v1/CustomersInLine/{LocationId}", "GET") class CustomersInLine implements IReturn, IConvertible, IGet { String? ApiKey; String? LocationId; bool? clientIsLoading; CustomersInLine({this.ApiKey,this.LocationId,this.clientIsLoading}); CustomersInLine.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ApiKey = json['ApiKey']; LocationId = json['LocationId']; clientIsLoading = json['clientIsLoading']; return this; } Map toJson() => { 'ApiKey': ApiKey, 'LocationId': LocationId, 'clientIsLoading': clientIsLoading }; createResponse() => CustomersInLineResponse(); getResponseTypeName() => "CustomersInLineResponse"; getTypeName() => "CustomersInLine"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'CustomerInLineObject': TypeInfo(TypeOf.Class, create:() => CustomerInLineObject()), 'CustomersInLineResponse': TypeInfo(TypeOf.Class, create:() => CustomersInLineResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'CustomersInLine': TypeInfo(TypeOf.Class, create:() => CustomersInLine()), });