io.k8s.apiextensions_apiserver.pkg.apis.apiextensions.v1
JSONSchemaProps
Companion object JSONSchemaProps
final case class JSONSchemaProps(exclusiveMaximum: Option[Boolean] = None, format: Option[String] = None, ref: Option[String] = None, nullable: Option[Boolean] = None, x-kubernetes-map-type: Option[String] = None, pattern: Option[String] = None, description: Option[String] = None, anyOf: Option[Seq[JSONSchemaProps]] = None, x-kubernetes-list-type: Option[String] = None, patternProperties: Option[Map[String, JSONSchemaProps]] = None, items: Option[JSONSchemaPropsOrArray] = None, additionalItems: Option[JSONSchemaPropsOrBool] = None, maxProperties: Option[Int] = None, maxItems: Option[Int] = None, x-kubernetes-int-or-string: Option[Boolean] = None, x-kubernetes-embedded-resource: Option[Boolean] = None, maximum: Option[Double] = None, multipleOf: Option[Double] = None, id: Option[String] = None, properties: Option[Map[String, JSONSchemaProps]] = None, exclusiveMinimum: Option[Boolean] = None, x-kubernetes-validations: Option[Seq[ValidationRule]] = None, enum: Option[Seq[JSON]] = None, x-kubernetes-preserve-unknown-fields: Option[Boolean] = None, additionalProperties: Option[JSONSchemaPropsOrBool] = None, default: Option[JSON] = None, minItems: Option[Int] = None, not: Option[JSONSchemaProps] = None, definitions: Option[Map[String, JSONSchemaProps]] = None, minLength: Option[Int] = None, x-kubernetes-list-map-keys: Option[Seq[String]] = None, title: Option[String] = None, minimum: Option[Double] = None, type: Option[String] = None, required: Option[Seq[String]] = None, example: Option[JSON] = None, schema: Option[String] = None, oneOf: Option[Seq[JSONSchemaProps]] = None, uniqueItems: Option[Boolean] = None, minProperties: Option[Int] = None, dependencies: Option[Map[String, JSONSchemaPropsOrStringArray]] = None, externalDocs: Option[ExternalDocumentation] = None, maxLength: Option[Int] = None, allOf: Option[Seq[JSONSchemaProps]] = None) extends Product with Serializable
JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/).
- Source
- JSONSchemaProps.scala
- Alphabetic
- By Inheritance
- JSONSchemaProps
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new JSONSchemaProps(exclusiveMaximum: Option[Boolean] = None, format: Option[String] = None, ref: Option[String] = None, nullable: Option[Boolean] = None, x-kubernetes-map-type: Option[String] = None, pattern: Option[String] = None, description: Option[String] = None, anyOf: Option[Seq[JSONSchemaProps]] = None, x-kubernetes-list-type: Option[String] = None, patternProperties: Option[Map[String, JSONSchemaProps]] = None, items: Option[JSONSchemaPropsOrArray] = None, additionalItems: Option[JSONSchemaPropsOrBool] = None, maxProperties: Option[Int] = None, maxItems: Option[Int] = None, x-kubernetes-int-or-string: Option[Boolean] = None, x-kubernetes-embedded-resource: Option[Boolean] = None, maximum: Option[Double] = None, multipleOf: Option[Double] = None, id: Option[String] = None, properties: Option[Map[String, JSONSchemaProps]] = None, exclusiveMinimum: Option[Boolean] = None, x-kubernetes-validations: Option[Seq[ValidationRule]] = None, enum: Option[Seq[JSON]] = None, x-kubernetes-preserve-unknown-fields: Option[Boolean] = None, additionalProperties: Option[JSONSchemaPropsOrBool] = None, default: Option[JSON] = None, minItems: Option[Int] = None, not: Option[JSONSchemaProps] = None, definitions: Option[Map[String, JSONSchemaProps]] = None, minLength: Option[Int] = None, x-kubernetes-list-map-keys: Option[Seq[String]] = None, title: Option[String] = None, minimum: Option[Double] = None, type: Option[String] = None, required: Option[Seq[String]] = None, example: Option[JSON] = None, schema: Option[String] = None, oneOf: Option[Seq[JSONSchemaProps]] = None, uniqueItems: Option[Boolean] = None, minProperties: Option[Int] = None, dependencies: Option[Map[String, JSONSchemaPropsOrStringArray]] = None, externalDocs: Option[ExternalDocumentation] = None, maxLength: Option[Int] = None, allOf: Option[Seq[JSONSchemaProps]] = None)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
addAllOf(newValues: JSONSchemaProps*): JSONSchemaProps
Appends new values to allOf
-
def
addAnyOf(newValues: JSONSchemaProps*): JSONSchemaProps
Appends new values to anyOf
-
def
addDefinitions(newValues: (String, JSONSchemaProps)*): JSONSchemaProps
Adds new values to definitions
-
def
addDependencies(newValues: (String, JSONSchemaPropsOrStringArray)*): JSONSchemaProps
Adds new values to dependencies
-
def
addEnum(newValues: JSON*): JSONSchemaProps
Appends new values to
enum
-
def
addOneOf(newValues: JSONSchemaProps*): JSONSchemaProps
Appends new values to oneOf
-
def
addPatternProperties(newValues: (String, JSONSchemaProps)*): JSONSchemaProps
Adds new values to patternProperties
-
def
addProperties(newValues: (String, JSONSchemaProps)*): JSONSchemaProps
Adds new values to properties
-
def
addRequired(newValues: String*): JSONSchemaProps
Appends new values to required
-
def
addXKubernetesListMapKeys(newValues: String*): JSONSchemaProps
Appends new values to
x-kubernetes-list-map-keys
-
def
addXKubernetesValidations(newValues: ValidationRule*): JSONSchemaProps
Appends new values to
x-kubernetes-validations
- val additionalItems: Option[JSONSchemaPropsOrBool]
- val additionalProperties: Option[JSONSchemaPropsOrBool]
- val allOf: Option[Seq[JSONSchemaProps]]
- val anyOf: Option[Seq[JSONSchemaProps]]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- val default: Option[JSON]
- val definitions: Option[Map[String, JSONSchemaProps]]
- val dependencies: Option[Map[String, JSONSchemaPropsOrStringArray]]
- val description: Option[String]
- val enum: Option[Seq[JSON]]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val example: Option[JSON]
- val exclusiveMaximum: Option[Boolean]
- val exclusiveMinimum: Option[Boolean]
- val externalDocs: Option[ExternalDocumentation]
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- val format: Option[String]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val id: Option[String]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val items: Option[JSONSchemaPropsOrArray]
-
def
mapAdditionalItems(f: (JSONSchemaPropsOrBool) ⇒ JSONSchemaPropsOrBool): JSONSchemaProps
if additionalItems has a value, transforms to the result of function
-
def
mapAdditionalProperties(f: (JSONSchemaPropsOrBool) ⇒ JSONSchemaPropsOrBool): JSONSchemaProps
if additionalProperties has a value, transforms to the result of function
-
def
mapAllOf(f: (Seq[JSONSchemaProps]) ⇒ Seq[JSONSchemaProps]): JSONSchemaProps
if allOf has a value, transforms to the result of function
-
def
mapAnyOf(f: (Seq[JSONSchemaProps]) ⇒ Seq[JSONSchemaProps]): JSONSchemaProps
if anyOf has a value, transforms to the result of function
-
def
mapDefault(f: (JSON) ⇒ JSON): JSONSchemaProps
if default has a value, transforms to the result of function
-
def
mapDefinitions(f: (Map[String, JSONSchemaProps]) ⇒ Map[String, JSONSchemaProps]): JSONSchemaProps
if definitions has a value, transforms to the result of function
-
def
mapDependencies(f: (Map[String, JSONSchemaPropsOrStringArray]) ⇒ Map[String, JSONSchemaPropsOrStringArray]): JSONSchemaProps
if dependencies has a value, transforms to the result of function
-
def
mapDescription(f: (String) ⇒ String): JSONSchemaProps
if description has a value, transforms to the result of function
-
def
mapEnum(f: (Seq[JSON]) ⇒ Seq[JSON]): JSONSchemaProps
if
enum
has a value, transforms to the result of function -
def
mapExample(f: (JSON) ⇒ JSON): JSONSchemaProps
if example has a value, transforms to the result of function
-
def
mapExclusiveMaximum(f: (Boolean) ⇒ Boolean): JSONSchemaProps
if exclusiveMaximum has a value, transforms to the result of function
-
def
mapExclusiveMinimum(f: (Boolean) ⇒ Boolean): JSONSchemaProps
if exclusiveMinimum has a value, transforms to the result of function
-
def
mapExternalDocs(f: (ExternalDocumentation) ⇒ ExternalDocumentation): JSONSchemaProps
if externalDocs has a value, transforms to the result of function
-
def
mapFormat(f: (String) ⇒ String): JSONSchemaProps
if format has a value, transforms to the result of function
-
def
mapId(f: (String) ⇒ String): JSONSchemaProps
if id has a value, transforms to the result of function
-
def
mapItems(f: (JSONSchemaPropsOrArray) ⇒ JSONSchemaPropsOrArray): JSONSchemaProps
if items has a value, transforms to the result of function
-
def
mapMaxItems(f: (Int) ⇒ Int): JSONSchemaProps
if maxItems has a value, transforms to the result of function
-
def
mapMaxLength(f: (Int) ⇒ Int): JSONSchemaProps
if maxLength has a value, transforms to the result of function
-
def
mapMaxProperties(f: (Int) ⇒ Int): JSONSchemaProps
if maxProperties has a value, transforms to the result of function
-
def
mapMaximum(f: (Double) ⇒ Double): JSONSchemaProps
if maximum has a value, transforms to the result of function
-
def
mapMinItems(f: (Int) ⇒ Int): JSONSchemaProps
if minItems has a value, transforms to the result of function
-
def
mapMinLength(f: (Int) ⇒ Int): JSONSchemaProps
if minLength has a value, transforms to the result of function
-
def
mapMinProperties(f: (Int) ⇒ Int): JSONSchemaProps
if minProperties has a value, transforms to the result of function
-
def
mapMinimum(f: (Double) ⇒ Double): JSONSchemaProps
if minimum has a value, transforms to the result of function
-
def
mapMultipleOf(f: (Double) ⇒ Double): JSONSchemaProps
if multipleOf has a value, transforms to the result of function
-
def
mapNot(f: (JSONSchemaProps) ⇒ JSONSchemaProps): JSONSchemaProps
if not has a value, transforms to the result of function
-
def
mapNullable(f: (Boolean) ⇒ Boolean): JSONSchemaProps
if nullable has a value, transforms to the result of function
-
def
mapOneOf(f: (Seq[JSONSchemaProps]) ⇒ Seq[JSONSchemaProps]): JSONSchemaProps
if oneOf has a value, transforms to the result of function
-
def
mapPattern(f: (String) ⇒ String): JSONSchemaProps
if pattern has a value, transforms to the result of function
-
def
mapPatternProperties(f: (Map[String, JSONSchemaProps]) ⇒ Map[String, JSONSchemaProps]): JSONSchemaProps
if patternProperties has a value, transforms to the result of function
-
def
mapProperties(f: (Map[String, JSONSchemaProps]) ⇒ Map[String, JSONSchemaProps]): JSONSchemaProps
if properties has a value, transforms to the result of function
-
def
mapRef(f: (String) ⇒ String): JSONSchemaProps
if ref has a value, transforms to the result of function
-
def
mapRequired(f: (Seq[String]) ⇒ Seq[String]): JSONSchemaProps
if required has a value, transforms to the result of function
-
def
mapSchema(f: (String) ⇒ String): JSONSchemaProps
if schema has a value, transforms to the result of function
-
def
mapTitle(f: (String) ⇒ String): JSONSchemaProps
if title has a value, transforms to the result of function
-
def
mapType(f: (String) ⇒ String): JSONSchemaProps
if
type
has a value, transforms to the result of function -
def
mapUniqueItems(f: (Boolean) ⇒ Boolean): JSONSchemaProps
if uniqueItems has a value, transforms to the result of function
-
def
mapXKubernetesEmbeddedResource(f: (Boolean) ⇒ Boolean): JSONSchemaProps
if
x-kubernetes-embedded-resource
has a value, transforms to the result of function -
def
mapXKubernetesIntOrString(f: (Boolean) ⇒ Boolean): JSONSchemaProps
if
x-kubernetes-int-or-string
has a value, transforms to the result of function -
def
mapXKubernetesListMapKeys(f: (Seq[String]) ⇒ Seq[String]): JSONSchemaProps
if
x-kubernetes-list-map-keys
has a value, transforms to the result of function -
def
mapXKubernetesListType(f: (String) ⇒ String): JSONSchemaProps
if
x-kubernetes-list-type
has a value, transforms to the result of function -
def
mapXKubernetesMapType(f: (String) ⇒ String): JSONSchemaProps
if
x-kubernetes-map-type
has a value, transforms to the result of function -
def
mapXKubernetesPreserveUnknownFields(f: (Boolean) ⇒ Boolean): JSONSchemaProps
if
x-kubernetes-preserve-unknown-fields
has a value, transforms to the result of function -
def
mapXKubernetesValidations(f: (Seq[ValidationRule]) ⇒ Seq[ValidationRule]): JSONSchemaProps
if
x-kubernetes-validations
has a value, transforms to the result of function - val maxItems: Option[Int]
- val maxLength: Option[Int]
- val maxProperties: Option[Int]
- val maximum: Option[Double]
- val minItems: Option[Int]
- val minLength: Option[Int]
- val minProperties: Option[Int]
- val minimum: Option[Double]
- val multipleOf: Option[Double]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val not: Option[JSONSchemaProps]
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val nullable: Option[Boolean]
- val oneOf: Option[Seq[JSONSchemaProps]]
- val pattern: Option[String]
- val patternProperties: Option[Map[String, JSONSchemaProps]]
- val properties: Option[Map[String, JSONSchemaProps]]
- val ref: Option[String]
- val required: Option[Seq[String]]
- val schema: Option[String]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val title: Option[String]
- val type: Option[String]
- val uniqueItems: Option[Boolean]
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
withAdditionalItems(value: JSONSchemaPropsOrBool): JSONSchemaProps
Returns a new data with additionalItems set to new value
-
def
withAdditionalProperties(value: JSONSchemaPropsOrBool): JSONSchemaProps
Returns a new data with additionalProperties set to new value
-
def
withAllOf(value: Seq[JSONSchemaProps]): JSONSchemaProps
Returns a new data with allOf set to new value
-
def
withAnyOf(value: Seq[JSONSchemaProps]): JSONSchemaProps
Returns a new data with anyOf set to new value
-
def
withDefault(value: JSON): JSONSchemaProps
Returns a new data with default set to new value
-
def
withDefinitions(value: Map[String, JSONSchemaProps]): JSONSchemaProps
Returns a new data with definitions set to new value
-
def
withDependencies(value: Map[String, JSONSchemaPropsOrStringArray]): JSONSchemaProps
Returns a new data with dependencies set to new value
-
def
withDescription(value: String): JSONSchemaProps
Returns a new data with description set to new value
-
def
withEnum(value: Seq[JSON]): JSONSchemaProps
Returns a new data with
enum
set to new value -
def
withExample(value: JSON): JSONSchemaProps
Returns a new data with example set to new value
-
def
withExclusiveMaximum(value: Boolean): JSONSchemaProps
Returns a new data with exclusiveMaximum set to new value
-
def
withExclusiveMinimum(value: Boolean): JSONSchemaProps
Returns a new data with exclusiveMinimum set to new value
-
def
withExternalDocs(value: ExternalDocumentation): JSONSchemaProps
Returns a new data with externalDocs set to new value
-
def
withFormat(value: String): JSONSchemaProps
Returns a new data with format set to new value
-
def
withId(value: String): JSONSchemaProps
Returns a new data with id set to new value
-
def
withItems(value: JSONSchemaPropsOrArray): JSONSchemaProps
Returns a new data with items set to new value
-
def
withMaxItems(value: Int): JSONSchemaProps
Returns a new data with maxItems set to new value
-
def
withMaxLength(value: Int): JSONSchemaProps
Returns a new data with maxLength set to new value
-
def
withMaxProperties(value: Int): JSONSchemaProps
Returns a new data with maxProperties set to new value
-
def
withMaximum(value: Double): JSONSchemaProps
Returns a new data with maximum set to new value
-
def
withMinItems(value: Int): JSONSchemaProps
Returns a new data with minItems set to new value
-
def
withMinLength(value: Int): JSONSchemaProps
Returns a new data with minLength set to new value
-
def
withMinProperties(value: Int): JSONSchemaProps
Returns a new data with minProperties set to new value
-
def
withMinimum(value: Double): JSONSchemaProps
Returns a new data with minimum set to new value
-
def
withMultipleOf(value: Double): JSONSchemaProps
Returns a new data with multipleOf set to new value
-
def
withNot(value: JSONSchemaProps): JSONSchemaProps
Returns a new data with not set to new value
-
def
withNullable(value: Boolean): JSONSchemaProps
Returns a new data with nullable set to new value
-
def
withOneOf(value: Seq[JSONSchemaProps]): JSONSchemaProps
Returns a new data with oneOf set to new value
-
def
withPattern(value: String): JSONSchemaProps
Returns a new data with pattern set to new value
-
def
withPatternProperties(value: Map[String, JSONSchemaProps]): JSONSchemaProps
Returns a new data with patternProperties set to new value
-
def
withProperties(value: Map[String, JSONSchemaProps]): JSONSchemaProps
Returns a new data with properties set to new value
-
def
withRef(value: String): JSONSchemaProps
Returns a new data with ref set to new value
-
def
withRequired(value: Seq[String]): JSONSchemaProps
Returns a new data with required set to new value
-
def
withSchema(value: String): JSONSchemaProps
Returns a new data with schema set to new value
-
def
withTitle(value: String): JSONSchemaProps
Returns a new data with title set to new value
-
def
withType(value: String): JSONSchemaProps
Returns a new data with
type
set to new value -
def
withUniqueItems(value: Boolean): JSONSchemaProps
Returns a new data with uniqueItems set to new value
-
def
withXKubernetesEmbeddedResource(value: Boolean): JSONSchemaProps
Returns a new data with
x-kubernetes-embedded-resource
set to new value -
def
withXKubernetesIntOrString(value: Boolean): JSONSchemaProps
Returns a new data with
x-kubernetes-int-or-string
set to new value -
def
withXKubernetesListMapKeys(value: Seq[String]): JSONSchemaProps
Returns a new data with
x-kubernetes-list-map-keys
set to new value -
def
withXKubernetesListType(value: String): JSONSchemaProps
Returns a new data with
x-kubernetes-list-type
set to new value -
def
withXKubernetesMapType(value: String): JSONSchemaProps
Returns a new data with
x-kubernetes-map-type
set to new value -
def
withXKubernetesPreserveUnknownFields(value: Boolean): JSONSchemaProps
Returns a new data with
x-kubernetes-preserve-unknown-fields
set to new value -
def
withXKubernetesValidations(value: Seq[ValidationRule]): JSONSchemaProps
Returns a new data with
x-kubernetes-validations
set to new value - val x-kubernetes-embedded-resource: Option[Boolean]
- val x-kubernetes-int-or-string: Option[Boolean]
- val x-kubernetes-list-map-keys: Option[Seq[String]]
- val x-kubernetes-list-type: Option[String]
- val x-kubernetes-map-type: Option[String]
- val x-kubernetes-preserve-unknown-fields: Option[Boolean]
- val x-kubernetes-validations: Option[Seq[ValidationRule]]