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 Details

  • Constructor Details

    • V1alpha3DeviceAttribute

      public V1alpha3DeviceAttribute()
  • 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 V1alpha3DeviceAttribute bool(Boolean bool)
      Set bool in a chainable fashion.
      Returns:
      The same instance of V1alpha3DeviceAttribute 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 V1alpha3DeviceAttribute _int(Long _int)
      Set _int in a chainable fashion.
      Returns:
      The same instance of V1alpha3DeviceAttribute 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 V1alpha3DeviceAttribute string(String string)
      Set string in a chainable fashion.
      Returns:
      The same instance of V1alpha3DeviceAttribute 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 V1alpha3DeviceAttribute version(String version)
      Set version in a chainable fashion.
      Returns:
      The same instance of V1alpha3DeviceAttribute 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