/* Options: Date: 2025-04-07 19:58:36 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://testapi.bokamera.se //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetVossInvoiceFile.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; // @Route("/voss/invoice/file", "GET") // @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) class GetVossInvoiceFile implements IConvertible, IGet { /** * 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; /** * Controls up to which point of time transactions are included in invoice, can be set to any date, if not provided current UTC time will be used instead */ // @ApiMember(Description="Controls up to which point of time transactions are included in invoice, can be set to any date, if not provided current UTC time will be used instead") DateTime? InvoiceDate; /** * If present the operation will start only after this date */ // @ApiMember(Description="If present the operation will start only after this date") DateTime? ScheduledStartTime; /** * Optional CRON expression for recurring operations. */ // @ApiMember(Description="Optional CRON expression for recurring operations.") String? RecurringSchedule; GetVossInvoiceFile({this.CompanyId,this.InvoiceDate,this.ScheduledStartTime,this.RecurringSchedule}); GetVossInvoiceFile.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CompanyId = json['CompanyId']; InvoiceDate = JsonConverters.fromJson(json['InvoiceDate'],'DateTime',context!); ScheduledStartTime = JsonConverters.fromJson(json['ScheduledStartTime'],'DateTime',context!); RecurringSchedule = json['RecurringSchedule']; return this; } Map toJson() => { 'CompanyId': CompanyId, 'InvoiceDate': JsonConverters.toJson(InvoiceDate,'DateTime',context!), 'ScheduledStartTime': JsonConverters.toJson(ScheduledStartTime,'DateTime',context!), 'RecurringSchedule': RecurringSchedule }; getTypeName() => "GetVossInvoiceFile"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'testapi.bokamera.se', types: { 'GetVossInvoiceFile': TypeInfo(TypeOf.Class, create:() => GetVossInvoiceFile()), });