Class ExpressionWarning

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class ExpressionWarning
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<ExpressionWarningBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    ExpressionWarning is a warning information that targets a specific expression.
    See Also:
    Serialized Form
    • Constructor Detail

      • ExpressionWarning

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

        public ExpressionWarning​(String fieldRef,
                                 String warning)
    • Method Detail

      • getFieldRef

        public String getFieldRef()
        The path to the field that refers the expression. For example, the reference to the expression of the first item of validations is "spec.validations[0].expression"
      • setFieldRef

        public void setFieldRef​(String fieldRef)
        The path to the field that refers the expression. For example, the reference to the expression of the first item of validations is "spec.validations[0].expression"
      • getWarning

        public String getWarning()
        The content of type checking information in a human-readable form. Each line of the warning contains the type that the expression is checked against, followed by the type check error from the compiler.
      • setWarning

        public void setWarning​(String warning)
        The content of type checking information in a human-readable form. Each line of the warning contains the type that the expression is checked against, followed by the type check error from the compiler.
      • getAdditionalProperties

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

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

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