/* Options: Date: 2026-04-04 01:23:37 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: GetTimezones.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class DataListItemModel implements IConvertible { /** * Guid of the list item PKID. */ // @ApiMember(DataType="Guid", Description="Guid of the list item PKID.", IsRequired=true, Name="ListItemId", ParameterType="query") String? ListItemId; /** * Name of the list item. */ // @ApiMember(DataType="string", Description="Name of the list item.", Name="Name", ParameterType="query") String? Name; /** * Short Version Name of the list item. */ // @ApiMember(DataType="string", Description="Short Version Name of the list item.", Name="ShortName", ParameterType="query") String? ShortName; /** * The primary image url */ // @ApiMember(DataType="string", Description="The primary image url", Name="PrimaryImagePath", ParameterType="query") String? PrimaryImagePath; /** * Record Status of the List Item (A=Active, I=Inactive, D=Deleted). */ // @ApiMember(DataType="string", Description="Record Status of the List Item (A=Active, I=Inactive, D=Deleted).", Name="RecordStatus", ParameterType="query") String? RecordStatus; /** * The order (if any) of this item in the list. */ // @ApiMember(DataType="int", Description="The order (if any) of this item in the list.", Name="Order", ParameterType="query") int? Order; /** * The owner of this item. */ // @ApiMember(DataType="Guid", Description="The owner of this item.", Name="OwnerContactId", ParameterType="query") String? OwnerContactId; List? ExtraValues; DataListItemModel({this.ListItemId,this.Name,this.ShortName,this.PrimaryImagePath,this.RecordStatus,this.Order,this.OwnerContactId,this.ExtraValues}); DataListItemModel.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ListItemId = json['ListItemId']; Name = json['Name']; ShortName = json['ShortName']; PrimaryImagePath = json['PrimaryImagePath']; RecordStatus = json['RecordStatus']; Order = json['Order']; OwnerContactId = json['OwnerContactId']; ExtraValues = JsonConverters.fromJson(json['ExtraValues'],'List',context!); return this; } Map toJson() => { 'ListItemId': ListItemId, 'Name': Name, 'ShortName': ShortName, 'PrimaryImagePath': PrimaryImagePath, 'RecordStatus': RecordStatus, 'Order': Order, 'OwnerContactId': OwnerContactId, 'ExtraValues': JsonConverters.toJson(ExtraValues,'List',context!) }; getTypeName() => "DataListItemModel"; TypeContext? context = _ctx; } class DataListModel implements IConvertible { /** * Guid of the List PKID. */ // @ApiMember(DataType="Guid", Description="Guid of the List PKID.", IsRequired=true, Name="ListId", ParameterType="query") String? ListId; /** * Name of the list. */ // @ApiMember(DataType="String", Description="Name of the list.", Name="Name", ParameterType="query") String? Name; /** * The owner of this item. */ // @ApiMember(DataType="Guid", Description="The owner of this item.", Name="OwnerContactId", ParameterType="query") String? OwnerContactId; /** * List Items in the list. */ // @ApiMember(DataType="List", Description="List Items in the list.", Name="ListItems", ParameterType="query") List? DataListItems; DataListModel({this.ListId,this.Name,this.OwnerContactId,this.DataListItems}); DataListModel.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ListId = json['ListId']; Name = json['Name']; OwnerContactId = json['OwnerContactId']; DataListItems = JsonConverters.fromJson(json['DataListItems'],'List',context!); return this; } Map toJson() => { 'ListId': ListId, 'Name': Name, 'OwnerContactId': OwnerContactId, 'DataListItems': JsonConverters.toJson(DataListItems,'List',context!) }; getTypeName() => "DataListModel"; TypeContext? context = _ctx; } // @ApiResponse(Description="List of timezones matching the criteria") class GetTimezonesResponse implements IConvertible { DataListModel? Timezones; ResponseStatus? ResponseStatus; GetTimezonesResponse({this.Timezones,this.ResponseStatus}); GetTimezonesResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Timezones = JsonConverters.fromJson(json['Timezones'],'DataListModel',context!); ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'Timezones': JsonConverters.toJson(Timezones,'DataListModel',context!), 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "GetTimezonesResponse"; TypeContext? context = _ctx; } /** * Get a list of timezones */ // @Route("/timezones") // @Api(Description="Get a list of timezones") class GetTimezones implements IReturn, IConvertible, IGet { GetTimezones(); GetTimezones.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => GetTimezonesResponse(); getResponseTypeName() => "GetTimezonesResponse"; getTypeName() => "GetTimezones"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'pfapi.pstpf.com.au', types: { 'DataListItemModel': TypeInfo(TypeOf.Class, create:() => DataListItemModel()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'DataListModel': TypeInfo(TypeOf.Class, create:() => DataListModel()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'GetTimezonesResponse': TypeInfo(TypeOf.Class, create:() => GetTimezonesResponse()), 'GetTimezones': TypeInfo(TypeOf.Class, create:() => GetTimezones()), });