/* Options: Date: 2026-04-04 06:46:23 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: GetCustomContentViews.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class CustomContentViewModel implements IConvertible { /** * Id of the Custom Content View. */ // @ApiMember(DataType="Guid", Description="Id of the Custom Content View.", Name="ContentViewId", ParameterType="query") String? ContentViewId; /** * Name of the Custom Content View. */ // @ApiMember(DataType="string", Description="Name of the Custom Content View.", Name="Name", ParameterType="query") String? Name; CustomContentViewModel({this.ContentViewId,this.Name}); CustomContentViewModel.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ContentViewId = json['ContentViewId']; Name = json['Name']; return this; } Map toJson() => { 'ContentViewId': ContentViewId, 'Name': Name }; getTypeName() => "CustomContentViewModel"; TypeContext? context = _ctx; } // @ApiResponse(Description="Returns the Views matching the specified type.") class GetCustomContentViewsResponse implements IConvertible { List? Views; ResponseStatus? ResponseStatus; GetCustomContentViewsResponse({this.Views,this.ResponseStatus}); GetCustomContentViewsResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Views = JsonConverters.fromJson(json['Views'],'List',context!); ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'Views': JsonConverters.toJson(Views,'List',context!), 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "GetCustomContentViewsResponse"; TypeContext? context = _ctx; } /** * Request a list of Custom Content Views for the current licensee of the specified type. */ // @Route("/customcontentviews") // @Api(Description="Request a list of Custom Content Views for the current licensee of the specified type.") class GetCustomContentViews implements IReturn, IConvertible, IGet { /** * The RmsTableCtxId representing the type of views we are retrieving. */ // @ApiMember(DataType="Guid", Description="The RmsTableCtxId representing the type of views we are retrieving.", IsRequired=true, Name="RmsTableCtxId", ParameterType="query") String? RmsTableCtxId; GetCustomContentViews({this.RmsTableCtxId}); GetCustomContentViews.fromJson(Map json) { fromMap(json); } fromMap(Map json) { RmsTableCtxId = json['RmsTableCtxId']; return this; } Map toJson() => { 'RmsTableCtxId': RmsTableCtxId }; createResponse() => GetCustomContentViewsResponse(); getResponseTypeName() => "GetCustomContentViewsResponse"; getTypeName() => "GetCustomContentViews"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'pfapi.pstpf.com.au', types: { 'CustomContentViewModel': TypeInfo(TypeOf.Class, create:() => CustomContentViewModel()), 'GetCustomContentViewsResponse': TypeInfo(TypeOf.Class, create:() => GetCustomContentViewsResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'GetCustomContentViews': TypeInfo(TypeOf.Class, create:() => GetCustomContentViews()), });