/* Options: Date: 2026-04-04 01:20:12 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: GetResetPasswordToken.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; abstract class IPublicServiceModel { String? ApplianceId; String? SubdomainName; } class GetResetPasswordTokenResponse implements IConvertible { ResponseStatus? ResponseStatus; GetResetPasswordTokenResponse({this.ResponseStatus}); GetResetPasswordTokenResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "GetResetPasswordTokenResponse"; TypeContext? context = _ctx; } /** * Generate password reset token and send email */ // @Route("/account/{UserName}/passwordresettoken") // @Api(Description="Generate password reset token and send email") class GetResetPasswordToken implements IReturn, IPublicServiceModel, IConvertible, IGet { /** * Get password reset token for the specified user name */ // @ApiMember(Description="Get password reset token for the specified user name", Name="UserName") String? UserName; String? ApplianceId; String? SubdomainName; String? SuiteId; /** * Appliance Url for the appliance */ // @ApiMember(Description="Appliance Url for the appliance", Name="ApplianceLoginUrl") String? ApplianceLoginUrl; GetResetPasswordToken({this.UserName,this.ApplianceId,this.SubdomainName,this.SuiteId,this.ApplianceLoginUrl}); GetResetPasswordToken.fromJson(Map json) { fromMap(json); } fromMap(Map json) { UserName = json['UserName']; ApplianceId = json['ApplianceId']; SubdomainName = json['SubdomainName']; SuiteId = json['SuiteId']; ApplianceLoginUrl = json['ApplianceLoginUrl']; return this; } Map toJson() => { 'UserName': UserName, 'ApplianceId': ApplianceId, 'SubdomainName': SubdomainName, 'SuiteId': SuiteId, 'ApplianceLoginUrl': ApplianceLoginUrl }; createResponse() => GetResetPasswordTokenResponse(); getResponseTypeName() => "GetResetPasswordTokenResponse"; getTypeName() => "GetResetPasswordToken"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'pfapi.pstpf.com.au', types: { 'IPublicServiceModel': TypeInfo(TypeOf.Interface), 'GetResetPasswordTokenResponse': TypeInfo(TypeOf.Class, create:() => GetResetPasswordTokenResponse()), 'GetResetPasswordToken': TypeInfo(TypeOf.Class, create:() => GetResetPasswordToken()), });