/* Options: Date: 2025-12-06 07:05:04 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://business-api.brovs.com //GlobalNamespace: BusinessApi //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetPlaceRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ library BusinessApi; import 'package:servicestack/servicestack.dart'; abstract class IHasPlaceId { int? placeId; } enum Parking { StreetParking, ParkingGarageNearby, } enum PaymentOption { Visa, MasterCard, AmericanExpress, Diners, Vipps, } enum PriceMainDish { Value, Medium, High, FineDining, } 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 BarTypeDto implements IConvertible { int? id; String? slug; String? title; BarTypeDto({this.id,this.slug,this.title}); BarTypeDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; slug = json['slug']; title = json['title']; return this; } Map toJson() => { 'id': id, 'slug': slug, 'title': title }; getTypeName() => "BarTypeDto"; 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 FeatureDto implements IConvertible { FeatureType? slug; String? label; FeatureDto({this.slug,this.label}); FeatureDto.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() => "FeatureDto"; 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 BarSpecialityDto implements IConvertible { int? id; String? slug; String? title; BarSpecialityDto({this.id,this.slug,this.title}); BarSpecialityDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; slug = json['slug']; title = json['title']; return this; } Map toJson() => { 'id': id, 'slug': slug, 'title': title }; getTypeName() => "BarSpecialityDto"; TypeContext? context = _ctx; } 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 BusinessWearPriceProfileDto implements IConvertible { int? id; String? label; String? slug; BusinessWearPriceProfileDto({this.id,this.label,this.slug}); BusinessWearPriceProfileDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; label = json['label']; slug = json['slug']; return this; } Map toJson() => { 'id': id, 'label': label, 'slug': slug }; getTypeName() => "BusinessWearPriceProfileDto"; TypeContext? context = _ctx; } enum PlaceType { Mall, Regular, } 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 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 MallOtherServiceDto implements IConvertible { int? id; String? serviceName; String? floor; MallOtherServiceDto({this.id,this.serviceName,this.floor}); MallOtherServiceDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; serviceName = json['serviceName']; floor = json['floor']; return this; } Map toJson() => { 'id': id, 'serviceName': serviceName, 'floor': floor }; getTypeName() => "MallOtherServiceDto"; TypeContext? context = _ctx; } class PlaceBasicDto implements IConvertible { int? id; String? guid; String? name; int? businessId; double? longitude; double? latitude; bool? claimed; String? organizationNumber; String? countryCode; String? overview; OpeningHours? openingHours; PlaceType? placeType; PlaceContact? contact; PlaceAddress? address; bool? wheelChairAccessible; bool? wifi; bool? outdoorSeating; bool? saveFoodAndMoney; TimeZoneDto? timeZoneDto; PriceMainDishDto? priceMainDish; List? otherServices = []; String? floor; PlaceBasicDto({this.id,this.guid,this.name,this.businessId,this.longitude,this.latitude,this.claimed,this.organizationNumber,this.countryCode,this.overview,this.openingHours,this.placeType,this.contact,this.address,this.wheelChairAccessible,this.wifi,this.outdoorSeating,this.saveFoodAndMoney,this.timeZoneDto,this.priceMainDish,this.otherServices,this.floor}); PlaceBasicDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; guid = json['guid']; name = json['name']; businessId = json['businessId']; longitude = JsonConverters.toDouble(json['longitude']); latitude = JsonConverters.toDouble(json['latitude']); claimed = json['claimed']; organizationNumber = json['organizationNumber']; countryCode = json['countryCode']; overview = json['overview']; openingHours = JsonConverters.fromJson(json['openingHours'],'OpeningHours',context!); placeType = JsonConverters.fromJson(json['placeType'],'PlaceType',context!); contact = JsonConverters.fromJson(json['contact'],'PlaceContact',context!); address = JsonConverters.fromJson(json['address'],'PlaceAddress',context!); wheelChairAccessible = json['wheelChairAccessible']; wifi = json['wifi']; outdoorSeating = json['outdoorSeating']; saveFoodAndMoney = json['saveFoodAndMoney']; timeZoneDto = JsonConverters.fromJson(json['timeZoneDto'],'TimeZoneDto',context!); priceMainDish = JsonConverters.fromJson(json['priceMainDish'],'PriceMainDishDto',context!); otherServices = JsonConverters.fromJson(json['otherServices'],'List',context!); floor = json['floor']; return this; } Map toJson() => { 'id': id, 'guid': guid, 'name': name, 'businessId': businessId, 'longitude': longitude, 'latitude': latitude, 'claimed': claimed, 'organizationNumber': organizationNumber, 'countryCode': countryCode, 'overview': overview, 'openingHours': JsonConverters.toJson(openingHours,'OpeningHours',context!), 'placeType': JsonConverters.toJson(placeType,'PlaceType',context!), 'contact': JsonConverters.toJson(contact,'PlaceContact',context!), 'address': JsonConverters.toJson(address,'PlaceAddress',context!), 'wheelChairAccessible': wheelChairAccessible, 'wifi': wifi, 'outdoorSeating': outdoorSeating, 'saveFoodAndMoney': saveFoodAndMoney, 'timeZoneDto': JsonConverters.toJson(timeZoneDto,'TimeZoneDto',context!), 'priceMainDish': JsonConverters.toJson(priceMainDish,'PriceMainDishDto',context!), 'otherServices': JsonConverters.toJson(otherServices,'List',context!), 'floor': floor }; getTypeName() => "PlaceBasicDto"; TypeContext? context = _ctx; } class TakeAwayDto implements IConvertible { int? id; String? label; String? slug; int? position; TakeAwayDto({this.id,this.label,this.slug,this.position}); TakeAwayDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; label = json['label']; slug = json['slug']; position = json['position']; return this; } Map toJson() => { 'id': id, 'label': label, 'slug': slug, 'position': position }; getTypeName() => "TakeAwayDto"; TypeContext? context = _ctx; } class MealTypeDto implements IConvertible { int? id; String? label; String? slug; int? position; MealTypeDto({this.id,this.label,this.slug,this.position}); MealTypeDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; label = json['label']; slug = json['slug']; position = json['position']; return this; } Map toJson() => { 'id': id, 'label': label, 'slug': slug, 'position': position }; getTypeName() => "MealTypeDto"; TypeContext? context = _ctx; } class EatingSuitability implements IAudit, IConvertible { int? id; String? label; String? slug; int? position; DateTime? createdAt; DateTime? updatedAt; EatingSuitability({this.id,this.label,this.slug,this.position,this.createdAt,this.updatedAt}); EatingSuitability.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; label = json['label']; slug = json['slug']; position = json['position']; createdAt = JsonConverters.fromJson(json['createdAt'],'DateTime',context!); updatedAt = JsonConverters.fromJson(json['updatedAt'],'DateTime',context!); return this; } Map toJson() => { 'id': id, 'label': label, 'slug': slug, 'position': position, 'createdAt': JsonConverters.toJson(createdAt,'DateTime',context!), 'updatedAt': JsonConverters.toJson(updatedAt,'DateTime',context!) }; getTypeName() => "EatingSuitability"; TypeContext? context = _ctx; } class EatingSuitabilityDto implements IConvertible { String? label; EatingSuitability? slug; EatingSuitabilityDto({this.label,this.slug}); EatingSuitabilityDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { label = json['label']; slug = JsonConverters.fromJson(json['slug'],'EatingSuitability',context!); return this; } Map toJson() => { 'label': label, 'slug': JsonConverters.toJson(slug,'EatingSuitability',context!) }; getTypeName() => "EatingSuitabilityDto"; TypeContext? context = _ctx; } class CuisineDto implements IConvertible { int? id; String? label; String? slug; CuisineDto({this.id,this.label,this.slug}); CuisineDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; label = json['label']; slug = json['slug']; return this; } Map toJson() => { 'id': id, 'label': label, 'slug': slug }; getTypeName() => "CuisineDto"; TypeContext? context = _ctx; } class CategoryTreeWithFeaturesDto implements IConvertible { int? id; String? slug; String? absoluteSlug; String? name; List? children = []; List? featureTypes = []; CategoryTreeWithFeaturesDto({this.id,this.slug,this.absoluteSlug,this.name,this.children,this.featureTypes}); CategoryTreeWithFeaturesDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; slug = json['slug']; absoluteSlug = json['absoluteSlug']; name = json['name']; children = JsonConverters.fromJson(json['children'],'List',context!); featureTypes = JsonConverters.fromJson(json['featureTypes'],'List',context!); return this; } Map toJson() => { 'id': id, 'slug': slug, 'absoluteSlug': absoluteSlug, 'name': name, 'children': JsonConverters.toJson(children,'List',context!), 'featureTypes': JsonConverters.toJson(featureTypes,'List',context!) }; getTypeName() => "CategoryTreeWithFeaturesDto"; TypeContext? context = _ctx; } class BrandDto implements IConvertible { int? id; int? definedByRootCategoryId; String? name; BrandDto({this.id,this.definedByRootCategoryId,this.name}); BrandDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; definedByRootCategoryId = json['definedByRootCategoryId']; name = json['name']; return this; } Map toJson() => { 'id': id, 'definedByRootCategoryId': definedByRootCategoryId, 'name': name }; getTypeName() => "BrandDto"; TypeContext? context = _ctx; } class CategoryDto implements IConvertible { int? id; String? slug; String? absoluteSlug; String? name; int? parentId; CategoryDto({this.id,this.slug,this.absoluteSlug,this.name,this.parentId}); CategoryDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; slug = json['slug']; absoluteSlug = json['absoluteSlug']; name = json['name']; parentId = json['parentId']; return this; } Map toJson() => { 'id': id, 'slug': slug, 'absoluteSlug': absoluteSlug, 'name': name, 'parentId': parentId }; getTypeName() => "CategoryDto"; TypeContext? context = _ctx; } class BusinessMenuDto implements IConvertible { int? id; String? name; String? url; int? position; BusinessMenuDto({this.id,this.name,this.url,this.position}); BusinessMenuDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; name = json['name']; url = json['url']; position = json['position']; return this; } Map toJson() => { 'id': id, 'name': name, 'url': url, 'position': position }; getTypeName() => "BusinessMenuDto"; TypeContext? context = _ctx; } class PlaceCustomBrandDto implements IConvertible { int? id; int? definedByPlaceId; String? name; PlaceCustomBrandDto({this.id,this.definedByPlaceId,this.name}); PlaceCustomBrandDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; definedByPlaceId = json['definedByPlaceId']; name = json['name']; return this; } Map toJson() => { 'id': id, 'definedByPlaceId': definedByPlaceId, 'name': name }; getTypeName() => "PlaceCustomBrandDto"; TypeContext? context = _ctx; } class PlaceSelectedBrandDto implements IConvertible { int? id; BrandDto? brand; CategoryDto? category; PlaceCustomBrandDto? placeCustomBrand; PlaceSelectedBrandDto({this.id,this.brand,this.category,this.placeCustomBrand}); PlaceSelectedBrandDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; brand = JsonConverters.fromJson(json['brand'],'BrandDto',context!); category = JsonConverters.fromJson(json['category'],'CategoryDto',context!); placeCustomBrand = JsonConverters.fromJson(json['placeCustomBrand'],'PlaceCustomBrandDto',context!); return this; } Map toJson() => { 'id': id, 'brand': JsonConverters.toJson(brand,'BrandDto',context!), 'category': JsonConverters.toJson(category,'CategoryDto',context!), 'placeCustomBrand': JsonConverters.toJson(placeCustomBrand,'PlaceCustomBrandDto',context!) }; getTypeName() => "PlaceSelectedBrandDto"; TypeContext? context = _ctx; } class PlaceDto implements IConvertible { int? id; String? guid; String? name; double? longitude; double? latitude; bool? claimed; String? organizationNumber; String? countryCode; String? overview; OpeningHours? openingHours; List? featureData = []; List? categories = []; CategoryDto? rootCategory; List? menus = []; List? barSpecialities = []; List? barTypes = []; List? brands = []; List? cuisines = []; List? mealTypes = []; List? parking = []; List? paymentOptions = []; List? eatingSuitabilities = []; List? takeAways = []; List? wearPriceProfiles = []; bool? wheelChairAccessible; bool? wifi; bool? outdoorSeating; bool? saveFoodAndMoney; String? logoUrl; String? customImageUrl; String? categoryImageUrl; PlaceType? placeType; List? places = []; List? otherServices = []; PlaceBasicDto? mall; String? floor; TimeZoneDto? timeZoneDto; int? businessId; PlaceContact? contact; PlaceAddress? address; PriceMainDishDto? priceMainDish; PlaceDto({this.id,this.guid,this.name,this.longitude,this.latitude,this.claimed,this.organizationNumber,this.countryCode,this.overview,this.openingHours,this.featureData,this.categories,this.rootCategory,this.menus,this.barSpecialities,this.barTypes,this.brands,this.cuisines,this.mealTypes,this.parking,this.paymentOptions,this.eatingSuitabilities,this.takeAways,this.wearPriceProfiles,this.wheelChairAccessible,this.wifi,this.outdoorSeating,this.saveFoodAndMoney,this.logoUrl,this.customImageUrl,this.categoryImageUrl,this.placeType,this.places,this.otherServices,this.mall,this.floor,this.timeZoneDto,this.businessId,this.contact,this.address,this.priceMainDish}); PlaceDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; guid = json['guid']; name = json['name']; longitude = JsonConverters.toDouble(json['longitude']); latitude = JsonConverters.toDouble(json['latitude']); claimed = json['claimed']; organizationNumber = json['organizationNumber']; countryCode = json['countryCode']; overview = json['overview']; openingHours = JsonConverters.fromJson(json['openingHours'],'OpeningHours',context!); featureData = JsonConverters.fromJson(json['featureData'],'List',context!); categories = JsonConverters.fromJson(json['categories'],'List',context!); rootCategory = JsonConverters.fromJson(json['rootCategory'],'CategoryDto',context!); menus = JsonConverters.fromJson(json['menus'],'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!); wheelChairAccessible = json['wheelChairAccessible']; wifi = json['wifi']; outdoorSeating = json['outdoorSeating']; saveFoodAndMoney = json['saveFoodAndMoney']; logoUrl = json['logoUrl']; customImageUrl = json['customImageUrl']; categoryImageUrl = json['categoryImageUrl']; placeType = JsonConverters.fromJson(json['placeType'],'PlaceType',context!); places = JsonConverters.fromJson(json['places'],'List',context!); otherServices = JsonConverters.fromJson(json['otherServices'],'List',context!); mall = JsonConverters.fromJson(json['mall'],'PlaceBasicDto',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!); priceMainDish = JsonConverters.fromJson(json['priceMainDish'],'PriceMainDishDto',context!); return this; } Map toJson() => { 'id': id, 'guid': guid, 'name': name, 'longitude': longitude, 'latitude': latitude, 'claimed': claimed, 'organizationNumber': organizationNumber, 'countryCode': countryCode, 'overview': overview, 'openingHours': JsonConverters.toJson(openingHours,'OpeningHours',context!), 'featureData': JsonConverters.toJson(featureData,'List',context!), 'categories': JsonConverters.toJson(categories,'List',context!), 'rootCategory': JsonConverters.toJson(rootCategory,'CategoryDto',context!), 'menus': JsonConverters.toJson(menus,'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!), 'wheelChairAccessible': wheelChairAccessible, 'wifi': wifi, 'outdoorSeating': outdoorSeating, 'saveFoodAndMoney': saveFoodAndMoney, 'logoUrl': logoUrl, 'customImageUrl': customImageUrl, 'categoryImageUrl': categoryImageUrl, 'placeType': JsonConverters.toJson(placeType,'PlaceType',context!), 'places': JsonConverters.toJson(places,'List',context!), 'otherServices': JsonConverters.toJson(otherServices,'List',context!), 'mall': JsonConverters.toJson(mall,'PlaceBasicDto',context!), 'floor': floor, 'timeZoneDto': JsonConverters.toJson(timeZoneDto,'TimeZoneDto',context!), 'businessId': businessId, 'contact': JsonConverters.toJson(contact,'PlaceContact',context!), 'address': JsonConverters.toJson(address,'PlaceAddress',context!), 'priceMainDish': JsonConverters.toJson(priceMainDish,'PriceMainDishDto',context!) }; getTypeName() => "PlaceDto"; TypeContext? context = _ctx; } abstract class IAudit { DateTime? createdAt; DateTime? updatedAt; } class GetPlaceResponse implements IConvertible { PlaceDto? place; GetPlaceResponse({this.place}); GetPlaceResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { place = JsonConverters.fromJson(json['place'],'PlaceDto',context!); return this; } Map toJson() => { 'place': JsonConverters.toJson(place,'PlaceDto',context!) }; getTypeName() => "GetPlaceResponse"; TypeContext? context = _ctx; } // @Route("/place/get", "GET") class GetPlaceRequest implements IReturn, IGet, IHasPlaceId, IConvertible { int? placeId; GetPlaceRequest({this.placeId}); GetPlaceRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { placeId = json['placeId']; return this; } Map toJson() => { 'placeId': placeId }; createResponse() => GetPlaceResponse(); getResponseTypeName() => "GetPlaceResponse"; getTypeName() => "GetPlaceRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'BusinessApi', types: { 'IHasPlaceId': TypeInfo(TypeOf.Interface), 'Parking': TypeInfo(TypeOf.Enum, enumValues:Parking.values), 'PaymentOption': TypeInfo(TypeOf.Enum, enumValues:PaymentOption.values), 'PriceMainDish': TypeInfo(TypeOf.Enum, enumValues:PriceMainDish.values), 'OpeningHour': TypeInfo(TypeOf.Class, create:() => OpeningHour()), 'WeeklyOpeningHours': TypeInfo(TypeOf.Class, create:() => WeeklyOpeningHours()), 'OpeningHours': TypeInfo(TypeOf.Class, create:() => OpeningHours()), 'BarTypeDto': TypeInfo(TypeOf.Class, create:() => BarTypeDto()), 'FeatureType': TypeInfo(TypeOf.Enum, enumValues:FeatureType.values), 'FeatureDto': TypeInfo(TypeOf.Class, create:() => FeatureDto()), 'ParkingDto': TypeInfo(TypeOf.Class, create:() => ParkingDto()), 'PaymentOptionDto': TypeInfo(TypeOf.Class, create:() => PaymentOptionDto()), 'BarSpecialityDto': TypeInfo(TypeOf.Class, create:() => BarSpecialityDto()), 'PriceMainDishDto': TypeInfo(TypeOf.Class, create:() => PriceMainDishDto()), 'BusinessWearPriceProfileDto': TypeInfo(TypeOf.Class, create:() => BusinessWearPriceProfileDto()), 'PlaceType': TypeInfo(TypeOf.Enum, enumValues:PlaceType.values), 'PlaceContact': TypeInfo(TypeOf.Class, create:() => PlaceContact()), 'PlaceAddress': TypeInfo(TypeOf.Class, create:() => PlaceAddress()), 'TimeZoneDto': TypeInfo(TypeOf.Class, create:() => TimeZoneDto()), 'MallOtherServiceDto': TypeInfo(TypeOf.Class, create:() => MallOtherServiceDto()), 'PlaceBasicDto': TypeInfo(TypeOf.Class, create:() => PlaceBasicDto()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'TakeAwayDto': TypeInfo(TypeOf.Class, create:() => TakeAwayDto()), 'MealTypeDto': TypeInfo(TypeOf.Class, create:() => MealTypeDto()), 'EatingSuitability': TypeInfo(TypeOf.Class, create:() => EatingSuitability()), 'EatingSuitabilityDto': TypeInfo(TypeOf.Class, create:() => EatingSuitabilityDto()), 'CuisineDto': TypeInfo(TypeOf.Class, create:() => CuisineDto()), 'CategoryTreeWithFeaturesDto': TypeInfo(TypeOf.Class, create:() => CategoryTreeWithFeaturesDto()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'BrandDto': TypeInfo(TypeOf.Class, create:() => BrandDto()), 'CategoryDto': TypeInfo(TypeOf.Class, create:() => CategoryDto()), 'BusinessMenuDto': TypeInfo(TypeOf.Class, create:() => BusinessMenuDto()), 'PlaceCustomBrandDto': TypeInfo(TypeOf.Class, create:() => PlaceCustomBrandDto()), 'PlaceSelectedBrandDto': TypeInfo(TypeOf.Class, create:() => PlaceSelectedBrandDto()), '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:() => []), 'IAudit': TypeInfo(TypeOf.Interface), 'GetPlaceResponse': TypeInfo(TypeOf.Class, create:() => GetPlaceResponse()), 'GetPlaceRequest': TypeInfo(TypeOf.Class, create:() => GetPlaceRequest()), });