/* Options: Date: 2024-07-03 14:22:09 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: DeleteResourceType.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; // @Route("/resourcetypes/{Id}", "DELETE") // @ValidateRequest(Validator="IsAuthenticated") class DeleteResourceType implements IConvertible, IDelete { /** * Id of the resource to delete */ // @ApiMember(Description="Id of the resource to delete", IsRequired=true) int? Id; DeleteResourceType({this.Id}); DeleteResourceType.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; return this; } Map toJson() => { 'Id': Id }; getTypeName() => "DeleteResourceType"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.bokamera.se', types: { 'DeleteResourceType': TypeInfo(TypeOf.Class, create:() => DeleteResourceType()), });