All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.kubernetes.apiextensions.v1.kotlin.inputs.JSONSchemaPropsPatchArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.kubernetes.apiextensions.v1.kotlin.inputs

import com.google.gson.JsonParser
import com.pulumi.core.Either
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import com.pulumi.kubernetes.apiextensions.v1.inputs.JSONSchemaPropsPatchArgs.builder
import kotlinx.serialization.json.Json
import kotlinx.serialization.json.JsonElement
import kotlin.Boolean
import kotlin.Double
import kotlin.Int
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.collections.Map
import kotlin.jvm.JvmName

/**
 * JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/).
 * @property ref
 * @property schema
 * @property additionalItems
 * @property additionalProperties
 * @property allOf
 * @property anyOf
 * @property default default is a default value for undefined object fields. Defaulting is a beta feature under the CustomResourceDefaulting feature gate. Defaulting requires spec.preserveUnknownFields to be false.
 * @property definitions
 * @property dependencies
 * @property description
 * @property enum
 * @property example
 * @property exclusiveMaximum
 * @property exclusiveMinimum
 * @property externalDocs
 * @property format format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated:
 * - bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address as parsed by Golang net.ParseMAC - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid4: an UUID4 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - uuid5: an UUID5 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - isbn: an ISBN10 or ISBN13 number string like "0321751043" or "978-0321751041" - isbn10: an ISBN10 number string like "0321751043" - isbn13: an ISBN13 number string like "978-0321751041" - creditcard: a credit card number defined by the regex ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11})$ with any non digit characters mixed in - ssn: a U.S. social security number following the regex ^\d{3}[- ]?\d{2}[- ]?\d{4}$ - hexcolor: an hexadecimal color code like "#FFFFFF: following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ - rgbcolor: an RGB color code like rgb like "rgb(255,255,2559" - byte: base64 encoded binary data - password: any kind of string - date: a date string like "2006-01-02" as defined by full-date in RFC3339 - duration: a duration string like "22 ns" as parsed by Golang time.ParseDuration or compatible with Scala duration format - datetime: a date time string like "2014-12-15T19:30:20.000Z" as defined by date-time in RFC3339.
 * @property id
 * @property items
 * @property maxItems
 * @property maxLength
 * @property maxProperties
 * @property maximum
 * @property minItems
 * @property minLength
 * @property minProperties
 * @property minimum
 * @property multipleOf
 * @property not
 * @property nullable
 * @property oneOf
 * @property pattern
 * @property patternProperties
 * @property properties
 * @property required
 * @property title
 * @property type
 * @property uniqueItems
 * @property x_kubernetes_embedded_resource x-kubernetes-embedded-resource defines that the value is an embedded Kubernetes runtime.Object, with TypeMeta and ObjectMeta. The type must be object. It is allowed to further restrict the embedded object. kind, apiVersion and metadata are validated automatically. x-kubernetes-preserve-unknown-fields is allowed to be true, but does not have to be if the object is fully specified (up to kind, apiVersion, metadata).
 * @property x_kubernetes_int_or_string x-kubernetes-int-or-string specifies that this value is either an integer or a string. If this is true, an empty type is allowed and type as child of anyOf is permitted if following one of the following patterns:
 * 1) anyOf:
 *    - type: integer
 *    - type: string
 * 2) allOf:
 *    - anyOf:
 *      - type: integer
 *      - type: string
 *    - ... zero or more
 * @property x_kubernetes_list_map_keys x-kubernetes-list-map-keys annotates an array with the x-kubernetes-list-type `map` by specifying the keys used as the index of the map.
 * This tag MUST only be used on lists that have the "x-kubernetes-list-type" extension set to "map". Also, the values specified for this attribute must be a scalar typed field of the child structure (no nesting is supported).
 * The properties specified must either be required or have a default value, to ensure those properties are present for all list items.
 * @property x_kubernetes_list_type x-kubernetes-list-type annotates an array to further describe its topology. This extension must only be used on lists and may have 3 possible values:
 * 1) `atomic`: the list is treated as a single entity, like a scalar.
 *      Atomic lists will be entirely replaced when updated. This extension
 *      may be used on any type of list (struct, scalar, ...).
 * 2) `set`:
 *      Sets are lists that must not have multiple items with the same value. Each
 *      value must be a scalar, an object with x-kubernetes-map-type `atomic` or an
 *      array with x-kubernetes-list-type `atomic`.
 * 3) `map`:
 *      These lists are like maps in that their elements have a non-index key
 *      used to identify them. Order is preserved upon merge. The map tag
 *      must only be used on a list with elements of type object.
 * Defaults to atomic for arrays.
 * @property x_kubernetes_map_type x-kubernetes-map-type annotates an object to further describe its topology. This extension must only be used when type is object and may have 2 possible values:
 * 1) `granular`:
 *      These maps are actual maps (key-value pairs) and each fields are independent
 *      from each other (they can each be manipulated by separate actors). This is
 *      the default behaviour for all maps.
 * 2) `atomic`: the list is treated as a single entity, like a scalar.
 *      Atomic maps will be entirely replaced when updated.
 * @property x_kubernetes_preserve_unknown_fields x-kubernetes-preserve-unknown-fields stops the API server decoding step from pruning fields which are not specified in the validation schema. This affects fields recursively, but switches back to normal pruning behaviour if nested properties or additionalProperties are specified in the schema. This can either be true or undefined. False is forbidden.
 * @property x_kubernetes_validations x-kubernetes-validations describes a list of validation rules written in the CEL expression language.
 */
