/* Options: Date: 2024-12-15 19:51:47 Version: 6.10 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://staging-api.billiecart.com.au //GlobalNamespace: //MakePartial: True //MakeVirtual: True //MakeInternal: False //MakeDataContractsExtensible: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //InitializeCollections: True //ExportValueTypes: False IncludeTypes: MaintainCarRequest.* //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 Infrastructure.Api.Interfaces.ServiceOperations; using Application.Interfaces.Resources; using Infrastructure.Api.Interfaces.ServiceOperations.Cars; namespace Application.Interfaces.Resources { public partial class Car : IIdentifiableResource { public Car() { Managers = new List{}; } public virtual CarManufacturer Manufacturer { get; set; } public virtual CarLicensePlate Plate { get; set; } public virtual CarOwner Owner { get; set; } public virtual List Managers { get; set; } public virtual string Status { get; set; } public virtual bool? Altered { get; set; } public virtual string Id { get; set; } } public partial class CarLicensePlate { public virtual string Jurisdiction { get; set; } public virtual string Number { get; set; } } public partial class CarManager { public virtual string Id { get; set; } } public partial class CarManufacturer { public virtual int Year { get; set; } public virtual string Make { get; set; } public virtual string Model { get; set; } } public partial class CarOwner { public virtual string Id { get; set; } } public partial interface IIdentifiableResource { string Id { get; set; } } } namespace Infrastructure.Api.Interfaces.ServiceOperations { public partial interface ITenantedRequest { string OrganisationId { get; set; } } public partial class PutPatchOperationTenanted : PutPatchOperationUnTenanted, ITenantedRequest { public virtual string OrganisationId { get; set; } } public partial class PutPatchOperationUnTenanted : IPatch, IPut { } } namespace Infrastructure.Api.Interfaces.ServiceOperations.Cars { [Route("/cars/{Id}/maintain", "PUT,PATCH")] public partial class MaintainCarRequest : PutPatchOperationTenanted, IReturn { public virtual string Id { get; set; } public virtual DateTime FromUtc { get; set; } public virtual DateTime ToUtc { get; set; } } public partial class MaintainCarResponse { public virtual ResponseStatus ResponseStatus { get; set; } public virtual Car Car { get; set; } } }