/* Options: Date: 2024-07-03 13:17:58 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: CustomFieldSlotsQuery.* //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.Interfaces; using BokaMera.API.ServiceModel.Dtos; namespace BokaMera.API.ServiceModel.Dtos { [Route("/customfields/slots", "GET")] [ApiResponse(Description="You were unauthorized to call this service", StatusCode=401)] [ApiResponse(Description="You have too low privilegies to call this service", StatusCode=403)] [ValidateRequest("IsAuthenticated")] public partial class CustomFieldSlotsQuery : IReturn, ICompany { /// ///Company id to find custom fields for /// [ApiMember(Description="Company id to find custom fields for", ParameterType="query")] public virtual Guid? CompanyId { get; set; } /// ///Table to which the field belongs /// [ApiMember(Description="Table to which the field belongs", IsRequired=true)] public virtual string Table { get; set; } /// ///If you want to receive only free slots (not occupied). /// [ApiMember(Description="If you want to receive only free slots (not occupied).")] public virtual bool? FreeSlots { get; set; } } public partial class CustomFieldSlotsQueryResponse { /// ///Table to which the field belongs /// [ApiMember(Description="Table to which the field belongs")] public virtual string Table { get; set; } /// ///Custom field id /// [ApiMember(Description="Custom field id")] public virtual int Id { get; set; } /// ///Custom field column name /// [ApiMember(Description="Custom field column name")] public virtual string Name { get; set; } /// ///The field datatype /// [ApiMember(Description="The field datatype")] public virtual string Datatype { get; set; } /// ///If the slot is free or occupied /// [ApiMember(Description="If the slot is free or occupied")] public virtual bool Occupied { get; set; } } } namespace BokaMera.API.ServiceModel.Interfaces { public partial interface ICompany { Guid? CompanyId { get; set; } } }