/* Options: Date: 2024-11-21 11:51:32 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: ExportInvoice.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; abstract class ICompany { String? CompanyId; } // @Route("/billing/company/invoices/{InvoiceId}", "GET") // @ValidateRequest(Validator="IsAuthenticated") class ExportInvoice implements ICompany, IConvertible, IGet { /** * Id of the invoice */ // @ApiMember(Description="Id of the invoice", IsRequired=true, ParameterType="path") int? InvoiceId; /** * 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; ExportInvoice({this.InvoiceId,this.CompanyId}); ExportInvoice.fromJson(Map json) { fromMap(json); } fromMap(Map json) { InvoiceId = json['InvoiceId']; CompanyId = json['CompanyId']; return this; } Map toJson() => { 'InvoiceId': InvoiceId, 'CompanyId': CompanyId }; getTypeName() => "ExportInvoice"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.bokamera.se', types: { 'ICompany': TypeInfo(TypeOf.Interface), 'ExportInvoice': TypeInfo(TypeOf.Class, create:() => ExportInvoice()), });