/* Options: Date: 2025-04-03 08:56:06 SwiftVersion: 6.0 Version: 8.61 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://blazordiffusion.com //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True //MakePropertiesOptional: True IncludeTypes: GetAnalyticsReports.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @DataContract public class GetAnalyticsReports : IReturn, IGet, Codable { public typealias Return = GetAnalyticsReportsResponse // @DataMember(Order=1) public var month:Date? // @DataMember(Order=2) public var filter:String? // @DataMember(Order=3) public var value:String? // @DataMember(Order=4) public var force:Bool? required public init(){} } // @DataContract public class GetAnalyticsReportsResponse : Codable { // @DataMember(Order=1) public var result:AnalyticsReports? // @DataMember(Order=2) public var responseStatus:ResponseStatus? required public init(){} } // @DataContract public class AnalyticsReports : Codable { // @DataMember(Order=1) public var id:Int? // @DataMember(Order=2) public var created:Date? // @DataMember(Order=3) public var version:Double? // @DataMember(Order=4) public var apis:[String:RequestSummary]? // @DataMember(Order=5) public var users:[String:RequestSummary]? // @DataMember(Order=6) public var tags:[String:RequestSummary]? // @DataMember(Order=7) public var status:[String:RequestSummary]? // @DataMember(Order=8) public var days:[String:RequestSummary]? // @DataMember(Order=9) public var apiKeys:[String:RequestSummary]? // @DataMember(Order=10) public var ips:[String:RequestSummary]? // @DataMember(Order=11) public var browsers:[String:RequestSummary]? // @DataMember(Order=12) public var devices:[String:RequestSummary]? // @DataMember(Order=13) public var bots:[String:RequestSummary]? // @DataMember(Order=14) public var durations:[String:Int]? required public init(){} } // @DataContract public class RequestSummary : Codable { // @DataMember(Order=1) public var name:String? // @DataMember(Order=2) public var totalRequests:Int? // @DataMember(Order=3) public var totalRequestLength:Int? // @DataMember(Order=4) public var minRequestLength:Int? // @DataMember(Order=5) public var maxRequestLength:Int? // @DataMember(Order=6) public var totalDuration:Double? // @DataMember(Order=7) public var minDuration:Double? // @DataMember(Order=8) public var maxDuration:Double? // @DataMember(Order=9) public var status:[Int:Int]? // @DataMember(Order=10) public var durations:[String:Int]? // @DataMember(Order=11) public var apis:[String:Int]? // @DataMember(Order=12) public var users:[String:Int]? // @DataMember(Order=13) public var ips:[String:Int]? // @DataMember(Order=14) public var apiKeys:[String:Int]? required public init(){} }