/* Options: Date: 2026-04-04 06:46:41 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: SavePermissionValue.* //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 SavePermissionValueResponse { public ResponseStatus: ResponseStatus; public constructor(init?: Partial) { (Object as any).assign(this, init); } } /** @description Save change to a Permission value. */ // @Route("/permissions/{PermissionId}/licensee/") // @Route("/permissions/{PermissionId}/role/") // @Route("/permissions/{PermissionId}/contact/") // @Api(Description="Save change to a Permission value.") export class SavePermissionValue implements IReturn { /** @description A permission Id that we're saving the permission for. */ // @ApiMember(DataType="Guid", Description="A permission Id that we're saving the permission for.", IsRequired=true, Name="PermissionId") public PermissionId: string; /** @description The object to save a permission for. This will either be a contact or role list item. Leave this blank if we're saving for the licensee. */ // @ApiMember(DataType="Guid", Description="The object to save a permission for. This will either be a contact or role list item. Leave this blank if we're saving for the licensee.", Name="ObjectId") public ObjectId: string; /** @description Value to set the permission to, may be true, false or null. */ // @ApiMember(DataType="bool?", Description="Value to set the permission to, may be true, false or null.", Name="PermissionValue") public PermissionValue?: boolean; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'SavePermissionValue'; } public getMethod() { return 'POST'; } public createResponse() { return new SavePermissionValueResponse(); } }