Class V1ExternalDocumentation
java.lang.Object
io.kubernetes.client.openapi.models.V1ExternalDocumentation
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-02-12T21:15:49.397498Z[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) booleanstatic V1ExternalDocumentationCreate an instance of V1ExternalDocumentation given an JSON stringGet descriptiongetUrl()Get urlinthashCode()voidsetDescription(String description) voidtoJson()Convert an instance of V1ExternalDocumentation to an JSON stringtoString()static voidvalidateJsonElement(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
-