Class V1beta2FlowSchemaCondition

java.lang.Object
io.kubernetes.client.openapi.models.V1beta2FlowSchemaCondition

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-02-02T17:56:12.287571Z[Etc/UTC]") public class V1beta2FlowSchemaCondition extends Object
FlowSchemaCondition describes conditions for a FlowSchema.
  • Field Details

  • Constructor Details

    • V1beta2FlowSchemaCondition

      public V1beta2FlowSchemaCondition()
  • Method Details

    • lastTransitionTime

      public V1beta2FlowSchemaCondition lastTransitionTime(OffsetDateTime lastTransitionTime)
    • getLastTransitionTime

      @Nullable public OffsetDateTime getLastTransitionTime()
      `lastTransitionTime` is the last time the condition transitioned from one status to another.
      Returns:
      lastTransitionTime
    • setLastTransitionTime

      public void setLastTransitionTime(OffsetDateTime lastTransitionTime)
    • message

      public V1beta2FlowSchemaCondition message(String message)
    • getMessage

      @Nullable public String getMessage()
      `message` is a human-readable message indicating details about last transition.
      Returns:
      message
    • setMessage

      public void setMessage(String message)
    • reason

      public V1beta2FlowSchemaCondition reason(String reason)
    • getReason

      @Nullable public String getReason()
      `reason` is a unique, one-word, CamelCase reason for the condition's last transition.
      Returns:
      reason
    • setReason

      public void setReason(String reason)
    • status

      public V1beta2FlowSchemaCondition status(String status)
    • getStatus

      @Nullable public String getStatus()
      `status` is the status of the condition. Can be True, False, Unknown. Required.
      Returns:
      status
    • setStatus

      public void setStatus(String status)
    • type

      public V1beta2FlowSchemaCondition type(String type)
    • getType

      @Nullable public String getType()
      `type` is the type of the condition. Required.
      Returns:
      type
    • setType

      public void setType(String type)
    • 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
    • validateJsonObject

      public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
      Validates the JSON Object and throws an exception if issues found
      Parameters:
      jsonObj - JSON Object
      Throws:
      IOException - if the JSON Object is invalid with respect to V1beta2FlowSchemaCondition
    • fromJson

      public static V1beta2FlowSchemaCondition fromJson(String jsonString) throws IOException
      Create an instance of V1beta2FlowSchemaCondition given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of V1beta2FlowSchemaCondition
      Throws:
      IOException - if the JSON string is invalid with respect to V1beta2FlowSchemaCondition
    • toJson

      public String toJson()
      Convert an instance of V1beta2FlowSchemaCondition to an JSON string
      Returns:
      JSON string