Class V1beta1DeviceAttribute
java.lang.Object
io.kubernetes.client.openapi.models.V1beta1DeviceAttribute
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-02-12T23:08:31.638427Z[Etc/UTC]")
public class V1beta1DeviceAttribute
extends Object
DeviceAttribute must have exactly one field set.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
SERIALIZED_NAME_BOOL
- See Also:
-
SERIALIZED_NAME_INT
- See Also:
-
SERIALIZED_NAME_STRING
- See Also:
-
SERIALIZED_NAME_VERSION
- See Also:
-
-
Constructor Details
-
V1beta1DeviceAttribute
public V1beta1DeviceAttribute()
-
-
Method Details
-
bool
-
getBool
BoolValue is a true/false value.- Returns:
- bool
-
setBool
-
_int
-
getInt
IntValue is a number.- Returns:
- _int
-
setInt
-
string
-
getString
StringValue is a string. Must not be longer than 64 characters.- Returns:
- string
-
setString
-
version
-
getVersion
VersionValue is a semantic version according to semver.org spec 2.0.0. Must not be longer than 64 characters.- Returns:
- version
-
setVersion
-
equals
-
hashCode
public int hashCode() -
toString
-