@devopness/sdk-js
Version:
Devopness API JS/TS SDK - Painless essential DevOps to everyone
50 lines (49 loc) • 1.48 kB
TypeScript
/**
* devopness API
* Devopness API - Painless essential DevOps to everyone
*
* The version of the OpenAPI document: latest
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { CloudProviderPropertyType } from './cloud-provider-property-type';
/**
*
* @export
* @interface CloudProviderPropertyValidation
*/
export interface CloudProviderPropertyValidation {
/**
* Defines if the property is required
* @type {boolean}
* @memberof CloudProviderPropertyValidation
*/
required: boolean;
/**
*
* @type {CloudProviderPropertyType}
* @memberof CloudProviderPropertyValidation
*/
type: CloudProviderPropertyType;
/**
* The minimum allowed property value. For properties of type `string` the validation checks the length of the property value
* @type {number}
* @memberof CloudProviderPropertyValidation
*/
min: number;
/**
* The maximum allowed property value. For properties of type `string` the validation checks the length of the property value
* @type {number}
* @memberof CloudProviderPropertyValidation
*/
max: number;
/**
* List of allowed values for the property. If empty, any value is allowed
* @type {Array<string>}
* @memberof CloudProviderPropertyValidation
*/
allowed_values: Array<string>;
}