/* Options: Date: 2024-11-16 18:53:33 SwiftVersion: 5.0 Version: 6.50 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: http://54.235.149.200 //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(){} }