/* Options: Date: 2026-04-04 01:23:11 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: GetSuites.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class ListItemFilter implements IConvertible { String? ListItemFilterId; String? FilterName; String? ListId; String? ListItemId; bool? ListItemIsInFilter; ListItemFilter({this.ListItemFilterId,this.FilterName,this.ListId,this.ListItemId,this.ListItemIsInFilter}); ListItemFilter.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ListItemFilterId = json['ListItemFilterId']; FilterName = json['FilterName']; ListId = json['ListId']; ListItemId = json['ListItemId']; ListItemIsInFilter = json['ListItemIsInFilter']; return this; } Map toJson() => { 'ListItemFilterId': ListItemFilterId, 'FilterName': FilterName, 'ListId': ListId, 'ListItemId': ListItemId, 'ListItemIsInFilter': ListItemIsInFilter }; getTypeName() => "ListItemFilter"; TypeContext? context = _ctx; } class ListDataItem implements IConvertible { String? Id; String? Name; String? Description; String? ShortName; String? DefaultName; bool? IsDefault; int? Order; String? ListItemTrafficLightId; String? PrimaryListItemImageId; String? PrimaryListItemImageUrl; String? PrimaryImageThumbnailUrl; String? OwnerContactId; String? RecordStatus; String? Tags; String? ListId; bool? MarkAsChecked; String? RelatedObjectId; bool? CanEdit; bool? IsOwner; List? ExtraValues; List? ListItemFilters; ListDataItem({this.Id,this.Name,this.Description,this.ShortName,this.DefaultName,this.IsDefault,this.Order,this.ListItemTrafficLightId,this.PrimaryListItemImageId,this.PrimaryListItemImageUrl,this.PrimaryImageThumbnailUrl,this.OwnerContactId,this.RecordStatus,this.Tags,this.ListId,this.MarkAsChecked,this.RelatedObjectId,this.CanEdit,this.IsOwner,this.ExtraValues,this.ListItemFilters}); ListDataItem.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; Name = json['Name']; Description = json['Description']; ShortName = json['ShortName']; DefaultName = json['DefaultName']; IsDefault = json['IsDefault']; Order = json['Order']; ListItemTrafficLightId = json['ListItemTrafficLightId']; PrimaryListItemImageId = json['PrimaryListItemImageId']; PrimaryListItemImageUrl = json['PrimaryListItemImageUrl']; PrimaryImageThumbnailUrl = json['PrimaryImageThumbnailUrl']; OwnerContactId = json['OwnerContactId']; RecordStatus = json['RecordStatus']; Tags = json['Tags']; ListId = json['ListId']; MarkAsChecked = json['MarkAsChecked']; RelatedObjectId = json['RelatedObjectId']; CanEdit = json['CanEdit']; IsOwner = json['IsOwner']; ExtraValues = JsonConverters.fromJson(json['ExtraValues'],'List',context!); ListItemFilters = JsonConverters.fromJson(json['ListItemFilters'],'List',context!); return this; } Map toJson() => { 'Id': Id, 'Name': Name, 'Description': Description, 'ShortName': ShortName, 'DefaultName': DefaultName, 'IsDefault': IsDefault, 'Order': Order, 'ListItemTrafficLightId': ListItemTrafficLightId, 'PrimaryListItemImageId': PrimaryListItemImageId, 'PrimaryListItemImageUrl': PrimaryListItemImageUrl, 'PrimaryImageThumbnailUrl': PrimaryImageThumbnailUrl, 'OwnerContactId': OwnerContactId, 'RecordStatus': RecordStatus, 'Tags': Tags, 'ListId': ListId, 'MarkAsChecked': MarkAsChecked, 'RelatedObjectId': RelatedObjectId, 'CanEdit': CanEdit, 'IsOwner': IsOwner, 'ExtraValues': JsonConverters.toJson(ExtraValues,'List',context!), 'ListItemFilters': JsonConverters.toJson(ListItemFilters,'List',context!) }; getTypeName() => "ListDataItem"; TypeContext? context = _ctx; } // @ApiResponse(Description="List of suites") class GetSuitesResponse implements IConvertible { List? Suites; ResponseStatus? ResponseStatus; GetSuitesResponse({this.Suites,this.ResponseStatus}); GetSuitesResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Suites = JsonConverters.fromJson(json['Suites'],'List',context!); ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'Suites': JsonConverters.toJson(Suites,'List',context!), 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "GetSuitesResponse"; TypeContext? context = _ctx; } /** * Get all suites */ // @Route("/suites") // @Api(Description="Get all suites") class GetSuites implements IReturn, IConvertible, IGet { /** * Licensee Contact Id to return suites for. This will only return the suites that the contact has licenses for. If not set, all suites are returned */ // @ApiMember(Description="Licensee Contact Id to return suites for. This will only return the suites that the contact has licenses for. If not set, all suites are returned", Name="LicenseeId") String? LicenseeId; GetSuites({this.LicenseeId}); GetSuites.fromJson(Map json) { fromMap(json); } fromMap(Map json) { LicenseeId = json['LicenseeId']; return this; } Map toJson() => { 'LicenseeId': LicenseeId }; createResponse() => GetSuitesResponse(); getResponseTypeName() => "GetSuitesResponse"; getTypeName() => "GetSuites"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'pfapi.pstpf.com.au', types: { 'ListItemFilter': TypeInfo(TypeOf.Class, create:() => ListItemFilter()), 'ListDataItem': TypeInfo(TypeOf.Class, create:() => ListDataItem()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'GetSuitesResponse': TypeInfo(TypeOf.Class, create:() => GetSuitesResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'GetSuites': TypeInfo(TypeOf.Class, create:() => GetSuites()), });