Class SelectableField

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<SelectableFieldBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class SelectableField
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<SelectableFieldBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    SelectableField specifies the JSON path of a field that may be used with field selectors.
    See Also:
    Serialized Form
    • Constructor Detail

      • SelectableField

        public SelectableField()
        No args constructor for use in serialization
      • SelectableField

        public SelectableField​(String jsonPath)
    • Method Detail

      • 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.
      • setJsonPath

        public void setJsonPath​(String jsonPath)
        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.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)