/* Options:
Date: 2024-11-21 12:34:16
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: UpdateHomepageMenu.*
//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 System.IO;
using BokaMera.API.ServiceModel.Interfaces;
using BokaMera.API.ServiceModel.Dtos;
namespace BokaMera.API.ServiceModel.Dtos
{
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; }
}
[Route("/homepage/menu", "PUT")]
[ValidateRequest("IsAuthenticated")]
public partial class UpdateHomepageMenu
: 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; }
///
///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 calendar menu item
///
[ApiMember(Description="The text for calendar 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; }
}
}
namespace BokaMera.API.ServiceModel.Interfaces
{
public partial interface ICompany
{
Guid? CompanyId { get; set; }
}
}