/* Options: Date: 2026-04-04 01:27:02 SwiftVersion: 6.0 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://pfapi.pstpf.com.au/api //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True //MakePropertiesOptional: True IncludeTypes: SavePermissionValue.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack /** * 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.") public class SavePermissionValue : IReturn, Codable { public typealias Return = SavePermissionValueResponse /** * 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 var permissionId:String? /** * 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 var objectId:String? /** * 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 var permissionValue:Bool? required public init(){} } // @ApiResponse(Description="Returns a response status indicating success or not.") public class SavePermissionValueResponse : Codable { public var responseStatus:ResponseStatus? required public init(){} }