Class V1alpha3DeviceAttribute
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1alpha3DeviceAttribute
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1alpha3DeviceAttribute
extends Object
DeviceAttribute must have exactly one field set.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSet _int in a chainable fashion.Set bool in a chainable fashion.boolean
get_int()
IntValue is a number.getBool()
BoolValue is a true/false value.StringValue is a string.VersionValue is a semantic version according to semver.org spec 2.0.0.int
hashCode()
void
Set the _int property valuevoid
Set the bool property valuevoid
Set the string property valuevoid
setVersion
(String version) Set the version property valueSet string in a chainable fashion.toString()
Set version in a chainable fashion.
-
Field Details
-
JSON_PROPERTY_BOOL
- See Also:
-
JSON_PROPERTY_INT
- See Also:
-
JSON_PROPERTY_STRING
- See Also:
-
JSON_PROPERTY_VERSION
- See Also:
-
-
Constructor Details
-
V1alpha3DeviceAttribute
public V1alpha3DeviceAttribute()
-
-
Method Details
-
getBool
BoolValue is a true/false value.- Returns:
- the bool property value
-
setBool
Set the bool property value- Parameters:
bool
- property value to set
-
bool
Set bool in a chainable fashion.- Returns:
- The same instance of V1alpha3DeviceAttribute for chaining.
-
get_int
IntValue is a number.- Returns:
- the _int property value
-
set_int
Set the _int property value- Parameters:
_int
- property value to set
-
_int
Set _int in a chainable fashion.- Returns:
- The same instance of V1alpha3DeviceAttribute for chaining.
-
getString
StringValue is a string. Must not be longer than 64 characters.- Returns:
- the string property value
-
setString
Set the string property value- Parameters:
string
- property value to set
-
string
Set string in a chainable fashion.- Returns:
- The same instance of V1alpha3DeviceAttribute for chaining.
-
getVersion
VersionValue is a semantic version according to semver.org spec 2.0.0. Must not be longer than 64 characters.- Returns:
- the version property value
-
setVersion
Set the version property value- Parameters:
version
- property value to set
-
version
Set version in a chainable fashion.- Returns:
- The same instance of V1alpha3DeviceAttribute for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-