/* Options: Date: 2025-01-08 03:04:35 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: QueueCreative.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class QueueCreative implements IConvertible, IPost { // @required() String? userPrompt; int? images; int? width; int? height; int? steps; int? seed; String? engineId; List? artistIds = []; List? modifierIds = []; QueueCreative({this.userPrompt,this.images,this.width,this.height,this.steps,this.seed,this.engineId,this.artistIds,this.modifierIds}); QueueCreative.fromJson(Map json) { fromMap(json); } fromMap(Map json) { userPrompt = json['userPrompt']; images = json['images']; width = json['width']; height = json['height']; steps = json['steps']; seed = json['seed']; engineId = json['engineId']; artistIds = JsonConverters.fromJson(json['artistIds'],'List',context!); modifierIds = JsonConverters.fromJson(json['modifierIds'],'List',context!); return this; } Map toJson() => { 'userPrompt': userPrompt, 'images': images, 'width': width, 'height': height, 'steps': steps, 'seed': seed, 'engineId': engineId, 'artistIds': JsonConverters.toJson(artistIds,'List',context!), 'modifierIds': JsonConverters.toJson(modifierIds,'List',context!) }; getTypeName() => "QueueCreative"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'blazordiffusion.com', types: { 'QueueCreative': TypeInfo(TypeOf.Class, create:() => QueueCreative()), });