/* Options: Date: 2025-11-07 04:08:49 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://testapi.bokamera.se //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: UpdateCompanyInvoiceArticle.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class CompanyInvoiceArticleQueryResponse implements IConvertible { String? Name; int? LicenseTypeId; int? LicenseProductTypeId; int? Id; CompanyInvoiceArticleQueryResponse({this.Name,this.LicenseTypeId,this.LicenseProductTypeId,this.Id}); CompanyInvoiceArticleQueryResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Name = json['Name']; LicenseTypeId = json['LicenseTypeId']; LicenseProductTypeId = json['LicenseProductTypeId']; Id = json['Id']; return this; } Map toJson() => { 'Name': Name, 'LicenseTypeId': LicenseTypeId, 'LicenseProductTypeId': LicenseProductTypeId, 'Id': Id }; getTypeName() => "CompanyInvoiceArticleQueryResponse"; TypeContext? context = _ctx; } // @Route("/company/invoice/article", "PUT") // @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) // @ValidateRequest(Validator="IsAuthenticated") class UpdateCompanyInvoiceArticle implements IReturn, IConvertible, IPut { /** * Invoice article No in Db. */ // @ApiMember(Description="Invoice article No in Db.", IsRequired=true) int? Id; /** * Invoice article Name */ // @ApiMember(Description="Invoice article Name") String? Name; /** * Invoice article Name */ // @ApiMember(Description="Invoice article Name") int? LicenseTypeId; /** * Invoice LicenseProductTypeId */ // @ApiMember(Description="Invoice LicenseProductTypeId") int? LicenseProductTypeId; /** * Invoice article is TIER license */ // @ApiMember(Description="Invoice article is TIER license") bool? IsMainLicense; /** * Invoice VossProductGroupId reference */ // @ApiMember(Description="Invoice VossProductGroupId reference") String? VossProductGroupId; UpdateCompanyInvoiceArticle({this.Id,this.Name,this.LicenseTypeId,this.LicenseProductTypeId,this.IsMainLicense,this.VossProductGroupId}); UpdateCompanyInvoiceArticle.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; Name = json['Name']; LicenseTypeId = json['LicenseTypeId']; LicenseProductTypeId = json['LicenseProductTypeId']; IsMainLicense = json['IsMainLicense']; VossProductGroupId = json['VossProductGroupId']; return this; } Map toJson() => { 'Id': Id, 'Name': Name, 'LicenseTypeId': LicenseTypeId, 'LicenseProductTypeId': LicenseProductTypeId, 'IsMainLicense': IsMainLicense, 'VossProductGroupId': VossProductGroupId }; createResponse() => CompanyInvoiceArticleQueryResponse(); getResponseTypeName() => "CompanyInvoiceArticleQueryResponse"; getTypeName() => "UpdateCompanyInvoiceArticle"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'testapi.bokamera.se', types: { 'CompanyInvoiceArticleQueryResponse': TypeInfo(TypeOf.Class, create:() => CompanyInvoiceArticleQueryResponse()), 'UpdateCompanyInvoiceArticle': TypeInfo(TypeOf.Class, create:() => UpdateCompanyInvoiceArticle()), });