/* Options: Date: 2025-08-05 02:29:19 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://www.asg.com.au/RestApi //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: WorkflowOperationMessage.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; enum InlineEditingOperation { Publish, SaveAsDraft, Custom, } class ItemContextModel implements IConvertible { String? ItemId; String? ItemType; String? Provider; List? FieldValues; ItemContextModel({this.ItemId,this.ItemType,this.Provider,this.FieldValues}); ItemContextModel.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ItemId = json['ItemId']; ItemType = json['ItemType']; Provider = json['Provider']; FieldValues = JsonConverters.fromJson(json['FieldValues'],'List',context!); return this; } Map toJson() => { 'ItemId': ItemId, 'ItemType': ItemType, 'Provider': Provider, 'FieldValues': JsonConverters.toJson(FieldValues,'List',context!) }; getTypeName() => "ItemContextModel"; TypeContext? context = _ctx; } // @Route("/sitefinity/inlineediting/workflow") class WorkflowOperationMessage implements IConvertible, IPost { String? PageId; InlineEditingOperation? WorkflowOperation; String? CustomWorkflowOperation; List? Items; WorkflowOperationMessage({this.PageId,this.WorkflowOperation,this.CustomWorkflowOperation,this.Items}); WorkflowOperationMessage.fromJson(Map json) { fromMap(json); } fromMap(Map json) { PageId = json['PageId']; WorkflowOperation = JsonConverters.fromJson(json['WorkflowOperation'],'InlineEditingOperation',context!); CustomWorkflowOperation = json['CustomWorkflowOperation']; Items = JsonConverters.fromJson(json['Items'],'List',context!); return this; } Map toJson() => { 'PageId': PageId, 'WorkflowOperation': JsonConverters.toJson(WorkflowOperation,'InlineEditingOperation',context!), 'CustomWorkflowOperation': CustomWorkflowOperation, 'Items': JsonConverters.toJson(Items,'List',context!) }; getTypeName() => "WorkflowOperationMessage"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'www.asg.com.au', types: { 'InlineEditingOperation': TypeInfo(TypeOf.Enum, enumValues:InlineEditingOperation.values), 'ItemContextModel': TypeInfo(TypeOf.Class, create:() => ItemContextModel()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'FieldValueModel': TypeInfo(TypeOf.Class, create:() => FieldValueModel()), 'WorkflowOperationMessage': TypeInfo(TypeOf.Class, create:() => WorkflowOperationMessage()), 'List': TypeInfo(TypeOf.Class, create:() => []), });