/* Options: Date: 2024-07-03 13:47:14 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: DeleteFavorite.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* 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") var CompanyId:UUID? = null companion object { private val responseType = UserFavorites::class.java } override fun getResponseType(): Any? = DeleteFavorite.responseType } open class UserFavorites { var CompanyId:UUID? = null var Company:CompanyQueryResponse? = null } open class CompanyQueryResponse { var Id:UUID? = null var Name:String? = null /** * The organisation number will only be visible if your owner to the company */ @ApiMember(DataType="string", Description="The organisation number will only be visible if your owner to the company") 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.") var TypeId:Int? = null var Details:String? = null var CategoryId:Int? = null var Category:String? = null var LogoType:Uri? = null var CoverImage:Uri? = null var Street1:String? = null var Street2:String? = null var ZipCode:String? = null var City:String? = null var CountryId:String? = null var Longitude:String? = null var Latitude:String? = null var Distance:Double? = null var Phone:String? = null var Email:String? = null var Homepage:String? = null var SitePath:String? = null var Active:Boolean? = null var CodeLockSystem:CodeLockSystemType? = null 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.") 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.") var Created:Date? = null 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") var IsFavorite:Boolean? = null var BookingAgreements:String? = null var BookingSettings:CompanyBookingSettings? = null var SystemSettings:CompanySystemSettings? = null var WidgetSettings:CompanyWidgetSettings? = null var HomepageSettings:HomepageSettingsResponse? = null var RatingSummary:CompanyRatingSummary? = null var Reviews:ArrayList = ArrayList() var CustomerCustomFields:ArrayList = ArrayList() var ResponseStatus:ResponseStatus? = null }