# PatternValidation ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **message** | **string** | Message to display if validation fails | [default to undefined] **pattern** | **string** | Regex string to validate. min_length and max_length are checked separately, even if they are part of the regex. | [default to undefined] ## Example ```typescript import { PatternValidation } from './api'; const instance: PatternValidation = { message, pattern, }; ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)