/* Options: Date: 2024-11-21 12:03:41 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: CustomFieldValidationsQuery.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/customfields/validations", Verbs="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") open class CustomFieldValidationsQuery : IReturn { companion object { private val responseType = CustomFieldValidationsQueryResponse::class.java } override fun getResponseType(): Any? = CustomFieldValidationsQuery.responseType } open class CustomFieldValidationsQueryResponse { /** * The validation id */ @ApiMember(Description="The validation id") var Id:Int? = null /** * The validation name */ @ApiMember(Description="The validation name") var Name:String? = null /** * The valiidation description */ @ApiMember(Description="The valiidation description") var Description:String? = null /** * The valiidation regular expression */ @ApiMember(Description="The valiidation regular expression") var RegExCode:String? = null /** * The valiidation error message */ @ApiMember(Description="The valiidation error message") var ErrorMessage:String? = null }