/* Options: Date: 2025-09-13 18:33:28 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bookmore.com //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: DeleteFavorite.* //ExcludeTypes: //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.* import java.util.* import java.io.InputStream import net.servicestack.client.* @Route(Path="/users/favorite", Verbs="DELETE") @ValidateRequest(Validator="IsAuthenticated") @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) // @ApiResponse(Description="You have too low privilegies to call this service", StatusCode=403) open class DeleteFavorite : IReturn { /** * Id of the company */ @ApiMember(Description="Id of the company", IsRequired=true, ParameterType="path") open var CompanyId:UUID? = null companion object { private val responseType = UserFavorites::class.java } override fun getResponseType(): Any? = DeleteFavorite.responseType } open class UserFavorites { open var CompanyId:UUID? = null open var Company:CompanyQueryResponse? = null } open class CompanyQueryResponse { open var Id:UUID? = null open var Name:String? = null /** * The organisation number will only be visible if you are the owner of the company. */ @ApiMember(DataType="string", Description="The organisation number will only be visible if you are the owner of the company.") open var OrganisationNumber:String? = null /** * What type of company. If it's used for personal use or as a company. */ @ApiMember(DataType="int", Description="What type of company. If it's used for personal use or as a company.") open var TypeId:Int? = null open var Details:String? = null open var CategoryId:Int? = null open var Category:String? = null open var LogoType:Uri? = null open var CoverImage:Uri? = null open var Street1:String? = null open var Street2:String? = null open var ZipCode:String? = null open var City:String? = null open var CountryId:String? = null open var Longitude:String? = null open var Latitude:String? = null open var Distance:Double? = null open var Phone:String? = null open var Email:String? = null open var Homepage:String? = null open var SitePath:String? = null open var Active:Boolean? = null open var CodeLockSystem:CodeLockSystemType? = null open var IsFreeAccount:Boolean? = null /** * Will show when the company was updated, note it will only be shown if your logged in as admin for the company. */ @ApiMember(DataType="datetime", Description="Will show when the company was updated, note it will only be shown if your logged in as admin for the company.") open var Updated:Date? = null /** * Will show when the company was created, note it will only be shown if your logged in as admin for the company. */ @ApiMember(DataType="datetime", Description="Will show when the company was created, note it will only be shown if your logged in as admin for the company.") open var Created:Date? = null open var StatusId:Int? = null /** * If the company is marked as favourite for the logged in user */ @ApiMember(DataType="boolean", Description="If the company is marked as favourite for the logged in user") open var IsFavorite:Boolean? = null open var BookingAgreements:String? = null open var BookingSettings:CompanyBookingSettings? = null open var SystemSettings:CompanySystemSettings? = null open var WidgetSettings:CompanyWidgetSettings? = null open var HomepageSettings:HomepageSettingsResponse? = null open var RatingSummary:CompanyRatingSummary? = null open var Reviews:ArrayList? = null open var CustomerCustomFields:ArrayList? = null open var ResponseStatus:ResponseStatus? = null }