kubernetes.aio.client.models.v1_device_attribute module

Kubernetes

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

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

class kubernetes.aio.client.models.v1_device_attribute.V1DeviceAttribute(bool=None, bools=None, int=None, ints=None, string=None, strings=None, version=None, versions=None, local_vars_configuration=None)

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

attribute_map = {'bool': 'bool', 'bools': 'bools', 'int': 'int', 'ints': 'ints', 'string': 'string', 'strings': 'strings', 'version': 'version', 'versions': 'versions'}
property bool

Gets the bool of this V1DeviceAttribute. # noqa: E501

BoolValue is a true/false value. # noqa: E501

Returns:

The bool of this V1DeviceAttribute. # noqa: E501

Return type:

bool

property bools

Gets the bools of this V1DeviceAttribute. # noqa: E501

BoolValues is a non-empty list of true/false values. # noqa: E501

Returns:

The bools of this V1DeviceAttribute. # noqa: E501

Return type:

list[bool]

property int

Gets the int of this V1DeviceAttribute. # noqa: E501

IntValue is a number. # noqa: E501

Returns:

The int of this V1DeviceAttribute. # noqa: E501

Return type:

int

property ints

Gets the ints of this V1DeviceAttribute. # noqa: E501

IntValues is a non-empty list of numbers. This is an alpha field and requires enabling the DRAListTypeAttributes feature gate. # noqa: E501

Returns:

The ints of this V1DeviceAttribute. # noqa: E501

Return type:

list[int]

openapi_types = {'bool': 'bool', 'bools': 'list[bool]', 'int': 'int', 'ints': 'list[int]', 'string': 'str', 'strings': 'list[str]', 'version': 'str', 'versions': 'list[str]'}
property string

Gets the string of this V1DeviceAttribute. # noqa: E501

StringValue is a string. Must not be longer than 64 characters. # noqa: E501

Returns:

The string of this V1DeviceAttribute. # noqa: E501

Return type:

str

property strings

Gets the strings of this V1DeviceAttribute. # noqa: E501

StringValues is a non-empty list of strings. Each string must not be longer than 64 characters. This is an alpha field and requires enabling the DRAListTypeAttributes feature gate. # noqa: E501

Returns:

The strings of this V1DeviceAttribute. # noqa: E501

Return type:

list[str]

to_dict(serialize=False)

Returns the model properties as a dict

to_str()

Returns the string representation of the model

property version

Gets the version of this V1DeviceAttribute. # noqa: E501

VersionValue is a semantic version according to semver.org spec 2.0.0. Must not be longer than 64 characters. # noqa: E501

Returns:

The version of this V1DeviceAttribute. # noqa: E501

Return type:

str

property versions

Gets the versions of this V1DeviceAttribute. # noqa: E501

VersionValues is a non-empty list of semantic versions according to semver.org spec 2.0.0. Each version string must not be longer than 64 characters. This is an alpha field and requires enabling the DRAListTypeAttributes feature gate. # noqa: E501

Returns:

The versions of this V1DeviceAttribute. # noqa: E501

Return type:

list[str]