/* Options: Date: 2025-04-10 12:46:58 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: DeleteHomePageImage.* //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 System.Net; using System.Net.Http.Headers; using BokaMera.API.ServiceModel.Interfaces; using BokaMera.API.ServiceModel.Dtos; namespace BokaMera.API.ServiceModel.Dtos { [Route("/homepage/images/{Id}", "DELETE")] [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 DeleteHomePageImage : IReturn<HomepageImageQueryResponse>, ICompany { ///<summary> ///Enter the company id, if blank company id and you are an admin, your company id will be used. ///</summary> [ApiMember(Description="Enter the company id, if blank company id and you are an admin, your company id will be used.", IsRequired=true)] public virtual Guid? CompanyId { get; set; } ///<summary> ///The homepage image id. ///</summary> [ApiMember(Description="The homepage image id.", IsRequired=true, ParameterType="path")] public virtual int Id { get; set; } } public partial class HomepageImageQueryResponse { ///<summary> ///The company id. ///</summary> [ApiMember(Description="The company id.")] public virtual Guid CompanyId { get; set; } ///<summary> ///The homepage image id. ///</summary> [ApiMember(Description="The homepage image id.")] public virtual int Id { get; set; } ///<summary> ///The image title. ///</summary> [ApiMember(Description="The image title.")] public virtual string Title { get; set; } ///<summary> ///The image description. ///</summary> [ApiMember(Description="The image description.")] public virtual string Description { get; set; } ///<summary> ///The image url. ///</summary> [ApiMember(Description="The image url.")] public virtual Uri ImageUrl { get; set; } } } namespace BokaMera.API.ServiceModel.Interfaces { public partial interface ICompany { Guid? CompanyId { get; set; } } }