/* Options: Date: 2026-04-04 01:23:35 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://pfapi.pstpf.com.au/api //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: SavePermissionValue.* //ExcludeTypes: //InitializeCollections: False //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.* /** * 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.") open class SavePermissionValue : 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") open var PermissionId:UUID? = 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") open var ObjectId:UUID? = 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") open var PermissionValue:Boolean? = null companion object { private val responseType = SavePermissionValueResponse::class.java } override fun getResponseType(): Any? = SavePermissionValue.responseType } @ApiResponse(Description="Returns a response status indicating success or not.") open class SavePermissionValueResponse { open var ResponseStatus:ResponseStatus? = null }