Class V1ExternalDocumentation

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-02-04T19:05:53.712211Z[Etc/UTC]", comments="Generator version: 7.6.0") public class V1ExternalDocumentation extends Object
ExternalDocumentation allows referencing an external resource for extended documentation.
  • Field Details

  • Constructor Details

    • V1ExternalDocumentation

      public V1ExternalDocumentation()
  • Method Details

    • description

      public V1ExternalDocumentation description(String description)
    • getDescription

      @Nullable public String getDescription()
      Get description
      Returns:
      description
    • setDescription

      public void setDescription(String description)
    • url

      public V1ExternalDocumentation url(String url)
    • getUrl

      @Nullable public String getUrl()
      Get url
      Returns:
      url
    • setUrl

      public void setUrl(String url)
    • 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 V1ExternalDocumentation
    • fromJson

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

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