Class V1DeviceAttribute
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1DeviceAttribute
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1DeviceAttribute
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.addBoolsItem(Boolean boolsItem) Add an item to the bools property in a chainable fashion.addIntsItem(Long intsItem) Add an item to the ints property in a chainable fashion.addStringsItem(String stringsItem) Add an item to the strings property in a chainable fashion.addVersionsItem(String versionsItem) Add an item to the versions property in a chainable fashion.Set bool in a chainable fashion.Set bools in a chainable fashion.booleanget_int()IntValue is a number.getBool()BoolValue is a true/false value.getBools()BoolValues is a non-empty list of true/false values.getInts()IntValues is a non-empty list of numbers.StringValue is a string.StringValues is a non-empty list of strings.VersionValue is a semantic version according to semver.org spec 2.0.0.VersionValues is a non-empty list of semantic versions according to semver.org spec 2.0.0.inthashCode()Set ints in a chainable fashion.voidSet the _int property valuevoidSet the bool property valuevoidSet the bools property valuevoidSet the ints property valuevoidSet the string property valuevoidsetStrings(List<@NotNull String> strings) Set the strings property valuevoidsetVersion(String version) Set the version property valuevoidsetVersions(List<@NotNull String> versions) Set the versions property valueSet string in a chainable fashion.Set strings in a chainable fashion.toString()Set version in a chainable fashion.Set versions in a chainable fashion.
-
Field Details
-
JSON_PROPERTY_BOOL
- See Also:
-
JSON_PROPERTY_BOOLS
- See Also:
-
JSON_PROPERTY_INT
- See Also:
-
JSON_PROPERTY_INTS
- See Also:
-
JSON_PROPERTY_STRING
- See Also:
-
JSON_PROPERTY_STRINGS
- See Also:
-
JSON_PROPERTY_VERSION
- See Also:
-
JSON_PROPERTY_VERSIONS
- See Also:
-
-
Constructor Details
-
V1DeviceAttribute
public V1DeviceAttribute()
-
-
Method Details
-
getBool
-
setBool
Set the bool property value- Parameters:
bool- property value to set
-
bool
Set bool in a chainable fashion.- Returns:
- The same instance of V1DeviceAttribute for chaining.
-
getBools
-
setBools
-
bools
Set bools in a chainable fashion.- Returns:
- The same instance of V1DeviceAttribute for chaining.
-
addBoolsItem
Add an item to the bools property in a chainable fashion.- Returns:
- The same instance of V1DeviceAttribute for chaining.
-
get_int
-
set_int
-
_int
Set _int in a chainable fashion.- Returns:
- The same instance of V1DeviceAttribute for chaining.
-
getInts
-
setInts
-
ints
Set ints in a chainable fashion.- Returns:
- The same instance of V1DeviceAttribute for chaining.
-
addIntsItem
Add an item to the ints property in a chainable fashion.- Returns:
- The same instance of V1DeviceAttribute 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 V1DeviceAttribute for chaining.
-
getStrings
-
setStrings
-
strings
Set strings in a chainable fashion.- Returns:
- The same instance of V1DeviceAttribute for chaining.
-
addStringsItem
Add an item to the strings property in a chainable fashion.- Returns:
- The same instance of V1DeviceAttribute 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 V1DeviceAttribute for chaining.
-
getVersions
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.- Returns:
- the versions property value
-
setVersions
-
versions
Set versions in a chainable fashion.- Returns:
- The same instance of V1DeviceAttribute for chaining.
-
addVersionsItem
Add an item to the versions property in a chainable fashion.- Returns:
- The same instance of V1DeviceAttribute for chaining.
-
equals
-
hashCode
-
toString
-