IntegerSchema

org.llm4s.toolapi.IntegerSchema
case class IntegerSchema(description: String, minimum: Option[Int], maximum: Option[Int], exclusiveMinimum: Option[Int], exclusiveMaximum: Option[Int], multipleOf: Option[Int]) extends SchemaDefinition[Int]

Integer schema with validation options

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait SchemaDefinition[Int]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def toJsonSchema(strict: Boolean): Value
def withExclusiveRange(min: Option[Int], max: Option[Int]): IntegerSchema
def withMultipleOf(multiple: Int): IntegerSchema
def withRange(min: Option[Int], max: Option[Int]): IntegerSchema

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product