public data class JSONSchemaPropsPatchArgs(
    public val ref: Output? = null,
    public val schema: Output? = null,
    public val additionalItems: Output>? = null,
    public val additionalProperties: Output>? = null,
    public val allOf: Output>? = null,
    public val anyOf: Output>? = null,
    public val default: Output? = null,
    public val definitions: Output>? = null,
    public val dependencies: Output>>>? = null,
    public val description: Output? = null,
    public val `enum`: Output>? = null,
    public val example: Output? = null,
    public val exclusiveMaximum: Output? = null,
    public val exclusiveMinimum: Output? = null,
    public val externalDocs: Output? = null,
    public val format: Output? = null,
    public val id: Output? = null,
    public val items: Output>>? = null,
    public val maxItems: Output? = null,
    public val maxLength: Output? = null,
    public val maxProperties: Output? = null,
    public val maximum: Output? = null,
    public val minItems: Output? = null,
    public val minLength: Output? = null,
    public val minProperties: Output? = null,
    public val minimum: Output? = null,
    public val multipleOf: Output? = null,
    public val not: Output? = null,
    public val nullable: Output? = null,
    public val oneOf: Output>? = null,
    public val pattern: Output? = null,
    public val patternProperties: Output>? = null,
    public val properties: Output>? = null,
    public val required: Output>? = null,
    public val title: Output? = null,
    public val type: Output? = null,
    public val uniqueItems: Output? = null,
    public val x_kubernetes_embedded_resource: Output? = null,
    public val x_kubernetes_int_or_string: Output? = null,
    public val x_kubernetes_list_map_keys: Output>? = null,
    public val x_kubernetes_list_type: Output? = null,
    public val x_kubernetes_map_type: Output? = null,
    public val x_kubernetes_preserve_unknown_fields: Output? = null,
    public val x_kubernetes_validations: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.kubernetes.apiextensions.v1.inputs.JSONSchemaPropsPatchArgs =
        com.pulumi.kubernetes.apiextensions.v1.inputs.JSONSchemaPropsPatchArgs.builder()
            .`$ref`(ref?.applyValue({ args0 -> args0 }))
            .`$schema`(schema?.applyValue({ args0 -> args0 }))
            .additionalItems(
                additionalItems?.applyValue({ args0 ->
                    args0.transform({ args0 ->
                        args0.let({ args0 -> args0.toJava() })
                    }, { args0 -> args0 })
                }),
            )
            .additionalProperties(
                additionalProperties?.applyValue({ args0 ->
                    args0.transform({ args0 ->
                        args0.let({ args0 -> args0.toJava() })
                    }, { args0 -> args0 })
                }),
            )
            .allOf(allOf?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
            .anyOf(anyOf?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
            .default_(
                default?.applyValue({ args0 ->
                    JsonParser.parseString(Json.encodeToString(JsonElement.serializer(), args0))
                }),
            )
            .definitions(
                definitions?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.key.to(args0.value.let({ args0 -> args0.toJava() }))
                    }).toMap()
                }),
            )
            .dependencies(
                dependencies?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.key.to(
                            args0.value.transform({ args0 -> args0.let({ args0 -> args0.toJava() }) }, { args0 ->
                                args0.map({ args0 -> args0 })
                            }),
                        )
                    }).toMap()
                }),
            )
            .description(description?.applyValue({ args0 -> args0 }))
            .enum_(
                `enum`?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        JsonParser.parseString(Json.encodeToString(JsonElement.serializer(), args0))
                    })
                }),
            )
            .example(
                example?.applyValue({ args0 ->
                    JsonParser.parseString(Json.encodeToString(JsonElement.serializer(), args0))
                }),
            )
            .exclusiveMaximum(exclusiveMaximum?.applyValue({ args0 -> args0 }))
            .exclusiveMinimum(exclusiveMinimum?.applyValue({ args0 -> args0 }))
            .externalDocs(externalDocs?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .format(format?.applyValue({ args0 -> args0 }))
            .id(id?.applyValue({ args0 -> args0 }))
            .items(
                items?.applyValue({ args0 ->
                    args0.transform({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    }, { args0 ->
                        args0.map({ args0 ->
                            com.google.gson.JsonParser.parseString(kotlinx.serialization.json.Json.encodeToString(kotlinx.serialization.json.JsonElement.serializer(), args0))
                        })
                    })
                }),
            )
            .maxItems(maxItems?.applyValue({ args0 -> args0 }))
            .maxLength(maxLength?.applyValue({ args0 -> args0 }))
            .maxProperties(maxProperties?.applyValue({ args0 -> args0 }))
            .maximum(maximum?.applyValue({ args0 -> args0 }))
            .minItems(minItems?.applyValue({ args0 -> args0 }))
            .minLength(minLength?.applyValue({ args0 -> args0 }))
            .minProperties(minProperties?.applyValue({ args0 -> args0 }))
            .minimum(minimum?.applyValue({ args0 -> args0 }))
            .multipleOf(multipleOf?.applyValue({ args0 -> args0 }))
            .not(not?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .nullable(nullable?.applyValue({ args0 -> args0 }))
            .oneOf(oneOf?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
            .pattern(pattern?.applyValue({ args0 -> args0 }))
            .patternProperties(
                patternProperties?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.key.to(args0.value.let({ args0 -> args0.toJava() }))
                    }).toMap()
                }),
            )
            .properties(
                properties?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.key.to(args0.value.let({ args0 -> args0.toJava() }))
                    }).toMap()
                }),
            )
            .required(required?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .title(title?.applyValue({ args0 -> args0 }))
            .type(type?.applyValue({ args0 -> args0 }))
            .uniqueItems(uniqueItems?.applyValue({ args0 -> args0 }))
            .x_kubernetes_embedded_resource(x_kubernetes_embedded_resource?.applyValue({ args0 -> args0 }))
            .x_kubernetes_int_or_string(x_kubernetes_int_or_string?.applyValue({ args0 -> args0 }))
            .x_kubernetes_list_map_keys(
                x_kubernetes_list_map_keys?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0
                    })
                }),
            )
            .x_kubernetes_list_type(x_kubernetes_list_type?.applyValue({ args0 -> args0 }))
            .x_kubernetes_map_type(x_kubernetes_map_type?.applyValue({ args0 -> args0 }))
            .x_kubernetes_preserve_unknown_fields(
                x_kubernetes_preserve_unknown_fields?.applyValue({ args0 ->
                    args0
                }),
            )
            .x_kubernetes_validations(
                x_kubernetes_validations?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 -> args0.toJava() })
                    })
                }),
            ).build()
}

/**
 * Builder for [JSONSchemaPropsPatchArgs].
 */
@PulumiTagMarker
public class JSONSchemaPropsPatchArgsBuilder internal constructor() {
    private var ref: Output? = null

    private var schema: Output? = null

    private var additionalItems: Output>? = null

    private var additionalProperties: Output>? = null

    private var allOf: Output>? = null

    private var anyOf: Output>? = null

    private var default: Output? = null

    private var definitions: Output>? = null

    private var dependencies: Output>>>? = null

    private var description: Output? = null

