Class V1SelectableField

java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1SelectableField

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1SelectableField extends Object
SelectableField specifies the JSON path of a field that may be used with field selectors.
  • Field Details

  • Constructor Details

    • V1SelectableField

      public V1SelectableField(String jsonPath)
  • Method Details

    • getJsonPath

      public String getJsonPath()
      jsonPath is a simple JSON path which is evaluated against each custom resource to produce a field selector value. Only JSON paths without the array notation are allowed. Must point to a field of type string, boolean or integer. Types with enum values and strings with formats are allowed. If jsonPath refers to absent field in a resource, the jsonPath evaluates to an empty string. Must not point to metdata fields. Required.
      Returns:
      the jsonPath property value
    • setJsonPath

      public void setJsonPath(String jsonPath)
      Set the jsonPath property value
      Parameters:
      jsonPath - property value to set
    • jsonPath

      public V1SelectableField jsonPath(String jsonPath)
      Set jsonPath in a chainable fashion.
      Returns:
      The same instance of V1SelectableField 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