kubernetes.client.models.v1_json_schema_props module

Kubernetes

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

The version of the OpenAPI document: release-1.36 Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.

class kubernetes.client.models.v1_json_schema_props.V1JSONSchemaProps(*, ref: Annotated[str, Strict(strict=True)] | None = None, schema: Annotated[str, Strict(strict=True)] | None = None, additional_items: Dict[str, Any] | Annotated[bool, Strict(strict=True)] | None = None, additional_properties: Dict[str, Any] | Annotated[bool, Strict(strict=True)] | None = None, all_of: List[V1JSONSchemaProps] | None = None, any_of: List[V1JSONSchemaProps] | None = None, default: Any = None, definitions: Dict[str, V1JSONSchemaProps] | None = None, dependencies: Dict[str, Dict[str, Any] | List[str]] | None = None, description: Annotated[str, Strict(strict=True)] | None = None, enum: List[Any] | None = None, example: Any = None, exclusive_maximum: Annotated[bool, Strict(strict=True)] | None = None, exclusive_minimum: Annotated[bool, Strict(strict=True)] | None = None, external_docs: V1ExternalDocumentation | None = None, format: Annotated[str, Strict(strict=True)] | None = None, id: Annotated[str, Strict(strict=True)] | None = None, items: Dict[str, Any] | List[Dict[str, Any]] | None = None, max_items: Annotated[int, Strict(strict=True)] | None = None, max_length: Annotated[int, Strict(strict=True)] | None = None, max_properties: Annotated[int, Strict(strict=True)] | None = None, maximum: Annotated[float, Strict(strict=True)] | Annotated[int, Strict(strict=True)] | None = None, min_items: Annotated[int, Strict(strict=True)] | None = None, min_length: Annotated[int, Strict(strict=True)] | None = None, min_properties: Annotated[int, Strict(strict=True)] | None = None, minimum: Annotated[float, Strict(strict=True)] | Annotated[int, Strict(strict=True)] | None = None, multiple_of: Annotated[float, Strict(strict=True)] | Annotated[int, Strict(strict=True)] | None = None, _not: V1JSONSchemaProps | None = None, nullable: Annotated[bool, Strict(strict=True)] | None = None, one_of: List[V1JSONSchemaProps] | None = None, pattern: Annotated[str, Strict(strict=True)] | None = None, pattern_properties: Dict[str, V1JSONSchemaProps] | None = None, properties: Dict[str, V1JSONSchemaProps] | None = None, required: List[Annotated[str, Strict(strict=True)]] | None = None, title: Annotated[str, Strict(strict=True)] | None = None, type: Annotated[str, Strict(strict=True)] | None = None, unique_items: Annotated[bool, Strict(strict=True)] | None = None, x_kubernetes_embedded_resource: Annotated[bool, Strict(strict=True)] | None = None, x_kubernetes_int_or_string: Annotated[bool, Strict(strict=True)] | None = None, x_kubernetes_list_map_keys: List[Annotated[str, Strict(strict=True)]] | None = None, x_kubernetes_list_type: Annotated[str, Strict(strict=True)] | None = None, x_kubernetes_map_type: Annotated[str, Strict(strict=True)] | None = None, x_kubernetes_preserve_unknown_fields: Annotated[bool, Strict(strict=True)] | None = None, x_kubernetes_validations: List[V1ValidationRule] | None = None)

Bases: BaseModel

JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/).

Attributes:
openapi_types (dict): The key is attribute name

and the value is attribute type.

attribute_map (dict): The key is attribute name

and the value is json key in definition.

