/* Options: Date: 2024-12-03 18:34:22 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: HomepageMenuQuery.* //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.Db; using BokaMera.API.ServiceModel.Dtos; namespace BokaMera.API.ServiceModel.Db { public partial class BaseModel { } public partial class HomepageMenu : BaseModel { [Required] public virtual string HomeText { get; set; } [Required] public virtual bool HomeHidden { get; set; } [Required] public virtual string ServicesText { get; set; } [Required] public virtual bool ServicesHidden { get; set; } [Required] public virtual string BookTimeText { get; set; } [Required] public virtual bool BookTimeHidden { get; set; } [Required] public virtual string AboutUsText { get; set; } [Required] public virtual bool AboutUsHidden { get; set; } [Required] public virtual string ContactUsText { get; set; } [Required] public virtual bool ContactUsHidden { get; set; } [Required] public virtual string MyBookingsText { get; set; } [Required] public virtual bool MyBookingsHidden { get; set; } [Required] public virtual string CalendarText { get; set; } [Required] public virtual bool CalendarHidden { get; set; } [Required] public virtual string NewsText { get; set; } [Required] public virtual bool NewsHidden { get; set; } [Required] public virtual string AddressText { get; set; } [Required] public virtual bool AddressHidden { get; set; } [Required] public virtual string GalleryText { get; set; } [Required] public virtual bool GalleryHidden { get; set; } public virtual DateTimeOffset? ModifiedDate { get; set; } [Required] public virtual Guid Id { get; set; } } } namespace BokaMera.API.ServiceModel.Dtos { [Route("/homepage/menu", "GET")] public partial class HomepageMenuQuery : QueryDb, IReturn>, ICompanyRequest { /// ///Enter the company you want to see news for, if blank and you are an admin, your company id will be used /// [ApiMember(Description="Enter the company you want to see news for, if blank and you are an admin, your company id will be used", ParameterType="query")] public virtual Guid? CompanyId { get; set; } /// ///The homeage sitepath. /// [ApiMember(Description="The homeage sitepath.")] public virtual string SitePath { get; set; } } public partial class HomepageMenuQueryResponse { /// ///The company id /// [ApiMember(Description="The company id")] public virtual Guid CompanyId { get; set; } /// ///The text for home menu item /// [ApiMember(Description="The text for home menu item")] public virtual string HomeText { get; set; } /// ///If the home menu item should be hidden /// [ApiMember(Description="If the home menu item should be hidden")] public virtual bool HomeHidden { get; set; } /// ///The text for services menu item /// [ApiMember(Description="The text for services menu item")] public virtual string ServicesText { get; set; } /// ///If the services menu item should be hidden /// [ApiMember(Description="If the services menu item should be hidden")] public virtual bool ServicesHidden { get; set; } /// ///The text for book time menu item /// [ApiMember(Description="The text for book time menu item")] public virtual string BookTimeText { get; set; } /// ///If the book time menu item should be hidden /// [ApiMember(Description="If the book time menu item should be hidden")] public virtual bool BookTimeHidden { get; set; } /// ///The text for about us menu item /// [ApiMember(Description="The text for about us menu item")] public virtual string AboutUsText { get; set; } /// ///If the about us menu item should be hidden /// [ApiMember(Description="If the about us menu item should be hidden")] public virtual bool AboutUsHidden { get; set; } /// ///The text for contact us menu item /// [ApiMember(Description="The text for contact us menu item")] public virtual string ContactUsText { get; set; } /// ///If the contact us menu item should be hidden /// [ApiMember(Description="If the contact us menu item should be hidden")] public virtual bool ContactUsHidden { get; set; } /// ///The text for my bookings menu item /// [ApiMember(Description="The text for my bookings menu item")] public virtual string MyBookingsText { get; set; } /// ///If the my bookings menu item should be hidden /// [ApiMember(Description="If the my bookings menu item should be hidden")] public virtual bool MyBookingsHidden { get; set; } /// ///The text for calender menu item /// [ApiMember(Description="The text for calender menu item")] public virtual string CalendarText { get; set; } /// ///If the calendar menu item should be hidden /// [ApiMember(Description="If the calendar menu item should be hidden")] public virtual bool CalendarHidden { get; set; } /// ///The text for news menu item /// [ApiMember(Description="The text for news menu item")] public virtual string NewsText { get; set; } /// ///If the news menu item should be hidden /// [ApiMember(Description="If the news menu item should be hidden")] public virtual bool NewsHidden { get; set; } /// ///The text for address menu item /// [ApiMember(Description="The text for address menu item")] public virtual string AddressText { get; set; } /// ///If the address menu item should be hidden /// [ApiMember(Description="If the address menu item should be hidden")] public virtual bool? AddressHidden { get; set; } /// ///The text for gallery menu item /// [ApiMember(Description="The text for gallery menu item")] public virtual string GalleryText { get; set; } /// ///If the gallery menu item should be hidden /// [ApiMember(Description="If the gallery menu item should be hidden")] public virtual bool? GalleryHidden { get; set; } public virtual ResponseStatus ResponseStatus { get; set; } } } namespace BokaMera.API.ServiceModel.Interfaces { public partial interface ICompanyRequest { Guid? CompanyId { get; set; } string SitePath { get; set; } } }