Class V1ParamKind

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-10-04T19:37:38.574271Z[Etc/UTC]", comments="Generator version: 7.6.0") public class V1ParamKind extends Object
ParamKind is a tuple of Group Kind and Version.
  • Field Details

  • Constructor Details

    • V1ParamKind

      public V1ParamKind()
  • Method Details

    • apiVersion

      public V1ParamKind apiVersion(String apiVersion)
    • getApiVersion

      @Nullable public String getApiVersion()
      APIVersion is the API group version the resources belong to. In format of \"group/version\". Required.
      Returns:
      apiVersion
    • setApiVersion

      public void setApiVersion(String apiVersion)
    • kind

      public V1ParamKind kind(String kind)
    • getKind

      @Nullable public String getKind()
      Kind is the API kind the resources belong to. Required.
      Returns:
      kind
    • setKind

      public void setKind(String kind)
    • 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 V1ParamKind
    • fromJson

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

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