/* Options: Date: 2026-04-23 04:04:28 Version: 10.05 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: DeleteCustomerArticle.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; abstract class ICompany { String? CompanyId; } // @Route("/customerarticle/{Id}", "DELETE") // @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) // @ValidateRequest(Validator="IsAuthenticated") class DeleteCustomerArticle implements IReturn, ICompany, IConvertible, IDelete { /** * The customer article id */ // @ApiMember(Description="The customer article id", IsRequired=true, ParameterType="path") int Id = 0; /** * 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; DeleteCustomerArticle({this.Id,this.CompanyId}); DeleteCustomerArticle.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; CompanyId = json['CompanyId']; return this; } Map toJson() => { 'Id': Id, 'CompanyId': CompanyId }; createResponse() => 0; getResponseTypeName() => "int"; getTypeName() => "DeleteCustomerArticle"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.bokamera.se', types: { 'ICompany': TypeInfo(TypeOf.Interface), 'DeleteCustomerArticle': TypeInfo(TypeOf.Class, create:() => DeleteCustomerArticle()), });