/* Options: Date: 2024-07-03 13:14:33 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: UpdateHomepageSettings.* //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.Interfaces; using BokaMera.API.ServiceModel.Dtos; namespace BokaMera.API.ServiceModel.Dtos { public partial class HomepageHeroSectionStyleResponse { /// ///The hero section style id /// [ApiMember(Description="The hero section style id")] public virtual int Id { get; set; } /// ///The hero section style name /// [ApiMember(Description="The hero section style name")] public virtual string Name { get; set; } /// ///The hero section style description /// [ApiMember(Description="The hero section style description")] public virtual string Description { get; set; } } public partial class HomepageSettingsQueryResponse { public HomepageSettingsQueryResponse() { HomePageTemplateOptions = new List{}; HomepageHeroSectionStyleOptions = new List{}; } /// ///The company id /// [ApiMember(Description="The company id")] public virtual Guid CompanyId { get; set; } /// ///The text for homepage heading /// [ApiMember(Description="The text for homepage heading")] public virtual string HomepageHeading { get; set; } /// ///The text for homepage startpage heading /// [ApiMember(Description="The text for homepage startpage heading")] public virtual string WelcomePageHeading { get; set; } /// ///The text for homepage startpage body /// [ApiMember(Description="The text for homepage startpage body")] public virtual string WelcomePageBody { get; set; } /// ///The text for homepage about us page heading /// [ApiMember(Description="The text for homepage about us page heading")] public virtual string AboutUsPageHeading { get; set; } /// ///The text for homepage about us page body /// [ApiMember(Description="The text for homepage about us page body")] public virtual string AboutUsPageBody { get; set; } /// ///The startpage image url /// [ApiMember(Description="The startpage image url")] public virtual Uri ImageUrl { get; set; } /// ///The template for the homepage /// [ApiMember(Description="The template for the homepage")] public virtual int HomePageTemplateId { get; set; } /// ///The hero section style for the homepage /// [ApiMember(Description="The hero section style for the homepage")] public virtual int HeroSectionStyleId { get; set; } /// ///Show rating on the page /// [ApiMember(Description="Show rating on the page")] public virtual bool ShowRating { get; set; } /// ///Enable the BokaMera Homepage /// [ApiMember(Description="Enable the BokaMera Homepage")] public virtual bool EnableHomepage { get; set; } /// ///Will show when the homepage settings 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 homepage settings was created, 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 homepage settings 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 homepage settings was updated, note it will only be shown if your logged in as admin for the company.")] public virtual DateTime? Created { get; set; } /// ///The homepage templates options to select from /// [ApiMember(DataType="boolean", Description="The homepage templates options to select from", ParameterType="query")] public virtual List HomePageTemplateOptions { get; set; } /// ///The homepage hero section style options to select from /// [ApiMember(DataType="boolean", Description="The homepage hero section style options to select from", ParameterType="query")] public virtual List HomepageHeroSectionStyleOptions { get; set; } } public partial class HomepageTemplateResponse { /// ///The template id /// [ApiMember(Description="The template id")] public virtual int Id { get; set; } /// ///The template name /// [ApiMember(Description="The template name")] public virtual string Name { get; set; } /// ///The template description /// [ApiMember(Description="The template description")] public virtual string Description { get; set; } /// ///The template image url /// [ApiMember(Description="The template image url")] public virtual Uri ImageUrl { get; set; } } [Route("/homepage/settings", "PUT")] [ValidateRequest("IsAuthenticated")] public partial class UpdateHomepageSettings : IReturn, ICompany { /// ///The company id /// [ApiMember(Description="The company id")] public virtual Guid? CompanyId { get; set; } /// ///The text for homepage heading /// [ApiMember(Description="The text for homepage heading")] public virtual string HomepageHeading { get; set; } /// ///The text for homepage startpage heading /// [ApiMember(Description="The text for homepage startpage heading")] public virtual string WelcomePageHeading { get; set; } /// ///The text for homepage startpage body /// [ApiMember(Description="The text for homepage startpage body")] public virtual string WelcomePageBody { get; set; } /// ///The text for homepage about us page heading /// [ApiMember(Description="The text for homepage about us page heading")] public virtual string AboutUsPageHeading { get; set; } /// ///The text for homepage about us page body /// [ApiMember(Description="The text for homepage about us page body")] public virtual string AboutUsPageBody { get; set; } /// ///The startpage image url /// [ApiMember(Description="The startpage image url")] public virtual Uri ImageUrl { get; set; } /// ///The template for the homepage /// [ApiMember(Description="The template for the homepage")] public virtual int? HomePageTemplateId { get; set; } /// ///Show rating on the page /// [ApiMember(Description="Show rating on the page")] public virtual bool? ShowRating { get; set; } /// ///Enable the BokaMera Homepage /// [ApiMember(Description="Enable the BokaMera Homepage")] public virtual bool? EnableHomepage { get; set; } /// ///The hero section style for the homepage /// [ApiMember(Description="The hero section style for the homepage")] public virtual int? HeroSectionStyleId { get; set; } } } namespace BokaMera.API.ServiceModel.Interfaces { public partial interface ICompany { Guid? CompanyId { get; set; } } }