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 Details

  • Constructor Details

    • V1DeviceAttribute

      public V1DeviceAttribute()
  • Method Details

    • getBool

      public Boolean getBool()
      BoolValue is a true/false value.
      Returns:
      the bool property value
    • setBool

      public void setBool(Boolean bool)
      Set the bool property value
      Parameters:
      bool - property value to set
    • bool

      public V1DeviceAttribute bool(Boolean bool)
      Set bool in a chainable fashion.
      Returns:
      The same instance of V1DeviceAttribute for chaining.
    • getBools

      public List<@NotNull Boolean> getBools()
      BoolValues is a non-empty list of true/false values.
      Returns:
      the bools property value
    • setBools

      public void setBools(List<@NotNull Boolean> bools)
      Set the bools property value
      Parameters:
      bools - property value to set
    • bools

      public V1DeviceAttribute bools(List<@NotNull Boolean> bools)
      Set bools in a chainable fashion.
      Returns:
      The same instance of V1DeviceAttribute for chaining.
    • addBoolsItem

      public V1DeviceAttribute addBoolsItem(Boolean boolsItem)
      Add an item to the bools property in a chainable fashion.
      Returns:
      The same instance of V1DeviceAttribute for chaining.
    • get_int

      public Long get_int()
      IntValue is a number.
      Returns:
      the _int property value
    • set_int

      public void set_int(Long _int)
      Set the _int property value
      Parameters:
      _int - property value to set
    • _int

      public V1DeviceAttribute _int(Long _int)
      Set _int in a chainable fashion.
      Returns:
      The same instance of V1DeviceAttribute for chaining.
    • getInts

      public List<@NotNull Long> getInts()
      IntValues is a non-empty list of numbers. This is an alpha field and requires enabling the DRAListTypeAttributes feature gate.
      Returns:
      the ints property value
    • setInts

      public void setInts(List<@NotNull Long> ints)
      Set the ints property value
      Parameters:
      ints - property value to set
    • ints

      public V1DeviceAttribute ints(List<@NotNull Long> ints)
      Set ints in a chainable fashion.
      Returns:
      The same instance of V1DeviceAttribute for chaining.
    • addIntsItem

      public V1DeviceAttribute addIntsItem(Long intsItem)
      Add an item to the ints property in a chainable fashion.
      Returns:
      The same instance of V1DeviceAttribute for chaining.
    • getString

      public String getString()
      StringValue is a string. Must not be longer than 64 characters.
      Returns:
      the string property value
    • setString

      public void setString(String string)
      Set the string property value
      Parameters:
      string - property value to set
    • string

      public V1DeviceAttribute string(String string)
      Set string in a chainable fashion.
      Returns:
      The same instance of V1DeviceAttribute for chaining.
    • getStrings

      public List<@NotNull String> getStrings()
      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.
      Returns:
      the strings property value
    • setStrings

      public void setStrings(List<@NotNull String> strings)
      Set the strings property value
      Parameters:
      strings - property value to set
    • strings

      public V1DeviceAttribute strings(List<@NotNull String> strings)
      Set strings in a chainable fashion.
      Returns:
      The same instance of V1DeviceAttribute for chaining.
    • addStringsItem

      public V1DeviceAttribute addStringsItem(String stringsItem)
      Add an item to the strings property in a chainable fashion.
      Returns:
      The same instance of V1DeviceAttribute for chaining.
    • getVersion

      public String 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

      public void setVersion(String version)
      Set the version property value
      Parameters:
      version - property value to set
    • version

      public V1DeviceAttribute version(String version)
      Set version in a chainable fashion.
      Returns:
      The same instance of V1DeviceAttribute for chaining.
    • getVersions

      public List<@NotNull String> 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

      public void setVersions(List<@NotNull String> versions)
      Set the versions property value
      Parameters:
      versions - property value to set
    • versions

      public V1DeviceAttribute versions(List<@NotNull String> versions)
      Set versions in a chainable fashion.
      Returns:
      The same instance of V1DeviceAttribute for chaining.
    • addVersionsItem

      public V1DeviceAttribute addVersionsItem(String versionsItem)
      Add an item to the versions property in a chainable fashion.
      Returns:
      The same instance of V1DeviceAttribute for chaining.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object