/* Options: Date: 2026-04-04 04:54:10 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: GetApplianceComponentHelp.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class HelpContentModel implements IConvertible { /** * Content Name - Can be used as a heading/title. */ // @ApiMember(Description="Content Name - Can be used as a heading/title.", ParameterType="query") String? Name; /** * URL containing the help notes. This will either be a web page or a html blob file containing the information. */ // @ApiMember(Description="URL containing the help notes. This will either be a web page or a html blob file containing the information.", ParameterType="query") String? URL; /** * If true, the URL is a blob file and details should be shown in a pop up or tooltip, if false, this is a full URL to a web page and should be opened in a new tab. */ // @ApiMember(Description="If true, the URL is a blob file and details should be shown in a pop up or tooltip, if false, this is a full URL to a web page and should be opened in a new tab.", ParameterType="query") bool? IsSnippet; /** * If true, this content is for external client/users. False means it is a developer note. */ // @ApiMember(Description="If true, this content is for external client/users. False means it is a developer note.", ParameterType="query") bool? IsUserFacing; /** * If you have multiple snippets, this is an order you should display them in. */ // @ApiMember(Description="If you have multiple snippets, this is an order you should display them in.", ParameterType="query") int? Index; /** * This is the document status of the help content. It will be either draft or final. */ // @ApiMember(Description="This is the document status of the help content. It will be either draft or final.", ParameterType="query") String? StatusId; HelpContentModel({this.Name,this.URL,this.IsSnippet,this.IsUserFacing,this.Index,this.StatusId}); HelpContentModel.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Name = json['Name']; URL = json['URL']; IsSnippet = json['IsSnippet']; IsUserFacing = json['IsUserFacing']; Index = json['Index']; StatusId = json['StatusId']; return this; } Map toJson() => { 'Name': Name, 'URL': URL, 'IsSnippet': IsSnippet, 'IsUserFacing': IsUserFacing, 'Index': Index, 'StatusId': StatusId }; getTypeName() => "HelpContentModel"; TypeContext? context = _ctx; } // @ApiResponse(Description="A list of help content") class GetApplianceComponentHelpResponse implements IConvertible { /** * List of help content. */ // @ApiMember(Description="List of help content.", ParameterType="query") List? HelpContent; /** * Response Status */ // @ApiMember(Description="Response Status", ParameterType="query") ResponseStatus? ResponseStatus; GetApplianceComponentHelpResponse({this.HelpContent,this.ResponseStatus}); GetApplianceComponentHelpResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { HelpContent = JsonConverters.fromJson(json['HelpContent'],'List',context!); ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'HelpContent': JsonConverters.toJson(HelpContent,'List',context!), 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "GetApplianceComponentHelpResponse"; TypeContext? context = _ctx; } /** * Get all help content for the specified UI Appliance Component */ // @Route("/component/{ApplianceComponentId}/help/") // @Api(Description="Get all help content for the specified UI Appliance Component") class GetApplianceComponentHelp implements IReturn, IConvertible, IGet { /** * Appliance Component Id to retrieve help for. */ // @ApiMember(Description="Appliance Component Id to retrieve help for.", ParameterType="path") String? ApplianceComponentId; GetApplianceComponentHelp({this.ApplianceComponentId}); GetApplianceComponentHelp.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ApplianceComponentId = json['ApplianceComponentId']; return this; } Map toJson() => { 'ApplianceComponentId': ApplianceComponentId }; createResponse() => GetApplianceComponentHelpResponse(); getResponseTypeName() => "GetApplianceComponentHelpResponse"; getTypeName() => "GetApplianceComponentHelp"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'pfapi.pstpf.com.au', types: { 'HelpContentModel': TypeInfo(TypeOf.Class, create:() => HelpContentModel()), 'GetApplianceComponentHelpResponse': TypeInfo(TypeOf.Class, create:() => GetApplianceComponentHelpResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'GetApplianceComponentHelp': TypeInfo(TypeOf.Class, create:() => GetApplianceComponentHelp()), });