Class V1DownwardAPIProjection
java.lang.Object
io.kubernetes.client.openapi.models.V1DownwardAPIProjection
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-02-02T17:56:12.287571Z[Etc/UTC]")
public class V1DownwardAPIProjection
extends Object
Represents downward API info for projecting into a projected volume. Note that this is identical to a downwardAPI volume source without the default mode.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddItemsItem(V1DownwardAPIVolumeFile itemsItem) booleanstatic V1DownwardAPIProjectionCreate an instance of V1DownwardAPIProjection given an JSON stringgetItems()Items is a list of DownwardAPIVolume fileinthashCode()items(List<V1DownwardAPIVolumeFile> items) voidsetItems(List<V1DownwardAPIVolumeFile> items) toJson()Convert an instance of V1DownwardAPIProjection to an JSON stringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_ITEMS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1DownwardAPIProjection
public V1DownwardAPIProjection()
-
-
Method Details
-
items
-
addItemsItem
-
getItems
Items is a list of DownwardAPIVolume file- Returns:
- items
-
setItems
-
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 V1DownwardAPIProjection
-
fromJson
Create an instance of V1DownwardAPIProjection given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of V1DownwardAPIProjection
- Throws:
IOException- if the JSON string is invalid with respect to V1DownwardAPIProjection
-
toJson
Convert an instance of V1DownwardAPIProjection to an JSON string- Returns:
- JSON string
-