/* Options: Date: 2024-07-03 12:46:06 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //GlobalNamespace: //MakePartial: True //MakeVirtual: True //MakeInternal: False //MakeDataContractsExtensible: False //AddNullableAnnotations: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //InitializeCollections: True //ExportValueTypes: False IncludeTypes: DeleteFavorite.* //ExcludeTypes: //AddNamespaces: //AddDefaultXmlNamespace: http://schemas.servicestack.net/types */ using System; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using ServiceStack; using ServiceStack.DataAnnotations; using System.Globalization; using System.IO; using BokaMera.API.ServiceModel.Dtos; namespace BokaMera.API.ServiceModel.Dtos { public partial class CompanyQueryResponse { public CompanyQueryResponse() { Reviews = new List{}; CustomerCustomFields = new List{}; } public virtual Guid Id { get; set; } public virtual string Name { get; set; } /// ///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 virtual string OrganisationNumber { get; set; } /// ///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 virtual int? TypeId { get; set; } public virtual string Details { get; set; } public virtual int CategoryId { get; set; } public virtual string Category { get; set; } public virtual Uri LogoType { get; set; } public virtual Uri CoverImage { get; set; } public virtual string Street1 { get; set; } public virtual string Street2 { get; set; } public virtual string ZipCode { get; set; } public virtual string City { get; set; } public virtual string CountryId { get; set; } public virtual string Longitude { get; set; } public virtual string Latitude { get; set; } public virtual double? Distance { get; set; } public virtual string Phone { get; set; } public virtual string Email { get; set; } public virtual string Homepage { get; set; } public virtual string SitePath { get; set; } public virtual bool Active { get; set; } public virtual CodeLockSystemType? CodeLockSystem { get; set; } public virtual bool IsFreeAccount { get; set; } /// ///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 virtual DateTime? Updated { get; set; } /// ///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 virtual DateTime? Created { get; set; } public virtual int StatusId { get; set; } /// ///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 virtual bool IsFavorite { get; set; } public virtual string BookingAgreements { get; set; } public virtual CompanyBookingSettings BookingSettings { get; set; } public virtual CompanySystemSettings SystemSettings { get; set; } public virtual CompanyWidgetSettings WidgetSettings { get; set; } public virtual HomepageSettingsResponse HomepageSettings { get; set; } public virtual CompanyRatingSummary RatingSummary { get; set; } public virtual List Reviews { get; set; } public virtual List CustomerCustomFields { get; set; } public virtual ResponseStatus ResponseStatus { get; set; } } [Route("/users/favorite", "DELETE")] [ValidateRequest("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 partial class DeleteFavorite : IReturn { /// ///Id of the company /// [ApiMember(Description="Id of the company", IsRequired=true, ParameterType="path")] public virtual Guid CompanyId { get; set; } } public partial class UserFavorites { public virtual Guid CompanyId { get; set; } public virtual CompanyQueryResponse Company { get; set; } } }