/* Options: Date: 2026-04-04 04:52:42 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://pfapi.pstpf.com.au/api //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: ResetPermission.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.*; import java.util.*; import java.io.InputStream; import net.servicestack.client.*; public class dtos { /** * Reset a specified permission to the Perspective default or reset all permissions. */ @Route(Path="/permissions/{PermissionId}/reset") // @Route(Path="/permissions/reset") @Api(Description="Reset a specified permission to the Perspective default or reset all permissions.") public static class ResetPermission implements IReturn { /** * 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 UUID PermissionId = null; /** * 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 Boolean Reinitialise = null; public UUID getPermissionId() { return PermissionId; } public ResetPermission setPermissionId(UUID value) { this.PermissionId = value; return this; } public Boolean isReinitialise() { return Reinitialise; } public ResetPermission setReinitialise(Boolean value) { this.Reinitialise = value; return this; } private static Object responseType = ResetPermissionResponse.class; public Object getResponseType() { return responseType; } } @ApiResponse(Description="Returns a response status indicating success or not.") public static class ResetPermissionResponse { public ResponseStatus ResponseStatus = null; public ResponseStatus getResponseStatus() { return ResponseStatus; } public ResetPermissionResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } } }