/* Options: Date: 2024-12-22 12:53:29 SwiftVersion: 6.0 Version: 8.51 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://techstacks.io //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True //MakePropertiesOptional: True IncludeTypes: AppOverview.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/app-overview") public class AppOverview : IReturn, IGet, Codable { public typealias Return = AppOverviewResponse public var reload:Bool? required public init(){} } public class AppOverviewResponse : Codable { public var created:Date? public var allTiers:[Option]? public var topTechnologies:[TechnologyInfo]? public var responseStatus:ResponseStatus? required public init(){} } public enum TechnologyTier : String, Codable { case ProgrammingLanguage case Client case Http case Server case Data case SoftwareInfrastructure case OperatingSystem case HardwareInfrastructure case ThirdPartyServices } public class TechnologyInfo : Codable { public var tier:TechnologyTier? public var slug:String? public var name:String? public var logoUrl:String? public var stacksCount:Int? required public init(){} } // @DataContract public class Option : Codable { // @DataMember(Name="name") public var name:String? // @DataMember(Name="title") public var title:String? // @DataMember(Name="value") public var value:TechnologyTier? required public init(){} }