/* Options: Date: 2024-11-23 08:56:07 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: DeleteFavorite.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { @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) public static class DeleteFavorite implements IReturn { /** * Id of the company */ @ApiMember(Description="Id of the company", IsRequired=true, ParameterType="path") public UUID CompanyId = null; public UUID getCompanyId() { return CompanyId; } public DeleteFavorite setCompanyId(UUID value) { this.CompanyId = value; return this; } private static Object responseType = UserFavorites.class; public Object getResponseType() { return responseType; } } public static class UserFavorites { public UUID CompanyId = null; public CompanyQueryResponse Company = null; public UUID getCompanyId() { return CompanyId; } public UserFavorites setCompanyId(UUID value) { this.CompanyId = value; return this; } public CompanyQueryResponse getCompany() { return Company; } public UserFavorites setCompany(CompanyQueryResponse value) { this.Company = value; return this; } } public static class CompanyQueryResponse { public UUID Id = null; public String Name = 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") public String OrganisationNumber = 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.") public Integer TypeId = null; public String Details = null; public Integer CategoryId = null; public String Category = null; public Uri LogoType = null; public Uri CoverImage = null; public String Street1 = null; public String Street2 = null; public String ZipCode = null; public String City = null; public String CountryId = null; public String Longitude = null; public String Latitude = null; public Double Distance = null; public String Phone = null; public String Email = null; public String Homepage = null; public String SitePath = null; public Boolean Active = null; public CodeLockSystemType CodeLockSystem = null; public Boolean IsFreeAccount = 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.") public Date Updated = 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.") public Date Created = null; public Integer StatusId = 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") public Boolean IsFavorite = null; public String BookingAgreements = null; public CompanyBookingSettings BookingSettings = null; public CompanySystemSettings SystemSettings = null; public CompanyWidgetSettings WidgetSettings = null; public HomepageSettingsResponse HomepageSettings = null; public CompanyRatingSummary RatingSummary = null; public ArrayList Reviews = null; public ArrayList CustomerCustomFields = null; public ResponseStatus ResponseStatus = null; public UUID getId() { return Id; } public CompanyQueryResponse setId(UUID value) { this.Id = value; return this; } public String getName() { return Name; } public CompanyQueryResponse setName(String value) { this.Name = value; return this; } public String getOrganisationNumber() { return OrganisationNumber; } public CompanyQueryResponse setOrganisationNumber(String value) { this.OrganisationNumber = value; return this; } public Integer getTypeId() { return TypeId; } public CompanyQueryResponse setTypeId(Integer value) { this.TypeId = value; return this; } public String getDetails() { return Details; } public CompanyQueryResponse setDetails(String value) { this.Details = value; return this; } public Integer getCategoryId() { return CategoryId; } public CompanyQueryResponse setCategoryId(Integer value) { this.CategoryId = value; return this; } public String getCategory() { return Category; } public CompanyQueryResponse setCategory(String value) { this.Category = value; return this; } public Uri getLogoType() { return LogoType; } public CompanyQueryResponse setLogoType(Uri value) { this.LogoType = value; return this; } public Uri getCoverImage() { return CoverImage; } public CompanyQueryResponse setCoverImage(Uri value) { this.CoverImage = value; return this; } public String getStreet1() { return Street1; } public CompanyQueryResponse setStreet1(String value) { this.Street1 = value; return this; } public String getStreet2() { return Street2; } public CompanyQueryResponse setStreet2(String value) { this.Street2 = value; return this; } public String getZipCode() { return ZipCode; } public CompanyQueryResponse setZipCode(String value) { this.ZipCode = value; return this; } public String getCity() { return City; } public CompanyQueryResponse setCity(String value) { this.City = value; return this; } public String getCountryId() { return CountryId; } public CompanyQueryResponse setCountryId(String value) { this.CountryId = value; return this; } public String getLongitude() { return Longitude; } public CompanyQueryResponse setLongitude(String value) { this.Longitude = value; return this; } public String getLatitude() { return Latitude; } public CompanyQueryResponse setLatitude(String value) { this.Latitude = value; return this; } public Double getDistance() { return Distance; } public CompanyQueryResponse setDistance(Double value) { this.Distance = value; return this; } public String getPhone() { return Phone; } public CompanyQueryResponse setPhone(String value) { this.Phone = value; return this; } public String getEmail() { return Email; } public CompanyQueryResponse setEmail(String value) { this.Email = value; return this; } public String getHomepage() { return Homepage; } public CompanyQueryResponse setHomepage(String value) { this.Homepage = value; return this; } public String getSitePath() { return SitePath; } public CompanyQueryResponse setSitePath(String value) { this.SitePath = value; return this; } public Boolean isActive() { return Active; } public CompanyQueryResponse setActive(Boolean value) { this.Active = value; return this; } public CodeLockSystemType getCodeLockSystem() { return CodeLockSystem; } public CompanyQueryResponse setCodeLockSystem(CodeLockSystemType value) { this.CodeLockSystem = value; return this; } public Boolean getIsFreeAccount() { return IsFreeAccount; } public CompanyQueryResponse setIsFreeAccount(Boolean value) { this.IsFreeAccount = value; return this; } public Date getUpdated() { return Updated; } public CompanyQueryResponse setUpdated(Date value) { this.Updated = value; return this; } public Date getCreated() { return Created; } public CompanyQueryResponse setCreated(Date value) { this.Created = value; return this; } public Integer getStatusId() { return StatusId; } public CompanyQueryResponse setStatusId(Integer value) { this.StatusId = value; return this; } public Boolean getIsFavorite() { return IsFavorite; } public CompanyQueryResponse setIsFavorite(Boolean value) { this.IsFavorite = value; return this; } public String getBookingAgreements() { return BookingAgreements; } public CompanyQueryResponse setBookingAgreements(String value) { this.BookingAgreements = value; return this; } public CompanyBookingSettings getBookingSettings() { return BookingSettings; } public CompanyQueryResponse setBookingSettings(CompanyBookingSettings value) { this.BookingSettings = value; return this; } public CompanySystemSettings getSystemSettings() { return SystemSettings; } public CompanyQueryResponse setSystemSettings(CompanySystemSettings value) { this.SystemSettings = value; return this; } public CompanyWidgetSettings getWidgetSettings() { return WidgetSettings; } public CompanyQueryResponse setWidgetSettings(CompanyWidgetSettings value) { this.WidgetSettings = value; return this; } public HomepageSettingsResponse getHomepageSettings() { return HomepageSettings; } public CompanyQueryResponse setHomepageSettings(HomepageSettingsResponse value) { this.HomepageSettings = value; return this; } public CompanyRatingSummary getRatingSummary() { return RatingSummary; } public CompanyQueryResponse setRatingSummary(CompanyRatingSummary value) { this.RatingSummary = value; return this; } public ArrayList getReviews() { return Reviews; } public CompanyQueryResponse setReviews(ArrayList value) { this.Reviews = value; return this; } public ArrayList getCustomerCustomFields() { return CustomerCustomFields; } public CompanyQueryResponse setCustomerCustomFields(ArrayList value) { this.CustomerCustomFields = value; return this; } public ResponseStatus getResponseStatus() { return ResponseStatus; } public CompanyQueryResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } } }