/* Options: Date: 2025-12-10 20:17:18 SwiftVersion: 5.0 Version: 6.50 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://galaxymobile.api.dev.86degrees.com //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True IncludeTypes: GetImage.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/image", "GET") // @Route("/image/{id}", "GET") public class GetImage : Codable { // @ApiMember(DataType="int", IsRequired=true) public var id:Int /** * Manually control the server resizing of the image. */ // @ApiMember(Description="Manually control the server resizing of the image.") public var imageSize:SizeType /** * Set to true to return the image in Base64 format. */ // @ApiMember(DataType="boolean", Description="Set to true to return the image in Base64 format.") public var base64:Bool /** * Force this file to be returned as a thumbnail (small) */ // @ApiMember(Description="Force this file to be returned as a thumbnail (small)") public var thumbnail:Bool required public init(){} } public enum SizeType : Int, Codable { case Unknown = 0 case Full = 1 case Small = 2 case Medium = 3 case Large = 4 case XLarge = 5 }