ParameterDefinitionsValueResponse

data class ParameterDefinitionsValueResponse(val allowedValues: List<Any>? = null, val defaultValue: Any? = null, val metadata: ParameterDefinitionsValueResponseMetadata? = null, val schema: Any? = null, val type: String? = null)

The definition of a parameter that can be provided to the policy.

Constructors

Link copied to clipboard
constructor(allowedValues: List<Any>? = null, defaultValue: Any? = null, metadata: ParameterDefinitionsValueResponseMetadata? = null, schema: Any? = null, type: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val allowedValues: List<Any>? = null

The allowed values for the parameter.

Link copied to clipboard
val defaultValue: Any? = null

The default value for the parameter if no value is provided.

Link copied to clipboard

General metadata for the parameter.

Link copied to clipboard
val schema: Any? = null

Provides validation of parameter inputs during assignment using a self-defined JSON schema. This property is only supported for object-type parameters and follows the Json.NET Schema 2019-09 implementation. You can learn more about using schemas at https://json-schema.org/ and test draft schemas at https://www.jsonschemavalidator.net/.

Link copied to clipboard
val type: String? = null

The data type of the parameter.