/* Options: Date: 2024-11-23 09:27:24 SwiftVersion: 5.0 Version: 6.40 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://cip-reporting.chargeitpro.com //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True IncludeTypes: AssignRoles.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/assignroles", "POST") // @DataContract public class AssignRoles : IReturn, IPost, Codable { public typealias Return = AssignRolesResponse // @DataMember(Order=1) public var userName:String? // @DataMember(Order=2) public var permissions:[String] = [] // @DataMember(Order=3) public var roles:[String] = [] // @DataMember(Order=4) public var meta:[String:String] = [:] required public init(){} } // @DataContract public class AssignRolesResponse : Codable { // @DataMember(Order=1) public var allRoles:[String] = [] // @DataMember(Order=2) public var allPermissions:[String] = [] // @DataMember(Order=3) public var meta:[String:String] = [:] // @DataMember(Order=4) public var responseStatus:ResponseStatus? required public init(){} }