/* Options: Date: 2025-08-05 02:00:51 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: SpecificListsGetRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; // @DataContract class CollectionContext implements IConvertible { // @DataMember int? TotalCount; // @DataMember bool? IsGeneric; // @DataMember Map? Context; // @DataMember List? Items; CollectionContext({this.TotalCount,this.IsGeneric,this.Context,this.Items}); CollectionContext.fromJson(Map json) { fromMap(json); } fromMap(Map json) { TotalCount = json['TotalCount']; IsGeneric = json['IsGeneric']; Context = JsonConverters.fromJson(json['Context'],'Map',context!); Items = JsonConverters.fromJson(json['Items'],'IEnumerable<${runtimeGenericTypeDefs(this,[0]).join(",")}>',context!); return this; } Map toJson() => { 'TotalCount': TotalCount, 'IsGeneric': IsGeneric, 'Context': JsonConverters.toJson(Context,'Map',context!), 'Items': JsonConverters.toJson(Items,'List',context!) }; getTypeName() => "CollectionContext<$ListViewModel>"; TypeContext? context = _ctx; } // @Route("/lists-api/items", "PUT") class SpecificListsGetRequest implements IReturn>, IConvertible, IPut { List? Ids; String? Provider; SpecificListsGetRequest({this.Ids,this.Provider}); SpecificListsGetRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Ids = JsonConverters.fromJson(json['Ids'],'List',context!); Provider = json['Provider']; return this; } Map toJson() => { 'Ids': JsonConverters.toJson(Ids,'List',context!), 'Provider': Provider }; createResponse() => CollectionContext(); getResponseTypeName() => "CollectionContext"; getTypeName() => "SpecificListsGetRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'www.asg.com.au', types: { 'CollectionContext': TypeInfo(TypeOf.Class, create:() => CollectionContext()), 'Map': TypeInfo(TypeOf.Class, create:() => Map()), 'SpecificListsGetRequest': TypeInfo(TypeOf.Class, create:() => SpecificListsGetRequest()), });