kubernetes.client.models.v1_node_system_info 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_node_system_info.V1NodeSystemInfo(*, architecture: Annotated[str, Strict(strict=True)], boot_id: Annotated[str, Strict(strict=True)], container_runtime_version: Annotated[str, Strict(strict=True)], kernel_version: Annotated[str, Strict(strict=True)], kube_proxy_version: Annotated[str, Strict(strict=True)], kubelet_version: Annotated[str, Strict(strict=True)], machine_id: Annotated[str, Strict(strict=True)], operating_system: Annotated[str, Strict(strict=True)], os_image: Annotated[str, Strict(strict=True)], swap: V1NodeSwapStatus | None = None, system_uuid: Annotated[str, Strict(strict=True)])

Bases: BaseModel

NodeSystemInfo is a set of ids/uuids to uniquely identify the node.

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.

architecture: StrictStr
attribute_map: ClassVar[Dict[str, str]] = {'architecture': 'architecture', 'boot_id': 'bootID', 'container_runtime_version': 'containerRuntimeVersion', 'kernel_version': 'kernelVersion', 'kube_proxy_version': 'kubeProxyVersion', 'kubelet_version': 'kubeletVersion', 'machine_id': 'machineID', 'operating_system': 'operatingSystem', 'os_image': 'osImage', 'swap': 'swap', 'system_uuid': 'systemUUID'}
boot_id: StrictStr
container_runtime_version: StrictStr
classmethod from_dict(obj: Dict[str, Any] | None) Self | None

Create an instance of V1NodeSystemInfo from a dict

classmethod from_json(json_str: str) Self | None

Create an instance of V1NodeSystemInfo from a JSON string

kernel_version: StrictStr
kube_proxy_version: StrictStr
kubelet_version: StrictStr
machine_id: StrictStr
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].

openapi_types: ClassVar[Dict[str, str]] = {'architecture': 'str', 'boot_id': 'str', 'container_runtime_version': 'str', 'kernel_version': 'str', 'kube_proxy_version': 'str', 'kubelet_version': 'str', 'machine_id': 'str', 'operating_system': 'str', 'os_image': 'str', 'swap': 'V1NodeSwapStatus', 'system_uuid': 'str'}
operating_system: StrictStr
os_image: StrictStr
swap: V1NodeSwapStatus | None
system_uuid: StrictStr
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