NumericPropertyDefinition

data class NumericPropertyDefinition(val type: List<String>, val description: String? = null, val nullable: Boolean? = null, val multipleOf: Double? = null, val minimum: Double? = null, val exclusiveMinimum: Double? = null, val maximum: Double? = null, val exclusiveMaximum: Double? = null, val default: JsonElement? = null, val constValue: JsonElement? = null) : ValuePropertyDefinition(source)

Represents a numeric property (integer or number).

Constructors

Link copied to clipboard
constructor(type: List<String>, description: String? = null, nullable: Boolean? = null, multipleOf: Double? = null, minimum: Double? = null, exclusiveMinimum: Double? = null, maximum: Double? = null, exclusiveMaximum: Double? = null, default: JsonElement? = null, constValue: JsonElement? = null)

Properties

Link copied to clipboard
@SerialName(value = "const")
val constValue: JsonElement?
Link copied to clipboard
Link copied to clipboard
open override val description: String?

Optional description of the property.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val nullable: Boolean?

Whether the property can be null.

Link copied to clipboard

The data type of the property.