/* Options: Date: 2025-01-08 03:07:49 Version: 8.53 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://blazordiffusion.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: DeleteGenerationApiProvider.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class GenerationApiProvider extends AiProviderBase implements IConvertible { // @References(typeof(GenerationApiType)) int? generationApiTypeId; GenerationApiType? type; GenerationApiProvider({this.generationApiTypeId,this.type}); GenerationApiProvider.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); generationApiTypeId = json['generationApiTypeId']; type = JsonConverters.fromJson(json['type'],'GenerationApiType',context!); return this; } Map toJson() => super.toJson()..addAll({ 'generationApiTypeId': generationApiTypeId, 'type': JsonConverters.toJson(type,'GenerationApiType',context!) }); getTypeName() => "GenerationApiProvider"; TypeContext? context = _ctx; } class DeleteGenerationApiProvider implements IReturn, IDeleteDb, IConvertible, IDelete { int? id; String? name; DeleteGenerationApiProvider({this.id,this.name}); DeleteGenerationApiProvider.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; name = json['name']; return this; } Map toJson() => { 'id': id, 'name': name }; createResponse() => IdResponse(); getResponseTypeName() => "IdResponse"; getTypeName() => "DeleteGenerationApiProvider"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'blazordiffusion.com', types: { 'GenerationApiProvider': TypeInfo(TypeOf.Class, create:() => GenerationApiProvider()), 'GenerationApiType': TypeInfo(TypeOf.Class, create:() => GenerationApiType()), 'DeleteGenerationApiProvider': TypeInfo(TypeOf.Class, create:() => DeleteGenerationApiProvider()), });