/* Options: Date: 2024-12-23 10:44:14 SwiftVersion: 5.0 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://consumer-api.brovs.com //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True IncludeTypes: GetFollowingListRequest.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/place/GetFollowingList", "GET") public class GetFollowingListRequest : IReturn, IGet, Codable { public typealias Return = GetFollowingListResponse required public init(){} } public class GetFollowingListResponse : Codable { public var userGuid:String public var places:[PlaceDto] = [] required public init(){} } public class PlaceDto : Codable { public var id:Int public var guid:String public var overview:String public var name:String public var longitude:Float public var latitude:Float public var claimed:Bool public var organizationNumber:String public var countryCode:String public var placeState:String public var followersCount:Int public var openingHours:OpeningHours public var categories:[CategoryTreeDto] = [] public var featureData:[IndividualFeatureDataDto] = [] public var barSpecialities:[BarSpecialityDto] = [] public var barTypes:[BarTypeDto] = [] public var brands:[PlaceSelectedBrandDto] = [] public var cuisines:[CuisineDto] = [] public var mealTypes:[MealTypeDto] = [] public var parking:[ParkingDto] = [] public var paymentOptions:[PaymentOptionDto] = [] public var eatingSuitabilities:[EatingSuitabilityDto] = [] public var takeAways:[TakeAwayDto] = [] public var wearPriceProfiles:[WearPriceProfileDto] = [] public var menus:[MenuDto] = [] public var logoUrl:ImageUrls public var imageUrl:ImageUrls public var wheelchairAccessible:Bool? public var wifi:Bool? public var outdoorSeating:Bool? public var saveFoodAndMoney:Bool? public var placeType:PlaceType public var mall:PlaceBasicDto public var priceMainDish:PriceMainDishDto public var places:[PlaceBasicDto] = [] public var otherServices:[MallOtherServiceDto] = [] public var floor:String public var timeZoneDto:TimeZoneDto public var businessId:Int? public var contact:PlaceContact public var address:PlaceAddress required public init(){} } public enum Parking : String, Codable { case StreetParking case ParkingGarageNearby } public enum PaymentOption : String, Codable { case Visa case MasterCard case AmericanExpress case Diners case Vipps } public enum PriceMainDish : String, Codable { case Value case Medium case High case FineDining } public class OpeningHours : Codable { public var weekly:WeeklyOpeningHours required public init(){} } public class CategoryTreeDto : Codable { public var name:String public var slug:String public var absoluteSlug:String public var imageUrl:String public var allImageUrl:String public var iconImageUrl:String public var position:Int public var children:[CategoryTreeDto] = [] required public init(){} } public class IndividualFeatureDataDto : Codable { public var slug:FeatureType public var label:String required public init(){} } public class BarSpecialityDto : Codable { public var slug:String public var title:String required public init(){} } public class BarTypeDto : Codable { public var slug:String public var title:String required public init(){} } public class PlaceSelectedBrandDto : Codable { public var brand:BrandDto public var categoryAbsoluteSlugs:[String] = [] public var placeCustomBrand:PlaceCustomBrandDto required public init(){} } public class CuisineDto : Codable { public var label:String public var slug:String required public init(){} } public class MealTypeDto : Codable { public var label:String public var slug:String required public init(){} } public class ParkingDto : Codable { public var label:String public var slug:Parking required public init(){} } public class PaymentOptionDto : Codable { public var label:String public var slug:PaymentOption required public init(){} } public class EatingSuitabilityDto : Codable { public var label:String public var slug:String required public init(){} } public class TakeAwayDto : Codable { public var label:String public var slug:String required public init(){} } public class WearPriceProfileDto : Codable { public var slug:String public var label:String required public init(){} } public class MenuDto : Codable { public var name:String public var url:String public var position:Int required public init(){} } public class ImageUrls : Codable { public var preview:String public var small:String public var medium:String public var large:String required public init(){} } public enum PlaceType : String, Codable { case Mall case Regular } public class PlaceBasicDto : Codable { public var id:Int public var guid:String public var overview:String public var name:String public var longitude:Float public var latitude:Float public var claimed:Bool public var organizationNumber:String public var countryCode:String public var openingHours:OpeningHours public var wheelchairAccessible:Bool? public var wifi:Bool? public var outdoorSeating:Bool? public var saveFoodAndMoney:Bool? public var placeType:PlaceType public var priceMainDish:PriceMainDishDto public var timeZoneDto:TimeZoneDto public var businessId:Int? public var contact:PlaceContact public var address:PlaceAddress public var categories:[CategoryTreeDto] = [] public var logoUrl:ImageUrls public var imageUrl:ImageUrls public var wearPriceProfiles:[WearPriceProfileDto] = [] public var brands:[PlaceSelectedBrandDto] = [] public var floor:String required public init(){} } public class PriceMainDishDto : Codable { public var title:String public var slug:PriceMainDish required public init(){} } public class MallOtherServiceDto : Codable { public var serviceName:String public var floor:String required public init(){} } public class TimeZoneDto : Codable { @TimeSpan public var baseUtcOffset:TimeInterval public var daylightName:String public var displayName:String public var id:String public var standardName:String public var supportsDaylightSavingTime:Bool required public init(){} } public class PlaceContact : Codable { public var phone:String public var email:String public var website:String public var webShop:String required public init(){} } public class PlaceAddress : Codable { public var street:String public var postalCode:String public var region:String public var countryCode:String required public init(){} } public class BrandDto : Codable { public var name:String required public init(){} } public enum FeatureType : String, Codable { case BarSpeciality case BarType case Cuisine case SaveFoodAndMoney case MealType case Menu case OutdoorSeating case Parking case PaymentOptions case PriceMainDish case SubCategories case SubCategoriesAndBrands case EatingSuitabilities case TakeAway case WearPriceProfile case WheelChairAccessible case Wifi case WebShop case Filtering } public class WeeklyOpeningHours : Codable { public var monday:OpeningHour public var tuesday:OpeningHour public var wednesday:OpeningHour public var thursday:OpeningHour public var friday:OpeningHour public var saturday:OpeningHour public var sunday:OpeningHour required public init(){} } public class PlaceCustomBrandDto : Codable { public var name:String required public init(){} } public class OpeningHour : Codable { public var openAtHour:Int public var openAtMinute:Int public var closeAtHour:Int public var closeAtMinute:Int required public init(){} }