Class V1NodeConfigSource
java.lang.Object
io.kubernetes.client.openapi.models.V1NodeConfigSource
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-04-23T13:45:09.091597Z[Etc/UTC]")
public class V1NodeConfigSource
extends Object
NodeConfigSource specifies a source of node configuration. Exactly one subfield (excluding metadata) must be non-nil. This API is deprecated since 1.22
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconfigMap
(V1ConfigMapNodeConfigSource configMap) boolean
static V1NodeConfigSource
Create an instance of V1NodeConfigSource given an JSON stringGet configMapint
hashCode()
void
setConfigMap
(V1ConfigMapNodeConfigSource configMap) toJson()
Convert an instance of V1NodeConfigSource to an JSON stringtoString()
static void
validateJsonObject
(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_CONFIG_MAP
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1NodeConfigSource
public V1NodeConfigSource()
-
-
Method Details
-
configMap
-
getConfigMap
Get configMap- Returns:
- configMap
-
setConfigMap
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonObject
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj
- JSON Object- Throws:
IOException
- if the JSON Object is invalid with respect to V1NodeConfigSource
-
fromJson
Create an instance of V1NodeConfigSource given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1NodeConfigSource
- Throws:
IOException
- if the JSON string is invalid with respect to V1NodeConfigSource
-
toJson
Convert an instance of V1NodeConfigSource to an JSON string- Returns:
- JSON string
-