/* Options: Date: 2026-04-04 02:58:13 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://pfapi.pstpf.com.au/api //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetListItemsForList.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class ListItemModel implements IConvertible { String? ListItemId; String? Name; String? Description; String? ShortName; bool? IsDefault; int? Order; String? ListItemTrafficLightId; String? PrimaryListItemImageId; String? PrimaryListItemImageUrl; String? PrimaryImageThumbnailUrl; String? OwnerContactId; String? RecordStatus; ListItemModel({this.ListItemId,this.Name,this.Description,this.ShortName,this.IsDefault,this.Order,this.ListItemTrafficLightId,this.PrimaryListItemImageId,this.PrimaryListItemImageUrl,this.PrimaryImageThumbnailUrl,this.OwnerContactId,this.RecordStatus}); ListItemModel.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ListItemId = json['ListItemId']; Name = json['Name']; Description = json['Description']; ShortName = json['ShortName']; IsDefault = json['IsDefault']; Order = json['Order']; ListItemTrafficLightId = json['ListItemTrafficLightId']; PrimaryListItemImageId = json['PrimaryListItemImageId']; PrimaryListItemImageUrl = json['PrimaryListItemImageUrl']; PrimaryImageThumbnailUrl = json['PrimaryImageThumbnailUrl']; OwnerContactId = json['OwnerContactId']; RecordStatus = json['RecordStatus']; return this; } Map toJson() => { 'ListItemId': ListItemId, 'Name': Name, 'Description': Description, 'ShortName': ShortName, 'IsDefault': IsDefault, 'Order': Order, 'ListItemTrafficLightId': ListItemTrafficLightId, 'PrimaryListItemImageId': PrimaryListItemImageId, 'PrimaryListItemImageUrl': PrimaryListItemImageUrl, 'PrimaryImageThumbnailUrl': PrimaryImageThumbnailUrl, 'OwnerContactId': OwnerContactId, 'RecordStatus': RecordStatus }; getTypeName() => "ListItemModel"; TypeContext? context = _ctx; } // @ApiResponse(Description="List items for a list") class GetListItemsResponse implements IConvertible { List? ListItems; ResponseStatus? ResponseStatus; GetListItemsResponse({this.ListItems,this.ResponseStatus}); GetListItemsResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ListItems = JsonConverters.fromJson(json['ListItems'],'List',context!); ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'ListItems': JsonConverters.toJson(ListItems,'List',context!), 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "GetListItemsResponse"; TypeContext? context = _ctx; } /** * Get list items of the specified data list */ // @Route("/datalist/items/{DataListId}") // @Api(Description="Get list items of the specified data list") class GetListItemsForList implements IReturn, IConvertible, IGet { /** * The Data List Guid. Records retrieved will belong to this data list. */ // @ApiMember(DataType="Guid", Description="The Data List Guid. Records retrieved will belong to this data list.", Name="DataListId") String? DataListId; GetListItemsForList({this.DataListId}); GetListItemsForList.fromJson(Map json) { fromMap(json); } fromMap(Map json) { DataListId = json['DataListId']; return this; } Map toJson() => { 'DataListId': DataListId }; createResponse() => GetListItemsResponse(); getResponseTypeName() => "GetListItemsResponse"; getTypeName() => "GetListItemsForList"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'pfapi.pstpf.com.au', types: { 'ListItemModel': TypeInfo(TypeOf.Class, create:() => ListItemModel()), 'GetListItemsResponse': TypeInfo(TypeOf.Class, create:() => GetListItemsResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'GetListItemsForList': TypeInfo(TypeOf.Class, create:() => GetListItemsForList()), });