/* Options: Date: 2024-12-23 12:21:03 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://consumer-api.brovs.com //Package: //GlobalNamespace: ConsumerApi //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: SharePlaceLinkUsedRequest.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class ConsumerApi { @Route(Path="/share/share-place-link-used", Verbs="POST") public static class SharePlaceLinkUsedRequest implements IReturn, IPost { public String sharePlaceToken = null; public Locale locale = null; public String getSharePlaceToken() { return sharePlaceToken; } public SharePlaceLinkUsedRequest setSharePlaceToken(String value) { this.sharePlaceToken = value; return this; } public Locale getLocale() { return locale; } public SharePlaceLinkUsedRequest setLocale(Locale value) { this.locale = value; return this; } private static Object responseType = SharePlaceLinkUsedResponse.class; public Object getResponseType() { return responseType; } } public static class SharePlaceLinkUsedResponse { public SharingUser sharingUser = null; public SharedPlace place = null; public Date expiresAt = null; public SharingState state = null; public SharingUser getSharingUser() { return sharingUser; } public SharePlaceLinkUsedResponse setSharingUser(SharingUser value) { this.sharingUser = value; return this; } public SharedPlace getPlace() { return place; } public SharePlaceLinkUsedResponse setPlace(SharedPlace value) { this.place = value; return this; } public Date getExpiresAt() { return expiresAt; } public SharePlaceLinkUsedResponse setExpiresAt(Date value) { this.expiresAt = value; return this; } public SharingState getState() { return state; } public SharePlaceLinkUsedResponse setState(SharingState value) { this.state = value; return this; } } public static enum Locale { EnUs, NbNo; } public static class SharingUser { public String firstName = null; public String lastName = null; public String profilePhotoUrl = null; public String getFirstName() { return firstName; } public SharingUser setFirstName(String value) { this.firstName = value; return this; } public String getLastName() { return lastName; } public SharingUser setLastName(String value) { this.lastName = value; return this; } public String getProfilePhotoUrl() { return profilePhotoUrl; } public SharingUser setProfilePhotoUrl(String value) { this.profilePhotoUrl = value; return this; } } public static class SharedPlace { public Long id = null; public UUID guid = null; public String name = null; public String logoUrl = null; public String imageUrl = null; public OpeningHours openingHours = null; public TimeZoneDto timeZoneDto = null; public ArrayList rootCategories = null; public SharePriceMainDish priceMainDish = null; public ArrayList wearPriceProfiles = null; public Long getId() { return id; } public SharedPlace setId(Long value) { this.id = value; return this; } public UUID getGuid() { return guid; } public SharedPlace setGuid(UUID value) { this.guid = value; return this; } public String getName() { return name; } public SharedPlace setName(String value) { this.name = value; return this; } public String getLogoUrl() { return logoUrl; } public SharedPlace setLogoUrl(String value) { this.logoUrl = value; return this; } public String getImageUrl() { return imageUrl; } public SharedPlace setImageUrl(String value) { this.imageUrl = value; return this; } public OpeningHours getOpeningHours() { return openingHours; } public SharedPlace setOpeningHours(OpeningHours value) { this.openingHours = value; return this; } public TimeZoneDto getTimeZoneDto() { return timeZoneDto; } public SharedPlace setTimeZoneDto(TimeZoneDto value) { this.timeZoneDto = value; return this; } public ArrayList getRootCategories() { return rootCategories; } public SharedPlace setRootCategories(ArrayList value) { this.rootCategories = value; return this; } public SharePriceMainDish getPriceMainDish() { return priceMainDish; } public SharedPlace setPriceMainDish(SharePriceMainDish value) { this.priceMainDish = value; return this; } public ArrayList getWearPriceProfiles() { return wearPriceProfiles; } public SharedPlace setWearPriceProfiles(ArrayList value) { this.wearPriceProfiles = value; return this; } } public static enum SharingState { Teaser, Awarded, SelfShare, Expired; } public static enum PriceMainDish { Value, Medium, High, FineDining; } public static class OpeningHours { public WeeklyOpeningHours weekly = null; public WeeklyOpeningHours getWeekly() { return weekly; } public OpeningHours setWeekly(WeeklyOpeningHours value) { this.weekly = value; return this; } } public static class TimeZoneDto { public TimeSpan baseUtcOffset = null; public String daylightName = null; public String displayName = null; public String id = null; public String standardName = null; public Boolean supportsDaylightSavingTime = null; public TimeSpan getBaseUtcOffset() { return baseUtcOffset; } public TimeZoneDto setBaseUtcOffset(TimeSpan value) { this.baseUtcOffset = value; return this; } public String getDaylightName() { return daylightName; } public TimeZoneDto setDaylightName(String value) { this.daylightName = value; return this; } public String getDisplayName() { return displayName; } public TimeZoneDto setDisplayName(String value) { this.displayName = value; return this; } public String getId() { return id; } public TimeZoneDto setId(String value) { this.id = value; return this; } public String getStandardName() { return standardName; } public TimeZoneDto setStandardName(String value) { this.standardName = value; return this; } public Boolean isSupportsDaylightSavingTime() { return supportsDaylightSavingTime; } public TimeZoneDto setSupportsDaylightSavingTime(Boolean value) { this.supportsDaylightSavingTime = value; return this; } } public static class SharedRootCategory { public String name = null; public String absoluteSlug = null; public String getName() { return name; } public SharedRootCategory setName(String value) { this.name = value; return this; } public String getAbsoluteSlug() { return absoluteSlug; } public SharedRootCategory setAbsoluteSlug(String value) { this.absoluteSlug = value; return this; } } public static class SharePriceMainDish { public String label = null; public PriceMainDish slug = null; public String getLabel() { return label; } public SharePriceMainDish setLabel(String value) { this.label = value; return this; } public PriceMainDish getSlug() { return slug; } public SharePriceMainDish setSlug(PriceMainDish value) { this.slug = value; return this; } } public static class ShareWearPriceProfile { public String label = null; public String slug = null; public String getLabel() { return label; } public ShareWearPriceProfile setLabel(String value) { this.label = value; return this; } public String getSlug() { return slug; } public ShareWearPriceProfile setSlug(String value) { this.slug = value; return this; } } public static class WeeklyOpeningHours { public OpeningHour monday = null; public OpeningHour tuesday = null; public OpeningHour wednesday = null; public OpeningHour thursday = null; public OpeningHour friday = null; public OpeningHour saturday = null; public OpeningHour sunday = null; public OpeningHour getMonday() { return monday; } public WeeklyOpeningHours setMonday(OpeningHour value) { this.monday = value; return this; } public OpeningHour getTuesday() { return tuesday; } public WeeklyOpeningHours setTuesday(OpeningHour value) { this.tuesday = value; return this; } public OpeningHour getWednesday() { return wednesday; } public WeeklyOpeningHours setWednesday(OpeningHour value) { this.wednesday = value; return this; } public OpeningHour getThursday() { return thursday; } public WeeklyOpeningHours setThursday(OpeningHour value) { this.thursday = value; return this; } public OpeningHour getFriday() { return friday; } public WeeklyOpeningHours setFriday(OpeningHour value) { this.friday = value; return this; } public OpeningHour getSaturday() { return saturday; } public WeeklyOpeningHours setSaturday(OpeningHour value) { this.saturday = value; return this; } public OpeningHour getSunday() { return sunday; } public WeeklyOpeningHours setSunday(OpeningHour value) { this.sunday = value; return this; } } public static class OpeningHour { public Integer openAtHour = null; public Integer openAtMinute = null; public Integer closeAtHour = null; public Integer closeAtMinute = null; public Integer getOpenAtHour() { return openAtHour; } public OpeningHour setOpenAtHour(Integer value) { this.openAtHour = value; return this; } public Integer getOpenAtMinute() { return openAtMinute; } public OpeningHour setOpenAtMinute(Integer value) { this.openAtMinute = value; return this; } public Integer getCloseAtHour() { return closeAtHour; } public OpeningHour setCloseAtHour(Integer value) { this.closeAtHour = value; return this; } public Integer getCloseAtMinute() { return closeAtMinute; } public OpeningHour setCloseAtMinute(Integer value) { this.closeAtMinute = value; return this; } } }