/* Options: Date: 2024-06-02 05:37:44 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://testapi.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: UpdateSystemSetting.* //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 ServiceStack.Data; using BokaMera.API.ServiceModel.Interfaces; using BokaMera.API.ServiceModel.Dtos; namespace BokaMera.API.ServiceModel.Dtos { public partial class LanguageResponse { public virtual string Id { get; set; } public virtual string Name { get; set; } } public partial class SystemSettingsResponse { public SystemSettingsResponse() { LanguageOptions = new List{}; } /// ///The country options to choose from /// [ApiMember(Description="The country options to choose from")] public virtual List LanguageOptions { get; set; } /// ///If the booking is active or not /// [ApiMember(DataType="bool", Description="If the booking is active or not")] public virtual bool Active { get; set; } /// ///If the booking is not active, what message to show to the customers /// [ApiMember(DataType="string", Description="If the booking is not active, what message to show to the customers")] public virtual string InactiveMessage { get; set; } /// ///If the company should be visible in search results on hompage /// [ApiMember(DataType="bool", Description="If the company should be visible in search results on hompage")] public virtual bool Searchable { get; set; } /// ///If you have a google analytics account and want to track your customers behaviors. /// [ApiMember(DataType="string", Description="If you have a google analytics account and want to track your customers behaviors.")] public virtual string GATrackingId { get; set; } /// ///If you have a google Ads Conversion Id account and want to track your customers behaviors. /// [ApiMember(DataType="string", Description="If you have a google Ads Conversion Id account and want to track your customers behaviors.")] public virtual string GoogleAdsConversionId { get; set; } /// ///If you have a LinkedIn account and want to track your customers behaviors. /// [ApiMember(DataType="string", Description="If you have a LinkedIn account and want to track your customers behaviors.")] public virtual string LinkedinTagId { get; set; } /// ///If you have a Google Ads Conversion Label and want to track your customers behaviors. /// [ApiMember(DataType="string", Description="If you have a Google Ads Conversion Label and want to track your customers behaviors.")] public virtual string GoogleAdsConversionLabel { get; set; } /// ///If you have a google tag manager account and want to track your customers behaviors. /// [ApiMember(DataType="string", Description="If you have a google tag manager account and want to track your customers behaviors.")] public virtual string GTMTrackingId { get; set; } /// ///If you have a facebook account and want to track your customers behaviors. /// [ApiMember(DataType="string", Description="If you have a facebook account and want to track your customers behaviors.")] public virtual string FacebookPixelId { get; set; } /// ///If the company should be visible on the marketplace /// [ApiMember(DataType="bool", Description="If the company should be visible on the marketplace")] public virtual bool ShowOnMarketplace { get; set; } /// ///If you want your customers to be albe to change language on your homepage /// [ApiMember(DataType="bool", Description="If you want your customers to be albe to change language on your homepage")] public virtual bool MultiLanguage { get; set; } /// ///If you want your own written text on your homepage to be translated using google analytics when a user changes language /// [ApiMember(DataType="bool", Description="If you want your own written text on your homepage to be translated using google analytics when a user changes language")] public virtual bool EnableAPITranslation { get; set; } /// ///What is the standard language your homepage information is written in. Select from the different countries, ie. SE,NO,EN /// [ApiMember(DataType="string", Description="What is the standard language your homepage information is written in. Select from the different countries, ie. SE,NO,EN")] public virtual string DefaultLanguage { get; set; } } [Route("/settings/system", "PUT")] [ApiResponse(Description="You were unauthorized to call this service", StatusCode=401)] [ApiResponse(Description="You have too low privilegies to call this service", StatusCode=403)] [ValidateRequest("IsAuthenticated")] public partial class UpdateSystemSetting : IReturn, ICompany { /// ///The company id, if empty will use the company id for the user you are logged in with. /// [ApiMember(Description="The company id, if empty will use the company id for the user you are logged in with.")] public virtual Guid? CompanyId { get; set; } /// ///If the booking is active or not /// [ApiMember(DataType="bool", Description="If the booking is active or not")] public virtual bool? Active { get; set; } /// ///If the booking is not active, what message to show to the customers /// [ApiMember(DataType="string", Description="If the booking is not active, what message to show to the customers")] public virtual string InactiveMessage { get; set; } /// ///If the company should be visible in search results on hompage /// [ApiMember(DataType="bool", Description="If the company should be visible in search results on hompage")] public virtual bool? Searchable { get; set; } /// ///If you have a google analytics account and want to track your customers behaviors. /// [ApiMember(DataType="string", Description="If you have a google analytics account and want to track your customers behaviors.")] public virtual string GATrackingId { get; set; } /// ///If you have a google Ads Conversion Id account and want to track your customers behaviors. /// [ApiMember(DataType="string", Description="If you have a google Ads Conversion Id account and want to track your customers behaviors.")] public virtual string GoogleAdsConversionId { get; set; } /// ///If you have a LinkedIn account and want to track your customers behaviors. /// [ApiMember(DataType="string", Description="If you have a LinkedIn account and want to track your customers behaviors.")] public virtual string LinkedinTagId { get; set; } /// ///If you have a Google Ads Conversion Label and want to track your customers behaviors. /// [ApiMember(DataType="string", Description="If you have a Google Ads Conversion Label and want to track your customers behaviors.")] public virtual string GoogleAdsConversionLabel { get; set; } /// ///If you have a google tag manager account and want to track your customers behaviors. /// [ApiMember(DataType="string", Description="If you have a google tag manager account and want to track your customers behaviors.")] public virtual string GTMTrackingId { get; set; } /// ///If you have a facebook account and want to track your customers behaviors. /// [ApiMember(DataType="string", Description="If you have a facebook account and want to track your customers behaviors.")] public virtual string FacebookPixelId { get; set; } /// ///If the company should be visible on the marketplace /// [ApiMember(DataType="bool", Description="If the company should be visible on the marketplace")] public virtual bool? ShowOnMarketplace { get; set; } /// ///If you want your customers to be albe to change language on your homepage /// [ApiMember(DataType="bool", Description="If you want your customers to be albe to change language on your homepage")] public virtual bool? MultiLanguage { get; set; } /// ///If you want your own written text on your homepage to be translated using google analytics when a user changes language /// [ApiMember(DataType="bool", Description="If you want your own written text on your homepage to be translated using google analytics when a user changes language")] public virtual bool? EnableAPITranslation { get; set; } /// ///What is the standard language your homepage information is written in. Select from the different countries, ie. SE,NO,EN /// [ApiMember(DataType="string", Description="What is the standard language your homepage information is written in. Select from the different countries, ie. SE,NO,EN")] public virtual string DefaultLanguage { get; set; } } } namespace BokaMera.API.ServiceModel.Interfaces { public partial interface ICompany { Guid? CompanyId { get; set; } } }