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.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) boolean
static V1ExternalDocumentation
Create an instance of V1ExternalDocumentation given an JSON stringGet descriptiongetUrl()
Get urlint
hashCode()
void
setDescription
(String description) void
toJson()
Convert an instance of V1ExternalDocumentation to an JSON stringtoString()
static void
validateJsonElement
(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_DESCRIPTION
- See Also:
-
SERIALIZED_NAME_URL
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1ExternalDocumentation
public V1ExternalDocumentation()
-
-
Method Details
-
description
-
getDescription
Get description- Returns:
- description
-
setDescription
-
url
-
getUrl
Get url- Returns:
- url
-
setUrl
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
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
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
Convert an instance of V1ExternalDocumentation to an JSON string- Returns:
- JSON string
-