/* Options: Date: 2026-04-04 02:54:53 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: SavePermissionValue.* //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 { /** * Save change to a Permission value. */ @Route(Path="/permissions/{PermissionId}/licensee/") // @Route(Path="/permissions/{PermissionId}/role/") // @Route(Path="/permissions/{PermissionId}/contact/") @Api(Description="Save change to a Permission value.") public static class SavePermissionValue implements IReturn { /** * 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 UUID PermissionId = null; /** * 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 UUID ObjectId = null; /** * 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 Boolean PermissionValue = null; public UUID getPermissionId() { return PermissionId; } public SavePermissionValue setPermissionId(UUID value) { this.PermissionId = value; return this; } public UUID getObjectId() { return ObjectId; } public SavePermissionValue setObjectId(UUID value) { this.ObjectId = value; return this; } public Boolean isPermissionValue() { return PermissionValue; } public SavePermissionValue setPermissionValue(Boolean value) { this.PermissionValue = value; return this; } private static Object responseType = SavePermissionValueResponse.class; public Object getResponseType() { return responseType; } } @ApiResponse(Description="Returns a response status indicating success or not.") public static class SavePermissionValueResponse { public ResponseStatus ResponseStatus = null; public ResponseStatus getResponseStatus() { return ResponseStatus; } public SavePermissionValueResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } } }