/* Options: Date: 2024-12-03 18:04:57 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: DeleteArticle.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; abstract class ICompany { String? CompanyId; } // @Route("/articles/{Id}", "DELETE") class DeleteArticle implements IReturn, ICompany, IConvertible, IDelete { /** * */ // @ApiMember(Description="") String? CompanyId; /** * */ // @ApiMember(Description="", IsRequired=true, ParameterType="query") int? Id; DeleteArticle({this.CompanyId,this.Id}); DeleteArticle.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CompanyId = json['CompanyId']; Id = json['Id']; return this; } Map toJson() => { 'CompanyId': CompanyId, 'Id': Id }; createResponse() => 0; getResponseTypeName() => "int"; getTypeName() => "DeleteArticle"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.bokamera.se', types: { 'ICompany': TypeInfo(TypeOf.Interface), 'DeleteArticle': TypeInfo(TypeOf.Class, create:() => DeleteArticle()), });