/* Options:
Date: 2025-09-13 16:17:23
Version: 8.80
Tip: To override a DTO option, remove "//" prefix before updating
BaseUrl: https://api.bookmore.com
//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: False
//ExportValueTypes: False
IncludeTypes: AddResource.*
//ExcludeTypes:
//AddNamespaces:
//AddDefaultXmlNamespace: http://schemas.servicestack.net/types
*/
using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using System.Globalization;
using ServiceStack.Data;
using System.Net;
using System.Net.Http.Headers;
using BokaMera.API.ServiceModel.Dtos;
namespace BokaMera.API.ServiceModel.Dtos
{
[Route("/resourcetypes/{Id}/addresource", "POST")]
[ValidateRequest("IsAuthenticated")]
public partial class AddResource
{
///
///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; }
}
}