Class V1ContainerUser

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-02-04T19:05:53.712211Z[Etc/UTC]", comments="Generator version: 7.6.0") public class V1ContainerUser extends Object
ContainerUser represents user identity information
  • Field Details

  • Constructor Details

    • V1ContainerUser

      public V1ContainerUser()
  • Method Details

    • linux

      public V1ContainerUser linux(V1LinuxContainerUser linux)
    • getLinux

      @Nullable public V1LinuxContainerUser getLinux()
      Get linux
      Returns:
      linux
    • setLinux

      public void setLinux(V1LinuxContainerUser linux)
    • 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 V1ContainerUser
    • fromJson

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

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