/* Options: Date: 2026-09-21 23:10:52 SwiftVersion: 6.0 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: http://clouddemo.pickeos.com:1337 //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True //MakePropertiesOptional: True IncludeTypes: ShowArea.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/ShowArea/{AreaID}/{ColorStart}/{ColorStop}/{Duration}") public class ShowArea : Codable { /** * Area ID */ // @ApiMember(Description="Area ID", IsRequired=true) public var areaID:Int? /** * HTML Color code (e.g. FF00FF) of the first pixel */ // @ApiMember(Description="HTML Color code (e.g. FF00FF) of the first pixel", IsRequired=true) public var colorStart:String? /** * HTML Color code (e.g. FF00FF) of the last pixel */ // @ApiMember(Description="HTML Color code (e.g. FF00FF) of the last pixel", IsRequired=true) public var colorStop:String? /** * Duration in seconds */ // @ApiMember(Description="Duration in seconds", IsRequired=true) public var duration:Int? /** * Optional: name of the owner of the color/command to allow color sharing */ // @ApiMember(Description="Optional: name of the owner of the color/command to allow color sharing") public var owner:String? required public init(){} }