    private var `enum`: Output>? = null

    private var example: Output? = null

    private var exclusiveMaximum: Output? = null

    private var exclusiveMinimum: Output? = null

    private var externalDocs: Output? = null

    private var format: Output? = null

    private var id: Output? = null

    private var items: Output>>? = null

    private var maxItems: Output? = null

    private var maxLength: Output? = null

    private var maxProperties: Output? = null

    private var maximum: Output? = null

    private var minItems: Output? = null

    private var minLength: Output? = null

    private var minProperties: Output? = null

    private var minimum: Output? = null

    private var multipleOf: Output? = null

    private var not: Output? = null

    private var nullable: Output? = null

    private var oneOf: Output>? = null

    private var pattern: Output? = null

    private var patternProperties: Output>? = null

    private var properties: Output>? = null

    private var required: Output>? = null

    private var title: Output? = null

    private var type: Output? = null

    private var uniqueItems: Output? = null

    private var x_kubernetes_embedded_resource: Output? = null

    private var x_kubernetes_int_or_string: Output? = null

    private var x_kubernetes_list_map_keys: Output>? = null

    private var x_kubernetes_list_type: Output? = null

    private var x_kubernetes_map_type: Output? = null

    private var x_kubernetes_preserve_unknown_fields: Output? = null

    private var x_kubernetes_validations: Output>? = null

    /**
     * @param value
     */
    @JvmName("mpnihhahmwxqabwu")
    public suspend fun ref(`value`: Output) {
        this.ref = value
    }

    /**
     * @param value
     */
    @JvmName("xjjwtoqjojwmwahv")
    public suspend fun schema(`value`: Output) {
        this.schema = value
    }

    /**
     * @param value
     */
    @JvmName("degvctqwqdyokref")
    public suspend fun additionalItems(`value`: Output>) {
        this.additionalItems = value
    }

    /**
     * @param value
     */
    @JvmName("bljulblbgixyxgyq")
    public suspend fun additionalProperties(`value`: Output>) {
        this.additionalProperties = value
    }

    /**
     * @param value
     */
    @JvmName("uhoqhedqcpuhuxhy")
    public suspend fun allOf(`value`: Output>) {
        this.allOf = value
    }

    @JvmName("somxhxrdjtklvsmw")
    public suspend fun allOf(vararg values: Output) {
        this.allOf = Output.all(values.asList())
    }

    /**
     * @param values
     */
    @JvmName("axcmmfdkqbyuppuu")
    public suspend fun allOf(values: List>) {
        this.allOf = Output.all(values)
    }

    /**
     * @param value
     */
    @JvmName("arppkigqjywetlgt")
    public suspend fun anyOf(`value`: Output>) {
        this.anyOf = value
    }

    @JvmName("vduxjddabodgijfk")
    public suspend fun anyOf(vararg values: Output) {
        this.anyOf = Output.all(values.asList())
    }

    /**
     * @param values
     */
    @JvmName("ewqbhhwphdfwqeee")
    public suspend fun anyOf(values: List>) {
        this.anyOf = Output.all(values)
    }

    /**
     * @param value default is a default value for undefined object fields. Defaulting is a beta feature under the CustomResourceDefaulting feature gate. Defaulting requires spec.preserveUnknownFields to be false.
     */
    @JvmName("thcffiwrrfuvhskf")
    public suspend fun default(`value`: Output) {
        this.default = value
    }

    /**
     * @param value
     */
    @JvmName("xjtxgyrobydqsdvl")
    public suspend fun definitions(`value`: Output>) {
        this.definitions = value
    }

    /**
     * @param value
     */
    @JvmName("bwtqrcndjihxmcic")
    public suspend fun dependencies(`value`: Output>>>) {
        this.dependencies = value
    }

    /**
     * @param value
     */
    @JvmName("erieytgmvxrvcfse")
    public suspend fun description(`value`: Output) {
        this.description = value
    }

    /**
     * @param value
     */
    @JvmName("djjsutmunfbflhxx")
    public suspend fun `enum`(`value`: Output>) {
        this.`enum` = value
    }

    @JvmName("mrpjheiuvqcfehxe")
    public suspend fun `enum`(vararg values: Output) {
        this.`enum` = Output.all(values.asList())
    }

    /**
     * @param values
     */
    @JvmName("mtqeigvsqjvprqhr")
    public suspend fun `enum`(values: List>) {
        this.`enum` = Output.all(values)
    }

    /**
     * @param value
     */
    @JvmName("qcrowdxvbunbexar")
    public suspend fun example(`value`: Output) {
        this.example = value
    }

    /**
     * @param value
     */
    @JvmName("vcgxwaqvfbdxtgdf")
    public suspend fun exclusiveMaximum(`value`: Output) {
        this.exclusiveMaximum = value
    }

    /**
     * @param value
     */
    @JvmName("aoetfhavqeeleevh")
    public suspend fun exclusiveMinimum(`value`: Output) {
        this.exclusiveMinimum = value
    }

    /**
     * @param value
     */
    @JvmName("vhuakfuybksfvmxq")
    public suspend fun externalDocs(`value`: Output) {
        this.externalDocs = value
    }

    /**
     * @param value format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated:
     * - bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address as parsed by Golang net.ParseMAC - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid4: an UUID4 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - uuid5: an UUID5 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - isbn: an ISBN10 or ISBN13 number string like "0321751043" or "978-0321751041" - isbn10: an ISBN10 number string like "0321751043" - isbn13: an ISBN13 number string like "978-0321751041" - creditcard: a credit card number defined by the regex ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11})$ with any non digit characters mixed in - ssn: a U.S. social security number following the regex ^\d{3}[- ]?\d{2}[- ]?\d{4}$ - hexcolor: an hexadecimal color code like "#FFFFFF: following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ - rgbcolor: an RGB color code like rgb like "rgb(255,255,2559" - byte: base64 encoded binary data - password: any kind of string - date: a date string like "2006-01-02" as defined by full-date in RFC3339 - duration: a duration string like "22 ns" as parsed by Golang time.ParseDuration or compatible with Scala duration format - datetime: a date time string like "2014-12-15T19:30:20.000Z" as defined by date-time in RFC3339.
     */
    @JvmName("hawbflqsbuuakxmx")
    public suspend fun format(`value`: Output) {
        this.format = value
    }

