/* Options: Date: 2024-11-21 11:30:15 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: CustomFieldValidationsQuery.* //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 ServiceStack.Data; using System.IO; using BokaMera.API.ServiceModel.Dtos; namespace BokaMera.API.ServiceModel.Dtos { [Route("/customfields/validations", "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 CustomFieldValidationsQuery : IReturn { } public partial class CustomFieldValidationsQueryResponse { /// ///The validation id /// [ApiMember(Description="The validation id")] public virtual int Id { get; set; } /// ///The validation name /// [ApiMember(Description="The validation name")] public virtual string Name { get; set; } /// ///The valiidation description /// [ApiMember(Description="The valiidation description")] public virtual string Description { get; set; } /// ///The valiidation regular expression /// [ApiMember(Description="The valiidation regular expression")] public virtual string RegExCode { get; set; } /// ///The valiidation error message /// [ApiMember(Description="The valiidation error message")] public virtual string ErrorMessage { get; set; } } }