kubernetes_asyncio.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: v1.34.3 Generated by: https://openapi-generator.tech
- class kubernetes_asyncio.client.models.v1_device_attribute.V1DeviceAttribute(bool=None, int=None, string=None, version=None, local_vars_configuration=None)
Bases:
objectNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
- attribute_map = {'bool': 'bool', 'int': 'int', 'string': 'string', 'version': 'version'}
- 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 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
- openapi_types = {'bool': 'bool', 'int': 'int', 'string': 'str', 'version': '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
- 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