    /**
     * @param value
     */
    @JvmName("ludixdrwbsokhrlj")
    public suspend fun id(`value`: Output) {
        this.id = value
    }

    /**
     * @param value
     */
    @JvmName("rirtchryojujyrrk")
    public suspend fun items(`value`: Output>>) {
        this.items = value
    }

    /**
     * @param value
     */
    @JvmName("catmnixvnkvgvipj")
    public suspend fun maxItems(`value`: Output) {
        this.maxItems = value
    }

    /**
     * @param value
     */
    @JvmName("mgtgaxtdqixmvmye")
    public suspend fun maxLength(`value`: Output) {
        this.maxLength = value
    }

    /**
     * @param value
     */
    @JvmName("gmvaxrinjqnusewc")
    public suspend fun maxProperties(`value`: Output) {
        this.maxProperties = value
    }

    /**
     * @param value
     */
    @JvmName("oqmllssvalshybtt")
    public suspend fun maximum(`value`: Output) {
        this.maximum = value
    }

    /**
     * @param value
     */
    @JvmName("qjgycbxvuprbigoo")
    public suspend fun minItems(`value`: Output) {
        this.minItems = value
    }

    /**
     * @param value
     */
    @JvmName("ttfbvrsciugmvmxv")
    public suspend fun minLength(`value`: Output) {
        this.minLength = value
    }

    /**
     * @param value
     */
    @JvmName("lojarljxtptejfdt")
    public suspend fun minProperties(`value`: Output) {
        this.minProperties = value
    }

    /**
     * @param value
     */
    @JvmName("ohhwocerkautpclf")
    public suspend fun minimum(`value`: Output) {
        this.minimum = value
    }

    /**
     * @param value
     */
    @JvmName("agjehyvjraetxstg")
    public suspend fun multipleOf(`value`: Output) {
        this.multipleOf = value
    }

    /**
     * @param value
     */
    @JvmName("eujjpvsdhwxwahxb")
    public suspend fun not(`value`: Output) {
        this.not = value
    }

    /**
     * @param value
     */
    @JvmName("kchkpsphxkpwsjny")
    public suspend fun nullable(`value`: Output) {
        this.nullable = value
    }

    /**
     * @param value
     */
    @JvmName("dfmfplkppqudcggu")
    public suspend fun oneOf(`value`: Output>) {
        this.oneOf = value
    }

    @JvmName("pledcnapnswtwlxf")
    public suspend fun oneOf(vararg values: Output) {
        this.oneOf = Output.all(values.asList())
    }

    /**
     * @param values
     */
    @JvmName("rdtuwlilqsvjixeq")
    public suspend fun oneOf(values: List>) {
        this.oneOf = Output.all(values)
    }

    /**
     * @param value
     */
    @JvmName("mfipaxrpomahhfvl")
    public suspend fun pattern(`value`: Output) {
        this.pattern = value
    }

    /**
     * @param value
     */
    @JvmName("phwadxjpbpccrxil")
    public suspend fun patternProperties(`value`: Output>) {
        this.patternProperties = value
    }

    /**
     * @param value
     */
    @JvmName("wnobntxiqpmeikwx")
    public suspend fun properties(`value`: Output>) {
        this.properties = value
    }

    /**
     * @param value
     */
    @JvmName("xwopgjkrcqynoymt")
    public suspend fun required(`value`: Output>) {
        this.required = value
    }

    @JvmName("utpquiksxhkkvlyc")
    public suspend fun required(vararg values: Output) {
        this.required = Output.all(values.asList())
    }

    /**
     * @param values
     */
    @JvmName("sjvuocngupoandgg")
    public suspend fun required(values: List>) {
        this.required = Output.all(values)
    }

    /**
     * @param value
     */
    @JvmName("nuxlbnloxfgaxbjc")
    public suspend fun title(`value`: Output) {
        this.title = value
    }

    /**
     * @param value
     */
    @JvmName("ysghbpaqkijqbqiv")
    public suspend fun type(`value`: Output) {
        this.type = value
    }

    /**
     * @param value
     */
    @JvmName("kaiufwsvgjjgrkyn")
    public suspend fun uniqueItems(`value`: Output) {
        this.uniqueItems = value
    }

    /**
     * @param value x-kubernetes-embedded-resource defines that the value is an embedded Kubernetes runtime.Object, with TypeMeta and ObjectMeta. The type must be object. It is allowed to further restrict the embedded object. kind, apiVersion and metadata are validated automatically. x-kubernetes-preserve-unknown-fields is allowed to be true, but does not have to be if the object is fully specified (up to kind, apiVersion, metadata).
     */
    @JvmName("uirgaqtodlnffbxi")
    public suspend fun x_kubernetes_embedded_resource(`value`: Output) {
        this.x_kubernetes_embedded_resource = value
    }

    /**
     * @param value x-kubernetes-int-or-string specifies that this value is either an integer or a string. If this is true, an empty type is allowed and type as child of anyOf is permitted if following one of the following patterns:
     * 1) anyOf:
     *    - type: integer
     *    - type: string
     * 2) allOf:
     *    - anyOf:
     *      - type: integer
     *      - type: string
     *    - ... zero or more
     */
    @JvmName("adtebbxoyicfneiu")
    public suspend fun x_kubernetes_int_or_string(`value`: Output) {
        this.x_kubernetes_int_or_string = value
    }

    /**
     * @param value x-kubernetes-list-map-keys annotates an array with the x-kubernetes-list-type `map` by specifying the keys used as the index of the map.
     * This tag MUST only be used on lists that have the "x-kubernetes-list-type" extension set to "map". Also, the values specified for this attribute must be a scalar typed field of the child structure (no nesting is supported).
     * The properties specified must either be required or have a default value, to ensure those properties are present for all list items.
     */
    @JvmName("kecxyskfpstwfnow")
    public suspend fun x_kubernetes_list_map_keys(`value`: Output>) {
        this.x_kubernetes_list_map_keys = value
    }

    @JvmName("whmwmabhglawfqgh")
    public suspend fun x_kubernetes_list_map_keys(vararg values: Output) {
        this.x_kubernetes_list_map_keys = Output.all(values.asList())
    }

