/* Options: Date: 2024-12-03 09:37:35 SwiftVersion: 5.0 Version: 6.00 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://resourcelibrary.api.ashcompanies.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") // @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(){} }