Class V1PriorityLevelConfigurationCondition

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-05-20T20:47:13.890592Z[Etc/UTC]", comments="Generator version: 7.13.0") public class V1PriorityLevelConfigurationCondition extends Object
PriorityLevelConfigurationCondition defines the condition of priority level.
  • Field Details

  • Constructor Details

    • V1PriorityLevelConfigurationCondition

      public V1PriorityLevelConfigurationCondition()
  • Method Details

    • lastTransitionTime

      public V1PriorityLevelConfigurationCondition lastTransitionTime(@Nullable 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(@Nullable OffsetDateTime lastTransitionTime)
    • message

      public V1PriorityLevelConfigurationCondition message(@Nullable String message)
    • getMessage

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

      public void setMessage(@Nullable String message)
    • reason

      public V1PriorityLevelConfigurationCondition reason(@Nullable 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(@Nullable String reason)
    • status

      public V1PriorityLevelConfigurationCondition status(@Nullable 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(@Nullable String status)
    • type

      public V1PriorityLevelConfigurationCondition type(@Nullable String type)
    • getType

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

      public void setType(@Nullable 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
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      Validates the JSON Element and throws an exception if issues found
      Parameters:
      jsonElement - JSON Element
      Throws:
      IOException - if the JSON Element is invalid with respect to V1PriorityLevelConfigurationCondition
    • fromJson

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

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