    /**
     * @param values x-kubernetes-list-map-keys annotates an array with the x-kubernetes-list-type `map` by specifying the keys used as the index of the map.
     * This tag MUST only be used on lists that have the "x-kubernetes-list-type" extension set to "map". Also, the values specified for this attribute must be a scalar typed field of the child structure (no nesting is supported).
     * The properties specified must either be required or have a default value, to ensure those properties are present for all list items.
     */
    @JvmName("kcdykekypwtkhfrj")
    public suspend fun x_kubernetes_list_map_keys(values: List>) {
        this.x_kubernetes_list_map_keys = Output.all(values)
    }

    /**
     * @param value x-kubernetes-list-type annotates an array to further describe its topology. This extension must only be used on lists and may have 3 possible values:
     * 1) `atomic`: the list is treated as a single entity, like a scalar.
     *      Atomic lists will be entirely replaced when updated. This extension
     *      may be used on any type of list (struct, scalar, ...).
     * 2) `set`:
     *      Sets are lists that must not have multiple items with the same value. Each
     *      value must be a scalar, an object with x-kubernetes-map-type `atomic` or an
     *      array with x-kubernetes-list-type `atomic`.
     * 3) `map`:
     *      These lists are like maps in that their elements have a non-index key
     *      used to identify them. Order is preserved upon merge. The map tag
     *      must only be used on a list with elements of type object.
     * Defaults to atomic for arrays.
     */
    @JvmName("fqtldoxwsvrcrjos")
    public suspend fun x_kubernetes_list_type(`value`: Output) {
        this.x_kubernetes_list_type = value
    }

    /**
     * @param value x-kubernetes-map-type annotates an object to further describe its topology. This extension must only be used when type is object and may have 2 possible values:
     * 1) `granular`:
     *      These maps are actual maps (key-value pairs) and each fields are independent
     *      from each other (they can each be manipulated by separate actors). This is
     *      the default behaviour for all maps.
     * 2) `atomic`: the list is treated as a single entity, like a scalar.
     *      Atomic maps will be entirely replaced when updated.
     */
    @JvmName("baeosjyyswtbyqys")
    public suspend fun x_kubernetes_map_type(`value`: Output) {
        this.x_kubernetes_map_type = value
    }

    /**
     * @param value x-kubernetes-preserve-unknown-fields stops the API server decoding step from pruning fields which are not specified in the validation schema. This affects fields recursively, but switches back to normal pruning behaviour if nested properties or additionalProperties are specified in the schema. This can either be true or undefined. False is forbidden.
     */
    @JvmName("ekqsxxfkujqtmknu")
    public suspend fun x_kubernetes_preserve_unknown_fields(`value`: Output) {
        this.x_kubernetes_preserve_unknown_fields = value
    }

    /**
     * @param value x-kubernetes-validations describes a list of validation rules written in the CEL expression language.
     */
    @JvmName("idkwssqyxkqlsyiy")
    public suspend fun x_kubernetes_validations(`value`: Output>) {
        this.x_kubernetes_validations = value
    }

    @JvmName("qrxyjbgukpscrxwq")
    public suspend fun x_kubernetes_validations(vararg values: Output) {
        this.x_kubernetes_validations = Output.all(values.asList())
    }

    /**
     * @param values x-kubernetes-validations describes a list of validation rules written in the CEL expression language.
     */
    @JvmName("mveefrmhwwsvmrgj")
    public suspend fun x_kubernetes_validations(values: List>) {
        this.x_kubernetes_validations = Output.all(values)
    }

    /**
     * @param value
     */
    @JvmName("ywewcvdlalhucjti")
    public suspend fun ref(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.ref = mapped
    }

    /**
     * @param value
     */
    @JvmName("qvgvldrlmuiqymre")
    public suspend fun schema(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.schema = mapped
    }

    /**
     * @param value
     */
    @JvmName("acmicfkacqfobnwv")
    public suspend fun additionalItems(`value`: Either?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.additionalItems = mapped
    }

    /**
     * @param value
     */
    @JvmName("vbovnckyflpsvglw")
    public fun additionalItems(`value`: JSONSchemaPropsArgs) {
        val toBeMapped = Either.ofLeft(value)
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.additionalItems = mapped
    }

    /**
     * @param value
     */
    @JvmName("jpuetgjseeenjwjh")
    public fun additionalItems(`value`: Boolean) {
        val toBeMapped = Either.ofRight(value)
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.additionalItems = mapped
    }

    /**
     * @param value
     */
    @JvmName("njfslsnvckhkoqdp")
    public suspend fun additionalProperties(`value`: Either?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.additionalProperties = mapped
    }

    /**
     * @param value
     */
    @JvmName("ylbdpiixjjrgrqfu")
    public fun additionalProperties(`value`: JSONSchemaPropsArgs) {
        val toBeMapped = Either.ofLeft(value)
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.additionalProperties = mapped
    }

    /**
     * @param value
     */
    @JvmName("mfgtrqywwoyndeqd")
    public fun additionalProperties(`value`: Boolean) {
        val toBeMapped = Either.ofRight(value)
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.additionalProperties = mapped
    }

    /**
     * @param value
     */
    @JvmName("neffnmyfnbxrccey")
    public suspend fun allOf(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.allOf = mapped
    }

    /**
     * @param argument
     */
    @JvmName("ullojgpwuakargaa")
    public suspend fun allOf(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            JSONSchemaPropsPatchArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.allOf = mapped
    }

    /**
     * @param argument
     */
    @JvmName("hmbitvcniqmpdidq")
    public suspend fun allOf(vararg argument: suspend JSONSchemaPropsPatchArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            JSONSchemaPropsPatchArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.allOf = mapped
    }

    /**
     * @param argument
     */
    @JvmName("blnaahopnocqxxqm")
    public suspend fun allOf(argument: suspend JSONSchemaPropsPatchArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(JSONSchemaPropsPatchArgsBuilder().applySuspend { argument() }.build())
        val mapped = of(toBeMapped)
        this.allOf = mapped
    }

    /**
     * @param values
     */
    @JvmName("twwmojsqeqxqvjeo")
    public suspend fun allOf(vararg values: JSONSchemaPropsPatchArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.allOf = mapped
    }

    /**
     * @param value
     */
    @JvmName("jwofspsdeabgwrgr")
    public suspend fun anyOf(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.anyOf = mapped
    }

