/* Options:
Date: 2025-09-13 22:47:21
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: UpdateResourcePriority.*
//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
{
public partial class ResourceTypeQueryResponse
{
///
///The resourcetype id
///
[ApiMember(Description="The resourcetype id")]
public virtual int Id { get; set; }
///
///The resourcetype name
///
[ApiMember(Description="The resourcetype name")]
public virtual string Name { get; set; }
///
///The resourcetype description
///
[ApiMember(Description="The resourcetype description")]
public virtual string Description { get; set; }
///
///The resources in the resourcetype. Only shows active resources if not admin.
///
[ApiMember(Description="The resources in the resourcetype. Only shows active resources if not admin.")]
public virtual List Resources { get; set; }
///
///If resourcetype is active or not
///
[ApiMember(Description="If resourcetype is active or not")]
public virtual bool Active { get; set; }
///
///The date when the resource was created
///
[ApiMember(Description="The date when the resource was created")]
public virtual DateTime Created { get; set; }
///
///The date when the resource was updated
///
[ApiMember(Description="The date when the resource was updated")]
public virtual DateTime Updated { get; set; }
}
public partial class ResourceTypeResource
{
///
///The resource id
///
[ApiMember(Description="The resource id")]
public virtual int Id { get; set; }
///
///The resource name
///
[ApiMember(Description="The resource name")]
public virtual string Name { get; set; }
///
///The resource status
///
[ApiMember(Description="The resource status")]
public virtual bool Active { get; set; }
///
///The resource description
///
[ApiMember(Description="The resource description")]
public virtual string Description { get; set; }
///
///The resource email
///
[ApiMember(Description="The resource email")]
public virtual string Email { get; set; }
///
///The resource phone
///
[ApiMember(Description="The resource phone")]
public virtual string Phone { get; set; }
///
///The resource color
///
[ApiMember(Description="The resource color")]
public virtual string Color { get; set; }
///
///The resource image
///
[ApiMember(Description="The resource image")]
public virtual Uri ImageUrl { get; set; }
///
///The priority of the resource
///
[ApiMember(Description="The priority of the resource")]
public virtual int Priority { get; set; }
///
///If the resource wants to receive Email notifications
///
[ApiMember(Description="If the resource wants to receive Email notifications")]
public virtual bool EmailNotification { get; set; }
///
///If the resource wants to receive SMS notifications
///
[ApiMember(Description="If the resource wants to receive SMS notifications")]
public virtual bool SMSNotification { get; set; }
///
///If the resource wants to receive Email reminders
///
[ApiMember(Description="If the resource wants to receive Email reminders")]
public virtual bool EmailReminder { get; set; }
///
///If the resource wants to receive SMS reminders
///
[ApiMember(Description="If the resource wants to receive SMS reminders")]
public virtual bool SMSReminder { get; set; }
}
[Route("/resourcetypes/{Id}/updateresourcepriority", "PUT")]
[ValidateRequest("IsAuthenticated")]
public partial class UpdateResourcePriority
: IReturn
{
///
///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 have their priorities to be updated
///
[ApiMember(Description="The resources to have their priorities to be updated ")]
public virtual List Resources { get; set; }
}
public partial class UpdateResourceTypeResource
{
///
///The resource id
///
[ApiMember(Description="The resource id")]
public virtual int Id { get; set; }
///
///The priority of the resource
///
[ApiMember(Description="The priority of the resource")]
public virtual int Priority { get; set; }
}
}