/* Options: Date: 2026-04-04 08:39:20 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://pfapi.pstpf.com.au/api //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ResetPermission.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } // @DataContract export class ResponseStatus { // @DataMember(Order=1) public ErrorCode: string; // @DataMember(Order=2) public Message: string; // @DataMember(Order=3) public StackTrace: string; // @DataMember(Order=4) public Errors: ResponseError[]; // @DataMember(Order=5) public Meta: { [index:string]: string; }; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @ApiResponse(Description="Returns a response status indicating success or not.") export class ResetPermissionResponse { public ResponseStatus: ResponseStatus; public constructor(init?: Partial) { (Object as any).assign(this, init); } } /** @description Reset a specified permission to the Perspective default or reset all permissions. */ // @Route("/permissions/{PermissionId}/reset") // @Route("/permissions/reset") // @Api(Description="Reset a specified permission to the Perspective default or reset all permissions.") export class ResetPermission implements IReturn { /** @description Set the permissionId if you wish to reset a selected permission. Leaving this blank will reset all permissions. */ // @ApiMember(DataType="Guid", Description="Set the permissionId if you wish to reset a selected permission. Leaving this blank will reset all permissions.", Name="PermissionId") public PermissionId: string; /** @description If this is true then permissions for a licensee will be updated to match those for 'Perspective', adding new missing values where necessary (this includes removing any new permission values added by the licensee that 'Perspective' does not have a setting for). If this is false, then values for the licensee will not get updated, however any missing permission values will get created to match the 'Perspective' value. */ // @ApiMember(DataType="bool", Description="If this is true then permissions for a licensee will be updated to match those for 'Perspective', adding new missing values where necessary (this includes removing any new permission values added by the licensee that 'Perspective' does not have a setting for). If this is false, then values for the licensee will not get updated, however any missing permission values will get created to match the 'Perspective' value. ", Name="Reinitialise") public Reinitialise: boolean; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'ResetPermission'; } public getMethod() { return 'POST'; } public createResponse() { return new ResetPermissionResponse(); } }