    /**
     * @param argument
     */
    @JvmName("dtjjdauquoemfkxg")
    public suspend fun anyOf(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            JSONSchemaPropsPatchArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.anyOf = mapped
    }

    /**
     * @param argument
     */
    @JvmName("qrmktjkrmorwcvvf")
    public suspend fun anyOf(vararg argument: suspend JSONSchemaPropsPatchArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            JSONSchemaPropsPatchArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.anyOf = mapped
    }

    /**
     * @param argument
     */
    @JvmName("rrkmahgluvynobfw")
    public suspend fun anyOf(argument: suspend JSONSchemaPropsPatchArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(JSONSchemaPropsPatchArgsBuilder().applySuspend { argument() }.build())
        val mapped = of(toBeMapped)
        this.anyOf = mapped
    }

    /**
     * @param values
     */
    @JvmName("ixyvylgfmfaufcqv")
    public suspend fun anyOf(vararg values: JSONSchemaPropsPatchArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.anyOf = mapped
    }

    /**
     * @param value default is a default value for undefined object fields. Defaulting is a beta feature under the CustomResourceDefaulting feature gate. Defaulting requires spec.preserveUnknownFields to be false.
     */
    @JvmName("doxeuimximelgjup")
    public suspend fun default(`value`: JsonElement?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.default = mapped
    }

    /**
     * @param value
     */
    @JvmName("vxkqvgyxcoxuybot")
    public suspend fun definitions(`value`: Map?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.definitions = mapped
    }

    /**
     * @param argument
     */
    @JvmName("ttdgfonitugbayat")
    public suspend fun definitions(vararg argument: Pair Unit>) {
        val toBeMapped = argument.toList().map { (left, right) ->
            left to
                JSONSchemaPropsArgsBuilder().applySuspend { right() }.build()
        }.toMap()
        val mapped = of(toBeMapped)
        this.definitions = mapped
    }

    /**
     * @param values
     */
    @JvmName("rhahbphlhtxmvicp")
    public fun definitions(vararg values: Pair) {
        val toBeMapped = values.toMap()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.definitions = mapped
    }

    /**
     * @param value
     */
    @JvmName("odnsvqlhknyixjnh")
    public suspend fun dependencies(`value`: Map>>?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.dependencies = mapped
    }

    /**
     * @param values
     */
    @JvmName("omacyyyxbhlspoyg")
    public fun dependencies(vararg values: Pair>>) {
        val toBeMapped = values.toMap()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.dependencies = mapped
    }

    /**
     * @param value
     */
    @JvmName("ehihpbqjiqupwqek")
    public suspend fun description(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.description = mapped
    }

    /**
     * @param value
     */
    @JvmName("nsusfyvunrbvjfas")
    public suspend fun `enum`(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.`enum` = mapped
    }