additional_items: Dict[str, Any] | StrictBool | None
additional_properties: Dict[str, Any] | StrictBool | None
all_of: List[V1JSONSchemaProps] | None
any_of: List[V1JSONSchemaProps] | None
attribute_map: ClassVar[Dict[str, str]] = {'_not': 'not', 'additional_items': 'additionalItems', 'additional_properties': 'additionalProperties', 'all_of': 'allOf', 'any_of': 'anyOf', 'default': 'default', 'definitions': 'definitions', 'dependencies': 'dependencies', 'description': 'description', 'enum': 'enum', 'example': 'example', 'exclusive_maximum': 'exclusiveMaximum', 'exclusive_minimum': 'exclusiveMinimum', 'external_docs': 'externalDocs', 'format': 'format', 'id': 'id', 'items': 'items', 'max_items': 'maxItems', 'max_length': 'maxLength', 'max_properties': 'maxProperties', 'maximum': 'maximum', 'min_items': 'minItems', 'min_length': 'minLength', 'min_properties': 'minProperties', 'minimum': 'minimum', 'multiple_of': 'multipleOf', 'nullable': 'nullable', 'one_of': 'oneOf', 'pattern': 'pattern', 'pattern_properties': 'patternProperties', 'properties': 'properties', 'ref': '$ref', 'required': 'required', 'schema': '$schema', 'title': 'title', 'type': 'type', 'unique_items': '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'}
default: Any
definitions: Dict[str, V1JSONSchemaProps] | None
dependencies: Dict[str, Dict[str, Any] | List[str]] | None
description: StrictStr | None
enum: List[Any] | None
example: Any
exclusive_maximum: StrictBool | None
exclusive_minimum: StrictBool | None
external_docs: V1ExternalDocumentation | None
format: StrictStr | None
classmethod from_dict(obj: Dict[str, Any] | None) Self | None

Create an instance of V1JSONSchemaProps from a dict

classmethod from_json(json_str: str) Self | None

Create an instance of V1JSONSchemaProps from a JSON string

id: StrictStr | None
items: Dict[str, Any] | List[Dict[str, Any]] | None
max_items: StrictInt | None
max_length: StrictInt | None
max_properties: StrictInt | None
maximum: StrictFloat | StrictInt | None
min_items: StrictInt | None
min_length: StrictInt | None
min_properties: StrictInt | None
minimum: StrictFloat | StrictInt | None
model_config = {'extra': 'forbid', 'protected_namespaces': (), 'validate_assignment': True, 'validate_by_alias': True, 'validate_by_name': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

multiple_of: StrictFloat | StrictInt | None
nullable: StrictBool | None
one_of: List[V1JSONSchemaProps] | None
openapi_types: ClassVar[Dict[str, str]] = {'_not': 'V1JSONSchemaProps', 'additional_items': 'object', 'additional_properties': 'object', 'all_of': 'List[V1JSONSchemaProps]', 'any_of': 'List[V1JSONSchemaProps]', 'default': 'object', 'definitions': 'Dict[str, V1JSONSchemaProps]', 'dependencies': 'Dict[str, object]', 'description': 'str', 'enum': 'List[object]', 'example': 'object', 'exclusive_maximum': 'bool', 'exclusive_minimum': 'bool', 'external_docs': 'V1ExternalDocumentation', 'format': 'str', 'id': 'str', 'items': 'object', 'max_items': 'int', 'max_length': 'int', 'max_properties': 'int', 'maximum': 'float', 'min_items': 'int', 'min_length': 'int', 'min_properties': 'int', 'minimum': 'float', 'multiple_of': 'float', 'nullable': 'bool', 'one_of': 'List[V1JSONSchemaProps]', 'pattern': 'str', 'pattern_properties': 'Dict[str, V1JSONSchemaProps]', 'properties': 'Dict[str, V1JSONSchemaProps]', 'ref': 'str', 'required': 'List[str]', 'schema': 'str', 'title': 'str', 'type': 'str', 'unique_items': 'bool', 'x_kubernetes_embedded_resource': 'bool', 'x_kubernetes_int_or_string': 'bool', 'x_kubernetes_list_map_keys': 'List[str]', 'x_kubernetes_list_type': 'str', 'x_kubernetes_map_type': 'str', 'x_kubernetes_preserve_unknown_fields': 'bool', 'x_kubernetes_validations': 'List[V1ValidationRule]'}
pattern: StrictStr | None
pattern_properties: Dict[str, V1JSONSchemaProps] | None
properties: Dict[str, V1JSONSchemaProps] | None
ref: StrictStr | None
required: List[StrictStr] | None
property schema
title: StrictStr | None
to_dict(serialize: bool = False) Dict[str, Any]

Return all declared model fields using public or wire names.

to_json() str

Returns the JSON representation of the model using alias

to_str() str

Returns the string representation of the model

type: StrictStr | None
unique_items: StrictBool | None
var_not: V1JSONSchemaProps | None
var_schema: StrictStr | None
x_kubernetes_embedded_resource: StrictBool | None
x_kubernetes_int_or_string: StrictBool | None
x_kubernetes_list_map_keys: List[StrictStr] | None
x_kubernetes_list_type: StrictStr | None
x_kubernetes_map_type: StrictStr | None
x_kubernetes_preserve_unknown_fields: StrictBool | None
x_kubernetes_validations: List[V1ValidationRule] | None