/* Options: Date: 2025-09-13 16:20:13 SwiftVersion: 6.0 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bookmore.com //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True //MakePropertiesOptional: True IncludeTypes: CreateError.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/errors/", "POST") public class CreateError : IReturn, ICompany, Codable { public typealias Return = ErrorQueryResponse /** * The company id, if empty will use the company id for the user you are logged in with. */ // @ApiMember(Description="The company id, if empty will use the company id for the user you are logged in with.") public var companyId:String? /** * */ // @ApiMember(Description="", IsRequired=true) public var exceptionName:String? /** * */ // @ApiMember(Description="", IsRequired=true) public var exceptionMessage:String? /** * */ // @ApiMember(Description="") public var exceptionSource:String? /** * */ // @ApiMember(Description="", IsRequired=true) public var innerExceptionName:String? /** * */ // @ApiMember(Description="", IsRequired=true) public var stackTrace:String? /** * */ // @ApiMember(Description="", IsRequired=true) public var url:String? /** * */ // @ApiMember(Description="") public var loggedInUser:String? /** * */ // @ApiMember(Description="") public var ipAddress:String? /** * */ // @ApiMember(Description="") public var request:String? /** * */ // @ApiMember(Description="") public var session:String? required public init(){} } public class ErrorQueryResponse : Codable { public var companyId:String? public var id:Int? public var exceptionName:String? public var exceptionMessage:String? public var exceptionSource:String? public var innerExceptionName:String? public var stackTrace:String? public var url:String? public var loggedInUser:String? public var visible:Bool? public var ipAddress:String? public var createdDate:Date? public var request:String? public var session:String? required public init(){} } public protocol ICompany { var companyId:String? { get set } }