/* Options: Date: 2024-06-26 08:33:08 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://testapi.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: AddResource.* //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 System.IO; using BokaMera.API.ServiceModel.Dtos; namespace BokaMera.API.ServiceModel.Dtos { [Route("/resourcetypes/{Id}/addresource", "POST")] [ValidateRequest("IsAuthenticated")] public partial class AddResource { public AddResource() { Resources = new List{}; } /// ///The company id /// [ApiMember(Description="The company id", IsRequired=true)] public virtual Guid CompanyId { get; set; } /// ///The ResourceType id /// [ApiMember(Description="The ResourceType id", IsRequired=true, ParameterType="path")] public virtual int Id { get; set; } /// ///The resources to be included /// [ApiMember(Description="The resources to be included")] public virtual List Resources { get; set; } } public partial class AddResourceTypeResource { /// ///The resource id /// [ApiMember(Description="The resource id")] public virtual int Id { get; set; } /// ///The priority of the resource. If no priority is set it will take random resource when booking a time. /// [ApiMember(Description="The priority of the resource. If no priority is set it will take random resource when booking a time.")] public virtual int Priority { get; set; } } }