/* Options: Date: 2025-12-06 09:21:05 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://sfgboxapi.dev.scadsoftware.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: MediaDelete.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class MediaDeleteResponse implements IConvertible { // @DataMember(Order=1) int? id; // @DataMember(Order=10) ResponseStatus? responseStatus; MediaDeleteResponse({this.id,this.responseStatus}); MediaDeleteResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'id': id, 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!) }; getTypeName() => "MediaDeleteResponse"; TypeContext? context = _ctx; } // @Route("/media/{Id}", "DELETE") // @DataContract class MediaDelete implements IReturn, IConvertible, IDelete { // @DataMember(Order=1) // @Validate(Validator="NotNull") int? id; MediaDelete({this.id}); MediaDelete.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; return this; } Map toJson() => { 'id': id }; createResponse() => MediaDeleteResponse(); getResponseTypeName() => "MediaDeleteResponse"; getTypeName() => "MediaDelete"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'sfgboxapi.dev.scadsoftware.com', types: { 'MediaDeleteResponse': TypeInfo(TypeOf.Class, create:() => MediaDeleteResponse()), 'MediaDelete': TypeInfo(TypeOf.Class, create:() => MediaDelete()), });