/* Options: Date: 2024-11-21 12:55:52 SwiftVersion: 5.0 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True IncludeTypes: CustomFieldValidationsQuery.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @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(Validator="IsAuthenticated") public class CustomFieldValidationsQuery : IReturn, Codable { public typealias Return = CustomFieldValidationsQueryResponse required public init(){} } public class CustomFieldValidationsQueryResponse : Codable { /** * The validation id */ // @ApiMember(Description="The validation id") public var id:Int /** * The validation name */ // @ApiMember(Description="The validation name") public var name:String /** * The valiidation description */ // @ApiMember(Description="The valiidation description") public var Description:String /** * The valiidation regular expression */ // @ApiMember(Description="The valiidation regular expression") public var regExCode:String /** * The valiidation error message */ // @ApiMember(Description="The valiidation error message") public var errorMessage:String required public init(){} }