/* Options: Date: 2025-05-06 23:51:47 Version: 8.70 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://unstable-consumer-api.brovs.com //GlobalNamespace: ConsumerApi //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetFollowingListRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ library ConsumerApi; import 'package:servicestack/servicestack.dart'; 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 CategoryTreeApiDto implements IConvertible { String? name; String? slug; String? absoluteSlug; String? imageUrl; String? allImageUrl; String? iconImageUrl; int? position; List? children = []; CategoryTreeApiDto({this.name,this.slug,this.absoluteSlug,this.imageUrl,this.allImageUrl,this.iconImageUrl,this.position,this.children}); CategoryTreeApiDto.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() => "CategoryTreeApiDto"; 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 IndividualFeatureDataApiDto implements IConvertible { FeatureType? slug; String? label; IndividualFeatureDataApiDto({this.slug,this.label}); IndividualFeatureDataApiDto.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() => "IndividualFeatureDataApiDto"; TypeContext? context = _ctx; } class BarSpecialityEsDto implements IConvertible { String? slug; String? title; BarSpecialityEsDto({this.slug,this.title}); BarSpecialityEsDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { slug = json['slug']; title = json['title']; return this; } Map toJson() => { 'slug': slug, 'title': title }; getTypeName() => "BarSpecialityEsDto"; TypeContext? context = _ctx; } class BarTypeEsDto implements IConvertible { String? slug; String? title; BarTypeEsDto({this.slug,this.title}); BarTypeEsDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { slug = json['slug']; title = json['title']; return this; } Map toJson() => { 'slug': slug, 'title': title }; getTypeName() => "BarTypeEsDto"; TypeContext? context = _ctx; } class BrandApiDto implements IConvertible { String? name; BrandApiDto({this.name}); BrandApiDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { name = json['name']; return this; } Map toJson() => { 'name': name }; getTypeName() => "BrandApiDto"; TypeContext? context = _ctx; } class PlaceCustomBrandApiDto implements IConvertible { String? name; PlaceCustomBrandApiDto({this.name}); PlaceCustomBrandApiDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { name = json['name']; return this; } Map toJson() => { 'name': name }; getTypeName() => "PlaceCustomBrandApiDto"; TypeContext? context = _ctx; } class PlaceSelectedBrandApiDto implements IConvertible { BrandApiDto? brand; List? categoryAbsoluteSlugs = []; PlaceCustomBrandApiDto? placeCustomBrand; PlaceSelectedBrandApiDto({this.brand,this.categoryAbsoluteSlugs,this.placeCustomBrand}); PlaceSelectedBrandApiDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { brand = JsonConverters.fromJson(json['brand'],'BrandApiDto',context!); categoryAbsoluteSlugs = JsonConverters.fromJson(json['categoryAbsoluteSlugs'],'List',context!); placeCustomBrand = JsonConverters.fromJson(json['placeCustomBrand'],'PlaceCustomBrandApiDto',context!); return this; } Map toJson() => { 'brand': JsonConverters.toJson(brand,'BrandApiDto',context!), 'categoryAbsoluteSlugs': JsonConverters.toJson(categoryAbsoluteSlugs,'List',context!), 'placeCustomBrand': JsonConverters.toJson(placeCustomBrand,'PlaceCustomBrandApiDto',context!) }; getTypeName() => "PlaceSelectedBrandApiDto"; TypeContext? context = _ctx; } class CuisineEsDto implements IConvertible { String? label; String? slug; CuisineEsDto({this.label,this.slug}); CuisineEsDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { label = json['label']; slug = json['slug']; return this; } Map toJson() => { 'label': label, 'slug': slug }; getTypeName() => "CuisineEsDto"; TypeContext? context = _ctx; } class MealTypeApiDto implements IConvertible { String? label; String? slug; MealTypeApiDto({this.label,this.slug}); MealTypeApiDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { label = json['label']; slug = json['slug']; return this; } Map toJson() => { 'label': label, 'slug': slug }; getTypeName() => "MealTypeApiDto"; TypeContext? context = _ctx; } enum Parking { StreetParking, ParkingGarageNearby, } class ParkingApiDto implements IConvertible { String? label; Parking? slug; ParkingApiDto({this.label,this.slug}); ParkingApiDto.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() => "ParkingApiDto"; TypeContext? context = _ctx; } enum PaymentOption { Visa, MasterCard, AmericanExpress, Diners, Vipps, } class PaymentOptionApiDto implements IConvertible { String? label; PaymentOption? slug; PaymentOptionApiDto({this.label,this.slug}); PaymentOptionApiDto.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() => "PaymentOptionApiDto"; TypeContext? context = _ctx; } class EatingSuitabilityApiDto implements IConvertible { String? label; String? slug; EatingSuitabilityApiDto({this.label,this.slug}); EatingSuitabilityApiDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { label = json['label']; slug = json['slug']; return this; } Map toJson() => { 'label': label, 'slug': slug }; getTypeName() => "EatingSuitabilityApiDto"; TypeContext? context = _ctx; } class TakeAwayApiDto implements IConvertible { String? label; String? slug; TakeAwayApiDto({this.label,this.slug}); TakeAwayApiDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { label = json['label']; slug = json['slug']; return this; } Map toJson() => { 'label': label, 'slug': slug }; getTypeName() => "TakeAwayApiDto"; TypeContext? context = _ctx; } class WearPriceProfileEsDto implements IConvertible { String? slug; String? label; WearPriceProfileEsDto({this.slug,this.label}); WearPriceProfileEsDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { slug = json['slug']; label = json['label']; return this; } Map toJson() => { 'slug': slug, 'label': label }; getTypeName() => "WearPriceProfileEsDto"; TypeContext? context = _ctx; } class MenuEsDto implements IConvertible { String? name; String? url; int? position; MenuEsDto({this.name,this.url,this.position}); MenuEsDto.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() => "MenuEsDto"; 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, } enum PriceMainDish { Value, Medium, High, FineDining, } class PriceMainDishApiDto implements IConvertible { String? title; PriceMainDish? slug; PriceMainDishApiDto({this.title,this.slug}); PriceMainDishApiDto.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() => "PriceMainDishApiDto"; 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 PlaceBasicApiDto 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; PriceMainDishApiDto? priceMainDish; TimeZoneDto? timeZoneDto; int? businessId; PlaceContact? contact; PlaceAddress? address; List? categories = []; ImageUrls? logoUrl; ImageUrls? imageUrl; List? wearPriceProfiles = []; List? brands = []; String? floor; PlaceBasicApiDto({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}); PlaceBasicApiDto.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'],'PriceMainDishApiDto',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,'PriceMainDishApiDto',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() => "PlaceBasicApiDto"; TypeContext? context = _ctx; } class MallOtherServiceApiDto implements IConvertible { String? serviceName; String? floor; MallOtherServiceApiDto({this.serviceName,this.floor}); MallOtherServiceApiDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { serviceName = json['serviceName']; floor = json['floor']; return this; } Map toJson() => { 'serviceName': serviceName, 'floor': floor }; getTypeName() => "MallOtherServiceApiDto"; TypeContext? context = _ctx; } class PlaceApiDto 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; PlaceBasicApiDto? mall; PriceMainDishApiDto? priceMainDish; List? places = []; List? otherServices = []; String? floor; TimeZoneDto? timeZoneDto; int? businessId; PlaceContact? contact; PlaceAddress? address; PlaceApiDto({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}); PlaceApiDto.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'],'PlaceBasicApiDto',context!); priceMainDish = JsonConverters.fromJson(json['priceMainDish'],'PriceMainDishApiDto',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,'PlaceBasicApiDto',context!), 'priceMainDish': JsonConverters.toJson(priceMainDish,'PriceMainDishApiDto',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() => "PlaceApiDto"; TypeContext? context = _ctx; } class GetFollowingListResponse implements IConvertible { String? userGuid; List? places = []; GetFollowingListResponse({this.userGuid,this.places}); GetFollowingListResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { userGuid = json['userGuid']; places = JsonConverters.fromJson(json['places'],'List',context!); return this; } Map toJson() => { 'userGuid': userGuid, 'places': JsonConverters.toJson(places,'List',context!) }; getTypeName() => "GetFollowingListResponse"; TypeContext? context = _ctx; } // @Route("/place/GetFollowingList", "GET") class GetFollowingListRequest implements IReturn, IGet, IConvertible { GetFollowingListRequest(); GetFollowingListRequest.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => GetFollowingListResponse(); getResponseTypeName() => "GetFollowingListResponse"; getTypeName() => "GetFollowingListRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'ConsumerApi', types: { 'OpeningHour': TypeInfo(TypeOf.Class, create:() => OpeningHour()), 'WeeklyOpeningHours': TypeInfo(TypeOf.Class, create:() => WeeklyOpeningHours()), 'OpeningHours': TypeInfo(TypeOf.Class, create:() => OpeningHours()), 'CategoryTreeApiDto': TypeInfo(TypeOf.Class, create:() => CategoryTreeApiDto()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'FeatureType': TypeInfo(TypeOf.Enum, enumValues:FeatureType.values), 'IndividualFeatureDataApiDto': TypeInfo(TypeOf.Class, create:() => IndividualFeatureDataApiDto()), 'BarSpecialityEsDto': TypeInfo(TypeOf.Class, create:() => BarSpecialityEsDto()), 'BarTypeEsDto': TypeInfo(TypeOf.Class, create:() => BarTypeEsDto()), 'BrandApiDto': TypeInfo(TypeOf.Class, create:() => BrandApiDto()), 'PlaceCustomBrandApiDto': TypeInfo(TypeOf.Class, create:() => PlaceCustomBrandApiDto()), 'PlaceSelectedBrandApiDto': TypeInfo(TypeOf.Class, create:() => PlaceSelectedBrandApiDto()), 'CuisineEsDto': TypeInfo(TypeOf.Class, create:() => CuisineEsDto()), 'MealTypeApiDto': TypeInfo(TypeOf.Class, create:() => MealTypeApiDto()), 'Parking': TypeInfo(TypeOf.Enum, enumValues:Parking.values), 'ParkingApiDto': TypeInfo(TypeOf.Class, create:() => ParkingApiDto()), 'PaymentOption': TypeInfo(TypeOf.Enum, enumValues:PaymentOption.values), 'PaymentOptionApiDto': TypeInfo(TypeOf.Class, create:() => PaymentOptionApiDto()), 'EatingSuitabilityApiDto': TypeInfo(TypeOf.Class, create:() => EatingSuitabilityApiDto()), 'TakeAwayApiDto': TypeInfo(TypeOf.Class, create:() => TakeAwayApiDto()), 'WearPriceProfileEsDto': TypeInfo(TypeOf.Class, create:() => WearPriceProfileEsDto()), 'MenuEsDto': TypeInfo(TypeOf.Class, create:() => MenuEsDto()), 'ImageUrls': TypeInfo(TypeOf.Class, create:() => ImageUrls()), 'PlaceType': TypeInfo(TypeOf.Enum, enumValues:PlaceType.values), 'PriceMainDish': TypeInfo(TypeOf.Enum, enumValues:PriceMainDish.values), 'PriceMainDishApiDto': TypeInfo(TypeOf.Class, create:() => PriceMainDishApiDto()), 'TimeZoneDto': TypeInfo(TypeOf.Class, create:() => TimeZoneDto()), 'PlaceContact': TypeInfo(TypeOf.Class, create:() => PlaceContact()), 'PlaceAddress': TypeInfo(TypeOf.Class, create:() => PlaceAddress()), 'PlaceBasicApiDto': TypeInfo(TypeOf.Class, create:() => PlaceBasicApiDto()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'MallOtherServiceApiDto': TypeInfo(TypeOf.Class, create:() => MallOtherServiceApiDto()), 'PlaceApiDto': TypeInfo(TypeOf.Class, create:() => PlaceApiDto()), '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:() => []), 'GetFollowingListResponse': TypeInfo(TypeOf.Class, create:() => GetFollowingListResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'GetFollowingListRequest': TypeInfo(TypeOf.Class, create:() => GetFollowingListRequest()), });