/* Options: Date: 2024-11-21 12:05: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: DeleteCustomerComments.* //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 CustomerCommentsResponse { public virtual int Id { get; set; } public virtual Guid CustomerId { get; set; } public virtual string Comments { get; set; } public virtual DateTime Updated { get; set; } public virtual DateTime Created { get; set; } public virtual Uri ImageUrl { get; set; } } [Route("/customers/{CustomerId}/comments/{Id}", "DELETE")] [ApiResponse(Description="Returned if there is a validation error on the input parameters", StatusCode=400)] [ApiResponse(Description="Returned if the current user is not allowed to perform the action", StatusCode=401)] [ValidateRequest("IsAuthenticated")] public partial class DeleteCustomerComments : IReturn, ICompany { [ApiMember(IsRequired=true, ParameterType="path")] public virtual int Id { get; set; } [ApiMember(IsRequired=true, ParameterType="path")] public virtual Guid CustomerId { get; set; } [ApiMember] public virtual Guid? CompanyId { get; set; } } } namespace BokaMera.API.ServiceModel.Interfaces { public partial interface ICompany { Guid? CompanyId { get; set; } } }