Class V1SelfSubjectReviewStatus

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-02-12T21:15:49.397498Z[Etc/UTC]", comments="Generator version: 7.6.0") public class V1SelfSubjectReviewStatus extends Object
SelfSubjectReviewStatus is filled by the kube-apiserver and sent back to a user.
  • Field Details

  • Constructor Details

    • V1SelfSubjectReviewStatus

      public V1SelfSubjectReviewStatus()
  • Method Details

    • userInfo

      public V1SelfSubjectReviewStatus userInfo(V1UserInfo userInfo)
    • getUserInfo

      @Nullable public V1UserInfo getUserInfo()
      Get userInfo
      Returns:
      userInfo
    • setUserInfo

      public void setUserInfo(V1UserInfo userInfo)
    • 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 V1SelfSubjectReviewStatus
    • fromJson

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

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