    /**
     * @param values
     */
    @JvmName("sifgrhyjalubohym")
    public suspend fun `enum`(vararg values: JsonElement) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.`enum` = mapped
    }

    /**
     * @param value
     */
    @JvmName("mrvhbpbwarwqjxxp")
    public suspend fun example(`value`: JsonElement?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.example = mapped
    }

    /**
     * @param value
     */
    @JvmName("uuvcsfffxgirqgmo")
    public suspend fun exclusiveMaximum(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.exclusiveMaximum = mapped
    }

    /**
     * @param value
     */
    @JvmName("faikdbgybopixjiv")
    public suspend fun exclusiveMinimum(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.exclusiveMinimum = mapped
    }

    /**
     * @param value
     */
    @JvmName("amjbhhjixnmmtkwe")
    public suspend fun externalDocs(`value`: ExternalDocumentationPatchArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.externalDocs = mapped
    }

    /**
     * @param argument
     */
    @JvmName("aeutntnvmmwifnci")
    public suspend fun externalDocs(argument: suspend ExternalDocumentationPatchArgsBuilder.() -> Unit) {
        val toBeMapped = ExternalDocumentationPatchArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.externalDocs = mapped
    }

    /**
     * @param value format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated:
     * - bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address as parsed by Golang net.ParseMAC - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid4: an UUID4 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - uuid5: an UUID5 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - isbn: an ISBN10 or ISBN13 number string like "0321751043" or "978-0321751041" - isbn10: an ISBN10 number string like "0321751043" - isbn13: an ISBN13 number string like "978-0321751041" - creditcard: a credit card number defined by the regex ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11})$ with any non digit characters mixed in - ssn: a U.S. social security number following the regex ^\d{3}[- ]?\d{2}[- ]?\d{4}$ - hexcolor: an hexadecimal color code like "#FFFFFF: following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ - rgbcolor: an RGB color code like rgb like "rgb(255,255,2559" - byte: base64 encoded binary data - password: any kind of string - date: a date string like "2006-01-02" as defined by full-date in RFC3339 - duration: a duration string like "22 ns" as parsed by Golang time.ParseDuration or compatible with Scala duration format - datetime: a date time string like "2014-12-15T19:30:20.000Z" as defined by date-time in RFC3339.
     */
    @JvmName("ldpkdwcfrysptxws")
    public suspend fun format(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.format = mapped
    }

    /**
     * @param value
     */
    @JvmName("tajuhrjdqnikrarw")
    public suspend fun id(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.id = mapped
    }

    /**
     * @param value
     */
    @JvmName("yqujuyppdbsrbwwd")
    public suspend fun items(`value`: Either>?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.items = mapped
    }

    /**
     * @param value
     */
    @JvmName("ljxufkrepxjldpfc")
    public fun items(`value`: JSONSchemaPropsArgs) {
        val toBeMapped = Either.ofLeft>(value)
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.items = mapped
    }

    /**
     * @param value
     */
    @JvmName("aauwexwmghrsyqhw")
    public fun items(`value`: List) {
        val toBeMapped = Either.ofRight>(value)
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.items = mapped
    }

    /**
     * @param value
     */
    @JvmName("syteniweaqbbprmu")
    public suspend fun maxItems(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.maxItems = mapped
    }

    /**
     * @param value
     */
    @JvmName("lvhmghbrfvwulxcs")
    public suspend fun maxLength(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.maxLength = mapped
    }

    /**
     * @param value
     */
    @JvmName("oykuqahagwcrauga")
    public suspend fun maxProperties(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.maxProperties = mapped
    }

    /**
     * @param value
     */
    @JvmName("heqyrhdlsbjuteeu")
    public suspend fun maximum(`value`: Double?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.maximum = mapped
    }

    /**
     * @param value
     */
    @JvmName("ygtegxxjmdoqcvpt")
    public suspend fun minItems(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.minItems = mapped
    }

    /**
     * @param value
     */
    @JvmName("eyqtnxqerrfujyyv")
    public suspend fun minLength(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.minLength = mapped
    }

    /**
     * @param value
     */
    @JvmName("ulybtpdtpvpaetdl")
    public suspend fun minProperties(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.minProperties = mapped
    }

    /**
     * @param value
     */
    @JvmName("giypeqaoengacjps")
    public suspend fun minimum(`value`: Double?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.minimum = mapped
    }

    /**
     * @param value
     */
    @JvmName("fjtnvttxarwloaiy")
    public suspend fun multipleOf(`value`: Double?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.multipleOf = mapped
    }

    /**
     * @param value
     */
    @JvmName("romckutdwwjrgbec")
    public suspend fun not(`value`: JSONSchemaPropsPatchArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.not = mapped
    }

    /**
     * @param argument
     */
    @JvmName("bkyuusjqvmviifgn")
    public suspend fun not(argument: suspend JSONSchemaPropsPatchArgsBuilder.() -> Unit) {
        val toBeMapped = JSONSchemaPropsPatchArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.not = mapped
    }

    /**
     * @param value
     */
    @JvmName("sjnqcmgrmeqajcxc")
    public suspend fun nullable(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.nullable = mapped
    }

    /**
     * @param value
     */
    @JvmName("mrudbgbhksettsap")
    public suspend fun oneOf(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.oneOf = mapped
    }

    /**
     * @param argument
     */
    @JvmName("ssxvhkgyprypkwjt")
    public suspend fun oneOf(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            JSONSchemaPropsPatchArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.oneOf = mapped
    }

    /**
     * @param argument
     */
    @JvmName("xpffxebcuhjvsrbs")
    public suspend fun oneOf(vararg argument: suspend JSONSchemaPropsPatchArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            JSONSchemaPropsPatchArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.oneOf = mapped
    }

    /**
     * @param argument
     */
    @JvmName("riuvuykhtwptomww")
    public suspend fun oneOf(argument: suspend JSONSchemaPropsPatchArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(JSONSchemaPropsPatchArgsBuilder().applySuspend { argument() }.build())
        val mapped = of(toBeMapped)
        this.oneOf = mapped
    }

    /**
     * @param values
     */
    @JvmName("tdrvjfqpyjmiabks")
    public suspend fun oneOf(vararg values: JSONSchemaPropsPatchArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.oneOf = mapped
    }

    /**
     * @param value
     */
    @JvmName("jnbllgpfqjxfesan")
    public suspend fun pattern(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.pattern = mapped
    }

    /**
     * @param value
     */
    @JvmName("ycxwrkgalpwbhyls")
    public suspend fun patternProperties(`value`: Map?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.patternProperties = mapped
    }

    /**
     * @param argument
     */
    @JvmName("rpnehsefgobwcioe")
    public suspend fun patternProperties(vararg argument: Pair Unit>) {
        val toBeMapped = argument.toList().map { (left, right) ->
            left to
                JSONSchemaPropsArgsBuilder().applySuspend { right() }.build()
        }.toMap()
        val mapped = of(toBeMapped)
        this.patternProperties = mapped
    }

    /**
     * @param values
     */
    @JvmName("euonfaiwpnvhqjvj")
    public fun patternProperties(vararg values: Pair) {
        val toBeMapped = values.toMap()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.patternProperties = mapped
    }

    /**
     * @param value
     */
    @JvmName("celficmmbnglwbxl")
    public suspend fun properties(`value`: Map?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.properties = mapped
    }

    /**
     * @param argument
     */
    @JvmName("lwoexlrnwvrqppng")
    public suspend fun properties(vararg argument: Pair Unit>) {
        val toBeMapped = argument.toList().map { (left, right) ->
            left to
                JSONSchemaPropsArgsBuilder().applySuspend { right() }.build()
        }.toMap()
        val mapped = of(toBeMapped)
        this.properties = mapped
    }

    /**
     * @param values
     */
    @JvmName("gxvmeklcedjnbujy")
    public fun properties(vararg values: Pair) {
        val toBeMapped = values.toMap()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.properties = mapped
    }

    /**
     * @param value
     */
    @JvmName("tspbkiyyaabwyjoc")
    public suspend fun required(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.required = mapped
    }

    /**
     * @param values
     */
    @JvmName("lwvmcxbotkfrjatg")
    public suspend fun required(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.required = mapped
    }

    /**
     * @param value
     */
    @JvmName("patkrgishuffygpd")
    public suspend fun title(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.title = mapped
    }

    /**
     * @param value
     */
    @JvmName("prvygblbsgjmqlun")
    public suspend fun type(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.type = mapped
    }

    /**
     * @param value
     */
    @JvmName("stpttivxltarwsxm")
    public suspend fun uniqueItems(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.uniqueItems = mapped
    }

    /**
     * @param value x-kubernetes-embedded-resource defines that the value is an embedded Kubernetes runtime.Object, with TypeMeta and ObjectMeta. The type must be object. It is allowed to further restrict the embedded object. kind, apiVersion and metadata are validated automatically. x-kubernetes-preserve-unknown-fields is allowed to be true, but does not have to be if the object is fully specified (up to kind, apiVersion, metadata).
     */
    @JvmName("isejgotcypbkxmdr")
    public suspend fun x_kubernetes_embedded_resource(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.x_kubernetes_embedded_resource = mapped
    }

    /**
     * @param value x-kubernetes-int-or-string specifies that this value is either an integer or a string. If this is true, an empty type is allowed and type as child of anyOf is permitted if following one of the following patterns:
     * 1) anyOf:
     *    - type: integer
     *    - type: string
     * 2) allOf:
     *    - anyOf:
     *      - type: integer
     *      - type: string
     *    - ... zero or more
     */
    @JvmName("labidavolvneveth")
    public suspend fun x_kubernetes_int_or_string(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.x_kubernetes_int_or_string = mapped
    }

    /**
     * @param value x-kubernetes-list-map-keys annotates an array with the x-kubernetes-list-type `map` by specifying the keys used as the index of the map.
     * This tag MUST only be used on lists that have the "x-kubernetes-list-type" extension set to "map". Also, the values specified for this attribute must be a scalar typed field of the child structure (no nesting is supported).
     * The properties specified must either be required or have a default value, to ensure those properties are present for all list items.
     */
    @JvmName("tjselkjleoktjwkb")
    public suspend fun x_kubernetes_list_map_keys(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.x_kubernetes_list_map_keys = mapped
    }

    /**
     * @param values x-kubernetes-list-map-keys annotates an array with the x-kubernetes-list-type `map` by specifying the keys used as the index of the map.
     * This tag MUST only be used on lists that have the "x-kubernetes-list-type" extension set to "map". Also, the values specified for this attribute must be a scalar typed field of the child structure (no nesting is supported).
     * The properties specified must either be required or have a default value, to ensure those properties are present for all list items.
     */
    @JvmName("rywkkqvkgqeffcqe")
    public suspend fun x_kubernetes_list_map_keys(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.x_kubernetes_list_map_keys = mapped
    }

    /**
     * @param value x-kubernetes-list-type annotates an array to further describe its topology. This extension must only be used on lists and may have 3 possible values:
     * 1) `atomic`: the list is treated as a single entity, like a scalar.
     *      Atomic lists will be entirely replaced when updated. This extension
     *      may be used on any type of list (struct, scalar, ...).
     * 2) `set`:
     *      Sets are lists that must not have multiple items with the same value. Each
     *      value must be a scalar, an object with x-kubernetes-map-type `atomic` or an
     *      array with x-kubernetes-list-type `atomic`.
     * 3) `map`:
     *      These lists are like maps in that their elements have a non-index key
     *      used to identify them. Order is preserved upon merge. The map tag
     *      must only be used on a list with elements of type object.
     * Defaults to atomic for arrays.
     */
    @JvmName("vssaldkjsauqwvug")
    public suspend fun x_kubernetes_list_type(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.x_kubernetes_list_type = mapped
    }

    /**
     * @param value x-kubernetes-map-type annotates an object to further describe its topology. This extension must only be used when type is object and may have 2 possible values:
     * 1) `granular`:
     *      These maps are actual maps (key-value pairs) and each fields are independent
     *      from each other (they can each be manipulated by separate actors). This is
     *      the default behaviour for all maps.
     * 2) `atomic`: the list is treated as a single entity, like a scalar.
     *      Atomic maps will be entirely replaced when updated.
     */
    @JvmName("csbiovobuoqwsqvp")
    public suspend fun x_kubernetes_map_type(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.x_kubernetes_map_type = mapped
    }

    /**
     * @param value x-kubernetes-preserve-unknown-fields stops the API server decoding step from pruning fields which are not specified in the validation schema. This affects fields recursively, but switches back to normal pruning behaviour if nested properties or additionalProperties are specified in the schema. This can either be true or undefined. False is forbidden.
     */
    @JvmName("yeauctxyhpgalsnc")
    public suspend fun x_kubernetes_preserve_unknown_fields(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.x_kubernetes_preserve_unknown_fields = mapped
    }

    /**
     * @param value x-kubernetes-validations describes a list of validation rules written in the CEL expression language.
     */
    @JvmName("ajofbybxmbsashhw")
    public suspend fun x_kubernetes_validations(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.x_kubernetes_validations = mapped
    }

    /**
     * @param argument x-kubernetes-validations describes a list of validation rules written in the CEL expression language.
     */
    @JvmName("upkuhavodsyvayqe")
    public suspend fun x_kubernetes_validations(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            ValidationRulePatchArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.x_kubernetes_validations = mapped
    }

    /**
     * @param argument x-kubernetes-validations describes a list of validation rules written in the CEL expression language.
     */
    @JvmName("uohxebskluknxstb")
    public suspend fun x_kubernetes_validations(vararg argument: suspend ValidationRulePatchArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            ValidationRulePatchArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.x_kubernetes_validations = mapped
    }

    /**
     * @param argument x-kubernetes-validations describes a list of validation rules written in the CEL expression language.
     */
    @JvmName("bskxmyclavvjdkyb")
    public suspend fun x_kubernetes_validations(argument: suspend ValidationRulePatchArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(ValidationRulePatchArgsBuilder().applySuspend { argument() }.build())
        val mapped = of(toBeMapped)
        this.x_kubernetes_validations = mapped
    }

    /**
     * @param values x-kubernetes-validations describes a list of validation rules written in the CEL expression language.
     */
    @JvmName("xrmqfkdaceubwpap")
    public suspend fun x_kubernetes_validations(vararg values: ValidationRulePatchArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.x_kubernetes_validations = mapped
    }

    internal fun build(): JSONSchemaPropsPatchArgs = JSONSchemaPropsPatchArgs(
        ref = ref,
        schema = schema,
        additionalItems = additionalItems,
        additionalProperties = additionalProperties,
        allOf = allOf,
        anyOf = anyOf,
        default = default,
        definitions = definitions,
        dependencies = dependencies,
        description = description,
        `enum` = `enum`,
        example = example,
        exclusiveMaximum = exclusiveMaximum,
        exclusiveMinimum = exclusiveMinimum,
        externalDocs = externalDocs,
        format = format,
        id = id,
        items = items,
        maxItems = maxItems,
        maxLength = maxLength,
        maxProperties = maxProperties,
        maximum = maximum,
        minItems = minItems,
        minLength = minLength,
        minProperties = minProperties,
        minimum = minimum,
        multipleOf = multipleOf,
        not = not,
        nullable = nullable,
        oneOf = oneOf,
        pattern = pattern,
        patternProperties = patternProperties,
        properties = properties,
        required = required,
        title = title,
        type = type,
        uniqueItems = uniqueItems,
        x_kubernetes_embedded_resource = x_kubernetes_embedded_resource,
        x_kubernetes_int_or_string = x_kubernetes_int_or_string,
        x_kubernetes_list_map_keys = x_kubernetes_list_map_keys,
        x_kubernetes_list_type = x_kubernetes_list_type,
        x_kubernetes_map_type = x_kubernetes_map_type,
        x_kubernetes_preserve_unknown_fields = x_kubernetes_preserve_unknown_fields,
        x_kubernetes_validations = x_kubernetes_validations,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy