/* Options: Date: 2025-01-08 03:23:50 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: CreateCreativeCallback.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class DiffusionApiProviderOutput implements IConvertible { String? fileName; String? url; DiffusionApiProviderOutput({this.fileName,this.url}); DiffusionApiProviderOutput.fromJson(Map json) { fromMap(json); } fromMap(Map json) { fileName = json['fileName']; url = json['url']; return this; } Map toJson() => { 'fileName': fileName, 'url': url }; getTypeName() => "DiffusionApiProviderOutput"; TypeContext? context = _ctx; } class CreateCreativeCallbackResponse implements IConvertible { CreateCreativeCallbackResponse(); CreateCreativeCallbackResponse.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "CreateCreativeCallbackResponse"; TypeContext? context = _ctx; } // @Route("/creatives/callback", "POST") class CreateCreativeCallback implements IReturn, IConvertible, IPost { String? refId; String? state; List? outputs; ResponseStatus? responseStatus; CreateCreativeCallback({this.refId,this.state,this.outputs,this.responseStatus}); CreateCreativeCallback.fromJson(Map json) { fromMap(json); } fromMap(Map json) { refId = json['refId']; state = json['state']; outputs = JsonConverters.fromJson(json['outputs'],'List',context!); responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'refId': refId, 'state': state, 'outputs': JsonConverters.toJson(outputs,'List',context!), 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!) }; createResponse() => CreateCreativeCallbackResponse(); getResponseTypeName() => "CreateCreativeCallbackResponse"; getTypeName() => "CreateCreativeCallback"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'blazordiffusion.com', types: { 'DiffusionApiProviderOutput': TypeInfo(TypeOf.Class, create:() => DiffusionApiProviderOutput()), 'CreateCreativeCallbackResponse': TypeInfo(TypeOf.Class, create:() => CreateCreativeCallbackResponse()), 'CreateCreativeCallback': TypeInfo(TypeOf.Class, create:() => CreateCreativeCallback()), 'List': TypeInfo(TypeOf.Class, create:() => []), });