/* Options: Date: 2024-12-23 12:13:05 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://consumer-api.brovs.com //GlobalNamespace: ConsumerApi //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: FindBoundedMapPlacesRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ library ConsumerApi; import 'package:servicestack/servicestack.dart'; enum Parking { StreetParking, ParkingGarageNearby, } enum PaymentOption { Visa, MasterCard, AmericanExpress, Diners, Vipps, } enum PriceMainDish { Value, Medium, High, FineDining, } enum DayOfWeek { Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, } class OpenAtTimeDto implements IConvertible { DayOfWeek? weekDay; int? hour; int? minute; OpenAtTimeDto({this.weekDay,this.hour,this.minute}); OpenAtTimeDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { weekDay = JsonConverters.fromJson(json['weekDay'],'DayOfWeek',context!); hour = json['hour']; minute = json['minute']; return this; } Map toJson() => { 'weekDay': JsonConverters.toJson(weekDay,'DayOfWeek',context!), 'hour': hour, 'minute': minute }; getTypeName() => "OpenAtTimeDto"; TypeContext? context = _ctx; } class QueryFilterDto implements IConvertible { String? term; String? placeGuid; String? adMessageGuid; List? categoryAbsoluteSlugs; List? barSpecialitySlugs; List? barTypeSlugs; List? brandNames; List? cuisineSlugs; List? mealTypeSlugs; List? parking; List? paymentOptions; List? priceMainDishes; List? eatingSuitabilitySlugs; List? takeAwaySlugs; List? wearPriceProfileSlugs; bool? wheelChairAccessible; bool? wifi; bool? outdoorSeating; bool? saveFoodAndMoney; OpenAtTimeDto? openAt; QueryFilterDto({this.term,this.placeGuid,this.adMessageGuid,this.categoryAbsoluteSlugs,this.barSpecialitySlugs,this.barTypeSlugs,this.brandNames,this.cuisineSlugs,this.mealTypeSlugs,this.parking,this.paymentOptions,this.priceMainDishes,this.eatingSuitabilitySlugs,this.takeAwaySlugs,this.wearPriceProfileSlugs,this.wheelChairAccessible,this.wifi,this.outdoorSeating,this.saveFoodAndMoney,this.openAt}); QueryFilterDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { term = json['term']; placeGuid = json['placeGuid']; adMessageGuid = json['adMessageGuid']; categoryAbsoluteSlugs = JsonConverters.fromJson(json['categoryAbsoluteSlugs'],'List',context!); barSpecialitySlugs = JsonConverters.fromJson(json['barSpecialitySlugs'],'List',context!); barTypeSlugs = JsonConverters.fromJson(json['barTypeSlugs'],'List',context!); brandNames = JsonConverters.fromJson(json['brandNames'],'List',context!); cuisineSlugs = JsonConverters.fromJson(json['cuisineSlugs'],'List',context!); mealTypeSlugs = JsonConverters.fromJson(json['mealTypeSlugs'],'List',context!); parking = JsonConverters.fromJson(json['parking'],'List',context!); paymentOptions = JsonConverters.fromJson(json['paymentOptions'],'List',context!); priceMainDishes = JsonConverters.fromJson(json['priceMainDishes'],'List',context!); eatingSuitabilitySlugs = JsonConverters.fromJson(json['eatingSuitabilitySlugs'],'List',context!); takeAwaySlugs = JsonConverters.fromJson(json['takeAwaySlugs'],'List',context!); wearPriceProfileSlugs = JsonConverters.fromJson(json['wearPriceProfileSlugs'],'List',context!); wheelChairAccessible = json['wheelChairAccessible']; wifi = json['wifi']; outdoorSeating = json['outdoorSeating']; saveFoodAndMoney = json['saveFoodAndMoney']; openAt = JsonConverters.fromJson(json['openAt'],'OpenAtTimeDto',context!); return this; } Map toJson() => { 'term': term, 'placeGuid': placeGuid, 'adMessageGuid': adMessageGuid, 'categoryAbsoluteSlugs': JsonConverters.toJson(categoryAbsoluteSlugs,'List',context!), 'barSpecialitySlugs': JsonConverters.toJson(barSpecialitySlugs,'List',context!), 'barTypeSlugs': JsonConverters.toJson(barTypeSlugs,'List',context!), 'brandNames': JsonConverters.toJson(brandNames,'List',context!), 'cuisineSlugs': JsonConverters.toJson(cuisineSlugs,'List',context!), 'mealTypeSlugs': JsonConverters.toJson(mealTypeSlugs,'List',context!), 'parking': JsonConverters.toJson(parking,'List',context!), 'paymentOptions': JsonConverters.toJson(paymentOptions,'List',context!), 'priceMainDishes': JsonConverters.toJson(priceMainDishes,'List',context!), 'eatingSuitabilitySlugs': JsonConverters.toJson(eatingSuitabilitySlugs,'List',context!), 'takeAwaySlugs': JsonConverters.toJson(takeAwaySlugs,'List',context!), 'wearPriceProfileSlugs': JsonConverters.toJson(wearPriceProfileSlugs,'List',context!), 'wheelChairAccessible': wheelChairAccessible, 'wifi': wifi, 'outdoorSeating': outdoorSeating, 'saveFoodAndMoney': saveFoodAndMoney, 'openAt': JsonConverters.toJson(openAt,'OpenAtTimeDto',context!) }; getTypeName() => "QueryFilterDto"; TypeContext? context = _ctx; } abstract class ICacheable { int? cacheVersion; } class MapBoundsDto implements IConvertible { double? north; double? south; double? east; double? west; int? clusterZoomLevel; MapBoundsDto({this.north,this.south,this.east,this.west,this.clusterZoomLevel}); MapBoundsDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { north = JsonConverters.toDouble(json['north']); south = JsonConverters.toDouble(json['south']); east = JsonConverters.toDouble(json['east']); west = JsonConverters.toDouble(json['west']); clusterZoomLevel = json['clusterZoomLevel']; return this; } Map toJson() => { 'north': north, 'south': south, 'east': east, 'west': west, 'clusterZoomLevel': clusterZoomLevel }; getTypeName() => "MapBoundsDto"; TypeContext? context = _ctx; } class OpeningHour implements IConvertible { int? openAtHour; int? openAtMinute; int? closeAtHour; int? closeAtMinute; OpeningHour({this.openAtHour,this.openAtMinute,this.closeAtHour,this.closeAtMinute}); OpeningHour.fromJson(Map json) { fromMap(json); } fromMap(Map json) { openAtHour = json['openAtHour']; openAtMinute = json['openAtMinute']; closeAtHour = json['closeAtHour']; closeAtMinute = json['closeAtMinute']; return this; } Map toJson() => { 'openAtHour': openAtHour, 'openAtMinute': openAtMinute, 'closeAtHour': closeAtHour, 'closeAtMinute': closeAtMinute }; getTypeName() => "OpeningHour"; TypeContext? context = _ctx; } class WeeklyOpeningHours implements IConvertible { OpeningHour? monday; OpeningHour? tuesday; OpeningHour? wednesday; OpeningHour? thursday; OpeningHour? friday; OpeningHour? saturday; OpeningHour? sunday; WeeklyOpeningHours({this.monday,this.tuesday,this.wednesday,this.thursday,this.friday,this.saturday,this.sunday}); WeeklyOpeningHours.fromJson(Map json) { fromMap(json); } fromMap(Map json) { monday = JsonConverters.fromJson(json['monday'],'OpeningHour',context!); tuesday = JsonConverters.fromJson(json['tuesday'],'OpeningHour',context!); wednesday = JsonConverters.fromJson(json['wednesday'],'OpeningHour',context!); thursday = JsonConverters.fromJson(json['thursday'],'OpeningHour',context!); friday = JsonConverters.fromJson(json['friday'],'OpeningHour',context!); saturday = JsonConverters.fromJson(json['saturday'],'OpeningHour',context!); sunday = JsonConverters.fromJson(json['sunday'],'OpeningHour',context!); return this; } Map toJson() => { 'monday': JsonConverters.toJson(monday,'OpeningHour',context!), 'tuesday': JsonConverters.toJson(tuesday,'OpeningHour',context!), 'wednesday': JsonConverters.toJson(wednesday,'OpeningHour',context!), 'thursday': JsonConverters.toJson(thursday,'OpeningHour',context!), 'friday': JsonConverters.toJson(friday,'OpeningHour',context!), 'saturday': JsonConverters.toJson(saturday,'OpeningHour',context!), 'sunday': JsonConverters.toJson(sunday,'OpeningHour',context!) }; getTypeName() => "WeeklyOpeningHours"; TypeContext? context = _ctx; } class OpeningHours implements IConvertible { WeeklyOpeningHours? weekly; OpeningHours({this.weekly}); OpeningHours.fromJson(Map json) { fromMap(json); } fromMap(Map json) { weekly = JsonConverters.fromJson(json['weekly'],'WeeklyOpeningHours',context!); return this; } Map toJson() => { 'weekly': JsonConverters.toJson(weekly,'WeeklyOpeningHours',context!) }; getTypeName() => "OpeningHours"; TypeContext? context = _ctx; } class CategoryTreeDto implements IConvertible { String? name; String? slug; String? absoluteSlug; String? imageUrl; String? allImageUrl; String? iconImageUrl; int? position; List? children; CategoryTreeDto({this.name,this.slug,this.absoluteSlug,this.imageUrl,this.allImageUrl,this.iconImageUrl,this.position,this.children}); CategoryTreeDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { name = json['name']; slug = json['slug']; absoluteSlug = json['absoluteSlug']; imageUrl = json['imageUrl']; allImageUrl = json['allImageUrl']; iconImageUrl = json['iconImageUrl']; position = json['position']; children = JsonConverters.fromJson(json['children'],'List',context!); return this; } Map toJson() => { 'name': name, 'slug': slug, 'absoluteSlug': absoluteSlug, 'imageUrl': imageUrl, 'allImageUrl': allImageUrl, 'iconImageUrl': iconImageUrl, 'position': position, 'children': JsonConverters.toJson(children,'List',context!) }; getTypeName() => "CategoryTreeDto"; TypeContext? context = _ctx; } enum FeatureType { BarSpeciality, BarType, Cuisine, SaveFoodAndMoney, MealType, Menu, OutdoorSeating, Parking, PaymentOptions, PriceMainDish, SubCategories, SubCategoriesAndBrands, EatingSuitabilities, TakeAway, WearPriceProfile, WheelChairAccessible, Wifi, WebShop, Filtering, } class IndividualFeatureDataDto implements IConvertible { FeatureType? slug; String? label; IndividualFeatureDataDto({this.slug,this.label}); IndividualFeatureDataDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { slug = JsonConverters.fromJson(json['slug'],'FeatureType',context!); label = json['label']; return this; } Map toJson() => { 'slug': JsonConverters.toJson(slug,'FeatureType',context!), 'label': label }; getTypeName() => "IndividualFeatureDataDto"; TypeContext? context = _ctx; } class BarSpecialityDto implements IConvertible { String? slug; String? title; BarSpecialityDto({this.slug,this.title}); BarSpecialityDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { slug = json['slug']; title = json['title']; return this; } Map toJson() => { 'slug': slug, 'title': title }; getTypeName() => "BarSpecialityDto"; TypeContext? context = _ctx; } class BarTypeDto implements IConvertible { String? slug; String? title; BarTypeDto({this.slug,this.title}); BarTypeDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { slug = json['slug']; title = json['title']; return this; } Map toJson() => { 'slug': slug, 'title': title }; getTypeName() => "BarTypeDto"; TypeContext? context = _ctx; } class BrandDto implements IConvertible { String? name; BrandDto({this.name}); BrandDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { name = json['name']; return this; } Map toJson() => { 'name': name }; getTypeName() => "BrandDto"; TypeContext? context = _ctx; } class PlaceCustomBrandDto implements IConvertible { String? name; PlaceCustomBrandDto({this.name}); PlaceCustomBrandDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { name = json['name']; return this; } Map toJson() => { 'name': name }; getTypeName() => "PlaceCustomBrandDto"; TypeContext? context = _ctx; } class PlaceSelectedBrandDto implements IConvertible { BrandDto? brand; List? categoryAbsoluteSlugs; PlaceCustomBrandDto? placeCustomBrand; PlaceSelectedBrandDto({this.brand,this.categoryAbsoluteSlugs,this.placeCustomBrand}); PlaceSelectedBrandDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { brand = JsonConverters.fromJson(json['brand'],'BrandDto',context!); categoryAbsoluteSlugs = JsonConverters.fromJson(json['categoryAbsoluteSlugs'],'List',context!); placeCustomBrand = JsonConverters.fromJson(json['placeCustomBrand'],'PlaceCustomBrandDto',context!); return this; } Map toJson() => { 'brand': JsonConverters.toJson(brand,'BrandDto',context!), 'categoryAbsoluteSlugs': JsonConverters.toJson(categoryAbsoluteSlugs,'List',context!), 'placeCustomBrand': JsonConverters.toJson(placeCustomBrand,'PlaceCustomBrandDto',context!) }; getTypeName() => "PlaceSelectedBrandDto"; TypeContext? context = _ctx; } class CuisineDto implements IConvertible { String? label; String? slug; CuisineDto({this.label,this.slug}); CuisineDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { label = json['label']; slug = json['slug']; return this; } Map toJson() => { 'label': label, 'slug': slug }; getTypeName() => "CuisineDto"; TypeContext? context = _ctx; } class MealTypeDto implements IConvertible { String? label; String? slug; MealTypeDto({this.label,this.slug}); MealTypeDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { label = json['label']; slug = json['slug']; return this; } Map toJson() => { 'label': label, 'slug': slug }; getTypeName() => "MealTypeDto"; TypeContext? context = _ctx; } class ParkingDto implements IConvertible { String? label; Parking? slug; ParkingDto({this.label,this.slug}); ParkingDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { label = json['label']; slug = JsonConverters.fromJson(json['slug'],'Parking',context!); return this; } Map toJson() => { 'label': label, 'slug': JsonConverters.toJson(slug,'Parking',context!) }; getTypeName() => "ParkingDto"; TypeContext? context = _ctx; } class PaymentOptionDto implements IConvertible { String? label; PaymentOption? slug; PaymentOptionDto({this.label,this.slug}); PaymentOptionDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { label = json['label']; slug = JsonConverters.fromJson(json['slug'],'PaymentOption',context!); return this; } Map toJson() => { 'label': label, 'slug': JsonConverters.toJson(slug,'PaymentOption',context!) }; getTypeName() => "PaymentOptionDto"; TypeContext? context = _ctx; } class EatingSuitabilityDto implements IConvertible { String? label; String? slug; EatingSuitabilityDto({this.label,this.slug}); EatingSuitabilityDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { label = json['label']; slug = json['slug']; return this; } Map toJson() => { 'label': label, 'slug': slug }; getTypeName() => "EatingSuitabilityDto"; TypeContext? context = _ctx; } class TakeAwayDto implements IConvertible { String? label; String? slug; TakeAwayDto({this.label,this.slug}); TakeAwayDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { label = json['label']; slug = json['slug']; return this; } Map toJson() => { 'label': label, 'slug': slug }; getTypeName() => "TakeAwayDto"; TypeContext? context = _ctx; } class WearPriceProfileDto implements IConvertible { String? slug; String? label; WearPriceProfileDto({this.slug,this.label}); WearPriceProfileDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { slug = json['slug']; label = json['label']; return this; } Map toJson() => { 'slug': slug, 'label': label }; getTypeName() => "WearPriceProfileDto"; TypeContext? context = _ctx; } class MenuDto implements IConvertible { String? name; String? url; int? position; MenuDto({this.name,this.url,this.position}); MenuDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { name = json['name']; url = json['url']; position = json['position']; return this; } Map toJson() => { 'name': name, 'url': url, 'position': position }; getTypeName() => "MenuDto"; TypeContext? context = _ctx; } class ImageUrls implements IConvertible { String? preview; String? small; String? medium; String? large; ImageUrls({this.preview,this.small,this.medium,this.large}); ImageUrls.fromJson(Map json) { fromMap(json); } fromMap(Map json) { preview = json['preview']; small = json['small']; medium = json['medium']; large = json['large']; return this; } Map toJson() => { 'preview': preview, 'small': small, 'medium': medium, 'large': large }; getTypeName() => "ImageUrls"; TypeContext? context = _ctx; } enum PlaceType { Mall, Regular, } class PriceMainDishDto implements IConvertible { String? title; PriceMainDish? slug; PriceMainDishDto({this.title,this.slug}); PriceMainDishDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { title = json['title']; slug = JsonConverters.fromJson(json['slug'],'PriceMainDish',context!); return this; } Map toJson() => { 'title': title, 'slug': JsonConverters.toJson(slug,'PriceMainDish',context!) }; getTypeName() => "PriceMainDishDto"; TypeContext? context = _ctx; } class TimeZoneDto implements IConvertible { Duration? baseUtcOffset; String? daylightName; String? displayName; String? id; String? standardName; bool? supportsDaylightSavingTime; TimeZoneDto({this.baseUtcOffset,this.daylightName,this.displayName,this.id,this.standardName,this.supportsDaylightSavingTime}); TimeZoneDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { baseUtcOffset = JsonConverters.fromJson(json['baseUtcOffset'],'Duration',context!); daylightName = json['daylightName']; displayName = json['displayName']; id = json['id']; standardName = json['standardName']; supportsDaylightSavingTime = json['supportsDaylightSavingTime']; return this; } Map toJson() => { 'baseUtcOffset': JsonConverters.toJson(baseUtcOffset,'Duration',context!), 'daylightName': daylightName, 'displayName': displayName, 'id': id, 'standardName': standardName, 'supportsDaylightSavingTime': supportsDaylightSavingTime }; getTypeName() => "TimeZoneDto"; TypeContext? context = _ctx; } class PlaceContact implements IConvertible { String? phone; String? email; String? website; String? webShop; PlaceContact({this.phone,this.email,this.website,this.webShop}); PlaceContact.fromJson(Map json) { fromMap(json); } fromMap(Map json) { phone = json['phone']; email = json['email']; website = json['website']; webShop = json['webShop']; return this; } Map toJson() => { 'phone': phone, 'email': email, 'website': website, 'webShop': webShop }; getTypeName() => "PlaceContact"; TypeContext? context = _ctx; } class PlaceAddress implements IConvertible { String? street; String? postalCode; String? region; String? countryCode; PlaceAddress({this.street,this.postalCode,this.region,this.countryCode}); PlaceAddress.fromJson(Map json) { fromMap(json); } fromMap(Map json) { street = json['street']; postalCode = json['postalCode']; region = json['region']; countryCode = json['countryCode']; return this; } Map toJson() => { 'street': street, 'postalCode': postalCode, 'region': region, 'countryCode': countryCode }; getTypeName() => "PlaceAddress"; TypeContext? context = _ctx; } class PlaceBasicDto implements IConvertible { int? id; String? guid; String? overview; String? name; double? longitude; double? latitude; bool? claimed; String? organizationNumber; String? countryCode; OpeningHours? openingHours; bool? wheelchairAccessible; bool? wifi; bool? outdoorSeating; bool? saveFoodAndMoney; PlaceType? placeType; PriceMainDishDto? priceMainDish; TimeZoneDto? timeZoneDto; int? businessId; PlaceContact? contact; PlaceAddress? address; List? categories; ImageUrls? logoUrl; ImageUrls? imageUrl; List? wearPriceProfiles; List? brands; String? floor; PlaceBasicDto({this.id,this.guid,this.overview,this.name,this.longitude,this.latitude,this.claimed,this.organizationNumber,this.countryCode,this.openingHours,this.wheelchairAccessible,this.wifi,this.outdoorSeating,this.saveFoodAndMoney,this.placeType,this.priceMainDish,this.timeZoneDto,this.businessId,this.contact,this.address,this.categories,this.logoUrl,this.imageUrl,this.wearPriceProfiles,this.brands,this.floor}); PlaceBasicDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; guid = json['guid']; overview = json['overview']; name = json['name']; longitude = JsonConverters.toDouble(json['longitude']); latitude = JsonConverters.toDouble(json['latitude']); claimed = json['claimed']; organizationNumber = json['organizationNumber']; countryCode = json['countryCode']; openingHours = JsonConverters.fromJson(json['openingHours'],'OpeningHours',context!); wheelchairAccessible = json['wheelchairAccessible']; wifi = json['wifi']; outdoorSeating = json['outdoorSeating']; saveFoodAndMoney = json['saveFoodAndMoney']; placeType = JsonConverters.fromJson(json['placeType'],'PlaceType',context!); priceMainDish = JsonConverters.fromJson(json['priceMainDish'],'PriceMainDishDto',context!); timeZoneDto = JsonConverters.fromJson(json['timeZoneDto'],'TimeZoneDto',context!); businessId = json['businessId']; contact = JsonConverters.fromJson(json['contact'],'PlaceContact',context!); address = JsonConverters.fromJson(json['address'],'PlaceAddress',context!); categories = JsonConverters.fromJson(json['categories'],'List',context!); logoUrl = JsonConverters.fromJson(json['logoUrl'],'ImageUrls',context!); imageUrl = JsonConverters.fromJson(json['imageUrl'],'ImageUrls',context!); wearPriceProfiles = JsonConverters.fromJson(json['wearPriceProfiles'],'List',context!); brands = JsonConverters.fromJson(json['brands'],'List',context!); floor = json['floor']; return this; } Map toJson() => { 'id': id, 'guid': guid, 'overview': overview, 'name': name, 'longitude': longitude, 'latitude': latitude, 'claimed': claimed, 'organizationNumber': organizationNumber, 'countryCode': countryCode, 'openingHours': JsonConverters.toJson(openingHours,'OpeningHours',context!), 'wheelchairAccessible': wheelchairAccessible, 'wifi': wifi, 'outdoorSeating': outdoorSeating, 'saveFoodAndMoney': saveFoodAndMoney, 'placeType': JsonConverters.toJson(placeType,'PlaceType',context!), 'priceMainDish': JsonConverters.toJson(priceMainDish,'PriceMainDishDto',context!), 'timeZoneDto': JsonConverters.toJson(timeZoneDto,'TimeZoneDto',context!), 'businessId': businessId, 'contact': JsonConverters.toJson(contact,'PlaceContact',context!), 'address': JsonConverters.toJson(address,'PlaceAddress',context!), 'categories': JsonConverters.toJson(categories,'List',context!), 'logoUrl': JsonConverters.toJson(logoUrl,'ImageUrls',context!), 'imageUrl': JsonConverters.toJson(imageUrl,'ImageUrls',context!), 'wearPriceProfiles': JsonConverters.toJson(wearPriceProfiles,'List',context!), 'brands': JsonConverters.toJson(brands,'List',context!), 'floor': floor }; getTypeName() => "PlaceBasicDto"; TypeContext? context = _ctx; } class MallOtherServiceDto implements IConvertible { String? serviceName; String? floor; MallOtherServiceDto({this.serviceName,this.floor}); MallOtherServiceDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { serviceName = json['serviceName']; floor = json['floor']; return this; } Map toJson() => { 'serviceName': serviceName, 'floor': floor }; getTypeName() => "MallOtherServiceDto"; TypeContext? context = _ctx; } class PlaceDto implements IConvertible { int? id; String? guid; String? overview; String? name; double? longitude; double? latitude; bool? claimed; String? organizationNumber; String? countryCode; String? placeState; int? followersCount; OpeningHours? openingHours; List? categories; List? featureData; List? barSpecialities; List? barTypes; List? brands; List? cuisines; List? mealTypes; List? parking; List? paymentOptions; List? eatingSuitabilities; List? takeAways; List? wearPriceProfiles; List? menus; ImageUrls? logoUrl; ImageUrls? imageUrl; bool? wheelchairAccessible; bool? wifi; bool? outdoorSeating; bool? saveFoodAndMoney; PlaceType? placeType; PlaceBasicDto? mall; PriceMainDishDto? priceMainDish; List? places; List? otherServices; String? floor; TimeZoneDto? timeZoneDto; int? businessId; PlaceContact? contact; PlaceAddress? address; PlaceDto({this.id,this.guid,this.overview,this.name,this.longitude,this.latitude,this.claimed,this.organizationNumber,this.countryCode,this.placeState,this.followersCount,this.openingHours,this.categories,this.featureData,this.barSpecialities,this.barTypes,this.brands,this.cuisines,this.mealTypes,this.parking,this.paymentOptions,this.eatingSuitabilities,this.takeAways,this.wearPriceProfiles,this.menus,this.logoUrl,this.imageUrl,this.wheelchairAccessible,this.wifi,this.outdoorSeating,this.saveFoodAndMoney,this.placeType,this.mall,this.priceMainDish,this.places,this.otherServices,this.floor,this.timeZoneDto,this.businessId,this.contact,this.address}); PlaceDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; guid = json['guid']; overview = json['overview']; name = json['name']; longitude = JsonConverters.toDouble(json['longitude']); latitude = JsonConverters.toDouble(json['latitude']); claimed = json['claimed']; organizationNumber = json['organizationNumber']; countryCode = json['countryCode']; placeState = json['placeState']; followersCount = json['followersCount']; openingHours = JsonConverters.fromJson(json['openingHours'],'OpeningHours',context!); categories = JsonConverters.fromJson(json['categories'],'List',context!); featureData = JsonConverters.fromJson(json['featureData'],'List',context!); barSpecialities = JsonConverters.fromJson(json['barSpecialities'],'List',context!); barTypes = JsonConverters.fromJson(json['barTypes'],'List',context!); brands = JsonConverters.fromJson(json['brands'],'List',context!); cuisines = JsonConverters.fromJson(json['cuisines'],'List',context!); mealTypes = JsonConverters.fromJson(json['mealTypes'],'List',context!); parking = JsonConverters.fromJson(json['parking'],'List',context!); paymentOptions = JsonConverters.fromJson(json['paymentOptions'],'List',context!); eatingSuitabilities = JsonConverters.fromJson(json['eatingSuitabilities'],'List',context!); takeAways = JsonConverters.fromJson(json['takeAways'],'List',context!); wearPriceProfiles = JsonConverters.fromJson(json['wearPriceProfiles'],'List',context!); menus = JsonConverters.fromJson(json['menus'],'List',context!); logoUrl = JsonConverters.fromJson(json['logoUrl'],'ImageUrls',context!); imageUrl = JsonConverters.fromJson(json['imageUrl'],'ImageUrls',context!); wheelchairAccessible = json['wheelchairAccessible']; wifi = json['wifi']; outdoorSeating = json['outdoorSeating']; saveFoodAndMoney = json['saveFoodAndMoney']; placeType = JsonConverters.fromJson(json['placeType'],'PlaceType',context!); mall = JsonConverters.fromJson(json['mall'],'PlaceBasicDto',context!); priceMainDish = JsonConverters.fromJson(json['priceMainDish'],'PriceMainDishDto',context!); places = JsonConverters.fromJson(json['places'],'List',context!); otherServices = JsonConverters.fromJson(json['otherServices'],'List',context!); floor = json['floor']; timeZoneDto = JsonConverters.fromJson(json['timeZoneDto'],'TimeZoneDto',context!); businessId = json['businessId']; contact = JsonConverters.fromJson(json['contact'],'PlaceContact',context!); address = JsonConverters.fromJson(json['address'],'PlaceAddress',context!); return this; } Map toJson() => { 'id': id, 'guid': guid, 'overview': overview, 'name': name, 'longitude': longitude, 'latitude': latitude, 'claimed': claimed, 'organizationNumber': organizationNumber, 'countryCode': countryCode, 'placeState': placeState, 'followersCount': followersCount, 'openingHours': JsonConverters.toJson(openingHours,'OpeningHours',context!), 'categories': JsonConverters.toJson(categories,'List',context!), 'featureData': JsonConverters.toJson(featureData,'List',context!), 'barSpecialities': JsonConverters.toJson(barSpecialities,'List',context!), 'barTypes': JsonConverters.toJson(barTypes,'List',context!), 'brands': JsonConverters.toJson(brands,'List',context!), 'cuisines': JsonConverters.toJson(cuisines,'List',context!), 'mealTypes': JsonConverters.toJson(mealTypes,'List',context!), 'parking': JsonConverters.toJson(parking,'List',context!), 'paymentOptions': JsonConverters.toJson(paymentOptions,'List',context!), 'eatingSuitabilities': JsonConverters.toJson(eatingSuitabilities,'List',context!), 'takeAways': JsonConverters.toJson(takeAways,'List',context!), 'wearPriceProfiles': JsonConverters.toJson(wearPriceProfiles,'List',context!), 'menus': JsonConverters.toJson(menus,'List',context!), 'logoUrl': JsonConverters.toJson(logoUrl,'ImageUrls',context!), 'imageUrl': JsonConverters.toJson(imageUrl,'ImageUrls',context!), 'wheelchairAccessible': wheelchairAccessible, 'wifi': wifi, 'outdoorSeating': outdoorSeating, 'saveFoodAndMoney': saveFoodAndMoney, 'placeType': JsonConverters.toJson(placeType,'PlaceType',context!), 'mall': JsonConverters.toJson(mall,'PlaceBasicDto',context!), 'priceMainDish': JsonConverters.toJson(priceMainDish,'PriceMainDishDto',context!), 'places': JsonConverters.toJson(places,'List',context!), 'otherServices': JsonConverters.toJson(otherServices,'List',context!), 'floor': floor, 'timeZoneDto': JsonConverters.toJson(timeZoneDto,'TimeZoneDto',context!), 'businessId': businessId, 'contact': JsonConverters.toJson(contact,'PlaceContact',context!), 'address': JsonConverters.toJson(address,'PlaceAddress',context!) }; getTypeName() => "PlaceDto"; TypeContext? context = _ctx; } enum CategoryFacetTreeType { Parent, Selected, Available, } class CategoryFacetTreeDto implements IConvertible { String? name; String? slug; String? absoluteSlug; List? featureTypes; CategoryFacetTreeType? type; int? count; String? imageUrl; String? allImageUrl; String? iconImageUrl; int? position; List? children; CategoryFacetTreeDto({this.name,this.slug,this.absoluteSlug,this.featureTypes,this.type,this.count,this.imageUrl,this.allImageUrl,this.iconImageUrl,this.position,this.children}); CategoryFacetTreeDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { name = json['name']; slug = json['slug']; absoluteSlug = json['absoluteSlug']; featureTypes = JsonConverters.fromJson(json['featureTypes'],'List',context!); type = JsonConverters.fromJson(json['type'],'CategoryFacetTreeType',context!); count = json['count']; imageUrl = json['imageUrl']; allImageUrl = json['allImageUrl']; iconImageUrl = json['iconImageUrl']; position = json['position']; children = JsonConverters.fromJson(json['children'],'List',context!); return this; } Map toJson() => { 'name': name, 'slug': slug, 'absoluteSlug': absoluteSlug, 'featureTypes': JsonConverters.toJson(featureTypes,'List',context!), 'type': JsonConverters.toJson(type,'CategoryFacetTreeType',context!), 'count': count, 'imageUrl': imageUrl, 'allImageUrl': allImageUrl, 'iconImageUrl': iconImageUrl, 'position': position, 'children': JsonConverters.toJson(children,'List',context!) }; getTypeName() => "CategoryFacetTreeDto"; TypeContext? context = _ctx; } class FindBoundedMapPinCluster implements IConvertible { int? count; double? latitude; double? longitude; FindBoundedMapPinCluster({this.count,this.latitude,this.longitude}); FindBoundedMapPinCluster.fromJson(Map json) { fromMap(json); } fromMap(Map json) { count = json['count']; latitude = JsonConverters.toDouble(json['latitude']); longitude = JsonConverters.toDouble(json['longitude']); return this; } Map toJson() => { 'count': count, 'latitude': latitude, 'longitude': longitude }; getTypeName() => "FindBoundedMapPinCluster"; TypeContext? context = _ctx; } class Position implements IConvertible { double? longitude; double? latitude; Position({this.longitude,this.latitude}); Position.fromJson(Map json) { fromMap(json); } fromMap(Map json) { longitude = JsonConverters.toDouble(json['longitude']); latitude = JsonConverters.toDouble(json['latitude']); return this; } Map toJson() => { 'longitude': longitude, 'latitude': latitude }; getTypeName() => "Position"; TypeContext? context = _ctx; } class PlaceWithDisplayLocationDto implements IConvertible { PlaceDto? place; Position? crowdedMapDisplayLocation; PlaceWithDisplayLocationDto({this.place,this.crowdedMapDisplayLocation}); PlaceWithDisplayLocationDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { place = JsonConverters.fromJson(json['place'],'PlaceDto',context!); crowdedMapDisplayLocation = JsonConverters.fromJson(json['crowdedMapDisplayLocation'],'Position',context!); return this; } Map toJson() => { 'place': JsonConverters.toJson(place,'PlaceDto',context!), 'crowdedMapDisplayLocation': JsonConverters.toJson(crowdedMapDisplayLocation,'Position',context!) }; getTypeName() => "PlaceWithDisplayLocationDto"; TypeContext? context = _ctx; } class FindBoundedMapPlacesResponse implements IConvertible { List? clusters; List? placesWithDisplayLocation; List? categoryFacetTrees; int? adMessageCount; int? adMessageSaveFoodAndMoneyCount; FindBoundedMapPlacesResponse({this.clusters,this.placesWithDisplayLocation,this.categoryFacetTrees,this.adMessageCount,this.adMessageSaveFoodAndMoneyCount}); FindBoundedMapPlacesResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { clusters = JsonConverters.fromJson(json['clusters'],'List',context!); placesWithDisplayLocation = JsonConverters.fromJson(json['placesWithDisplayLocation'],'List',context!); categoryFacetTrees = JsonConverters.fromJson(json['categoryFacetTrees'],'List',context!); adMessageCount = json['adMessageCount']; adMessageSaveFoodAndMoneyCount = json['adMessageSaveFoodAndMoneyCount']; return this; } Map toJson() => { 'clusters': JsonConverters.toJson(clusters,'List',context!), 'placesWithDisplayLocation': JsonConverters.toJson(placesWithDisplayLocation,'List',context!), 'categoryFacetTrees': JsonConverters.toJson(categoryFacetTrees,'List',context!), 'adMessageCount': adMessageCount, 'adMessageSaveFoodAndMoneyCount': adMessageSaveFoodAndMoneyCount }; getTypeName() => "FindBoundedMapPlacesResponse"; TypeContext? context = _ctx; } class FindBoundedMapPlacesRequest implements IReturn, IGet, IPost, ICacheable, IConvertible { int? cacheVersion; QueryFilterDto? filter; MapBoundsDto? bounds; FindBoundedMapPlacesRequest({this.cacheVersion,this.filter,this.bounds}); FindBoundedMapPlacesRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { cacheVersion = json['cacheVersion']; filter = JsonConverters.fromJson(json['filter'],'QueryFilterDto',context!); bounds = JsonConverters.fromJson(json['bounds'],'MapBoundsDto',context!); return this; } Map toJson() => { 'cacheVersion': cacheVersion, 'filter': JsonConverters.toJson(filter,'QueryFilterDto',context!), 'bounds': JsonConverters.toJson(bounds,'MapBoundsDto',context!) }; createResponse() => FindBoundedMapPlacesResponse(); getResponseTypeName() => "FindBoundedMapPlacesResponse"; getTypeName() => "FindBoundedMapPlacesRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'ConsumerApi', types: { 'Parking': TypeInfo(TypeOf.Enum, enumValues:Parking.values), 'PaymentOption': TypeInfo(TypeOf.Enum, enumValues:PaymentOption.values), 'PriceMainDish': TypeInfo(TypeOf.Enum, enumValues:PriceMainDish.values), 'DayOfWeek': TypeInfo(TypeOf.Enum, enumValues:DayOfWeek.values), 'OpenAtTimeDto': TypeInfo(TypeOf.Class, create:() => OpenAtTimeDto()), 'QueryFilterDto': TypeInfo(TypeOf.Class, create:() => QueryFilterDto()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'ICacheable': TypeInfo(TypeOf.Interface), 'MapBoundsDto': TypeInfo(TypeOf.Class, create:() => MapBoundsDto()), 'OpeningHour': TypeInfo(TypeOf.Class, create:() => OpeningHour()), 'WeeklyOpeningHours': TypeInfo(TypeOf.Class, create:() => WeeklyOpeningHours()), 'OpeningHours': TypeInfo(TypeOf.Class, create:() => OpeningHours()), 'CategoryTreeDto': TypeInfo(TypeOf.Class, create:() => CategoryTreeDto()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'FeatureType': TypeInfo(TypeOf.Enum, enumValues:FeatureType.values), 'IndividualFeatureDataDto': TypeInfo(TypeOf.Class, create:() => IndividualFeatureDataDto()), 'BarSpecialityDto': TypeInfo(TypeOf.Class, create:() => BarSpecialityDto()), 'BarTypeDto': TypeInfo(TypeOf.Class, create:() => BarTypeDto()), 'BrandDto': TypeInfo(TypeOf.Class, create:() => BrandDto()), 'PlaceCustomBrandDto': TypeInfo(TypeOf.Class, create:() => PlaceCustomBrandDto()), 'PlaceSelectedBrandDto': TypeInfo(TypeOf.Class, create:() => PlaceSelectedBrandDto()), 'CuisineDto': TypeInfo(TypeOf.Class, create:() => CuisineDto()), 'MealTypeDto': TypeInfo(TypeOf.Class, create:() => MealTypeDto()), 'ParkingDto': TypeInfo(TypeOf.Class, create:() => ParkingDto()), 'PaymentOptionDto': TypeInfo(TypeOf.Class, create:() => PaymentOptionDto()), 'EatingSuitabilityDto': TypeInfo(TypeOf.Class, create:() => EatingSuitabilityDto()), 'TakeAwayDto': TypeInfo(TypeOf.Class, create:() => TakeAwayDto()), 'WearPriceProfileDto': TypeInfo(TypeOf.Class, create:() => WearPriceProfileDto()), 'MenuDto': TypeInfo(TypeOf.Class, create:() => MenuDto()), 'ImageUrls': TypeInfo(TypeOf.Class, create:() => ImageUrls()), 'PlaceType': TypeInfo(TypeOf.Enum, enumValues:PlaceType.values), 'PriceMainDishDto': TypeInfo(TypeOf.Class, create:() => PriceMainDishDto()), 'TimeZoneDto': TypeInfo(TypeOf.Class, create:() => TimeZoneDto()), 'PlaceContact': TypeInfo(TypeOf.Class, create:() => PlaceContact()), 'PlaceAddress': TypeInfo(TypeOf.Class, create:() => PlaceAddress()), 'PlaceBasicDto': TypeInfo(TypeOf.Class, create:() => PlaceBasicDto()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'MallOtherServiceDto': TypeInfo(TypeOf.Class, create:() => MallOtherServiceDto()), 'PlaceDto': TypeInfo(TypeOf.Class, create:() => PlaceDto()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'CategoryFacetTreeType': TypeInfo(TypeOf.Enum, enumValues:CategoryFacetTreeType.values), 'CategoryFacetTreeDto': TypeInfo(TypeOf.Class, create:() => CategoryFacetTreeDto()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'FindBoundedMapPinCluster': TypeInfo(TypeOf.Class, create:() => FindBoundedMapPinCluster()), 'Position': TypeInfo(TypeOf.Class, create:() => Position()), 'PlaceWithDisplayLocationDto': TypeInfo(TypeOf.Class, create:() => PlaceWithDisplayLocationDto()), 'FindBoundedMapPlacesResponse': TypeInfo(TypeOf.Class, create:() => FindBoundedMapPlacesResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'FindBoundedMapPlacesRequest': TypeInfo(TypeOf.Class, create:() => FindBoundedMapPlacesRequest()), });