Class ExpressionWarning
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.admissionregistration.v1beta1.ExpressionWarning
-
- All Implemented Interfaces:
com.marcnuri.yakc.model.Model
public class ExpressionWarning extends java.lang.Object implements com.marcnuri.yakc.model.Model
ExpressionWarning is a warning information that targets a specific expression.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ExpressionWarning.Builder
-
Constructor Summary
Constructors Constructor Description ExpressionWarning()
ExpressionWarning(@NonNull java.lang.String fieldRef, @NonNull java.lang.String warning)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExpressionWarning.Builder
builder()
protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
@NonNull java.lang.String
getFieldRef()
The path to the field that refers the expression.@NonNull java.lang.String
getWarning()
The content of type checking information in a human-readable form.int
hashCode()
void
setFieldRef(@NonNull java.lang.String fieldRef)
The path to the field that refers the expression.void
setWarning(@NonNull java.lang.String warning)
The content of type checking information in a human-readable form.ExpressionWarning.Builder
toBuilder()
java.lang.String
toString()
-
-
-
Method Detail
-
builder
public static ExpressionWarning.Builder builder()
-
toBuilder
public ExpressionWarning.Builder toBuilder()
-
getFieldRef
@NonNull public @NonNull java.lang.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"
-
getWarning
@NonNull public @NonNull java.lang.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.
-
setFieldRef
public void setFieldRef(@NonNull @NonNull java.lang.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"
-
setWarning
public void setWarning(@NonNull @NonNull java.lang.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.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-